Skip to content
$ openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout cert.key -out cert.crt

For a small number of variables ('tokens'), I use a simple shell script along with a templated version of my yaml file. Here's an actual example:

base_url_token="{{ base_url }}" # find all these...
base_url="api.foo.com" # replace with url of public rest api
host_ip_token="{{ host_ip }}" # find all these...
host_ip=$(docker-machine ip $(docker-machine active)) # replace with ip of host running NGINX

echo ${base_url_token} = ${base_url}
echo ${host_ip_token} = ${host_ip}
<!DOCTYPE html>
<html>
<head>
<title>Get Data From a MySQL Database Using jQuery and PHP</title>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script>
<script>
$(document).ready(function(){
// Set form variable
var form = $('#search_form');
import numpy as np
# np.matrix and np.mat
m = np.matrix([[1,2],[3,4]])
a = np.matrix(m)
b = np.mat(m)
c = np.matrix(m, copy=False)
# all m, a, b, c is matrix([[1, 2],[3, 4]])
m[0,0] = 10
<div class="container-fluid" id="work_1">
<div class="header">
<h1>Work</h1>
</div>
<div class="image" id="0"></div>
<div class="image" id="1"></div>
<div class="image" id="2"></div>
<div class="image" id="3"></div>
<div class="row" id="first">
<div class="col-xs-12 col-md-6">
# azure vm list|grep LTS (to find latest ubuntu server image)
azure vm create es-cluster b39f27a8b8c64d52b05eac6a62ebad85__Ubuntu-14_04_2-LTS-amd64-server-20150706-en-us-30GB admin --location "Central US" --vm-name es-node-0 --vm-size extrasmall –ssh 22
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ConsoleApplication6
{
class Program
{
hello, this is Claude's gist page.
{"scenario":{"name":"Operation Uranus","maxTurns":17,"date":"1942-11-26T05:00:00.000Z","atmosferic":3,"latitude":3,"ground":1,"turnsPerDay":0,"dayTurn":0,"reinforcements":{"3":[],"4":[{"row":36,"col":31,"unit":{"eqid":141,"id":-1,"owner":1,"hasMoved":false,"hasFired":false,"hasResupplied":false,"isMounted":false,"isSurprised":false,"isDeployed":false,"isCore":false,"tempSpotted":false,"strength":10,"facing":9,"flag":8,"destroyed":false,"player":null,"transport":null,"carrier":0,"moveLeft":5,"ammo":10,"fuel":50,"hasAnimation":false,"hits":0,"experience":220,"entrenchment":0,"entrenchTicks":0,"leader":-1},"turn":4,"id":1}],"5":[{"row":34,"col":31,"unit":{"eqid":583,"id":-1,"owner":1,"hasMoved":false,"hasFired":false,"hasResupplied":false,"isMounted":false,"isSurprised":false,"isDeployed":false,"isCore":false,"tempSpotted":false,"strength":10,"facing":9,"flag":8,"destroyed":false,"player":null,"transport":null,"carrier":0,"moveLeft":8,"ammo":6,"fuel":50,"hasAnimation":false,"hits":0,"experience":120,"entrenchmen
Something went wrong with that request. Please try again.