Binding | Action |
---|---|
<localleader>cd | Disconnect from the current nREPL server. |
<localleader>cf | Connect to a server using the port found in any of the files specified by clojure.nrepl/connection.port-files . |
<localleader>sc | Clone the current nREPL session. |
<localleader>sf | Create a fresh session from scratch. |
<localleader>sq | Close the current session. |
<localleader>sQ | Close all sessions. |
\sl | List all sessions. |
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
;Begin Custom End G-code | |
G91 ;Relative positioning | |
G1 E-2 F2700 ;Retract a bit | |
G1 E-2 Z0.2 F2400 ;Retract and raise Z | |
G1 X5 Y5 F3000 ;Wipe out | |
G1 Z10 ;Raise Z more | |
G90 ;Absolute positionning |
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 bash | |
ini_file=$1 | |
dns_zone=$2 | |
domain=$3 | |
function load_ini_value { | |
filename=$1 | |
property=$2 | |
variable=$3 |
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
description "Ghost Blog" | |
author "Mark Garratt" | |
start on (local-filesystems and net-device-up IFACE=eth0) | |
stop on shutdown | |
respawn # restart when job dies | |
# Start the Process | |
env DIR=/var/www/ |
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
upstream ghost_upstream { | |
server 127.0.0.1:2368; | |
keepalive 64; | |
} | |
server { | |
listen 80; | |
server_name example.com www.example.com; |
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
/** | |
* Random String | |
* | |
* Generates a random string of specified length using charSet. | |
* | |
* Optional charSet can either be a RegExp MATCH or String of allowed characters | |
* if not provided then (nearly) all characters on a UK Keyboard will be used. | |
* | |
* @param {Int} len Length of random string | |
* @param {String|RegExp} charSet The character set to use |
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
@mixin arrow($direction, $colour, $size: 5px) { | |
position: relative; | |
&:before { | |
content: ''; | |
display: block; | |
position: absolute; | |
width: 0; | |
height: 0; | |
@if $direction == up { |