The CI has two important files meta-data and user-data. Examples to be seen below.
config/meta-data
instance-id: iid-cloud-234567
local-hostname: xcloud-234567
#include <stdio.h> | |
#include <string.h> | |
#define BSIZE 200 | |
void main(void) { | |
char ibuf[BSIZE]; | |
char obuf[BSIZE]; | |
bzero(ibuf,BSIZE); |
#include <stdio.h> | |
#include <string.h> | |
#define BSIZE 200 | |
void main(void) { | |
char ibuf[BSIZE]; | |
char obuf[BSIZE]; | |
bzero(ibuf,BSIZE); |
Github:bagder/everything-curl
Unix systems have for a very long time offered a way for users to store their
user name and password for remote FTP servers. ftp clients have supported
this for decades and this way allowed users to quickly login to known servers
without manually having to reenter the credentials each time. The .netrc
file
is typically stored in a user's home directory. (On Windows, curl will look for
it with the name _netrc
).
'use strict'; | |
const express = require('express'); | |
const simpleOauthModule = require('simple-oauth2'); | |
const hd = require('os').homedir(); | |
const cfg = require(hd+'/.thinx.json'); | |
const https = require('https'); | |
const app = express(); | |
const oauth2 = simpleOauthModule.create({ |
#!/bin/bash | |
source mkFce.inc | |
ODIR=example | |
ORG="The Random House" | |
EMAIL=info@random.org | |
TEAM="The best team" | |
DOMAIN=the.best.com |
#!/bin/bash | |
# little test script to print whether target is reachable via ip and port combination | |
# in case that port is ommited then prints the routing path and gw | |
# default ip for internet connectivity test | |
TRGHOST=8.8.8.8 | |
LANG=en | |
TIMEOUT_SECONDS=1 | |
# usage: |
#!/bin/bash -x | |
D1NAME=u1 | |
D2NAME=u2 | |
INAME=alpine | |
docker kill $D1NAME | |
docker kill $D2NAME | |
docker rm $D1NAME | |
docker rm $D2NAME |