Skip to content

Instantly share code, notes, and snippets.

View insanoid's full-sized avatar
👋

Karthikeya Udupa insanoid

👋
View GitHub Profile
@insanoid
insanoid / update_elvui.sh
Created April 12, 2019 10:28
Update ElvUI from repository
cd "/Applications/World of Warcraft/_retail_/Interface/Addons" && rm -rf elvui-source ElvUI ElvUI_Config && git clone https://git.tukui.org/elvui/elvui.git && mv elvui elvui-source && cp -rf elvui-source/* . && rm -rf elvui-source && cd ~

Keybase proof

I hereby claim:

  • I am insanoid on github.
  • I am insanoid (https://keybase.io/insanoid) on keybase.
  • I have a public key whose fingerprint is 71DD EF91 F2B6 2362 D7D9 88CC DCC7 6108 90E5 B71D

To claim this, I am signing this object:

@insanoid
insanoid / KeyboardViewHandling
Created June 24, 2014 13:19
Keyboard View Handling
//H File should have
//CGFloat animatedDistance;
const CGFloat KEYBOARD_ANIMATION_DURATION = 0.3;
const CGFloat MINIMUM_SCROLL_FRACTION = 0.2;
const CGFloat MAXIMUM_SCROLL_FRACTION = 0.8;
const CGFloat PORTRAIT_KEYBOARD_HEIGHT = 216;
const CGFloat LANDSCAPE_KEYBOARD_HEIGHT = 162;
#pragma mark - TextField Delegate
@insanoid
insanoid / Scraper.js
Created April 9, 2014 17:53
Node.JS Android Play Store
var request = require('request');
var cheerio = require('cheerio');
exports.getAppInfo = function(req, res) {
url = 'https://play.google.com/store/apps/details?id=' + req.param('appId') + '&&hl=en';
console.log('URL %s', url);
var json = {
app_name:"",
package_name: req.param('appId'),
icon: "",