This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cat /etc/redhat-release #will show you information for red hat based distros. | |
cat /etc/SuSE-release #for SUSE based distros. | |
cat /etc/mandrake-release #for mandrake distros. | |
cat /etc/debian_version #for debian based distros. | |
cat /etc/UnitedLinux-release #might also return some more information. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This problem can be solved by pre-school children in | |
five to ten minutes, by programmers in a hour and by | |
people with higher education... well, check it yourself! | |
8809 = 6 5555 = 0 | |
7111 = 0 8193 = 3 | |
2172 = 0 8096 = 5 | |
6666 = 4 1012 = 1 | |
1111 = 0 7777 = 0 | |
3213 = 0 9999 = 4 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Make this program to print 13 making changes ONLY the body of the "function" function | |
* You are NOT ALLOWED to change NOTHING in the "main" function | |
*/ | |
void function() { | |
/* EDIT ONLY HERE */ | |
} | |
int main() { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
require_once __DIR__.'/functions.php'; | |
$commands = array( | |
'hello' => array( | |
'params' => array('name') | |
), | |
'dump' => array( | |
'params' => array('var') | |
) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Faça este programa imprimir 13 alterando APENAS o corpo da função "function" | |
* NÃO VALE ALTERAR NADA NA FUNÇÃO main | |
*/ | |
void function() { | |
printf("%d\n", 13); | |
exit(0); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Create the screen session | |
screen -dR some_screen_name | |
# Use ctrl+a, d to detatch the session from screen | |
# To view the screen session, use: | |
screen -ls | |
# To came back the screen session, use: | |
screen -r some_screen_name | |
# If you have only one screen session, you can use just: | |
screen -r |
NewerOlder