ABOUT SCATTER PLOT A scatter plot (also called a scatterplot, scatter graph, scatter chart, scattergram, or scatter diagram) [3] is a type of plot or mathematical diagram using Cartesian coordinates to display values for typically two variables for a set of data. If the points are color-coded, one additional variable can be displayed. The data …
Monthly Archives: May 2013
objdump tinkering
commandline session root>objdump -f nouveau.ko nouveau.ko: file format elf64-x86-64 architecture: i386:x86-64, flags 0x00000011: HAS_RELOC, HAS_SYMS start address 0x0000000000000000 root>objdump -a nouveau.ko nouveau.ko: file format elf64-x86-64 nouveau.ko root>objdump -p nouveau.ko nouveau.ko: file format elf64-x86-64 root>objdump -g nouveau.ko nouveau.ko: file format elf64-x86-64 root> http://www.beautifulwork.org/wp-content/uploads/2013/05/objdump.c
Erlang Tinkering
ABOUT ERLANG Erlang (/ˈɜːrlæŋ/ UR-lang) is a general-purpose, concurrent, functional programming language, as well as a garbage-collected runtime system. The term Erlang is used interchangeably with Erlang/OTP, or OTP, which consists of the Erlang runtime system, a number of ready-to-use components mainly written in Erlang, and a set of design principles for Erlang programs.[3] The …
Testing For File Charactereristics
commandline session $cat test.sh #!/usr/bin/env bash # cookbook filename: checkfile # DIRPLACE=/tmp INFILE=/home/jeffrin/amazing.data OUTFILE=/home/jeffrin/more.results if [ -d “$DIRPLACE” ] then cd $DIRPLACE if [ -e “$INFILE” ] then if [ -w “$OUTFILE” ] then doscience > “$OUTFILE” else echo “can not write to $OUTFILE” fi else echo “can not read from $INFILE” fi else echo …
here-document . Bash
commandline session $cat hdoc.sh #!/bin/bash cat $1 <<EOF EOF $sh hdoc.sh bash.txt hack hacker $ $cat bash.txt hack hacker $vim hdoc.sh $ $cat hdoc.sh #!/bin/bash grep $1 <<EOF name jeffrin age 36 sex male EOF $sh hdoc.sh 3 age 36 $
nohup . no hangup
commandline session $cat loop.c main() { for (;;); } $./a.out ^C $nohup ./a.out nohup: ignoring input and appending output to `nohup.out’ ^C $cat nohup.out $ls nohup.out nohup.out $
Bash . Running Several Commands All at Once
commandline session $ls src war $cd & ls & [1] 2587 [2] 2588 $src war [1]- Done cd [2]+ Done ls –color=auto $pwd /home/jeffrin/beautiful-work $ $cd & ls & cd & [1] 2590 [2] 2591 [3] 2592 $src war [1] Done cd [2]- Done ls –color=auto [3]+ Done cd $pwd /home/jeffrin/beautiful-work $cd .. & pwd …
Continue reading “Bash . Running Several Commands All at Once”