Skip to content

Instantly share code, notes, and snippets.

View georgedrummond's full-sized avatar

George Drummond georgedrummond

  • GitHub Staff
  • Philadelphia
View GitHub Profile
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>ANSIBlueColor</key>
<data>
YnBsaXN0MDDUAQIDBAUGFRZYJHZlcnNpb25YJG9iamVjdHNZJGFyY2hpdmVyVCR0b3AS
AAGGoKMHCA9VJG51bGzTCQoLDA0OVU5TUkdCXE5TQ29sb3JTcGFjZVYkY2xhc3NPECYw
LjExMTU1NjIxNzEgMC4xNDQyMDcxMDUgMC41ODIxMTkxNjY5ABABgALSEBESE1okY2xh
c3NuYW1lWCRjbGFzc2VzV05TQ29sb3KiEhRYTlNPYmplY3RfEA9OU0tleWVkQXJjaGl2

Keybase proof

I hereby claim:

  • I am georgedrummond on github.
  • I am georgedrummond (https://keybase.io/georgedrummond) on keybase.
  • I have a public key whose fingerprint is DD55 5543 43A9 7B3E FF42 FA35 FFB2 C333 DD0F CA8E

To claim this, I am signing this object:

Keybase proof

I hereby claim:

  • I am georgedrummond on github.
  • I am georgedrummond (https://keybase.io/georgedrummond) on keybase.
  • I have a public key whose fingerprint is BB69 ADAF 3CC9 2487 5B8A CE71 729F C344 044B 3EEB

To claim this, I am signing this object:

@georgedrummond
georgedrummond / sshd.go
Last active February 26, 2020 05:55 — forked from nictuku/sshd.go
Go SSH server complete example
package main
import (
"fmt"
"io"
"io/ioutil"
"log"
"code.google.com/p/go.crypto/ssh"
"code.google.com/p/go.crypto/ssh/terminal"
@georgedrummond
georgedrummond / sshd.go
Last active August 29, 2015 14:26 — forked from jpillora/sshd.go
Go 1.3 SSH server complete example
// A small SSH daemon providing bash sessions
//
// Server:
// cd my/new/dir/
// #generate server keypair
// ssh-keygen -t rsa
// go get -v .
// go run sshd.go
//
// Client:
@georgedrummond
georgedrummond / gist:cc6b401da1428aa1c701
Created March 9, 2016 04:44 — forked from panuta/gist:1897940
Generate a document thumbnail (doc, xls, ppt and openoffice formats) in Ubuntu Server 10.04
  1. Install OpenOffice headless package

    $ sudo apt-get install openoffice.org-headless openoffice.org-java-common openoffice.org-writer openoffice.org-calc openoffice.org-impress
    
  2. Install UNO python library

$ sudo apt-get install python-uno unoconv

Keybase proof

I hereby claim:

  • I am georgedrummond on github.
  • I am georgedrummond (https://keybase.io/georgedrummond) on keybase.
  • I have a public key ASDVIP3EJ6yYEDiVVtAM_dFL0oWxfu3ojjM2lmPFng60Jgo

To claim this, I am signing this object:

{
"header": {
"Name": "MDErgo1",
"Layout": "Default",
"Base": "Blank",
"Version": "0.1",
"Author": "HaaTa (Jacob Alexander) 2015",
"KLL": "0.3c",
"Date": "2015-09-12",
"Generator": "KIICONF 0.2"

Introduction

  • C-a == Ctrl-a
  • M-a == Alt-a

General

:q        close
:w        write/saves
:wa[!]    write/save all windows [force]
:wq       write/save and close