Hello, Today in class one of my teachers was using Windows 7 as your "main" operational system. He said "Windows 7 never crashed". So i…
Matheus Bratfisch
"Cogito ergo sum"
Hello, Today in class one of my teachers was using Windows 7 as your "main" operational system. He said "Windows 7 never crashed". So i…
Hey, Just a fast tip, if you want to have a ssh server more secure disable root access in "/etc/ssh/sshd_config" Find the line starting with…
Good Night,
Here I will show you how to create your own url shortener.
First of all you need to create a table like this:
CREATE TABLE IF NOT EXISTS `urls` (
`uid` int(11) NOT NULL auto_increment,
`url` text default NULL,
`unique_chars` varchar(25) BINARY NOT NULL,
PRIMARY KEY (`uid`),
UNIQUE KEY `unique_chars` (`unique_chars`)
);
This code was taken from Abhise in this post "Create your own tinyurl with php and mySQL" that was my bigest reference, from it I took some functions and update other ones to be more efficient. For an example I changed the field to BINARY so it be CASE SENSITIVE (aaaa different from AAAA)
The Abhise says to create many files, I particularly, created one file with all functions where I add all the functions and just called the functions in the files.
Hello, A few weeks ago I had a test of Concurrent programming (INE5410), where I had to implement a RankSort in Pascal FC. In this…
Good night, I created a twitter for me, so if you want to receive some news, updates, or know something that maybe I'm doing, follow…
This post have some extra conversion. The first one just have some pages that I used until that moment. This one have the conversion table until now.
Continue reading Conversion table – 2 – Computer Organization (INE5411)
Hello, A week ago I was thinking about banks autentications, here in Brazil, you have to register your computer to get access to the bank…