This file contains 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
// Using lots of good settings from: https://github.com/b0o/surfingkeys-conf/blob/master/conf.js | |
// ---- Unmaps ----// | |
// Normal mode unmaps | |
const unmaps = [ | |
'x', 'ZQ', 'ZZ', | |
'ZR', 'sob', 'soB', | |
'sow', 'soW', 'sb', | |
'sB', 'sw', 'sW', |
This file contains 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
bind -T root F12 \ | |
set prefix None \;\ | |
set key-table off \;\ | |
set status-style "fg=$color_status_text,bg=$color_window_off_status_bg" \;\ | |
set window-status-current-format "#[fg=$color_window_off_status_bg,bg=$color_window_off_status_current_bg]$separator_powerline_right#[default] #I:#W# #[fg=$color_window_off_status_current_bg,bg=$color_window_off_status_bg]$separator_powerline_right#[default]" \;\ | |
set window-status-current-style "fg=$color_dark,bold,bg=$color_window_off_status_current_bg" \;\ | |
if -F '#{pane_in_mode}' 'send-keys -X cancel' \;\ | |
refresh-client -S \;\ | |
bind -T off F12 \ |
This file contains 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
// ----------------------------------------------------------------------------------------------------------------------- | |
// // Surfingkeys: https://github.com/brookhong/Surfingkeys#properties-list | |
// // Dracula Theme: https://github.com/dracula/dracula-theme#color-palette | |
// ----------------------------------------------------------------------------------------------------------------------- | |
// Map Keys | |
// ----------------------------------------------------------------------------------------------------------------------- | |
// Change default search engine | |
//settings.defaultSearchEngine = "w"; | |
// ----------------------------------------------------------------------------------------------------------------------- | |
// Change hints styles |
This file contains 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
#!/bin/bash | |
# set firmware password | |
# sudo firmwarepasswd -setpasswd -setmode command | |
# Disable the Character Accent Menu and Enable Key Repeat | |
defaults write -g ApplePressAndHoldEnabled false | |
# Prevent generate .DS_Store | |
defaults write com.apple.desktopservices DSDontWriteNetworkStores true |
This file contains 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
var elements = Array.from(document.querySelectorAll('.js-link-block')) | |
elements.map(function (element) { | |
var nameElement = element.querySelector('.chartlist-name') | |
return nameElement && nameElement.textContent.replace(/\s+/g, ' ').trim() | |
}).forEach(function (name, i, names) { | |
if (name !== names[i + 1]) return | |
var deleteButton = elements[i].querySelector('[data-ajax-form-sets-state="deleted"]') | |
if (deleteButton) deleteButton.click() | |
location.reload() | |
}) |
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 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
#!/bin/sh | |
### | |
# SOME COMMANDS WILL NOT WORK ON macOS (Sierra or newer) | |
# For Sierra or newer, see https://github.com/mathiasbynens/dotfiles/blob/master/.macos | |
### | |
# Alot of these configs have been taken from the various places | |
# on the web, most from here | |
# https://github.com/mathiasbynens/dotfiles/blob/5b3c8418ed42d93af2e647dc9d122f25cc034871/.osx |