Skip to content

Instantly share code, notes, and snippets.

View meeDamian's full-sized avatar
👨‍💻
Lightning Networking

Damian Mee meeDamian

👨‍💻
Lightning Networking
View GitHub Profile

Keybase proof

I hereby claim:

  • I am meeDamian on github.
  • I am meedamian (https://keybase.io/meedamian) on keybase.
  • I have a public key whose fingerprint is D8CA 1776 EB92 6549 1D07 CE67 F546 ECBE A809 CB18

To claim this, I am signing this object:

g=git
ga='git add'
gaa='git add --all'
galias='alias | grep git'
gapa='git add --patch'
gb='git branch'
gba='git branch -a'
gbda='git branch --merged | command grep -vE "^(\*|\s*master\s*$)" | command xargs -n 1 git branch -d'
gbl='git blame -b -w'
gbnm='git branch --no-merged'
mee = new Person()
mee.code() while mee.hasCoffee() and mee.isAwake()
String locationQuery = null;
if (country != null)
locationQuery = country;
if (city != null) {
if (locationQuery == null)
locationQuery = city;
else
locationQuery += ", " + city;
}
Address[
addressLines=[
0:"No. 31, Fuzhong St, South District",
1:"Taichung City, Taiwan 402"
],
feature=31,
admin=Taichung City,
sub-admin=null,
locality=South District,
thoroughfare=Fuzhong St,
@meeDamian
meeDamian / magicCode.coffee
Last active August 29, 2015 14:26
I do know that's evil
'use strict'
class AuthTranslator
constructor: (profile) ->
@name = {}
{
@id
@provider
@meeDamian
meeDamian / caller.js
Last active August 29, 2015 14:26
Write a function that when passed an array of numbers it gives you the max difference between the largest and smallest number ONLY if the small number is in front of the large number, not behind it, so for example: [3,4,8,1] = 5, notice how the biggest difference is between 8 and 1, but because the 1 is after the 8 in the array it shouldn't cou…
var arr = [3, 4, 8, 1];
console.log(sth(arr));
@meeDamian
meeDamian / build.gradle
Created July 8, 2015 12:02
Custom .apk name
defaultConfig {
project.ext.set("archivesBaseName", "MyName-" + defaultConfig.versionName);
}
@meeDamian
meeDamian / file.rb
Created April 26, 2015 10:01
Android created Gist
Hi there,
I'm meeDamian, recording a proof for your reddit request. I speak english and polish fluently; you'd have to judge clarity yourself, though.
Now couple words in polish:
Cześć, oto kilka zupełnie losowych wyrazów po polsku: kiełbasa, pstryczek, konferencja, bakłażan. Poza tym, sam też często nawiedzam konferencje, czasem jako uczestnik, czasem jako organizator, a czasem mi się zdarzy poprowadzić jakieś seminarium.
Let me know what you think :).
# PROJECT `.gitignore`
# put it in the *root* of your project
# most likely just append this line to the already existing file
/secret.properties