This content from this markdown file has moved a new, happier home where it can serve more people. Please check it out : https://docs.microsoft.com/azure/azure-cache-for-redis/cache-best-practices.
| #!/usr/bin/env bash | |
| files_created=0 | |
| echo_usage() | |
| { | |
| echo "Usage: keep-everything.sh /path/which/to/look/in" | |
| echo "" | |
| } | |
| echo_green() |
| FROM ubuntu:16.04 | |
| MAINTAINER Sammy Kaye Powers | |
| RUN apt-get update \ | |
| && apt-get install sudo vim git -y \ | |
| && apt-get install build-essential autoconf valgrind -y \ | |
| && apt-get install re2c bison -y \ | |
| && apt-get install libxml2-dev locales lcov -y |
#Download the following ZIPs: ARM Translation Installer v1.1 (http://www.mirrorcreator.com/files/0ZIO8PME/Genymotion-ARM-Translation_v1.1.zip_links)
#Download the correct GApps for your Android version: Google Apps for Android 6.0 (https://www.androidfilehost.com/?fid=24052804347835438 - benzo-gapps-M-20151011-signed-chroma-r3.zip) Google Apps for Android 5.1 (https://www.androidfilehost.com/?fid=96042739161891406 - gapps-L-4-21-15.zip) Google Apps for Android 5.0 (https://www.androidfilehost.com/?fid=95784891001614559 - gapps-lp-20141109-signed.zip) Google Apps for Android 4.4.4 (https://www.androidfilehost.com/?fid=23501681358544845 - gapps-kk-20140606-signed.zip) Google Apps for Android 4.3 (https://www.androidfilehost.com/?fid=23060877490000124 - gapps-jb-20130813-signed.zip) Google Apps for Android 4.2 (https://www.androidfilehost.com/?fid=23060877490000128 - gapps-jb-20130812-signed.zip)
| # <类型>: (类型的值见下面描述) <主题> (最多50个字) | |
| # 解释为什么要做这些改动 | |
| # |<---- 请限制每行最多72个字 ---->| | |
| # 提供相关文章和其它资源的链接和关键字 | |
| # 例如: Github issue #23 | |
| # --- 提交 结束 --- | |
| # 类型值包含 |
| # A heavily customized VCL to support WordPress | |
| # Some items of note: | |
| # Supports https | |
| # Supports admin cookies for wp-admin | |
| # Caches everything | |
| # Support for custom error html page | |
| vcl 4.0; | |
| import directors; | |
| import std; |
| # This is a basic VCL configuration file for varnish. See the vcl(7) | |
| # man page for details on VCL syntax and semantics. | |
| # | |
| # Default backend definition. Set this to point to your content | |
| # server. | |
| # | |
| vcl 4.0; | |
| backend default { | |
| .host = "127.0.0.1"; |
| var Promise = require('bluebird'), | |
| superagent = Promise.promisifyAll(require('superagent')); | |
| superagent.Request.prototype.cancellable = function () { | |
| return this.endAsync().cancellable(); | |
| }; | |
| superagent.Request.prototype.then = function (done) { | |
| return this.endAsync().then(done); |
| #!/bin/bash | |
| ##################################################### | |
| # Name: Bash CheatSheet for Mac OSX | |
| # | |
| # A little overlook of the Bash basics | |
| # | |
| # Usage: | |
| # | |
| # Author: J. Le Coupanec | |
| # Date: 2014/11/04 |