I hereby claim:
- I am brandonio21 on github.
- I am brandonio21 (https://keybase.io/brandonio21) on keybase.
- I have a public key ASAPufGJnhHvnCDNpJIGbdQbJJGuHikFRLCmLVuQM7u-ago
To claim this, I am signing this object:
function! SplitTargets() | |
let tp = findfile("TARGETS", ".;") | |
if tp == "" | |
echo "TARGETS Not Found" | |
else | |
exe "split " . tp | |
endif | |
endfunction |
""" | |
Super simple script to convert for loops to while loops | |
Usage: | |
$ python f2w.py | |
for i in [1,2,3]: | |
print(i) | |
^D | |
__i = 0 | |
while __i < len([1,2,3]): |
import hashlib | |
import time | |
def files_are_equal(contents1, contents2): | |
for b1, b2 in zip(contents1, contents2): | |
if b1 != b2: | |
return False | |
return True |
import time | |
import sys | |
border = '+---------------------------------+' | |
sides = '| |' | |
stretching_msg = 'Is this haunted room actually stretching?' | |
imag_msg = ' Or is it just your imagination?' | |
stretchrange = 20 |
I hereby claim:
To claim this, I am signing this object:
Hello | |
gist-vim test |
use std::io; | |
fn main() { | |
loop { | |
println!("Enter the term that you want to generate!"); | |
let mut term = String::new(); | |
io::stdin().read_line(&mut term) | |
.ok() | |
.expect("Failed to read line!"); |
extern crate rand; | |
use std::io; | |
use rand::Rng; | |
fn main() { | |
let zero_ascii = 48; | |
let default_char = '-'; | |
let last_turn = 5; |
angular.module('recipr', []) | |
.controller('IngredientListController', function() { | |
var ingredientList = this; | |
ingredientList.ingredients = [ | |
{text:'5oz of oregano'}, | |
{text:'3oz of thyme'}]; | |
ingredientList.addIngredient = function() { | |
ingredientList.ingredients.push({text:ingredientList.ingredientText}); | |
ingredientList.ingredientText = ''; |
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
using System.Threading.Tasks; | |
namespace update.netTester | |
{ | |
class Program | |
{ |