Skip to content

Instantly share code, notes, and snippets.

View migaber's full-sized avatar

Mohamed Gaber migaber

View GitHub Profile
copy and paste in your ~/.gitconfig file
[alias]
logg = log --decorate --oneline --graph --color-words
lg = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --all
st = status
co = checkout
br = branch
dif = diff --abbrev --color-words --word-diff
  • AprilWilkersonDIY
(function() {
var k, aa = "function" == typeof Object.defineProperties ? Object.defineProperty : function(a, b, c) {
if (c.get || c.set) throw new TypeError("ES3 does not support getters and setters.");
a != Array.prototype && a != Object.prototype && (a[b] = c.value)
},
ba = "undefined" != typeof window && window === this ? this : "undefined" != typeof global && null != global ? global : this,
ca = function(a, b) {
if (b) {
for (var c = ba, d = a.split("."), e = 0; e < d.length - 1; e++) {
var f = d[e];
@migaber
migaber / instabug-web-sdk.js
Last active February 27, 2017 18:37
Load instabug websdk asynchronously
(function(i,n,s,t,a,b,u,g) {
i['InstabugObject'] = s;
i[s] = i[s] || {token:a}
b = n.getElementsByTagName('head')[0];
u = n.createElement('script');
u.sync = 1;
u.src = t;
u.id = 'instabugSDK';
b.appendChild(u);
})(