Enter this in the search box along with your search terms:
Get all gists from the user santisbon.
user:santisbon
Find all gists with a .yml extension.
extension:yml
Find all gists with HTML files.
language:html
| #!/bin/bash | |
| if [ -z "${PROJECT}" -o -z "${DATASET}" ]; then | |
| echo "Please set \$PROJECT and \$DATASET." | |
| exit 1 | |
| fi | |
| IFS='' read -d '' Q <<EOF | |
| #standardSQL | |
| /* |
| #!/bin/bash | |
| if [ -z "${PROJECT}" -o -z "${DATASET}" ]; then | |
| echo "Please set \$PROJECT and \$DATASET." | |
| exit 1 | |
| fi | |
| IFS='' read -d '' Q <<EOF | |
| #standardSQL | |
| /* |
| from __future__ import print_function | |
| import argparse | |
| import os | |
| import time | |
| import humanize | |
| import psutil | |
| from colorama import Fore, Back | |
| from colorama import Style, init |
Enter this in the search box along with your search terms:
Get all gists from the user santisbon.
user:santisbon
Find all gists with a .yml extension.
extension:yml
Find all gists with HTML files.
language:html
N.B. SQLAlchemy now incorporates all of this information in its documentation; I’m leaving this post here, but recommend referring to SQLAlchemy instead of these instructions.
pip or conda, for example:| #!/bin/bash | |
| if [ -z $1 ]; then | |
| echo "Provide a BQ table spec, ideally fully qualified." | |
| exit 1 | |
| fi | |
| if $(echo "" | jq .); then | |
| bq --format json show $1 | jq -j '[.schema.fields[] | .name + ":" + .type] | join(",")' |
| #!/bin/sh | |
| # AUTHOR | |
| # DANIEL E. GILLESPIE (2016) | |
| # https://github.com/dantheman213 | |
| # DESCRIPTION | |
| # Export your app's table schemas and stored functions from a PostgreSQL | |
| # database into individual *.sql files for easy management and source control. |
| # Redis Cheatsheet | |
| # All the commands you need to know | |
| redis-server /path/redis.conf # start redis with the related configuration file | |
| redis-cli # opens a redis prompt | |
| # Strings. |