Attention: this is the key used to sign the certificate requests, anyone holding this can sign certificates on your behalf. So keep it in a safe place!
openssl genrsa -des3 -out rootCA.key 4096| Note: The boostcript ARCH must be the same that your server architecture | |
| $scw images --no-trunc -a -f type=bootscript | |
| REPOSITORY TAG IMAGE ID CREATED REGION ARCH | |
| x86_64_4_5_7_debug_3 <bootscript> 716da634-b7c3-45c8-9fd2-87ade5eeabe6 n/a fr-1 [x86_64] | |
| x86_64_4_5_7_docker_4 <bootscript> aa9f03c9-5d0e-42bb-82b1-0a73e29501a0 n/a fr-1 [x86_64] | |
| armv7l_4_5_7_apparmor_4 <bootscript> 5365dab9-2dbd-483c-8c59-a8f96fa68f06 n/a fr-1 [arm] | |
| armv7l_4_5_7_docker_4 <bootscript> 6a2585eb-7273-472a-b277-5898bab8ad33 n/a fr-1 [arm] | |
| armv7l_4_4_21_std_1 <bootscript> 5361da3d-43ea-466e-9e56-fc105db3ac9f n/a fr-1 [arm] | |
| armv7l_Rescue <bootscript> a5485 |
| // Solarized for Mosh Chrome | |
| // Mosh does not seem to save profiles, so this sets the default 'mosh' profile. | |
| // To reset, evaluate term_.prefs_.resetAll() | |
| // Run in the JavaScript console of mosh_browser.html, which can be opened | |
| // as explained here: | |
| // https://github.com/rpwoodbu/mosh-chrome/wiki/FAQ#how-can-i-change-the-way-the-terminal-looks-font-color-etc | |
| var htermProfiles = { | |
| // Solarized Dark |
| // XPath CheatSheet | |
| // To test XPath in your Chrome Debugger: $x('/html/body') | |
| // http://www.jittuu.com/2012/2/14/Testing-XPath-In-Chrome/ | |
| // 0. XPath Examples. | |
| // More: http://xpath.alephzarro.com/content/cheatsheet.html | |
| '//hr[@class="edge" and position()=1]' // every first hr of 'edge' class |
| import requests | |
| import random | |
| import xml.dom.minidom | |
| ''' | |
| Simple script to simulate what needs to go in a Freewheel ad request | |
| This example is for VMAP but what needs to be requested is similar on other response types e.g. FW Smart XML | |
| To use Smart XML response just change the resp parameter to "xml" | |
| ''' |
The following shows what to watch out for when making Angular Dart applications. For more information about Angular Dart, see angulardart.org.
| from collections import Mapping | |
| from twisted.names import dns, server, client, cache | |
| from twisted.application import service, internet | |
| class MapResolver(client.Resolver): | |
| def __init__(self, mapping, servers): | |
| client.Resolver.__init__(self, servers=servers) |
As configured in my dotfiles.
start new:
tmux
start new with session name: