dd and fallocate and truncate to make big files quick ########################################## Every example below will be with creating a 10 gig file. dd will take time, where as fallocate and truncate willRead More…
ddkrescue – kossboss gddrescue script – my favorite way to clone drives
THE SPEECH BEFORE THE SCRIPT tl;dr note you can just skip to the script below if you want This script uses ddrescue (the newer one between gddrescue and ddrescue, so it uses gddrescueRead More…
Note to Self about DD blocksizes
note to self about dd sizes ##################### Pick small block size then multiply by count to get size ex: dd if=/dev/zero bs=1M count=1024 That will get 1 Mib of a block sizeRead More…
ionice and nice notes – renice and re-ionice/reionice
######################### # ionice and nice notes # ######################### # nice -n19 is nicest on CPU priority # ionice -c2 -n7 is nicest on IO priority also so is ionice -c3. ionice -c3Read More…
LVM units in base 2 Tib,Gib,Mib or base 10 TB, GB, MB question and answer
Are the units in Base 2 (Mib,Gib,Tib) or in Base 10 (MB,GB,TB). They say “MB,GB,TB” but that is commonly misused. mdadm seems to be the only thing that truely has it right.Read More…
Using SED to extract information or data
Using SED to Extract Info out of Data ############################# We will use sed which is a common tool for search and replace to extract information. Sed is very powerful because its aRead More…
HOW TO INSTALL TRUSTED SSL CERTIFICATE IN DEBIAN
HOW TO INSTALL TRUSTED SSL CERTIFICATE IN DEBIAN ################################################# # All of the active certs are sitting in /etc/ssl/cert # By default the process involves putting the certs in # /usr/local/share/ca-certificates (canRead More…
FIX MISSING GPG KEY FOR APT-GET
################################### # FIX MISSING GPG KEY FOR APT-GET # ################################### # When running "apt-get update" If get error like this: # W: GPG error: http://ftp.us.debian.org squeeze-updates Release: The following signatures couldn't beRead More…
Programming Python in VIM
PYTHON VIM ########### ########### Here are my recommendations to programming with vim for python Whats covered: * pyflakes – to catch errors (only when in normal mode, not while typing, so youRead More…
Note to self – Installing drive RTL8723AS on Lenovo Yoga 13
Note to self – Installing drive RTL8723AS on Lenovo Yoga 13 Tested on 3.13.5 on Debian 7.4. Although this is a note to self, im sure others can use this as well.Read More…