Skip to content

Instantly share code, notes, and snippets.

@fearblackcat
fearblackcat / proxy_for_terminal.md
Last active November 13, 2025 16:14
Set proxy for terminal on mac

Shadowsocks Proxy

apt-get install python-pip
pip install shadowsocks

sudo ssserver -p 443 -k password -m aes-256-cfb --user nobody -d start
@sameersbn
sameersbn / google-domains-dynamic-dns-update.sh
Created August 24, 2018 09:11 — forked from cyrusboadway/google-domains-dynamic-dns-update.sh
Script to update a Google Domains DNS record
#!/bin/bash
### Google Domains provides an API to update a DNS "Syntheitc record". This script
### updates a record with the script-runner's public IP, as resolved using a DNS
### lookup.
###
### Google Dynamic DNS: https://support.google.com/domains/answer/6147083
### Synthetic Records: https://support.google.com/domains/answer/6069273
USERNAME=""
@gouravjshah
gouravjshah / docker_install_debian.sh
Last active November 14, 2022 00:07
Install Docker on Debian. Run this as root.
#!/bin/sh
apt-get update
apt-get install -yq \
apt-transport-https \
ca-certificates \
curl \
gnupg2 \
software-properties-common
@wirths
wirths / bitbucket-pipelines.yml
Created December 5, 2019 16:56
Bitbucket Pipelines - Create Pull Request (PR) with default reviewers
image: node:12
definitions:
steps:
- step: &create-pr
name: Create Pull Request
caches:
- node
script:
- apt-get update