[youtube https://www.youtube.com/watch?v=9mcuIc5O-DE?rel=0&w=640&h=480]
What is color? – Colm Kelleher
[youtube https://www.youtube.com/watch?v=UZ5UGnU7oOI?rel=0&w=640&h=480]
National Geographic Live! : The Moonshot
[youtube https://www.youtube.com/watch?v=amPGXUO6ex8?rel=0&w=560&h=315]
The loathsome, lethal mosquito – Rose Eveleth
[youtube https://www.youtube.com/watch?v=IkmjCmvfeFI?rel=0&w=560&h=315]
How we conquered the deadly smallpox virus – Simona Zompi
[youtube https://www.youtube.com/watch?v=yqUFy-t4MlQ?rel=0&w=560&h=315]
The deadly irony of gunpowder – Eric Rosado
[youtube https://www.youtube.com/watch?v=mqHVRgCkCDE?rel=0&w=640&h=480]
Understanding a WordPress Plugin
<?php
/*
Plugin Name: Yet Another Search Meddle
Plugin URI:
Version: 0.1
Author: Jeffrin Jose T and Public Domain
Author URI: http://linkedin.com/in/jeffrinl
Description: modifying the way search results are displayed
*/
function resultsperpage($limits) {
/* resultsperpage - it is a custom created php function. */
if (is_search()) {
/* is_search() - it is an inbuilt php function in wordpress */
/* http://codex.wordpress.org/Function_Reference/is_search */
return 'LIMIT 0, 25';
}
return $limits;
}
add_filter('post_limits', 'resultsperpage');
/* post_limits - a wordpress hook ( a filter hook ) */
/* http://codex.wordpress.org/Plugin_API/Filter_Reference/post_limits */
/* add_filter - Hook a function to a specific filter action. */
/* http://codex.wordpress.org/Function_Reference/add_filter */
Crash: glibc: compile from upstream source related
Log Report Related
the following content may not be accurate.
1. unable to find getty program upstream source. 2. need to get libc-2.14 for getty. 3. trying to upgrade another system to get libc-2.14 4. is it possible to get multiple versions of glibc installed on a same system. compile another version of glibc and just take the necessary files and copy into into may be /lib 5. a new method of installing package using apt-get apt-get install libc6-dev=2.17-7 apt-show-versions -a -p libc6
Debug Methods
1. update LD_LIBRARY_PATH with the old and new path of libraries installed 2. use debian disc wit rescue mode and try to fix libraries with matching versions of libraries with new glibc 3. add proper symlinks for the new libraries under glibc 4. try to make a separate installation of debian in another(may be swap of the crashed debian ) and try to chroot to crashed debian root and try to fix the errors. 5. try to find out where to set LD_LIBRARY_PATH by default automatically. 6. if chroot is success related, then try to apt-get upgrade the crashed debian so that it may fix other errors automatically.
Maths : What is a Function : y=f(x)
commandline session and notes related may be engineering functions related. suppose y=f(x). y = output. suppose i equate y to ls ls is a GNU command. ls contains different methods(ingredients) which form ls command. suppose i write ls = f (-a,-i,-l,...) different cases : 1. y = -a 2. y = -al 3. y = -l, 4. y = -i 5. y = -ail $ls -ail total 1708 3673124 drwxr-xr-x 4 jeffrin jeffrin 4096 Nov 27 20:18 . 3670018 drwxr-xr-x 48 jeffrin jeffrin 4096 Nov 27 19:13 .. 3804877 drwxr-xr-x 2 jeffrin jeffrin 4096 Nov 22 21:40 direct 3670534 lrwxrwxrwx 1 jeffrin jeffrin 7 Nov 22 21:41 directlink -> direct/ 3673719 -rw-r--r-- 1 jeffrin jeffrin 104 Nov 15 20:50 file 3805205 drwx------ 2 jeffrin jeffrin 4096 Nov 25 20:18 Mail 3671094 -rw-r--r-- 1 jeffrin jeffrin 1710918 Nov 25 02:23 out.ogv 3673430 -rw-r--r-- 1 jeffrin jeffrin 7946 Nov 25 01:55 shelr-record.json 3673230 -rw-r--r-- 1 jeffrin jeffrin 217 Nov 27 20:16 tmp 3672617 lrwxrwxrwx 1 jeffrin jeffrin 30 Nov 27 20:18 .#tmp -> jeffrin@debian.5024:1385559781 3673193 -rw-r--r-- 1 jeffrin jeffrin 1 Nov 27 19:54 tmp~ $ls -a . .. direct directlink file Mail out.ogv shelr-record.json tmp .#tmp tmp~ $ls -i 3804877 direct 3673719 file 3671094 out.ogv 3673230 tmp 3670534 directlink 3805205 Mail 3673430 shelr-record.json 3673193 tmp~ $ls -l total 1700 drwxr-xr-x 2 jeffrin jeffrin 4096 Nov 22 21:40 direct lrwxrwxrwx 1 jeffrin jeffrin 7 Nov 22 21:41 directlink -> direct/ -rw-r--r-- 1 jeffrin jeffrin 104 Nov 15 20:50 file drwx------ 2 jeffrin jeffrin 4096 Nov 25 20:18 Mail -rw-r--r-- 1 jeffrin jeffrin 1710918 Nov 25 02:23 out.ogv -rw-r--r-- 1 jeffrin jeffrin 7946 Nov 25 01:55 shelr-record.json -rw-r--r-- 1 jeffrin jeffrin 217 Nov 27 20:16 tmp -rw-r--r-- 1 jeffrin jeffrin 1 Nov 27 19:54 tmp~ $
common network utilities/tools
commandline session
$ping www.beautifulwork.org PING beautifulwork.org (46.22.210.18) 56(84) bytes of data. 64 bytes from mars.infoclub.in (46.22.210.18): icmp_req=1 ttl=53 time=310 ms 64 bytes from mars.infoclub.in (46.22.210.18): icmp_req=2 ttl=53 time=210 ms 64 bytes from mars.infoclub.in (46.22.210.18): icmp_req=3 ttl=53 time=210 ms 64 bytes from mars.infoclub.in (46.22.210.18): icmp_req=4 ttl=53 time=210 ms 64 bytes from mars.infoclub.in (46.22.210.18): icmp_req=5 ttl=53 time=211 ms ^C --- beautifulwork.org ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4069ms rtt min/avg/max/mdev = 210.503/230.707/310.307/39.800 ms $ping -c 2 www.beautifulwork.org PING beautifulwork.org (46.22.210.18) 56(84) bytes of data. 64 bytes from mars.infoclub.in (46.22.210.18): icmp_req=1 ttl=53 time=302 ms 64 bytes from mars.infoclub.in (46.22.210.18): icmp_req=2 ttl=53 time=209 ms --- beautifulwork.org ping statistics --- 2 packets transmitted, 2 received, 0% packet loss, time 1000ms rtt min/avg/max/mdev = 209.468/256.133/302.799/46.668 ms $ping -c 2 -i 1 www.beautifulwork.org PING beautifulwork.org (46.22.210.18) 56(84) bytes of data. 64 bytes from mars.infoclub.in (46.22.210.18): icmp_req=1 ttl=53 time=328 ms 64 bytes from mars.infoclub.in (46.22.210.18): icmp_req=2 ttl=53 time=347 ms --- beautifulwork.org ping statistics --- 2 packets transmitted, 2 received, 0% packet loss, time 1000ms rtt min/avg/max/mdev = 328.452/337.938/347.425/9.504 ms $netstat -ntl Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address Foreign Address State tcp 0 0 0.0.0.0:45517 0.0.0.0:* LISTEN tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN tcp6 0 0 :::111 :::* LISTEN tcp6 0 0 :::22 :::* LISTEN tcp6 0 0 ::1:25 :::* LISTEN tcp6 0 0 :::51975 :::* LISTEN $netstat -ntlp (Not all processes could be identified, non-owned process info will not be shown, you would have to be root to see it all.) Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name tcp 0 0 0.0.0.0:45517 0.0.0.0:* LISTEN - tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN - tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN - tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN - tcp6 0 0 :::111 :::* LISTEN - tcp6 0 0 :::22 :::* LISTEN - tcp6 0 0 ::1:25 :::* LISTEN - tcp6 0 0 :::51975 :::* LISTEN - $sudo netstat -ntlp [sudo] password for jeffrin: Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name tcp 0 0 0.0.0.0:45517 0.0.0.0:* LISTEN 1859/rpc.statd tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN 1828/rpcbind tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 3099/sshd tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN 27100/exim4 tcp6 0 0 :::111 :::* LISTEN 1828/rpcbind tcp6 0 0 :::22 :::* LISTEN 3099/sshd tcp6 0 0 ::1:25 :::* LISTEN 27100/exim4 tcp6 0 0 :::51975 :::* LISTEN 1859/rpc.statd $sudo netstat -n
GNU/Linux Common Network Utilities/Tools – Video Tutorial Related
[source : http://www.youtube.com/user/frankperez87]
[youtube https://www.youtube.com/watch?v=CigJXmUYXJY?rel=0&w=853&h=480]