Firefox introduced a UI overhaul in v157 called Nova. While some of the changes are welcome, for users of vertical tabs you may agree with me that that part is absolutely terrible looking. This gist gives you a simple userChrome.css to restore tabs to the pre-Nova look while still retaining the rest of the Nova UI enhancements. This script fixes the look of both vertical and horizontal tabs by removing the excessive outlining and roundedness. You can keep the good parts of the new Nova look, but fix the parts that are broken.
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
| " Save as ~/.vim/ftplugin/netrw_icons.vim | |
| if exists('b:netrw_icons_loaded') | |
| finish | |
| endif | |
| let b:netrw_icons_loaded = 1 | |
| autocmd TextChanged <buffer> call s:NetrwAddIcons() | |
| if empty(prop_type_get('netrw_file_icon', {'bufnr': bufnr('%')})) |
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
| -- SOURCE: https://github.com/wez/wezterm/issues/1751#issuecomment-2014752114 | |
| -- brew install --cask hammerspoon | |
| -- ~/.hammerspoon/init.lua | |
| -- Import necessary Hammerspoon modules | |
| local hotkey = require "hs.hotkey" | |
| local application = require "hs.application" | |
| local mouse = require "hs.mouse" | |
| local screen = require "hs.screen" | |
| local geometry = require "hs.geometry" | |
| local spaces = require "hs.spaces" |
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/python | |
| # -*- coding: utf-8 -*- | |
| """ | |
| Forked from https://gist.github.com/fedir/5466075 | |
| Changes: | |
| - allows to import Github gists into a local DASH database (https://kapeli.com/dash) | |
| - gists are added to any existing snippet already in database | |
| - filetypes are added, but support is very basic |
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
| #!/bin/bash | |
| iatest=$(expr index "$-" i) | |
| ####################################################### | |
| # SOURCED ALIAS'S AND SCRIPTS BY zachbrowne.me | |
| ####################################################### | |
| # Source global definitions | |
| if [ -f /etc/bashrc ]; then | |
| . /etc/bashrc |
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 python | |
| # -*- coding: utf-8 -*- | |
| """ | |
| MIT License | |
| Copyright (c) 2016 Matt Menzenski | |
| Permission is hereby granted, free of charge, to any person obtaining a copy | |
| of this software and associated documentation files (the "Software"), to deal |
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
| # A lambda (λ) prompt. | |
| # Green and red depending on exit status. | |
| # Underlined if git status is dirty. | |
| # Uppercase (Λ) if ahead of the remote. | |
| function fish_prompt | |
| if is_status_okay | |
| set_color green | |
| else | |
| set_color red |
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
| /* ~/Library/KeyBindings/DefaultKeyBinding.Dict | |
| This file remaps the key bindings of a single user on Mac OS X 10.5 to more | |
| closely match default behavior on Windows systems. This makes the Command key | |
| behave like Windows Control key. To use Control instead of Command, either swap | |
| Control and Command in Apple->System Preferences->Keyboard->Modifier Keys... | |
| or replace @ with ^ in this file. | |
| Here is a rough cheatsheet for syntax. | |
| Key Modifiers |
First, install the following libraries:
$ brew install unixodbc
$ brew install freetds --with-unixodbc
FreeTDS should already work now, without configuration:
$ tsql -S [IP or hostname] -U [username] -P [password]
locale is "en_US.UTF-8"
locale charset is "UTF-8"
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
| # Customize BASH PS1 prompt to show current GIT repository and branch. | |
| # by Mike Stewart - http://MediaDoneRight.com | |
| # SETUP CONSTANTS | |
| # Bunch-o-predefined colors. Makes reading code easier than escape sequences. | |
| # I don't remember where I found this. o_O | |
| # Reset | |
| Color_Off="\[\033[0m\]" # Text Reset |
NewerOlder