Subscribe to NotarySojac's debian career        RSS Feed
- - - - -

Git (Basic -> Intermediate): Manipulate and tidy up your commit history (git squash)

Icon Leave Comment
Git commit histories can sometimes be a mess to look at. Sometimes you make multiple commits that work on the same feature, and when you're done with the feature, you'd like to just merge the commits together so they show up in the history as a single commit. Sometimes you make one commit, and then you realized you left in some debugging...
- - - - -

How to Encrypt Your Emails (PGP ftw!)

Icon Leave Comment
This is a written tutorial and video walkthrough on how to use PGP to encrypt your email. The videos were done in a windows environment, but Video 2 and 3 in the series should give you a decent idea of how things work if you're a linux user. In section A of this writeup, I discuss linux installation and briefly go point Mac`ers to the proper...
- - - - -

Debian - Setting up Raid 1 (mirroring harddrives)

Icon Leave Comment
Before we begin, let me point out some benefits of using raid 1 mirroring. First, your mp3 files won't have their meta tags jumbled up and mangled by typical hard drive corruption. Also your movie files won't suddnely stop playing past certain points due to corruption. Umm... your exe files won't randomly give you errors about not...
- - - - -

Setting up a PXE server and booting a client (TFTP, PXE, DHCP, ...NFS...)

Icon 4 Comments
Have you ever wanted to use that fancy bios feature that you never had the time to straighten out? I'm talking about PXE...
* * * * *

Git - Setting Up Versions and Direct Downloads on Github

Icon Leave Comment
As time goes on, while managing your source code with github, you'll find yourself becoming bored with just having the latest version of your project being easily downloadable from

www.github.com/YOUR_NAME/YOUR_PROJECT
...
- - - - -

Private (secret) Git Servers for your Source Code

Icon Leave Comment
So let's say you have a project that is so hawt, that you literally can't afford to let your trusty ISP see what you're working on. I know everyone loves and trusts names like Comcast, and AT&T to do the right thing in every circumstance, no matter what, but that's beside the point. Sometimes the project you're working on...
* * * * *

git (intermediate) - Keeping stuff out of your repo

Icon Leave Comment
Keep dumb stuff out of your git repo by adding it to your "git ignore" file!
$ vi .gitignore
(.gitignore)
database.yml



What if it's too late and you already added something that you need to get out?

Remove sensative data from github
ref: http://help.github.c...sensitive-data/
To permenently delete and Erase the...
- - - - -

git (intermediate) - undo last commit

Icon Leave Comment
If you ever decide that you wish you had never made the last commit you made, you can undo the current commit and get back there. Here's how:

1) Make it so git resets back to the commit before (aka "HEAD^")
$  git reset --soft HEAD^  
...
- - - - -

git (intermediate) - Forking Repos "collaborating overview"

Icon Leave Comment
http://help.github.com/fork-a-repo/...
- - - - -

git (intermediate) - Stash, resolving merge confilcts

Icon Leave Comment
Note To Self: Rename this blog to "Git: The Secrets to Controlling the World"


ref: http://dlinsin.blogs.../git-stash.html


If you make changes on your production server, and later on your development machine, make tons and tons of changes to lots of stuff, and decide some of the changes that you made on the production server were...

  • (3 Pages)
  • +
  • 1
  • 2
  • 3