An animated cheatsheet for smartparens using the example configuration specified here by the smartparens author. Inspired by this tutorial for paredit.
| C-M-f | sp-forward-sexp |
| C-M-b | sp-backward-sexp |
![]() | |
| taken from [here]{http://claude.betancourt.us/add-microsoft-sql-jdbc-driver-to-maven/} | |
| ``` | |
| mvn install:install-file -Dfile=sqljdbc4.jar -Dpackaging=jar -DgroupId=com.microsoft.sqlserver -DartifactId=sqljdbc4 -Dversion=4.0 | |
| ``` | |
| POM: | |
| ``` | |
| <dependency> | |
| <groupId>com.microsoft.sqlserver</groupId> |
| gnuplot> set datafile separator "," | |
| gnuplot> plot 'calls.csv' using 2:xticlabels(1) with lines |
| #!/bin/sh | |
| # Battery threshold below which, script will hibernate if discharging | |
| batt_threshold=20 | |
| # temporary file to store the previous battery charge value, to determine if battery is being discharged | |
| batt_charge_file="/tmp/batt_charge" | |
| # read in batt charge from acpi | |
| echo "`acpi -b`, `cat /tmp/batt_charge`%" | awk -F'[:,%]' '{print $2, $3, $5, ($5 - $3), ($3-$5)<0?"discharging":"powered"}' | { | |
| read -r acpi_status capacity old_capacity capacity_diff status |
An animated cheatsheet for smartparens using the example configuration specified here by the smartparens author. Inspired by this tutorial for paredit.
| C-M-f | sp-forward-sexp |
| C-M-b | sp-backward-sexp |
![]() | |
| /* Terminal colors (16 first used in escape sequence) */ | |
| static const char *colorname[] = | |
| { | |
| [0] = "#1c1f24", // black | |
| [1] = "#ff6c6b", // dark red | |
| [2] = "#98be65", // dark green | |
| [3] = "#DA8548", // dark orange | |
| [4] = "#51afef", // dark blue |
| /* tab height */ | |
| :root { | |
| --tab-height: 22px !important; | |
| background-color: #000000; | |
| } | |
| .tab { | |
| height: var(--tab-height) !important; | |
| background: #4d4e51; | |
| color: #bbc2cf; |
| @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); | |
| /* to hide the native tabs */ | |
| #TabsToolbar { | |
| visibility: collapse; | |
| } | |
| /* to hide the sidebar header */ | |
| #sidebar-header { | |
| visibility: collapse; |
| @-moz-document regexp("moz-extension://.+/resources/group-tab.html.*") { | |
| :root { | |
| background: #bbc2cf; | |
| } | |
| } |
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <link rel="shortcut icon" href="favicon.png" /> | |
| <title>elric's home</title> | |
| <!--link rel="stylesheet" href="style.css"--> | |
| <style media="screen" type="text/css"> | |
| html { | |
| font-family: Hack; | |
| font-size: 16px; |
| # i3status configuration file. | |
| # see "man i3status" for documentation. | |
| # It is important that this file is edited as UTF-8. | |
| # The following line should contain a sharp s: | |
| # ß | |
| # If the above line is not correctly displayed, fix your editor first! | |
| general { | |
| colors = true |