This file contains hidden or 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
;; -*- mode: emacs-lisp -*- | |
;; This file is loaded by Spacemacs at startup. | |
;; It must be stored in your home directory. | |
(defun dotspacemacs/layers () | |
"Configuration Layers declaration. | |
You should not put any user code in this function besides modifying the variable | |
values." | |
(setq-default | |
;; Base distribution to use. This is a layer contained in the directory |
This file contains hidden or 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
# Edit this configuration file to define what should be installed on | |
# your system. Help is available in the configuration.nix(5) man page | |
# and in the NixOS manual (accessible by running ‘nixos-help’). | |
{ config, pkgs, ... }: | |
{ | |
imports = [ | |
<nixpkgs/nixos/modules/profiles/hardened.nix> | |
./hardware-configuration.nix |
This file contains hidden or 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
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
LOCAL_PORT = 9999 | |
IP_ADDRESS = "192.168.50.4" | |
VAGRANTFILE_API_VERSION = "2" | |
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| | |
config.vm.box = "ubuntu/trusty64" |
This file contains hidden or 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
# Meta | |
alias edit-aliases="nano ~/.alias && source ~/.alias" | |
alias aliases="less ~/.alias" | |
alias update-aliases="source ~/.alias" | |
# Utility | |
alias lss="ls -ABgoh" # ls with human-readible file sizes | |
alias rm="rm -i" | |
alias mkex="chmod +x" | |
alias untar="tar xvzf" |
This file contains hidden or 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
;; -*- lexical-binding: t; -*- | |
;;===[ PERFORMANCE ENHANCEMENTS ]=============================================== | |
;; See: | |
;; https://github.com/hlissner/doom-emacs/wiki/FAQ#how-is-dooms-startup-so-fast | |
(defvar file-name-handler-alist-backup file-name-handler-alist) | |
(defvar gc-cons-threshold-backup gc-cons-threshold) | |
(defvar gc-cons-percentage-backup gc-cons-percentage) | |
(setq gc-cons-threshold 402653184 |
This file contains hidden or 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
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
# Vagrantfile API/syntax version. Don't touch unless you know what you're doing! | |
VAGRANTFILE_API_VERSION = "2" | |
PORT = 9999 | |
# Ignore this, cli-installation is buggy | |
AUTO_INSTALL = false |
This file contains hidden or 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
<?xml version="1.0" encoding="UTF-8" standalone="no"?> | |
<dartKeyBindings version="1"> | |
<!--The format is straightforward, consisting of two attributes plus one that is optional. | |
The required attributes are the command name, which is the same as it appears in | |
menus, and the key sequence, which is all uppercase. The optional attribute is the | |
name of the platform to which the binding applies if it is not universal.--> | |
<keyBinding commandName="Activate Editor" keySequence="F12" platform="win32"/> | |
<keyBinding commandName="Backward History" keySequence="ALT+ARROW_LEFT"/> | |
<!-- <keyBinding commandName="Close" keySequence="CTRL+W"/> --> | |
<keyBinding commandName="Close All" keySequence="CTRL+SHIFT+W"/> |
This file contains hidden or 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
# Assumes oh-my-zsh, xclip, and aptitude are installed | |
# Ubuntu/Debian | |
alias install="sudo aptitude -ZWry install" | |
alias uninstall="sudo aptitude -ZWry remove" | |
alias full-uninstall="sudo aptitude -ZWry purge" | |
alias installed="dpkg --get-selections | grep" | |
alias add-repo="sudo add-apt-repository" | |
alias repo-update="sudo aptitude update" | |
alias update="sudo aptitude -ZWry safe-upgrade && sudo aptitude -ZWry --purge-unused clean" |
This file contains hidden or 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
# My system's pip freeze output | |
BeautifulSoup==3.2.0 | |
Fabric==1.3.3 | |
Flask-Markdown==0.3 | |
Jinja2==2.6 | |
Markdown==2.1.0 | |
PyRSS2Gen==1.0.0 | |
PyYAML==3.10 | |
Pygments==1.4 |
This file contains hidden or 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
;;--- PATH setup ------------------------------------------------------------------------- | |
(when (string-match "apple-darwin" system-configuration) | |
; add '/usr/local/bin' to my PATH | |
(setenv "PATH" (concat (getenv "PATH") ":/usr/local/bin")) | |
(setq exec-path (append exec-path '("/usr/local/bin")))) | |
(setenv "PATH" (concat (getenv "PATH") ":/cygwin/bin")) | |
(setq exec-path (append exec-path '("/cygwin/bin"))) | |
;;=== Package Management ================================================================= |
NewerOlder