Skip to content

Instantly share code, notes, and snippets.

View vihanb's full-sized avatar
🐶
Probably at the doggo shelter

Vihan vihanb

🐶
Probably at the doggo shelter
View GitHub Profile
@vihanb
vihanb / pwd0.php
Last active October 21, 2018 06:18
@<?php
echo("testing");
?>
-----BEGIN PGP PUBLIC KEY BLOCK-----
mQENBForclUBCAC/AqAMWSEc+8edJlAb3IuJhTGAVfzZs3Vg5L8gYoMNq9QxqWOs
d0iac/lsgwwyYEtXewmkqBFyeLeRCFv2dqQI3B+Ai4djcAg/tW1w+8rCexLM+Juo
Cp9wspQCZUoFG55+pdtbzR3SpZJBy0f3sdobqcQiM23pEK+V+OU6GNryGhx2ExaR
vr9iSDTHBqpprGvpYvbUy0aUiMrB3bUIGBjQIgMTOnBXLrgwMFhhRnnsm4eYaW5P
CPnzDWWkPMDPw5mswI/WxaCsgvhk2we1whc2rR0ustItFojvLyvPzJxib5nNDCyw
rqI8I0+3POuHuX6QaWO8h+3tocjx2g7l8D5ZABEBAAG0JFZpaGFuIEJoYXJnYXZh
IDx2aWhhbitncGdAdmloYW4ub3JnPokBVAQTAQgAPhYhBLYD74am8nF8aqQi/7O9
X4Ld0YeuBQJbjxt6AhsDBQkDwmcABQsJCAcCBhUKCQgLAgQWAgMBAh4BAheAAAoJ
@vihanb
vihanb / gitgoat.md
Last active July 7, 2018 19:16
GitGoat TODOS

GitGoat TODOs

Arranged in no specific order

  • Use HTML wiki sidebars if available
  • Proper diff viewing
  • Repository starring
  • Repository watching
  • Peek/pop support
  • Clicking on user avatars to open profile on activity feed
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@vihanb
vihanb / dependency-resolution.md
Last active February 19, 2018 08:26
VSL Compilation Steps

Dependency Resolution

  1. Resolve functions
  2. Resolve classes
@vihanb
vihanb / xcasset.sh
Created April 9, 2017 02:44
Automatically generates an xcode .imageset from clipboard
#!/usr/bin/env bash
folder_path="$HOME/Downloads/$1.imageset"
mkdir -p "$folder_path"
# Determine size
SIZE=${2:-30}
N_A="${SIZE}x${SIZE}"
N_B="$((SIZE*2))x$((SIZE*2))"
N_C="$((SIZE*3))x$((SIZE*3))"
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Ansi 0 Color</key>
<dict>
<key>Alpha Component</key>
<real>1</real>
<key>Blue Component</key>
<real>0.11759774386882782</real>
set nocompatible
filetype off
execute pathogen#infect()
" Vundle
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
Plugin 'altercation/vim-colors-solarized'
#!/usr/bin/env node
var cheddar = require('cheddar-lang');
var api = cheddar.stdlib;
// Enable Cheddar safe mode
global.SAFE_MODE = true;
// Print function
var printed = false;
@vihanb
vihanb / txt.out
Last active July 26, 2016 01:45
Gist description....
This file has been truncated, but you can view the full file.
8.000000072900000663390006036849054935326399911470239194379176668850\
50768653961994751054152234592785334794346546628553574319837526310521\
48942574555377428453934598930804850270324137459949650885541823058430\
58983171836746863714396459801007784189170836121454608705236939217656\
14688067093661410552318836026101407837522811321457583025264005529902\
45032211229793122191117411939168448646432882682539232411107014941073\
83596377190727032435615995164105555993360559539581091810187935472710\
21280166293649513272210570777116194071757366052992031082227482848270\
09391925785466524647745374294482906079794445326129452467778017456779\
95885669762559594839292313037560048641796442640347628027163415047187\