I hereby claim:
- I am prafulfillment on github.
- I am prafulfillment (https://keybase.io/prafulfillment) on keybase.
- I have a public key ASBDD1Fo2QByZm6qxr7-VAaEhxpuveA9B3tdbUUuC-LAggo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| set filePath to (path to desktop as text) & "screencast.mov" | |
| tell application "QuickTime Player" | |
| activate | |
| set tdoc to new screen recording --> document "Screen Recording" | |
| delay 1 | |
| tell application "System Events" to key code 49 | |
| delay 2 | |
| repeat while exists tdoc |
| // ==UserScript== | |
| // @name Replace Github code style | |
| // @namespace https://www.derivatived.com/ | |
| // @version 0.1 | |
| // @description Remove all Pulse stories from LinkedIn news feed | |
| // @match https://github.com/* | |
| // @copyright 2014, Praful Mathur | |
| // ==/UserScript== | |
| function addGlobalStyle(css) { |
| /* | |
| Autosend Invites to anyone that shares X number of connections with you. | |
| Way to use this script: | |
| 1. Save it as a bookmarklet | |
| 2. Go to 'People you may know' | |
| 3. Click on this bookmarklet. | |
| 4. Enter number of overlapping connections | |
| 5. Check your console |
| function confirmDialog(){ | |
| document.getElementsByName('delete_app_actions')[0].click() | |
| document.getElementsByName('ok')[0].click() | |
| setTimeout(deleteApp,3000); | |
| } | |
| function deleteApp(){ | |
| document.getElementsByClassName('uiCloseButton')[0].click() | |
| setTimeout(confirmDialog,1000); | |
| } |
| var five = require("johnny-five"), | |
| board, servo; | |
| board = new five.Board(); | |
| board.on("ready", function() { | |
| servos = { | |
| acceleration: new five.Servo({ | |
| pin: 9, | |
| range: [0, 180], // Default: 0-180 |
| import serial | |
| ser = serial.Serial('<USB tty>', 9600) | |
| """ | |
| `Forward` is constant 85 to `Acceleration Servo` value | |
| `Backward` is constant 103 to `Acceleration Servo` value | |
| `Stop` is constant 90 to `Acceleration Servo` value | |
| Before moving `Forward` or `Backward`, the `Acceleration Servo` is `Stop`ped for 1 second |
| # coding: utf-8 | |
| import requests | |
| from bs4 import BeautifulSoup | |
| from pprint import pprint as pp | |
| from re import sub | |
| def get_project(url): | |
| r = requests.get(url) | |
| kickstarter_html = r.text | |
| soup = BeautifulSoup(kickstarter_html) |
| curl -O http://python-distribute.org/distribute_setup.py | |
| sudo python distribute_setup.py | |
| sudo easy_install pip | |
| sudo pip install virtualenv | |
| sudo pip install virtualenvwrapper | |
| sudo apt-get install vim git-core subversion | |
| cat > ~/.bashrc <<DELIM | |
| # virtualenv | |
| export WORKON_HOME=$HOME/.virtualenvs |