Use these together with https://redsweater.com/fastscripts/ for global hotkey goodness in macOS
Requirements:
brew install fastscripts
Download all the scripts and put them in ~/Library/Scripts/
#!/bin/sh | |
# @raycast.schemaVersion 1 | |
# @raycast.title Summarize Safari page | |
# @raycast.mode fullOutput | |
# | |
# Optional parameters: | |
# @raycast.icon ✨ | |
# | |
# @raycast.packageName Things |
Use these together with https://redsweater.com/fastscripts/ for global hotkey goodness in macOS
Requirements:
brew install fastscripts
Download all the scripts and put them in ~/Library/Scripts/
#!/usr/bin/fish | |
# You can add this to your ~/.config/fish/config.fish | |
function __fish_complete_bash | |
set cmd (commandline -cp) | |
bash -c "source get-bash-completions.sh; get_completions '$cmd'" | |
end | |
# Set the tool to use bash completions |
Fish is a smart and user-friendly command line (like bash or zsh). This is how you can instal Fish on MacOS and make your default shell.
Note that you need the https://brew.sh/ package manager installed on your machine.
brew install fish
# /etc/nsmb.conf - macOS 11.3 - 2021-04-29 | |
#------------------------------------------------------------------------------ | |
# SMB configuration for macOS 11.3 <-> Synology | |
#------------------------------------------------------------------------------ | |
# Additional information: | |
# ----------------------- | |
# https://support.apple.com/de-de/HT211927 | |
# https://support.apple.com/en-us/HT208209 | |
# https://apple.stackexchange.com/questions/309016/smb-share-deadlocks-since-high-sierra | |
# https://photographylife.com/afp-vs-nfs-vs-smb-performance |
################ copy/replace file to ~/.bash_aliases | |
################ Tuning bash ########################################################################################### | |
# Command line history | |
export HISTCONTROL=ignoredups:ignorespace | |
export HISTFILESIZE=10000000 | |
export HISTSIZE=1000000 | |
shopt -s histappend # Append to the history file, don't overwrite it | |
shopt -s checkwinsize # Check the window size after each command and, if necessary, update the values of LINES and COLUMNS. |
FROM php:5.5-fpm | |
RUN apt-get update && \ | |
apt-get install -y php5-dev php-pear php5-common curl libcurl4-openssl-dev libpng-dev libfreetype6-dev libjpeg-dev libxml2-dev libpq-dev php5-memcached wget php5-intl libicu-dev default-jre libmemcached-dev && \ | |
rm -rf /var/lib/apt/lists/* | |
RUN docker-php-ext-install bcmath | |
RUN docker-php-ext-enable bcmath | |
if [ -f ~/.bashrc ]; then . ~/.bashrc; fi |
const dump = (vars, label) => console.log(label ? label : 'dump', ':', vars); | |
// Or stringify | |
const dump = (vars, label = 'dump', prettyPrint = false) => { | |
if (prettyPrint) { | |
console.log(`${label}:`, JSON.stringify(vars, null, 3)); | |
} else { | |
console.log(`${label}:`, vars); | |
} | |
}; |
<!-- | |
<form autocomplete="off"> will turn off autocomplete for the form in most browsers | |
except for username/email/password fields | |
--> | |
<form autocomplete="off"> | |
<!-- fake fields are a workaround for chrome/opera autofill getting the wrong fields --> | |
<input id="username" style="display:none" type="text" name="fakeusernameremembered"> | |
<input id="password" style="display:none" type="password" name="fakepasswordremembered"> | |