Command:
curl https://git.io/ -i -F "url=https://github.com/YOUR_GITHUB_URL" -F "code=YOUR_CUSTOM_NAME"
URLs that can be created is from:
https://github.com/*
https://*.github.com
https://*.github.com/*
https://*.github.io
Command:
curl https://git.io/ -i -F "url=https://github.com/YOUR_GITHUB_URL" -F "code=YOUR_CUSTOM_NAME"
URLs that can be created is from:
https://github.com/*
https://*.github.com
https://*.github.com/*
https://*.github.io
curl https://raw.githubusercontent.com/powdahound/ec2instances.info/master/www/instances.json | jq -r ' .[] | [ .instance_type , .pricing."eu-west-1".linux.ondemand , .pricing."eu-west-1".linux.reserved."yrTerm1Convertible.noUpfront"] | @csv' > prices.csv | |
head prices.csv | |
"c5d.xlarge","0.218","0.173" | |
"m5a.2xlarge","0.384","0.311" | |
"c5.9xlarge","1.728","1.369" | |
"m5.24xlarge","5.136","4.147" | |
"i3en.12xlarge","6","4.721" | |
"m5d.12xlarge","3.024","2.445" | |
"c5.large","0.096","0.076" |
<!doctype html> | |
<html> | |
<head> | |
<script src="//ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script> | |
<script type="text/javascript"> | |
var spData = null; | |
function doData(json) { | |
spData = json.feed.entry; | |
} | |
#!/bin/sh | |
export GIT_SSH_COMMAND='ssh -o ProxyCommand="connect -S 127.0.0.1:1080 %h %p"' | |
git config --global core.sshCommand 'ssh -o ProxyCommand="connect -S 127.0.0.1:1080 %h %p"' | |
git clone -c=core.sshCommand 'ssh -o ProxyCommand="connect -S 127.0.0.1:1080 %h %p"' git@github.com:larryli/ipv4.git | |
git config core.sshCommand 'ssh -o ProxyCommand="connect -S 127.0.0.1:1080 %h %p"' |
server { | |
listen 443 ssl http2; | |
listen [::]:443 ssl http2; | |
server_name yourdomain | |
ssl_certificate /etc/ssl/localcerts/yourdomain.crt; | |
ssl_certificate_key /etc/ssl/localcerts/yourdomain.key; | |
ssl_ecdh_curve prime256v1; | |
ssl_session_cache builtin:1000 shared:SSL:10m; |
#!/usr/bin/env bash | |
# | |
# Author: Stefan Buck | |
# License: MIT | |
# https://gist.github.com/stefanbuck/ce788fee19ab6eb0b4447a85fc99f447 | |
# | |
# | |
# This script accepts the following parameters: | |
# | |
# * owner |
# From: http://www.dd-wrt.com/phpBB2/viewtopic.php?t=86912 | |
# 1. Prepare the USB disk | |
# Create an ext3 partition using GParted for instance | |
#2. Configure DD-WRT | |
#Under Services->Services->Secure Shell: | |
#* Enable SSHd | |
#* Click Apply Settings | |
# |
Booting your server with your own iPXE script allows cool things like:
How ? Using directly the RESTful API EU|CA or the API console EU|CA.
#!/bin/sh | |
# This is a sample script for kickstarting a VM according to the openshift.ks script under virt-manager, qemu+KVM, and Linux. | |
# You certainly need to modify at least the CMDLINE and --location below for it to be useful (unless you work at Red Hat). | |
set -e | |
if [ $# -lt 1 ] | |
then | |
printf 'Usage: %s vm_name [arg1 [arg2 [...]]]\n' "$0" |
name: redmine | |
instances: 1 | |
mem: 256M | |
framework: | |
type: rails3 | |
services: | |
redmine-postgresql: postgresql | |
# env: |