BASH – create text files from Clipboard via Putty fast – BUG with vi
Have you ever pasted something into vi or vim and it just looks wrong, every line has extra indents? What if you dont have nano, or emacs to copy a said scriptRead More…
Have you ever pasted something into vi or vim and it just looks wrong, every line has extra indents? What if you dont have nano, or emacs to copy a said scriptRead More…
sdbe – Setup Debian Build Environment for a package – so can apply your own fixes/patch work This script setup a build environment for a debian package. It will extract a debianRead More…
FTP NOTES : active vs passive vs ftp vs ftps vs ftpes ##################################################### ##################################################### NOTE: All ports below are TCP ACTIVE OR PASSIVE ################# http://stackoverflow.com/questions/1699145/what-is-the-difference-between-active-and-passive-ftp Active and passive are the two modesRead More…
Sed and Paste (scroll to bottom to see the PASTE primer)can be used to join lines. Paste in linux isnt your “copy paste clipboard” command, instead paste is used to paste lines togetherRead More…
Fix Patch Debian Packages ########################### For automatic script check this out: sdbe Here are manual steps to patch a debian package: # Download the old package cd /tmp apt-get download packagename # moveRead More…
GMAIL – Marking all emails as READ in GMAIL (in all of your inboxes & spam boxes) UPDATE: see comment below 4 much faster method 1. select All Mail mailbox – ORRead More…
BTRFS Subvolume/snapshot marked as DELETED If you see entries like this after you delete a subvolume: ID 10348 gen 470306 top level 0 path DELETED ID 10408 gen 470171 top level 0Read More…
BTRFS – NODATACOW and Reflink Copies and snapshots Read Original: http://www.infotinks.com/btrfs-disabling-cow-file-directory-nodatacow/ How NODATACOW affects Snapshots and Reflink copyies: Although you can take a snapshot when NODATACOW is present on a file, you cannot take Reflink copies,Read More…
ERROR [warn] RSA server certificate CommonName (CN) `192.168.125.57′ does NOT match server name!? ##################################################### This is a normal error, and it can mean a red flag or something normal. Certificates work byRead More…
apt-get install sshpass ssh-pass allows you to connect without putting in password by keyboard, and not having to have ssh keys. You do have to specify your password on command line though.Read More…