Skip to content

Instantly share code, notes, and snippets.

😼
Focusing

Yauhen Kirylau actionless

😼
Focusing
  • Ecruteak, Johto
Block or report user

Report or block actionless

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@actionless
actionless / userscript.js
Created Jul 23, 2018
Google Search Tools Back fork
View userscript.js
// ==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==
View terminal.py
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))
@actionless
actionless / Rhythm Wolf.control.js
Last active Oct 22, 2016
Akai Rhythm Wolf controller script for Bitwig
View Rhythm Wolf.control.js
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);
View patch_gtk30_scss.diff
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);
View miniline.vim
" 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= {
@actionless
actionless / docdoc.md
Created Sep 8, 2015
test doc-doc output
View docdoc.md

We gonna use ubuntu:trusty as a base.

Install python3 and the build-time dependencies for c modules

Execute:

View docker-cleanup.sh
#!/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'}'
@actionless
actionless / local.lua
Last active Aug 29, 2015
config/local.lua example for actionless/awesome_config
View local.lua
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',
View airline_theme.vim
merged into upstream: https://github.com/bling/vim-airline/pull/844
You can’t perform that action at this time.