(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
:
-- Mountain Lion (10.8) fixed this oversight. The DigitalColor Meter now remembers it's settings on exit. | |
-- DigitalColor Meter defaults to displaying color values in decimal and will not remember hexidecimal preferences on close. So this script launches the app and tells it to display values in hex. It is meant to be launched via QuickSilver or a launcher. | |
-- Checks to see if System Preferences > Universal Access > Enable access for assistive devices is checked | |
-- This option is required for "System Events" to use the keystroke and key code commands. | |
-- If it is not checked, your password is required to make the change | |
tell application "System Events" to if not UI elements enabled then | |
set UI elements enabled to true |
/** | |
Squarespace essentially doesn't really document their breakpoints. | |
This can be quite annoying to not have when doing custom CSS. | |
Most themes use essentially one breakpoint. Mobile and not mobile; anything 750 and below is considered mobile. | |
You can use these to write your own CSS and simply use the "Style Editor" to inject your compiled CSS in the event | |
you are not using "Developer Mode" in your site. | |
Enjoy! |
// PHP snippet included in wp-config.php (or settings.php). | |
// Including from that location in a separate file is OK as well. | |
<?php | |
// Remove any leading "www." from the host name. | |
$redirect_host = str_replace('www.', '', $_SERVER['HTTP_HOST']); | |
$redirect_path = strtolower(rtrim($_SERVER['REQUEST_URI'])); | |
if (strlen($redirect_path) > 2) { | |
$redirect_path = rtrim($redirect_path, '/'); | |
} |
In open Ubuntu 18.04 machine click Parallels Actions -> "Install Parallels Tools"
A "Parallels Tools" CD will popup on your Ubuntu desktop.
Open it by double mouse click, copy all the content to a new, empty directory on a desktop, name it for e.g. "parallels_fixed"
Open terminal, change directory to parallels_fixed (cd ~/Desktop/parallels_fixed
)
Make command line installer executable (chmod +x install
)
Change directory to "installer" (cd installer
)
Make few other scripts executable: chmod +x installer.* *.sh prl_*
# Check which version of sed is used when you run the `sed` command | |
# The version that ships with Mac OS X is | |
# /usr/bin/sed | |
which sed | |
# Install gnu-sed using Homebrew | |
# The `--with-default-names` option configures `sed` to use gnu-sed | |
# Without that option, you'll need to type `gsed` to use gnu-sed | |
brew install --default-names gnu-sed |