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
Unattended-Upgrade::Origins-Pattern { | |
"origin=Debian,codename=${distro_codename},label=Debian"; | |
"origin=Debian,codename=${distro_codename},label=Debian-Security"; | |
"o=Debian Backports,a=${distro_codename}-backports,l=Debian Backports"; | |
}; | |
Unattended-Upgrade::Package-Blacklist { | |
}; | |
Unattended-Upgrade::AutoFixInterruptedDpkg "true"; | |
Unattended-Upgrade::MinimalSteps "true"; | |
Unattended-Upgrade::Remove-Unused-Dependencies "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
# generated by Slic3r 1.3.1-dev on Mon Sep 2 09:47:57 2019 | |
[filament:3D Prime - PETG] | |
bed_temperature = 0 | |
bridge_fan_speed = 75 | |
compatible_printers = | |
cooling = 1 | |
disable_fan_first_layers = 3 | |
end_filament_gcode = "; Filament-specific end gcode \n;END gcode for filament\n" | |
extrusion_multiplier = 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
#!/bin/bash | |
# Settings | |
SWGOH_USER= | |
SWGOH_PASS= | |
BOT1_TOKEN= | |
BOT2_TOKEN= | |
# First Instance | |
docker run --rm -it --name bot1 \ |
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 | |
echo "swf2mp4.sh - flash player to mp4 conversion script" | |
echo " * Requires gnash, mplayer2 and ffmpeg CLI tools" | |
echo " * Source https://stackoverflow.com/a/39304421 (Aleksey Kontsevich)" | |
SWFFILE=$1 | |
MP4FILE=${SWFFILE%.*}.mp4 | |
TMPFILE=$(cat /dev/urandom | tr -dc 'a-zA-Z' | fold -w 32 | head -n 1).bin |
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
SELECT | |
timestamp as Date, | |
resource.labels.project_id as ProjectId, | |
protopayload_auditlog.serviceName as ServiceName, | |
protopayload_auditlog.methodName as MethodName, | |
protopayload_auditlog.status.code as StatusCode, | |
protopayload_auditlog.status.message as StatusMessage, | |
protopayload_auditlog.authenticationInfo.principalEmail as UserId, | |
protopayload_auditlog.servicedata_v1_bigquery.jobCompletedEvent.job.jobName.jobId as JobId, | |
protopayload_auditlog.servicedata_v1_bigquery.jobCompletedEvent.job.jobConfiguration.query.query as Query, |
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
package main | |
import ( | |
"fmt" | |
"bufio" | |
"os" | |
"strings" | |
"regexp" | |
) |
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 | |
# | |
# Helper script to auto-configure a Cloud DNS record during | |
# compute engine instance startup. | |
# | |
# Setup: | |
# 1. Download and install the script in the instance: | |
# curl -L https://gist.github.com/ronoaldo/6d6f97bc20a5a40c4aac5e4fa6c09dd5/raw/ > /etc/init.d/clouddns-update | |
# 2. Give this script permissions and setup as startup daemon |
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 a/vendor/golang.org/x/net/context/ctxhttp/cancelreq.go b/vendor/golang.org/x/net/context/ctxhttp/cancelreq.go | |
index 48610e3..214fbaf 100644 | |
--- a/vendor/golang.org/x/net/context/ctxhttp/cancelreq.go | |
+++ b/vendor/golang.org/x/net/context/ctxhttp/cancelreq.go | |
@@ -2,7 +2,7 @@ | |
// Use of this source code is governed by a BSD-style | |
// license that can be found in the LICENSE file. | |
-// +build go1.5 | |
+// +build !appengine |
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
package facedetect | |
// #cgo CXXFLAGS: -std=c++11 | |
// #cgo pkg-config: opencv | |
import "C" |
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
curl -Ss https://storage.googleapis.com/golang/go1.5.linux-amd64.tar.gz | tar -C /usr/local -xzf- |