$strings a.out /lib64/ld-linux-x86-64.so.2 libc.so.6 printf __libc_start_main __gmon_start__ GLIBC_2.2.5 fffff. []A\A]A^A_ hello ;*3$” GCC: (Debian 4.9.2-10) 4.9.2 GCC: (Debian 4.8.3-13) 4.8.3 hello.c long unsigned int short unsigned int short int GNU C 4.9.2 -mtune=generic -march=x86-64 -g unsigned char long int sizetype main hello.c /home/jeffrin .symtab .strtab .shstrtab .interp .note.ABI-tag .note.gnu.build-id .gnu.hash .dynsym .dynstr .gnu.version .gnu.version_r .rela.dyn …
Author Archives: jeffrin
6 Framed photos was added to the collection
6 Framed photos was added to the collection 4 small ones and 2 relatively bigger ones All the photos are related to NATIONAL GEOGRAPHIC
Hacking with listing local system locks
ABOUT lslocks lslocks lists information about all the currently held file locks in a Linux system. File locking is a mechanism that restricts access to a computer file by allowing only one user or process access at any specific time. Systems implement locking to prevent the classic interceding update scenario (see race condition). [bash] $lslocks …
Hacking with an arbitrary precision calculator
dc is a reverse-polish desk calculator which supports unlimited preci‐ sion arithmetic. It also allows you to define and call macros. Nor‐ mally dc reads from the standard input; if any command arguments are given to it, they are filenames, and dc reads and executes the contents of the files before reading from standard input. …
Continue reading “Hacking with an arbitrary precision calculator”
Ultimate Survival Alaska – Competitors :30
[youtube https://www.youtube.com/watch?v=2Z0l5mJ9ls8?rel=0&w=560&h=315]
Introducing The Linux Foundation Certification Program
[youtube https://www.youtube.com/watch?v=Y29qZ71Kicg?rel=0&w=560&h=315]
Example for an Array with processing language
/** * Array. * * An array is a list of data. Each piece of data in an array * is identified by an index number representing its position in * the array. Arrays are zero based, which means that the first * element in the array is [0], the second element is [1], and …
Continue reading “Example for an Array with processing language”
Hacking with GNU grep . ( grep ‘[1-9]\$’ price.list )
$emacs price.list $grep ‘[1-9]$’ price.list 1 2 3 4 45 46 78 $54 $cat price.list 1 2 3 4 45 46 78 $54 54$ 31$ 21$ $grep ‘[1-9]’ price.list 1 2 3 4 45 46 78 $54 54$ 31$ 21$ $grep ‘[1-9]\$’ price.list 54$ 31$ 21$ $
A program to solve project euler problem 11
[python] # This program is copied from http://code.jasonbhill.com/python/project-euler-problem-11/ # Largest product in a grid # https://projecteuler.net/problem=11 import time start = time.time() L = [] L.append("08 02 22 97 38 15 00 40 00 75 04 05 07 78 52 12 50 77 91 08") L.append("49 49 99 40 17 81 18 57 60 87 17 …
Continue reading “A program to solve project euler problem 11”
Hacking with the quote command on Bash shell
ABOUT Quoting Quoting is used to remove the special meaning of certain characters or words to the shell. Quoting can be used to disable special treatment for special characters, to prevent reserved words from being recognized as such, and to prevent parameter expansion. Each of the shell metacharacters (*note Definitions::) has special meaning to the …
Continue reading “Hacking with the quote command on Bash shell”