Default keyboard shortcuts for Ghostty terminal emulator. Platform-specific differences are noted where applicable.
| Action | Windows/Linux | macOS |
|---|---|---|
| New window | Ctrl+Shift+N | Cmd+N |
| Close window | Alt+F4 | Cmd+Shift+W |
| #!/bin/sh | |
| ON_OFF=$1 | |
| SPOTIFY_PREFS="$HOME/Library/Application Support/Spotify/prefs" | |
| PROXY_ON="network.proxy.mode=2" #HTTP Proxy | |
| PROXY_OFF="network.proxy.mode=1" #No proxy | |
| if [ ! -f "$SPOTIFY_PREFS" ]; then | |
| echo "Spotify preference file not found. Exiting" | |
| exit 1 |
Hmm... I don't see any docs for 4.0 on https://webpack.js.org. I guess I'll just wing it.
All I need to do is npm i -D webpack@next, right?
+ webpack@4.0.0-beta.2
| module A exposing (..) | |
| import Json.Decode as JD | |
| import Json.Encode as JE | |
| type alias User = | |
| { id : Int | |
| , theme : Theme | |
| } |
| -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- | |
| -- -- | |
| -- mysql -- | |
| -- -- | |
| -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- | |
| -- | |
| -- mysql <http://sqlfiddle.com/#!9/91afb5/2> | |
| -- note: sqlfiddle is very stupid |
| import re | |
| from django import forms | |
| from django.contrib.auth.models import User | |
| from django.contrib.auth.forms import UserCreationForm | |
| class UniqueUserEmailField(forms.EmailField): | |
| """ | |
| An EmailField which only is valid if no User has that email. | |
| """ | |
| def validate(self, value): |