Reloading public files on Amber.
You need Crystal and Amber::CMD installed
| (defun magit-status-parent () | |
| "Open the magit status of a parent git repository. Useful for | |
| dealing with submodules. Suggest binding to SPC g p for Spacemacs. | |
| (spacemacs/set-leader-keys \"gp\" 'magit-status-parent) | |
| " | |
| (interactive) | |
| (let* ((child-directory (magit-toplevel default-directory)) | |
| (parent-directory (and child-directory | |
| (magit-toplevel (file-name-directory |
| tell application "BetterTouchTool" | |
| activate | |
| update_trigger "EAE52DEC-26DA-40DC-8BB1-62A102FE676C" json "{\"BTTEnabled\" : %d}" | |
| update_trigger "7C3BC3BC-2B93-4674-8A5F-6697FDC6E723" json "{\"BTTEnabled\" : %d}" | |
| end tell |
| <!doctype html> | |
| <!-- This is just a very slightly modified tracking.js demo: https://trackingjs.com/examples/face_camera.html --> | |
| <html> | |
| <head> | |
| <meta charset="utf-8"> | |
| <script src="https://cdnjs.cloudflare.com/ajax/libs/tracking.js/1.1.3/tracking-min.js"></script> | |
| <script src="https://cdnjs.cloudflare.com/ajax/libs/tracking.js/1.1.3/data/face-min.js"></script> | |
| <style> | |
| video, canvas { | |
| margin-left: 100px; |
| #! /usr/bin/env bash | |
| # | |
| # This script looks up the latest successfull nightly build of crystal on | |
| # Circle CI, extracts the build number of `dist_artifacts` job and retrieves | |
| # it's artifacts list. | |
| # | |
| # From this artifacts list, the specified tar package is downloaded and | |
| # extracted in $INSTALL_DIR. | |
| # The binaries `bin/crystal` and `bin/shards` are linked as `crystal-nightly` | |
| # and `shards-nightly` in `/usr/local/bin`. |
| a4b.amazonaws.com | |
| access-analyzer.amazonaws.com | |
| account.amazonaws.com | |
| acm-pca.amazonaws.com | |
| acm.amazonaws.com | |
| airflow-env.amazonaws.com | |
| airflow.amazonaws.com | |
| alexa-appkit.amazon.com | |
| alexa-connectedhome.amazon.com | |
| amazonmq.amazonaws.com |
| a = {1, 0} | |
| b = {a, a} | |
| c = {b, b} | |
| d = {c, c} | |
| e = {d, d} | |
| f = {e, e} | |
| g = {f, f} | |
| h = {g, g} | |
| i = {h, h} | |
| j = {i, i} |
Crystal Source Code:
def factorial(n)
n < 2 ? 1 : n * factorial(n - 1)
end
if ARGV.size > 0
n = ARGV.first.to_u64
puts factorial(n)I used to use NERD tree for quite a while, then switched to CtrlP for something a little more lightweight. My setup now includes zero file browser or tree view, and instead uses native Vim fuzzy search and auto-directory switching.
There is a super sweet feature in Vim whereby you can fuzzy find your files using **/*, e.g.:
:vs **/*<partial file name><Tab>