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
;; add our main ~/.emacs.d/ to the load-path (if it hasn't already been done) | |
;;(add-to-list 'load-path "~/.emacs.d/") | |
(setq package-archives '(("gnu" . "http://elpa.gnu.org/packages/") | |
("marmalade" . "http://marmalade-repo.org/packages/") | |
("melpa" . "http://melpa.milkbox.net/packages/"))) | |
(package-initialize) | |
;; Package Require function. It resolves any require dependencies | |
;; through the package manager. | |
(setq package-refresh-first-time nil) |
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/env python | |
# Requires: youtube_dl module | |
# Requires: ffmpeg | |
# Usage: | |
# | |
# python youtube2mp3.py <URL>, ... | |
# | |
# Example: | |
# | |
# python youtube2mp3.py https://www.youtube.com/watch?v=dQw4w9WgXcQ |
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
(ns byte | |
"My own take on byte conversion. `(byte)` doesn't work with unsigneds | |
within clojure, and signed values don't work well within | |
clojurescript. Includes additional bitwise functions for working | |
specifically with bytes.") | |
(defn signed | |
"Signed byte that works between clojure and clojurescript. |
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
#Written By: Benjamin Zaporzan | |
UNAME := $(shell uname) | |
CC = g++ | |
PROGRAM_NAME = | |
OBJ = | |
########################## | |
######## Linux ########### | |
########################## | |
ifeq ($(UNAME), Linux) | |
#include specific variables for jobs |
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
;; In response to blog post: | |
;; https://medium.com/@kasperpeulen/10-features-from-various-modern-languages-that-i-would-like-to-see-in-any-programming-language-f2a4a8ee6727 | |
;; Run with lumo | |
;; https://github.com/anmonteiro/lumo | |
;; | |
;; # npm install -g lumo-cljs | |
;; lumo clojurescript-feature-examples.cljs |
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
// Problem 3 | |
#![allow(unused)] | |
extern crate regex; | |
use std::default::Default; | |
use std::collections::HashMap; | |
use std::collections::HashSet; | |
use std::io::BufReader; | |
use std::io::BufRead; |
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
pragma solidity ^0.4.24; | |
/* | |
Title: | |
Multiple Linked List Storage | |
Description: | |
Dynamic Storage Contract for storing multiple linked lists each | |
uniquely identified by a key. Implementation allows for |
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 eden | |
local help-message = " | |
hiccup2xml - Hiccup Markup to XML Markup | |
Usage: | |
hiccup2xml read <filename> | |
hiccup2xml eval <string> |
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
pragma solidity ^0.4.7; | |
contract ChefFactory { | |
event CreateChef(address _address); | |
struct Chef { | |
uint8 cooking_ability; // Personal Cooking Rating 1-10 | |
uint8 baddaboops; // Acquired Taste Rating 1-10 | |
} | |
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
# i3 config file (v4) | |
# | |
# Please see https://i3wm.org/docs/userguide.html for a complete reference! | |
# | |
# This config file uses keycodes (bindsym) and was written for the QWERTY | |
# layout. | |
# | |
# To get a config file with the same key positions, but for your current | |
# layout, use the i3-config-wizard | |
# |
NewerOlder