- Switch to denite.nvim
- Fix dotfiles installation (test with docker)
- Get zplug to keep track of dotfiles
- Bash script to install minimal working setup
- Emacs EVIL????
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
typeset -A julia | |
# specify major.minor version | |
# just grabs most recent patch of non-rc/alpha/beta version (if available) | |
julia[1.0]='julia julia1 julia10' | |
julia[0.7]='julia0 julia07' | |
julia[0.6]='julia06' | |
rm -rf julia-bins |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
__author__='Arun Lakshmanan' | |
class bowlingScore(object): | |
""" This class generates the score for a bowling game based on the following rules: | |
-- 10 frames of 2 rolls | |
-- strike: 10 points 1st roll + points from next 2 rolls | |
-- spare: 10 points 1st and 2nd rolls + points from next roll | |
-- 10th frame may have 3 rolls for spare, strike bonus | |
Example: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
__author__ = "Arun Lakshmanan" | |
class fibbonaci(object): | |
def __init__(self): | |
""" This class generates the first n Fibbonnaci numbers F(n) and modifies it in the following ways: | |
- ... "Buzz" when F(n) is divisible by 3. | |
- ... "Fizz" when F(n) is divisible by 5. | |
- ... "BuzzFizz" when F(n) is prime. | |
- ... the value F(n) otherwise. | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# BB-8 Python driver by Alistair Buxton <a.j.buxton@gmail.com> | |
from bluepy import btle | |
import time | |
class BB8(btle.DefaultDelegate): | |
def __init__(self, deviceAddress): |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
import sys, os, socket, pickle | |
from time import time | |
from optparse import OptionParser | |
UDP_IP = "127.0.0.1" | |
UDP_PORT = 31200 | |
# tell python where to find mavlink so we can import it |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
import sys, os | |
from optparse import OptionParser | |
import Tkinter as tk | |
# tell python where to find mavlink so we can import it | |
sys.path.append(os.path.join(os.path.dirname(os.path.realpath(__file__)), '../mavlink')) | |
from pymavlink import mavutil |