Skip to content

Instantly share code, notes, and snippets.

View strider's full-sized avatar
:octocat:
Work from home

Gaël Chamoulaud strider

:octocat:
Work from home
View GitHub Profile
@TomFaulkner
TomFaulkner / Yabai_Configs.md
Last active July 21, 2024 13:03
Yabai configs

This is my current (as of 4/30/2020) Yabai and skhdrc config as well as the Ubersicht (http://tracesof.net/uebersicht/) widget I use rather than the Yabai status bar. I went this route rather than the built-in status bar because I didn't like how Yabai as of 2.0.1 handled multiple monitors in the status bar.

Nothing is too far from defaults here, and the spaces.coffee was something I found linked in an issue on Yabai's github page.

@oliveratgithub
oliveratgithub / emojis.json
Last active September 2, 2024 14:50
Emoji-list with emojis, names, shortcodes, unicode and html entities [massive list]
{
"emojis": [
{"emoji": "👩‍👩‍👧‍👧", "name": "family: woman, woman, girl, girl", "shortname": ":woman_woman_girl_girl:", "unicode": "1F469 200D 1F469 200D 1F467 200D 1F467", "html": "👩‍👩‍👧‍👧", "category": "People & Body (family)", "order": ""},
{"emoji": "👩‍👩‍👧‍👦", "name": "family: woman, woman, girl, boy", "shortname": ":woman_woman_girl_boy:", "unicode": "1F469 200D 1F469 200D 1F467 200D 1F466", "html": "👩‍👩‍👧‍👦", "category": "People & Body (family)", "order": ""},
{"emoji": "👩‍👩‍👦‍👦", "name": "family: woman, woman, boy, boy", "shortname": ":woman_woman_boy_boy:", "unicode": "1F469 200D 1F469 200D 1F466 200D 1F466", "html": "👩‍👩‍👦‍👦", "category": "People & Body (family)", "order": ""},
{"emoji": "👨‍👩‍👧‍👧", "name": "family: man, woman, girl, girl", "shortname": ":man_woman_girl_girl:", "unicode": "1F468 200D 1F469 200D 1F467 200D 1F467", "html": "👨‍👩&z
@csswizardry
csswizardry / README.md
Last active June 16, 2024 13:44
Vim without NERD tree or CtrlP

Vim without NERD tree or CtrlP

I used to use NERD tree for quite a while, then switched to CtrlP for something a little more lightweight. My setup now includes zero file browser or tree view, and instead uses native Vim fuzzy search and auto-directory switching.

Fuzzy Search

There is a super sweet feature in Vim whereby you can fuzzy find your files using **/*, e.g.:

:vs **/*<partial file name><Tab>
@adarazs
adarazs / folded-vs-literal.md
Last active September 16, 2016 14:48
Folded vs literal YaML quoting in Ansible
@alphacc
alphacc / juno.md
Last active August 29, 2015 14:21
rdo doc juno el6

RDO Juno EL6 Quickstart

Status

At this time few component of the Juno release have been recompiled for EL6 and are available in the repositories:

  • openstack-nova
  • openstack-ceilometer

Available packages can be browsed at the following url.

@indiesquidge
indiesquidge / homebrew.md
Last active July 14, 2024 21:10
How to and Best of Homebrew

Homebrew

How To

Homebrew is a package management system for OS X. You can read more about it here, or simply run

ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

to install it.

@sferich888
sferich888 / can_o_virt
Last active April 5, 2017 15:45
While working with some of my KVM vm's I needed the ability to take snapshots quickly as well as revert back to a desired point. The following shell functions are used in my bashrc to make it simple for me to accomplish these task. NOTE: These snapshots are only for the file system and require qcow2 disk images for the backing storage.
#!/bin/bash
wake(){ # Start your VM
sudo virsh start $1
}
slay(){ # Stop your VM
sd_time=20
sudo virsh shutdown $1
if [[ $? ]]; then
@mojavelinux
mojavelinux / asciidoc-recommended-practices.asciidoc
Last active December 12, 2015 10:39
AsciiDoc Recommended Practices (DRAFT)
@ccaum
ccaum / externalresources.rb
Created December 1, 2010 22:21
Puppet class to turn parameters in to puppet resources
hostclass :externalresources do
scope_h = scope.to_hash.reject { |k,v| !( k.is_a?(String) && v.is_a?(String) ) }
scope_h.keys.each do |var|
if scope_h[var][0].chr == '{'
begin
#Convert the variable from a string to a hash
var_h = eval scope_h[var]
rescue => e
notice "Couldn't convert variable #{var} to hash: #{e}"