- Do you have an Github account ? If not create one.
- Install required tools
- Latest Git Client
- gpg tools
# Ubuntu
sudo apt-get install gpa seahorse
# MacOS with https://brew.sh/
# Ubuntu
sudo apt-get install gpa seahorse
# MacOS with https://brew.sh/
Inspired by dannyfritz/commit-message-emoji
See also gitmoji.
Commit type | Emoji |
---|---|
Initial commit | 🎉 :tada: |
Version tag | 🔖 :bookmark: |
New feature | ✨ :sparkles: |
Bugfix | 🐛 :bug: |
set nocompatible " be iMproved, required | |
filetype off " required | |
" set the runtime path to include Vundle and initialize | |
set rtp+=~/.vim/bundle/Vundle.vim | |
call vundle#begin() | |
" alternatively, pass a path where Vundle should install plugins | |
"call vundle#begin('~/some/path/here') | |
" let Vundle manage Vundle, required |
import requests | |
import json | |
AFTER = 1353233754 | |
TOKEN = ' <insert token here> ' | |
#by Akshit Khurana | |
def get_posts(): | |
"""Returns dictionary of id, first names of people who posted on my wall | |
between start and end time""" | |
query = ("SELECT post_id, actor_id, message FROM stream WHERE " |
import urllib.request | |
import json | |
def save_image(friend): | |
size = '/picture?width=200&height=200' | |
url = 'https://graph.facebook.com/'+ friend['id'] + size | |
image = urllib.request.urlopen(url).read() | |
f = open(friend['name'] + '.jpg', 'wb') | |
f.write(image) | |
f.close() |