First, we define a global prefix key:
(general-create-definer global-definer
:keymaps 'override
:states '(insert emacs normal hybrid motion visual operator)
:prefix "SPC"
:non-normal-prefix "S-SPC")
;;; The Chicken Scheme json egg provides 2 procedures: json-write and | |
;;; json-read. json-read represents JSON arrays as Scheme lists and | |
;;; JSON objects as Scheme vectors, specifically as a vector of dotted | |
;;; pairs. I like the representation of arrays as lists, but I think | |
;;; that Scheme association lists (alists) are a better match for JSON | |
;;; objects, since the latter are a mapping of names to values. | |
;;; | |
;;; The following procedure takes the Scheme representation produced by | |
;;; json-read and converts it to a representation with identical | |
;;; structure, except that vectors in the json-read representation are |
#!/bin/bash | |
# virtualenv-auto-activate.sh | |
# | |
# Installation: | |
# Add this line to your .bashrc or .bash-profile: | |
# | |
# source /path/to/virtualenv-auto-activate.sh | |
# | |
# Go to your project folder, run "virtualenv .venv", so your project folder | |
# has a .venv folder at the top level, next to your version control directory. |
(4 9 15) |
#!/bin/sh | |
# This is a skeleton of a bash daemon. To use for yourself, just set the | |
# daemonName variable and then enter in the commands to run in the doCommands | |
# function. Modify the variables just below to fit your preference. | |
daemonName="DAEMON-NAME" | |
pidDir="." | |
pidFile="$pidDir/$daemonName.pid" |
# It is show-the-point demo for my article | |
# "On DataFrame datatype in Ruby" http://zverok.github.io/blog/2016-01-10-dataframe.html | |
require 'good_data_frame' # `require': cannot load such file -- good_data_frame (LoadError) | |
# Initialization (with default index): hashes of column: values | |
# Values of each column are homogenous | |
# First and most important thing is "what columns is" | |
table = GDF.new( | |
manager: ['Tom', 'Jerry', 'Magda'], |
node_modules | |
build | |
npm-debug.log | |
.env | |
.DS_Store |