Skip to content

Instantly share code, notes, and snippets.

@krisleech
krisleech / 00-ideavimrc
Last active March 8, 2023 14:23
vimrc for IDEAvim plugin for IntelliJ IDEA IDE with Cursive plugin. #clojure #vim
set surround
set hlsearch
set scrolloff=3
set ignorecase smartcase
set showmode
set history=1000
set relativenumber
set number
@daniellevass
daniellevass / android_material_design_colours.xml
Last active June 21, 2026 04:41
Android Material Design Colours
<?xml version="1.0" encoding="utf-8"?>
<resources>
<!-- google's material design colours from
http://www.google.com/design/spec/style/color.html#color-ui-color-palette -->
<!--reds-->
<color name="md_red_50">#FFEBEE</color>
<color name="md_red_100">#FFCDD2</color>
<color name="md_red_200">#EF9A9A</color>
@don1138
don1138 / font-stacks.css
Last active June 18, 2026 13:36
CSS Modern Font Stacks
/* Modern Font Stacks */
/* System (2026 update) */
font-family: -apple-system, system-ui, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
/* System-Only Minimal 2026 */
font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
/* System Max Consistency on Modern OS 2026 */
font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
@sontek
sontek / snowjob.sh
Last active May 1, 2026 07:13
Make your terminal snow
#!/bin/bash
LINES=$(tput lines)
COLUMNS=$(tput cols)
declare -A snowflakes
declare -A lastflakes
clear
ANT's default filtering placeholders are in the form :
@token@
where beginToken="@" and endToken="@" (see http://ant.apache.org/manual/CoreTypes/filterset.html)
As with maven, property files may have tokens in the form
${some.property}