This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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
-- mod-[1..9] %! Switch to workspace N | |
-- mod-shift-[1..9] %! Move client to workspace N | |
[((m .|. modMask, k), windows $ f i) | |
| (i, k) <- zip (XMonad.workspaces conf) [xK_1 .. xK_9] | |
, (f, m) <- [(W.greedyView, 0), (W.shift, shiftMask)]] | |
This file contains hidden or 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
{"timestamp":"2014-09-28T13:43:32.998048+0200","level":"error","message":"InfluxDB: Error setting up event object - [\"/etc/sensu/extensions/influx.rb:24:in `run'\", \"/opt/sensu/embedded/lib/ruby/gems/2.0.0/gems/sensu-extension-1.0.0/lib/sensu/extension.rb:99:in `safe_run'\", \"/opt/sensu/embedded/lib/ruby/gems/2.0.0/gems/sensu-0.13.1/lib/sensu/server.rb:307:in `block (2 levels) in handle_event'\", \"/opt/sensu/embedded/lib/ruby/gems/2.0.0/gems/sensu-0.13.1/lib/sensu/server.rb:206:in `call'\", \"/opt/sensu/embedded/lib/ruby/gems/2.0.0/gems/sensu-0.13.1/lib/sensu/server.rb:206:in `block in mutate_event_data'\", \"/opt/sensu/embedded/lib/ruby/gems/2.0.0/gems/sensu-extensions-1.0.0/lib/sensu/extensions/mutators/json.rb:16:in `run'\", \"/opt/sensu/embedded/lib/ruby/gems/2.0.0/gems/sensu-extension-1.0.0/lib/sensu/extension.rb:99:in `safe_run'\", \"/opt/sensu/embedded/lib/ruby/gems/2.0.0/gems/sensu-0.13.1/lib/sensu/server.rb:227:in `mutate_event_data'\", \"/opt/sensu/embedded/lib/ruby/gems/2.0.0/gems/sensu-0.13.1/ |
This file contains hidden or 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
[ -s "/home/rockj/.nvm/nvm.sh" ] && . "/home/rockj/.nvm/nvm.sh" # This loads nvm | |
rockj@pandora:~/dev/javascript$ [ -s "/home/rockj/.nvm/nvm.sh" ] && . "/home/rockj/.nvm/nvm.sh" | |
rockj@pandora:~/dev/javascript$ nvm uninstall 0.10 | |
Uninstalled node v0.10.29 | |
rockj@pandora:~/dev/javascript$ nvm install 0.10 | |
######################################################################## 100.0% | |
Now using node v0.10.29 | |
rockj@pandora:~/dev/javascript$ npm cache clean | |
rockj@pandora:~/dev/javascript$ mkdir experiments | |
rockj@pandora:~/dev/javascript$ cd experiments/ |
This file contains hidden or 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
; TG14-partysone | |
tg14 NS brad.tg14.gathering.org. | |
tg14 NS janet.tg14.gathering.org. | |
brad.tg14 A 151.216.254.2 | |
AAAA 2a02:ed02:254::2 | |
janet.tg14 A 151.216.253.2 | |
AAAA 2a02:ed02:253::2 | |
; Husk å legge til dette i partyzone NS | |
;ns1.tg14 CNAME brad.tg14 | |
;ns2.tg14 CNAME janet.tg14 |
This file contains hidden or 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
diff --git build.xml build.xml | |
index 212174e..c641d4f 100644 | |
--- build.xml | |
+++ build.xml | |
@@ -243,6 +243,15 @@ xmlns:maven="antlib:org.apache.maven.artifact.ant"> | |
<path refid="java.classpath"/> | |
</path> | |
+ <path id="test.java.classpath.without.log4j"> | |
+ <pathelement location="${test.java.classes}" /> |
NewerOlder