I hereby claim:
-
I am fracklen on github.
-
I am fracklen (https://keybase.io/fracklen) on keybase.
-
I have a public key ASDHIhiDm9Iq294HL5BGjUjeOwrB43BVOVygS96piJI4aAo
import asyncio | |
import os | |
from sagemcom_api.enums import EncryptionMethod | |
from sagemcom_api.client import SagemcomClient | |
import subprocess | |
import json | |
from datetime import datetime | |
HOST = "192.168.0.1" | |
USERNAME = "admin" |
MAX_BUILDS = 10 // max builds to keep | |
def jobs = Jenkins.instance.getAllItems(AbstractItem.class); | |
def deleteJobCount = 0 | |
def dryRun = true | |
f = new File('/var/lib/jenkins/cleanup-job.log') | |
for (job in jobs) { | |
f.append("Job: " + job.name + " " + job.class.name + "\n") |
I hereby claim:
I am fracklen on github.
I am fracklen (https://keybase.io/fracklen) on keybase.
I have a public key ASDHIhiDm9Iq294HL5BGjUjeOwrB43BVOVygS96piJI4aAo
2016-12-07 08:45:34,603 [salt.cli.daemons ][INFO ][25056] Setting up the Salt Minion "minion42.example.net" | |
2016-12-07 08:45:34,750 [salt.minion ][INFO ][25056] Creating minion process manager | |
2016-12-07 08:45:34,750 [salt.cli.daemons ][INFO ][25056] The Salt Minion is starting up | |
2016-12-07 08:45:34,750 [salt.minion ][INFO ][25056] Minion is starting as user 'root' | |
2016-12-07 08:45:34,750 [salt.utils.event ][INFO ][25056] Starting pull socket on /var/run/salt/minion/minion_event_3b59a7a598_pull.ipc | |
2016-12-07 08:46:14,792 [salt.scripts ][WARNING ][25056] Fatal functionality error caught by minion handler: | |
Traceback (most recent call last): | |
File "/usr/lib/python2.7/dist-packages/salt/scripts.py", line 128, in minion_process | |
minion.start() | |
File "/usr/lib/python2.7/dist-packages/salt/cli/daemons.py", line 359, in start |
# Create zone request | |
POST /api/v1/servers/localhost/zones HTTP/1.1 | |
Host: powerdns.example.net:8081 | |
Content-Length: 117 | |
Accept-Encoding: gzip, deflate | |
Accept: application/json | |
User-agent: Salt/2016.3.1 http.query() | |
Connection: keep-alive | |
X-API-Key: changeme |
{ | |
chart: { | |
renderTo: 'container', | |
plotBackgroundColor: 'rgba(35,37,38,0)', | |
backgroundColor: 'rgba(35,37,38,0)', | |
borderColor: 'rgba(35,37,38,10)', | |
lineColor: 'rgba(35,37,38,20)', | |
plotBorderColor: 'rgba(35,37,38,100)', | |
plotBorderWidth: null, | |
plotShadow: false, |
export COUCH_URL=http://guest:guest@127.0.0.1:5984/ | |
export DB=_replicator | |
for id in $(curl $COUCH_URL/$DB/_changes | jq -r '.results[].id' | grep filter); do | |
REV=$(curl $COUCH_URL/$DB/$id -v | jq -r '._rev') | |
curl $COUCH_URL/$DB/$id\?rev\=$REV -XDELETE | |
done |
# nginx-configurator | |
- watch på /projects/ | |
- for each project |x| | |
- upsert nginx-config x | |
- reload nginx | |
# nginx-upstream-updater |
Promo::PromotionalProvider.create(name: "estate-concepts", homepage: "www.estateconcepts.dk", provider_type: "rental", contact_name: "Jacob Lefèvre", contact_email: "jl@estateconcepts.dk", provider_id: 1538) |
require 'benchmark' | |
warmup = Benchmark.measure do | |
5.times do | |
YAML.load File.open("phrase/world/phrase.da.yml") | |
end | |
end | |
psych = Benchmark.measure do | |
100.times do |