- Download the latest zsh package: https://packages.msys2.org/package/zsh?repo=msys&variant=x86_64
Example:
zsh-5.7.1-1-x86_64.pkg.tar.xz
| DECLARE | |
| @Schema NVARCHAR(MAX), | |
| @Name NVARCHAR(MAX), | |
| @Sql NVARCHAR(MAX) | |
| DECLARE TableCursor CURSOR FOR | |
| SELECT TABLE_SCHEMA, TABLE_NAME | |
| FROM INFORMATION_SCHEMA.TABLES | |
| WHERE TABLE_TYPE = 'BASE TABLE' | |
| OPEN TableCursor | |
| WHILE 1 = 1 |
| #!/bin/bash | |
| # A bash script to update a Cloudflare DNS A record with the external IP of the source machine | |
| # Used to provide DDNS service for my home | |
| # Needs the DNS record pre-creating on Cloudflare | |
| # Proxy - uncomment and provide details if using a proxy | |
| #export https_proxy=http://<proxyuser>:<proxypassword>@<proxyip>:<proxyport> | |
| # Cloudflare zone is the zone which holds the record |
Example:
zsh-5.7.1-1-x86_64.pkg.tar.xz
| var crypto = require('crypto'); | |
| var SaltLength = 9; | |
| function createHash(password) { | |
| var salt = generateSalt(SaltLength); | |
| var hash = md5(password + salt); | |
| return salt + hash; | |
| } |
| sdb connect <ip>:<port> # connect to TV | |
| sdb -s <deviceName> capability # get <installationPath> | |
| # build | |
| tizen cli-config "default.profiles.path=<profile_path>" | |
| tizen build-web -out .buildResult -- <source-dir> | |
| tizen package --type wgt --sign profileName -- <source-dir>/.buildResult # extract <package-file> | |
| mv <package-file> . | |
| rm -rf <source-dir>/.buildResult |
| #!/bin/sh | |
| # Homebrew Script for OSX | |
| # To execute: save and `chmod +x ./brew-install-script.sh` then `./brew-install-script.sh` | |
| echo "Installing brew..." | |
| /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" | |
| echo "Installing brew cask..." | |
| brew tap caskroom/cask |
This util manage to load django settings from a config file that contain sensitive information such as cache, database and project passwords/secrets.
The util also check the permissions file to be safe, and the existence of the SECRET_KEY variable, if no file is found it will automatically create a file with a random SECRET_KEY value.
Add the method load_environment_file into your code, an use it in your django
Once in a while, you may need to cleanup resources (containers, volumes, images, networks) ...
// see: https://github.com/chadoe/docker-cleanup-volumes
$ docker volume rm $(docker volume ls -qf dangling=true)
$ docker volume ls -qf dangling=true | xargs -r docker volume rm
This collection of files serves as a simple static demonstration of how to post to a google spreadsheet from an external html <form> following the example by Martin Hawksey
You should be able to just open index.html in your browser and test locally.
However if there are some permissions errors you can make a quick html server with python. Open terminal and cd to the directory where the gist files are located and enter python -m SimpleHTTPServer. By default this creates a local server at localhost:8000
| to check if the server works - https://webrtc.github.io/samples/src/content/peerconnection/trickle-ice | |
| stun: | |
| stun.l.google.com:19302, | |
| stun1.l.google.com:19302, | |
| stun2.l.google.com:19302, | |
| stun3.l.google.com:19302, | |
| stun4.l.google.com:19302, | |
| stun.ekiga.net, | |
| stun.ideasip.com, |