IMPORTANT!

Snipt is going open source. We've toyed with this idea for quite a while, and have finally decided it's the right way to move forward.

A few things:
  • The entire Snipt source code will be released on GitHub under the 3-clause BSD License on Friday, September 10th.
  • While we'd like to think we're perfect, we realize we're only human. By open sourcing the software that runs this website, certain bugs or security flaws may be discovered that could compromise the privacy of your snipts.
  • Only the Lion Burger team will be able to push commits to the Snipt.net site. Contributors should send a pull request to add new features or submit patches.
  • By using this site, you agree not to be too angry or take any legal action against Lion Burger should this whole thing go up in flames some day.
  • Follow us on Twitter for updates.
I agree, close this message
Sign up to create your own snipts, or login.

Latest 100 public snipts » dalord's snipts The latest snipts from dalord.

showing 1-20 of 22 snipts
  • Verify signatures
    # Import a public key
    gpg --import <public_key>.asc
    
    # Verify a signature
    gpg --verify <file_name>.asc
    
    # To surpress the warning, trust public keys
    #  shows the long identifier of the public key
    gpg --with-colons --list-keys "<public_key>"
    #  trusts it
    gpg --trusted-key 0123456789ABCDEF --update-trustdb
    

    copy | embed

    0 comments - tagged in  posted by dalord on Jul 20, 2010 at 9:46 a.m. EDT
  • Windows Soft-link
    REM CMD must be started as Administrator
    MKLINK L:\ink\nam.e T:\ar\ge.t
    

    copy | embed

    0 comments - tagged in  posted by dalord on Jul 10, 2010 at 4:09 a.m. EDT
  • mount VirtualBox shared folder in linux guest
    mdkir /mnt/<Mount_point>
    sudo mount -t vboxsf <Folder_name> /mnt/<Mount_point>
    
    # To mount a VirtualBox shared folder in Linux at boottime add following
    # line to /etc/fstab (tested in Ubuntu 10.04)
    <Folder_name> /mnt/<Mount_point> vboxsf defaults 0 0
    

    copy | embed

    0 comments - tagged in  posted by dalord on May 01, 2010 at 7:47 a.m. EDT
  • vpnc fix
    sudo ifconfig tun0 mtu 1356
    

    copy | embed

    0 comments - tagged in  posted by dalord on Apr 12, 2010 at 5:37 a.m. EDT
  • Connect via wpa_supplicant
    # create wpa_supplicant configuration file
    cp /etc/wpa_supplicant.conf /etc/wpa_supplicant.conf.original
    wpa_passphrase MY-NETWORK "w1r3l355 p455w0rd" # check output
    wpa_passphrase MY-NETWORK "w1r3l355 p455w0rd" > /etc/wpa_supplicant.conf
    
    # connect via wpa_supplicant
    ifconfig wlan0 up
    iwconfig wlan0 essid "MY-NETWORK"
    wpa_supplicant -B -Dwext -iwlan0 -c/etc/wpa_supplicant.conf
    dhcpcd wlan0
    

    copy | embed

    0 comments - tagged in  posted by dalord on Apr 10, 2010 at 3:26 a.m. EDT
  • ssh-agent
    ssh-agent bash
    ssh-add
    

    copy | embed

    0 comments - tagged in  posted by dalord on Mar 19, 2010 at 11:10 a.m. EDT
  • tar Befehl
    tar cvzf filename.tar.gz file.jpg # packe 'file.jpg' in 'filename.tar.gz'
    tar cvzf filename.tar.gz folder/  # packe 'folder/*' in 'filename.tar.gz'
    tar xvzf filename.tar.gz          # entpackee 'filename.tar.gz'
    

    copy | embed

    0 comments - tagged in  posted by dalord on Feb 20, 2010 at 5:48 p.m. EST
  • gits from server backup per ssh
    # run 'git-archive.sh' on server
    scp -r -P 1234 user@192.168.0.1:~/git/*.tar.gz /g/git
    

    copy | embed

    0 comments - tagged in  posted by dalord on Dec 24, 2009 at 5:54 a.m. EST
  • Environment variables
    # === Windows ===
    # Menu:
    Systemsteuerung > System > Erweiterte Systemeinstellungen > Umgebungsvariablen
    # Print:
    echo %PATH%
    # Print all:
    set
    # Important: %PATH%, %USERPROFILE%
    
    # === Linux ===
    # Print:
    echo $PATH
    # Print all:
    env
    # Change (Bash):
    export PATH=$PATH:$HOME/bin
    

    copy | embed

    0 comments - tagged in  posted by dalord on Dec 22, 2009 at 6:30 a.m. EST
  • Include Git repo in existing folder (e.g. C:\Users-repo)
    git init
    git remote add origin <path_to_repo>
    echo -e "[branch \"master\"]\n\tremote = origin\n\tmerge = refs/heads/master" >> .git/config
    git pull
    

    copy | embed

    0 comments - tagged in  posted by dalord on Dec 18, 2009 at 9:37 a.m. EST
  • tracking branch
    git checkout --track origin/<branch>
    

    copy | embed

    0 comments - tagged in  posted by dalord on Nov 17, 2009 at 11:35 a.m. EST
  • rotate dsiplay on tablet
    xrandr -o right
    xsetwacom set stylus xydefault
    xsetwacom set stylus Rotate 1
    

    copy | embed

    0 comments - tagged in  posted by dalord on Oct 28, 2009 at 3:27 a.m. EDT
  • Remote "pull"
    git checkout master
    git fetch <remote>
    git merge <remote>/master
    

    copy | embed

    0 comments - tagged in  posted by dalord on Oct 16, 2009 at 5:38 p.m. EDT
  • annotated git tag
    git tag -a 20090101 -m "Update on 2009-01-01"
    git tag -a v0.1 -m "Version 0.1"
    
    # push
    git push origin v0.1
    

    copy | embed

    0 comments - tagged in  posted by dalord on Oct 06, 2009 at 9:33 a.m. EDT
  • how to create a git repo on a server under msysgit on windows
    cd /e/language/Project/src
    git init
    vim .gitignore      # *.pyc, *~
    git add .gitignore  # ...
    git commit -m "Initial commit"
    
    cd ../..            # /e/language
    git clone --bare Project/src project.git
    scp -r -P 1234 project.git user@192.168.0.1:~/git
    # delete 'Project' in Eclipse
    git clone ssh://user@192.168.0.1:1234/~/git/project.git project/src
    # recreate 'project' in Eclipse
    

    copy | embed

    0 comments - tagged in  posted by dalord on Sep 20, 2009 at 5:11 a.m. EDT
  • ssh login auf port 1234 als user auf rechner 192.168.0.1
    ssh -p 1234 user@192.168.0.1
    

    copy | embed

    0 comments - tagged in  posted by dalord on Sep 10, 2009 at 2:58 a.m. EDT
  • Soft Link
    ln -s /folder/or/file/to/point.at /path/to/where/the/link/shall.be
    

    copy | embed

    0 comments - tagged in  posted by dalord on Aug 18, 2009 at 9:17 a.m. EDT
  • request new IP from dhcp
    sudo dhcpcd -k wlan0 dhcpcd -nd wlan0
    

    copy | embed

    0 comments - tagged in  posted by dalord on Jul 17, 2009 at 1:52 a.m. EDT
  • Prozess suche Firefox
    ps -ax |grep firefox
    

    copy | embed

    0 comments - tagged in  posted by dalord on Jun 12, 2009 at 5:49 a.m. EDT
  • Skrip Ausführbar machen
    chmod +x ~/bla/bla.pl
    

    copy | embed

    0 comments - tagged in  posted by dalord on Jun 12, 2009 at 5:44 a.m. EDT
Sign up to create your own snipts, or login.