(C-x means ctrl+x, M-x means alt+x)
The default prefix is C-b. If you (or your muscle memory) prefer C-a, you need to add this to ~/.tmux.conf
:
tell application "Skype" | |
if (send command "GET MUTE" script name "MuteToggler") is equal to "MUTE ON" then | |
send command "SET MUTE OFF" script name "MuteToggler" | |
else | |
send command "SET MUTE ON" script name "MuteToggler" | |
end if | |
end tell |
-- IMStatus | |
-- version 2.0, Lantrix (http://techdebug.com) | |
-- idea conceived from script by Jason Kenison "theWebGuy" Blog at: | |
-- http://www.jasonkenison.com/blog.html?id=22 | |
(* | |
Copyright (c) 2008, TechDebug.com | |
Permission to use, copy, modify, and/or distribute this software for any | |
purpose with or without fee is hereby granted, provided that the above |
@mixin ie6 { * html & { @content } } | |
#logo { | |
background-image: url("/images/logo.png"); | |
@include ie6 { background-image: url("/images/logo.gif"); } | |
} |
import os | |
import ycm_core | |
from clang_helpers import PrepareClangFlags | |
# Set this to the absolute path to the folder (NOT the file!) containing the | |
# compile_commands.json file to use that instead of 'flags'. See here for | |
# more details: http://clang.llvm.org/docs/JSONCompilationDatabase.html | |
# Most projects will NOT need to set this to anything; you can just change the | |
# 'flags' list of compilation flags. Notice that YCM itself uses that approach. | |
compilation_database_folder = '' |
Install the following packages using pacman -S package-name
:
urlencode() { | |
setopt localoptions extendedglob | |
input=( ${(s::)1} ) | |
print ${(j::)input/(#b)([^A-Za-z0-9_.\!~*\'\(\)-])/%${(l:2::0:)$(([##16]#match))}} | |
} |
When the directory structure of your Node.js application (not library!) has some depth, you end up with a lot of annoying relative paths in your require calls like:
const Article = require('../../../../app/models/article');
Those suck for maintenance and they're ugly.
-- | |
-- gist support for launchbar | |
-- 1. install gist client "sudo gem install gist" | |
-- https://github.com/defunkt/gist | |
-- 2. login "gist --login" | |
-- | |
-- use from launchbar as file action, string/search action, or | |
-- plain action (will take text from clipboard) | |
-- then will put gist url as launchbar result | |
-- from there you can Copy it or hit Enter to open in browser |