Skip to content

Instantly share code, notes, and snippets.

View evamvid's full-sized avatar

Evamvid Sharma evamvid

View GitHub Profile
@evamvid
evamvid / ortho48.json
Created September 26, 2019 23:43
ortho48
{"keyboard":"cannonkeys/ortho48","keymap":"aryasharma","layout":"LAYOUT_ortho_4x12","layers":[["KC_ESC","KC_Q","KC_W","KC_E","KC_R","KC_T","KC_Y","KC_U","KC_I","KC_O","KC_P","KC_BSPC","KC_TAB","KC_A","KC_S","KC_D","KC_F","KC_G","KC_H","KC_J","KC_K","KC_L","KC_SCLN","KC_QUOT","KC_LSFT","KC_Z","KC_X","KC_C","KC_V","KC_B","KC_N","KC_M","KC_COMM","KC_DOT","KC_SLSH","KC_ENT","KC_LCTL","KC_LCTL","KC_LALT","KC_LGUI","MO(1)","KC_SPC","KC_SPC","MO(2)","KC_LEFT","KC_DOWN","KC_UP","KC_RGHT"],["KC_TILD","KC_EXLM","KC_AT","KC_HASH","KC_DLR","KC_PERC","KC_CIRC","KC_AMPR","KC_ASTR","KC_LPRN","KC_RPRN","KC_BSPC","KC_DEL","KC_F1","KC_F2","KC_F3","KC_F4","KC_F5","KC_F6","KC_UNDS","KC_PLUS","KC_LCBR","KC_RCBR","KC_PIPE","KC_TRNS","KC_F7","KC_F8","KC_F9","KC_F10","KC_F11","KC_F12","LSFT(KC_NUHS)","LSFT(KC_NUBS)","KC_HOME","KC_END","KC_TRNS","RESET","KC_TRNS","KC_TRNS","KC_TRNS","KC_TRNS","KC_TRNS","KC_TRNS","KC_TRNS","KC_MNXT","KC_VOLD","KC_VOLU","KC_MPLY"],["KC_GRV","KC_1","KC_2","KC_3","KC_4","KC_5","KC_6","KC_7","KC_8","KC_9"
@evamvid
evamvid / boot
Created September 9, 2019 03:12
Sep 08 18:22:50 LeanMeanX220Machine kernel: usbcore: registered new interface driver usbfs
Sep 08 18:22:50 LeanMeanX220Machine kernel: usbcore: registered new interface driver hub
Sep 08 18:22:50 LeanMeanX220Machine kernel: usbcore: registered new device driver usb
Sep 08 18:22:50 LeanMeanX220Machine kernel: usbcore: registered new interface driver usbserial_generic
Sep 08 18:22:50 LeanMeanX220Machine kernel: usbserial: USB Serial support registered for generic
Sep 08 18:22:50 LeanMeanX220Machine kernel: usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.02
Sep 08 18:22:50 LeanMeanX220Machine kernel: usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
Sep 08 18:22:50 LeanMeanX220Machine kernel: usb usb1: Product: EHCI Host Controller
Sep 08 18:22:50 LeanMeanX220Machine kernel: usb usb1: Manufacturer: Linux 5.2.13-arch1-1-ARCH ehci_hcd
Sep 08 18:22:50 LeanMeanX220Machine kernel: usb usb1: SerialNumber: 0000:00:1a.0
@evamvid
evamvid / token.sol
Created June 30, 2017 04:53
tokencode
pragma solidity ^0.4.2;
/*Modified version of the standard ERC-20 Token implementing burn, changing supply, and freezing*/
contract owned {
address public owner;
function owned() {
owner = msg.sender;
}
@evamvid
evamvid / fullcase.scad
Last active November 6, 2016 03:26
fullcasebackup
x = 43.5;
y = 120;
portx = 47;
porty = 100;
//%translate([49,-125,0]) rotate([0, 0, 90]) import("plate.stl");
union() {
difference(){
minkowski(){
cube([98, 250, 16], center = true);
@evamvid
evamvid / list.md
Created September 23, 2016 00:52
music

prokofiev -- dance of the knights

@evamvid
evamvid / list.md
Last active September 18, 2016 03:32
MyPlate Meal Project Grocery List

#Chicken

  • Butter

  • Garlic

  • Honey

  • Lemon Juice

: matrixState
:
INFO - Max scans: 0x0
INFO - Previous scans: 0x0
INFO - Scan Number: 0x0
<key>:<previous state><current state> <active count> <inactive count>
0x00:OO 0x0000 0xFFFF 0x01:OO 0x0000 0xFFFF 0x02:OO 0x0000 0xFFFF 0x03:OO 0x0000 0xFFFF
0x04:OO 0x0000 0xFFFF 0x05:OO 0x0000 0x38E2 0x06:OO 0x0000 0x4996 0x07:OO 0x0000 0xFFFF
0x08:OO 0x0000 0x3CEC 0x09:OO 0x0000 0xFFFF 0x0A:OO 0x0000 0xFFFF 0x0B:OO 0x0000 0xFFFF
0x0C:OO 0x0000 0xFFFF 0x0D:OO 0x0000 0xFFFF 0x0E:OO 0x0000 0xFFFF 0x0F:OO 0x0000 0xFFFF
/* Copyright (C) 2014-2015 by Jacob Alexander
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in
@evamvid
evamvid / NoUse
Created June 23, 2015 03:24
PowerBlocker
#!/bin/bash
cat /sys/class/power_supply/BAT0/status
OUTPUT="$(cat /sys/class/power_supply/BAT0/status)"
echo "${OUTPUT}"
if [ "${OUTPUT}" = "Charging" ] || [ "${OUTPUT}" = "Unknown" ]; then
echo charging or full
elif [ "${OUTPUT}" = "Discharging" ]; then
notify-send -i /home/evamvid/Documents/Programming/OokiNoUse/power25.png "Hey there brother" "plug it in"
COUNTER=0
while [ "$COUNTER" -le 12 ]
@evamvid
evamvid / elevationproject.py
Created May 14, 2015 12:21
Python Project Partially Done
#initialize
import googlemaps
from datetime import datetime
import json
import csv
import os
import scriptpath
gmaps = googlemaps.Client(key='my_api_key')
os.chdir(os.path.dirname(os.path.realpath(sys.argv[0])))#redefines cwd to the script's home dir bc I'm running it in the IDE