I hereby claim:
- I am aviraldg on github.
- I am aviraldg (https://keybase.io/aviraldg) on keybase.
- I have a public key whose fingerprint is 3875 FC93 96D5 216A 2768 0341 0E18 4AB0 523D 1E9B
To claim this, I am signing this object:
- repo: git://github.com/pre-commit/pre-commit-hooks | |
sha: v0.8.0 | |
hooks: | |
- id: autopep8-wrapper | |
- id: check-added-large-files | |
- id: check-ast | |
- id: check-byte-order-marker | |
- id: check-case-conflict | |
- id: check-docstring-first | |
- id: check-json |
I hereby claim:
To claim this, I am signing this object:
#!/usr/bin/python | |
__author__ = 'Angelis Pseftis' | |
from bs4 import BeautifulSoup | |
import urllib | |
import urlparse | |
import argparse | |
from termcolor import colored | |
import subprocess | |
import whois |
import fetch from 'isomorphic-fetch'; | |
import receivePlaces from './receivePlaces' | |
import requestPlaces from './requestPlaces' | |
export default function() { | |
return dispatch => { | |
dispatch(requestPlaces()); | |
fetch(`https://www.mozzobytes.com/api/places/`) | |
.then(response => response.json()) |
/* Combine all available reducers to a single root reducer. | |
* | |
* CAUTION: When using the generators, this file is modified in some places. | |
* This is done via AST traversal - Some of your formatting may be lost | |
* in the process - no functionality should be broken though. | |
* This modifications only run once when the generator is invoked - if | |
* you edit them, they are not updated again. | |
*/ | |
import { combineReducers } from 'redux'; | |
/* Populated by react-webpack-redux:reducer */ |
#!/usr/bin/python | |
import subprocess, cv2, os | |
PATH = os.environ.get('GITPIC_PATH') | |
def main(): | |
sha = subprocess.check_output(["git", "rev-parse", "HEAD"]).strip() | |
repo_name = os.path.basename(subprocess.check_output(["git", "rev-parse", "--show-toplevel"])).strip() | |
try: | |
os.makedirs(os.path.join(PATH, repo_name)) |
#!/usr/bin/python | |
import subprocess, cv2, os | |
PATH = '/home/aviraldg/Pictures/gitpic/' | |
def main(): | |
sha = subprocess.check_output(["git", "rev-parse", "HEAD"]).strip() | |
repo_name = os.path.basename(subprocess.check_output(["git", "rev-parse", "--show-toplevel"])).strip() | |
try: | |
os.makedirs(os.path.join(PATH, repo_name)) |
#!/usr/bin/env python | |
import shutil, sys, os | |
def main(): | |
srcname = sys.argv[1] | |
destname = os.path.abspath(sys.argv[2]) | |
base = os.path.dirname(srcname) | |
srcname = os.path.basename(srcname) | |
def copy(arg, fname, fnames): | |
if os.path.basename(fname).startswith('drawable'): |
import java.io.*; | |
import java.util.*; | |
/** Decomposes a number into sums */ | |
public class Decompose { | |
public static final int MAX_NO = 20; | |
/** | |
* n - The number to sum up to. | |
* m - The number to start with (to sum up) |
NOTE: This post is here because of two reasons: my blog is currently in a state of "flux" (I'm in the process of developing a custom theme and moving to a different blogging engine) and the fact that I usually don't participate in platform wars.
This is a reply to: http://virtuosovidit.blogspot.in/2013/01/the-curiously-boring-phone.html
“So, iPhone is boring. Its got this same UI for the last three years, and the same Apps launcher ever since its launch in 2007. Its boring. Its boring. Its Boring. What’s interesting is widgets, adventures with Viruses! clunky heavy themes. Quad Core processors, GBs of RAM, We want More Cores, We want More RAM! Even if we don’t know what it does! Bigger is better. More is Better. Larger is prettier. That’s just 4”, People have ‘upgraded’ to 6.3” phones. That Lumia is more colorful! iPhone’s only black or White, more color is always cooler, its interesting! Why, Apple won’t do that. They did, they’re just looking afte