This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"nodes":[{"name":"Myriel","group":1},{"name":"Napoleon","group":1},{"name":"Mlle.Baptistine","group":1},{"name":"Mme.Magloire","group":1},{"name":"CountessdeLo","group":1},{"name":"Geborand","group":1},{"name":"Champtercier","group":1},{"name":"Cravatte","group":1},{"name":"Count","group":1},{"name":"OldMan","group":1},{"name":"Labarre","group":2},{"name":"Valjean","group":2},{"name":"Marguerite","group":3},{"name":"Mme.deR","group":2},{"name":"Isabeau","group":2},{"name":"Gervais","group":2},{"name":"Tholomyes","group":3},{"name":"Listolier","group":3},{"name":"Fameuil","group":3},{"name":"Blacheville","group":3},{"name":"Favourite","group":3},{"name":"Dahlia","group":3},{"name":"Zephine","group":3},{"name":"Fantine","group":3},{"name":"Mme.Thenardier","group":4},{"name":"Thenardier","group":4},{"name":"Cosette","group":5},{"name":"Javert","group":4},{"name":"Fauchelevent","group":0},{"name":"Bamatabois","group":2},{"name":"Perpetue","group":3},{"name":"Simplice","group":2},{"name":"Scaufflaire","group":2}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
AWSTemplateFormatVersion: "2010-09-09" | |
Description: My example codebuild template for pull requests | |
Parameters: | |
VPCStackName: | |
Type: AWS::SSM::Parameter::Value<String> | |
Default: /cloudformation/parameters/vpc/stackname | |
Description: The name of the parent VPC networking stack that you created. Necessary | |
to locate and reference resources created by that stack. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
systemctl cat --user git-sync-powersavehelper | |
# /home/norangshol/.config/systemd/user/git-sync-powersavehelper.service | |
[Unit] | |
Description = Disable and Enable git-sync depending on AC power | |
ReloadPropagatedFrom = sys-susbsystem-power_supply-main_AC.device | |
[Service] | |
ExecStart = /usr/bin/env git-sync-powersavehelper | |
ExecReload = /usr/bin/env git-sync-powersavehelper | |
RemainAfterExit=true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash -xe | |
INSTALLER_DEST=$1 | |
DEBINSTROOT=http://ftp.no.debian.org/debian/dists | |
DEBINSTROOT2=https://d-i.debian.org/daily-images #/amd64/daily/netboot/ | |
FWTMP=/tmp/d-i_firmware | |
mkdir -p ${INSTALLER_DEST}/{sid,buster,stretch}/{amd64,i386} | |
for DIST in sid buster stretch | |
do | |
rm -rf $FWTMP |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# Wrapper around container-builder-local to deal with annoying missing features. | |
# Missing global subtituions by tool: | |
# COMMIT_SHA not being available. | |
command -v container-builder-local >/dev/null 2>&1 || { echo -e >&2 "I require container-builder-local but it's not installed. Aborting.\\nhttps://github.com/GoogleCloudPlatform/container-builder-local#install-using-gcloud"; exit 1; } | |
command -v envsubst >/dev/null 2>&1 || { echo >&2 "I require envsubst but it's not installed. Aborting."; exit 1; } | |
die() { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from nav.models.rrd import RrdDataSource | |
datasources = RrdDataSource.objects.filter(rrd_file__key='interface').select_related('rrd_file') | |
datasource_loookup = {} | |
for data in datasources: | |
interface = int(data.rrd_file.value) | |
if interface in datasource_loookup: | |
datasource_loookup[interface].append(data) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pipeline: | |
try { | |
stage 'build': | |
node { | |
.. | |
.. | |
} | |
stage 'deploy stage': |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class baseclass { | |
# include $operatingsystem | |
# emulate some known good helper functions who behave the same as cfengine | |
import "cfengine" | |
# Disable SELinux | |
class { | |
'selinux': enabled => false; | |
'iptables': enabled => false; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rockj@pandora:/opt/pycharm/bin$ sudo update-alternatives --config java | |
There are 4 choices for the alternative java (providing /usr/bin/java). | |
Selection Path Priority Status | |
------------------------------------------------------------ | |
0 /usr/lib/jvm/java-7-openjdk-amd64/jre/bin/java 1071 auto mode | |
1 /usr/lib/jvm/j2sdk1.6-oracle/jre/bin/java 315 manual mode | |
2 /usr/lib/jvm/java-6-openjdk-amd64/jre/bin/java 1061 manual mode | |
3 /usr/lib/jvm/java-7-openjdk-amd64/jre/bin/java 1071 manual mode |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
DEFAULT=$HOME/Maildir | |
MAILDIR=$HOME/Maildir | |
logfile "$HOME/.getmail/.maildrop.log" | |
log "Markers: ---------------------------------------------" | |
log " (**) from config file, (II) informational, (WW) warning" | |
log "--------------------------------------------------------" | |
log "" | |
###################################################################### |
NewerOlder