Skip to content

Instantly share code, notes, and snippets.

Avatar
🏠
Working from home

Gabriel H. Nunes nunesgh

🏠
Working from home
View GitHub Profile
@benkulbertis
benkulbertis / cloudflare-update-record.sh
Last active Apr 11, 2021
Cloudflare API v4 Dynamic DNS Update in Bash
View cloudflare-update-record.sh
#!/bin/bash
# CHANGE THESE
auth_email="user@example.com"
auth_key="c2547eb745079dac9320b638f5e225cf483cc5cfdda41" # found in cloudflare account settings
zone_name="example.com"
record_name="www.example.com"
# MAYBE CHANGE THESE
ip=$(curl -s http://ipv4.icanhazip.com)
View Vim Commands Cheat Sheet.md

Source

Vim Commands Cheat Sheet


How to Exit

:q[uit]

@darktable
darktable / app.yaml
Created Mar 16, 2011
GAE: App.yaml designed for serving a static site on Google App Engine (Python). Copy your static html and files into a folder called "static" next to app.yaml. Contains a bunch of mimetype declarations from html5boilerplate's .htaccess. May not be neces
View app.yaml
application: you-app-name-here
version: 1
runtime: python
api_version: 1
default_expiration: "30d"
handlers:
- url: /(.*\.(appcache|manifest))
mime_type: text/cache-manifest