Skip to content

Instantly share code, notes, and snippets.

View ahmadnassri's full-sized avatar
🏠
Working from home

Ahmad Nassri ahmadnassri

🏠
Working from home
View GitHub Profile
@ahmadnassri
ahmadnassri / diagonal.svg
Created December 25, 2016 17:26
Diagonal Separators
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@ahmadnassri
ahmadnassri / node-babel.md
Created August 26, 2016 15:00
Node - Babel ES mapping

ES2015

Node Version Babel Plugin
<= 0.12.x babel-plugin-transform-es2015-arrow-functions
<= 0.12.x babel-plugin-transform-es2015-classes
<= 0.12.x babel-plugin-transform-es2015-computed-properties
<= 0.12.x babel-plugin-transform-es2015-for-of
<= 0.12.x babel-plugin-transform-es2015-template-literals
<= 0.12.x babel-plugin-transform-regenerator
@ahmadnassri
ahmadnassri / animal.js
Last active March 23, 2016 03:21
require collision
module.exports = {
type: 'animal'
}
@ahmadnassri
ahmadnassri / keybase.md
Created October 8, 2014 05:28
keybase.md

Keybase proof

I hereby claim:

  • I am AhmadNassri on github.
  • I am ahmadnassri (https://keybase.io/ahmadnassri) on keybase.
  • I have a public key whose fingerprint is 1778 AEC3 487B 70E9 6CC9 27D3 A91B 9CF6 53A5 6417

To claim this, I am signing this object:

@ahmadnassri
ahmadnassri / gitupdate
Created March 22, 2014 03:19
Update all git repositories in a directory
find . -maxdepth 1 -type d -exec git --git-dir={}/.git --work-tree=$PWD/{} pull origin master \;
@ahmadnassri
ahmadnassri / installation.md
Last active March 4, 2019 19:04
Typical PHP/Nginx Setup on a Debian server

do everything as root

sudo su

update system:

apt-get update