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
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 vs SFTP
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…
Bash – Join every other line with SED and PASTE – PASTE primer
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 with AR and DPKG
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)
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
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
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…
SSL Error “… doe NOT match server name!?”
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…
Time Difference Between Servers Script – Using SSH and SSHPASS and DATE
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…