This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function launchAppOnHotkey(modifiers, key, appName) | |
hs.hotkey.bind(modifiers, key, function() | |
local app = hs.application.find(appName) | |
if app == nil then | |
hs.application.launchOrFocus(appName) | |
elseif app:isFrontmost() then | |
app:hide() | |
else | |
local win = app:mainWindow() | |
spaces.moveWindowToSpace(win:id(), spaces.activeSpaceOnScreen()) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
local wezterm = require("wezterm") | |
local config = {} | |
config.automatically_reload_config = true | |
config.enable_tab_bar = false | |
config.window_close_confirmation = "NeverPrompt" | |
config.window_decorations = "RESIZE" | |
-- config.default_cursor_style = "BlinkingBar" | |
config.color_scheme = "Nord (Gogh)" | |
-- config.font = wezterm.font("FiraCode Nerd Font Mono") |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env sh | |
# from https://superuser.com/a/1041818 | |
ffmpeg -loop 1 -i img.jpg -i music.mp3 -shortest -acodec copy -vcodec mjpeg result.mkv |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
set -euo pipefail | |
shopt -s inherit_errexit | |
# Make sure HandBrakeCLI is in the path -- I've got it installed in ~/bin for now | |
# since it disappeared from Homebrew | |
PATH=$HOME/bin:$PATH | |
MOVIES=$HOME/Movies | |
NAS_DIR=/Volumes/Media/Movies |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// enter the following into the js console of your browser | |
document.cookie = "tweetdeck_version=beta" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"lastUpload":"2020-11-24T02:26:27.428Z","extensionVersion":"v3.4.3"} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Description: Boxstarter Script | |
# Author: Jess Frazelle <jess@linux.com> | |
# Last Updated: 2017-09-11 | |
# | |
# Install boxstarter: | |
# . { iwr -useb http://boxstarter.org/bootstrapper.ps1 } | iex; get-boxstarter -Force | |
# | |
# You might need to set: Set-ExecutionPolicy RemoteSigned | |
# | |
# Run this boxstarter by calling the following from an **elevated** command-prompt: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(defun make-quick-haskell-frame () | |
"Creates a new frame running haskell-mode." | |
(make-frame '((name . "Quick Haskell") | |
(width . 120) | |
(height . 40))) | |
(select-frame-by-name "Quick Haskell") | |
(switch-to-buffer "Haskell") | |
(haskell-mode)) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[info] Loading global plugins from /Users/tlockn/.sbt/0.13/plugins | |
[info] Set current project to eitherdemo (in build file:/Users/tlockn/tmp/eitherDemo/) | |
SBT eitherdemo set scalaVersion := "2.11.7" | |
[info] Defining *:scalaVersion | |
[info] The new value will be used by *:allDependencies, *:crossScalaVersions and 12 others. | |
[info] Run `last` for details. | |
[info] Reapplying settings... | |
[info] Set current project to eitherdemo (in build file:/Users/tlockn/tmp/eitherDemo/) | |
SBT eitherdemo console | |
[info] Updating {file:/Users/tlockn/tmp/eitherDemo/}eitherdemo... |
NewerOlder