We gonna use ubuntu:trusty as a base.
Execute:
| #!/bin/env python | |
| # -*- coding: UTF-8 -*- | |
| __author__ = 'actionless' | |
| import random | |
| unowns = [[ | |
| ' ▀█▀▀▀█▀ ', | |
| ' ▄▀▀▀▄ ', | |
| ' ▀▄ ▀ ▄▀ ', |
| merged into upstream: https://github.com/bling/vim-airline/pull/844 |
| local awful = require("awful") | |
| local local_config = {} | |
| function local_config.init(awesome_context) | |
| awesome_context.config = { | |
| wlan_if = 'wlp4s0', | |
| eth_if = 'enp0s25', | |
| net_preset = 'bond', |
| #!/bin/sh | |
| # Cleanup docker files: untagged containers and images. | |
| # | |
| # Use `docker-cleanup -n` for a dry run to see what would be deleted. | |
| untagged_containers() { | |
| # Print containers using untagged images: $1 is used with awk's print: 0=line, 1=column 1. | |
| # NOTE: "[0-9a-f]{12}" does not work with GNU Awk 3.1.7 (RHEL6). | |
| # Ref: https://github.com/blueyed/dotfiles/commit/a14f0b4b#commitcomment-6736470 | |
| docker ps -a | tail -n +2 | awk '$2 ~ "^[0-9a-f]+$" {print $'$1'}' |
| " from https://github.com/sd65/MiniVim/blob/master/vimrc | |
| " | |
| " | |
| let g:miniline_left_sep = '' | |
| let g:miniline_right_sep = '' | |
| "let g:miniline_right_sep = '' | |
| "let g:miniline_left_sep = '' | |
| let defaultAccentColor=2 | |
| let colorsAndModes= { |
| diff --git a/gtk-3.0/scss/_global.scss b/gtk-3.0/scss/_global.scss | |
| index 38ca3d6..01de3ea 100755 | |
| --- a/gtk-3.0/scss/_global.scss | |
| +++ b/gtk-3.0/scss/_global.scss | |
| @@ -3,18 +3,20 @@ | |
| @import "functions"; | |
| // default color scheme | |
| -$bg_color: if($variant == "dark", #444, #eee); | |
| -$fg_color: if($variant == "dark", #ddd, #555); |
| loadAPI(1); | |
| host.defineController("Akai", "Rhythm Wolf", "1.0", | |
| "FF7FA0F5-9B53-4854-828A-666666666666"); | |
| host.defineMidiPorts(1, 1); | |
| host.addDeviceNameBasedDiscoveryPair(["Rhythm Wolf MIDI 1"], ["Rhythm Wolf MIDI 1"]); | |
| function init() { | |
| var generic = host.getMidiInPort(0).createNoteInput("Rhythm Wolf Pads"); | |
| generic.setShouldConsumeEvents(false); |
| import os | |
| import sys | |
| def text_to_int(text): | |
| return int("0x{}".format(text), 0) | |
| def int_to_text(myint): | |
| return "{0:02x}".format(int(myint)) |
| // ==UserScript== | |
| // @name Google Search Tools Back | |
| // @namespace http://userstyles.org | |
| // @description Brings back Google search tools to left side and displays drop-down menu items. | |
| // @author Ming-Hsien Lin (akiratw) | |
| // @homepageURL https://userstyles.org/styles/95110 | |
| // @run-at document-end | |
| // @version 11.8 | |
| // @include https://*.google.*/*search* | |
| // ==/UserScript== |