###Sketch trial non stop
Open hosts files:
$ open /private/etc/hosts
Edit the file adding:
127.0.0.1 backend.bohemiancoding.com
127.0.0.1 bohemiancoding.sketch.analytics.s3-website-us-east-1.amazonaws.com
``` | |
~ | |
❯ yay proton-vpn | |
9 aur/python-proton-vpn-killswitch-network-manager 0.4.3-2 (+3 0.40) (Installed) | |
The proton-vpn-killswitch-network-manager component is the implementation of the proton-vpn-killswitch interface using Network Manager. | |
8 aur/python-proton-vpn-network-manager-openvpn 0.0.7-2 (+3 0.40) | |
The proton-vpn-network-manager-openvpn component adds support for the OpenVPN protocol using NetworkManager. | |
7 aur/python-proton-vpn-network-manager 0.4.2-2 (+3 0.40) | |
The proton-vpn-network-manager component provides the necessary functionality for other components to interact with NetworkManager. | |
6 aur/python-proton-vpn-connection 0.14.4-2 (+3 0.40) |
// ==UserScript== | |
// @name Favicons for HN | |
// @version 1 | |
// @grant none | |
// ==/UserScript== | |
for(let link of document.querySelectorAll('.titlelink')) { | |
const domain = new URL(link.href).hostname | |
const imageUrl = `https://icons.duckduckgo.com/ip3/${domain}.ico` | |
const image = document.createElement('img') |
import { serve } from "https://deno.land/std/http/server.ts"; | |
const s = serve({ port: 8000 }); | |
console.log("http://localhost:8000/"); | |
for await (const req of s) { | |
req.respond({ body: "Hello World\n" }); | |
} |
# to generate your dhparam.pem file, run in the terminal | |
openssl dhparam -out /etc/nginx/ssl/dhparam.pem 2048 |
cat <<_EOF_ > "/${HOME}/.tmux.conf" | |
new-session | |
set -g history-limit 30000 | |
set -g mouse on | |
_EOF_ |
#!/bin/bash | |
PARAMS="" | |
DOMAIN=foo.com | |
PORTS_80_443_CONTAINER=my-nginx-container | |
# get parameters | |
while (( "$#" )); do | |
case "$1" in |
#!/bin/bash | |
COMPOSE_DIR='/home/user/foo' | |
COMPOSE_FILE="$COMPOSE_DIR/docker-compose.yml" | |
DOMAIN=foo.bar.com | |
docker pull certbot/certbot ; | |
docker-compose -f $COMPOSE_FILE down; | |
###Sketch trial non stop
Open hosts files:
$ open /private/etc/hosts
Edit the file adding:
127.0.0.1 backend.bohemiancoding.com
127.0.0.1 bohemiancoding.sketch.analytics.s3-website-us-east-1.amazonaws.com
Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000
docker run --rm -ti -v /tmp:/tmp postgres:alpine pg_dump -U postgres -h 123.45.67.89 -p 15432 -f /tmp/dump.sql -F t |