Skip to content

Instantly share code, notes, and snippets.

View andreis's full-sized avatar

andreis

View GitHub Profile
s1 = []
s2 = []
def enq(val):
global s1, s2
if len(s1) == 0:
s1.append(val)
else:
s2.append(val)
while len(s1) > 0:

/Applications (w/o preinstalled apps)

Airmail.app             £1.49, Sparrow clone and best email client hands-down
AppCleaner.app          (*) uninstaller, essential
Atom.app                invite-based beta
CppIDE EAP.app          private beta
Dropbox.app             (*)
Google Chrome.app       (*)
Google Drive.app        (*)
iBooks.app              decent ebook reader

Honest Greetings...........,

My name is MR.RAYMOND ATETTEH, I am an accountant in the mineral commission department Ministry of Mines and Energy Ghana. Also I am a member of contracts awarding committee of this ministry under Ghana government. This mail may come to you as a surprise but be rest assured that this is not a hoax mail. I write to solicit your assistance in a funds transfer deal involving US $18,000,000.00.($18 million us dollars)

Two years ago, Ghana government asked my committee to award contracts to foreign firms, which I and my colleague With our good position, deliberately over invoiced the contract sum to the tune of US$18,000,000:00 .The contracts value has been paid off to the actual contractors that executed these jobs, all I want now is a trusted foreign partner like you that we shall front with the banking account number to Claim the over inflated sum.

All I require is your honest cooperation and confidence in me which I know would not come easy.

func Encrypt(string text, string[] publicKeys) (string, error) {
// string is the encrypted text
// error is null if encryption went OK, or non-null when there was an error
// (e.g. one of the public keys wasn't well formatted)
// (http://stackoverflow.com/questions/2341486/how-are-pgp-keys-formatted)
}
func Decrypt(string text, string privateKey) (string, error) {
// string is the decrypted text
// error is null if decryption went OK, or non-null when there was an error
@andreis
andreis / ideas.md
Last active August 29, 2015 14:13
Some *ideas*

Products

  • [meta as fuck] sidelog: a service for storing side project ideas (kind of like a notepad) and also discovering coworkers/ideas; something very similar was launched last 90 days
  • death.app [codename]: a way of recovering access to the online data of a deceased relative; something very similar launched last year, and people said it's mostly a legal challenge, not a software one
  • badger: pinboard.in on steroids; a read-it-later service for links to content you want to keep track of, that leverages the metadata in interesting ways (content discovery, organisation, etc)
  • agreed: website for verbal agreements; uses email addresses and imgur-like one-click link creation; add text and email addresses, and the process is finalised when all people have clicked the link in the email; the urls are unlisted by default
  • twitter collage: photo streams for events based on hashtags and time, optionally geolocation
  • etiq: company ethical meter; user can review and vote on how ethically a company runs
  • Braid [single developer]
  • Dust: An Elysian Tail [single developer]
  • Bastion
  • Fez
  • Mark of the Ninja
  • Super Meat Boy
  • Shovel Knight
  • Wayward Souls [iOS]
  • Papers, Please [single developer]
  • Spelunky
@andreis
andreis / keybase.md
Created May 13, 2015 08:39
keybase.md

Keybase proof

I hereby claim:

  • I am andreis on github.
  • I am andreis (https://keybase.io/andreis) on keybase.
  • I have a public key whose fingerprint is B728 669B EEC0 AFFA E385 DD85 F946 2A02 1E03 D98C

To claim this, I am signing this object:

@andreis
andreis / packages-list.apm
Created July 22, 2015 15:45
My apm packages
afterglow-monokai-syntax@1.3.3
go-plus@3.4.3
language-ansible@0.1.3
language-docker@1.1.3
license-plus@1.2.5
minimap@4.12.0
monokai@0.15.0
python-isort@0.0.7
script@2.26.3
seti-syntax@0.4.0
package main
import "fmt"
import "stablelib.com/v1/uniuri"
// UUID is a random string of 32 characters. That's about 180 bits of entropy, so way over the
// official UUIDv4 standard of 122 bits.
type UUID string
// New creates a new UUID