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
package main | |
import ( | |
"fmt" | |
"math/rand" | |
"strconv" | |
"time" | |
"github.com/octplane/mnemo" | |
) |
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
make: [cleanbuilddir] Error 1 (ignored) | |
rm -f debian/stamp-makefile-build debian/stamp-makefile-install | |
/usr/bin/make -C /build/buildd/libvirt-1.2.4/debian/build -k distclean | |
make: *** /build/buildd/libvirt-1.2.4/debian/build: No such file or directory. Stop. | |
make: [makefile-clean] Error 2 (ignored) | |
rm -f debian/stamp-makefile-check | |
rm -f debian/stamp-autotools | |
rmdir --ignore-fail-on-non-empty /build/buildd/libvirt-1.2.4/debian/build | |
rmdir: failed to remove '/build/buildd/libvirt-1.2.4/debian/build': No such file or directory | |
make: [makefile-clean] Error 1 (ignored) |
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
$ dig @127.0.0.1 -p 8600 consul.service.consul SRV | |
; <<>> DiG 9.8.3-P1 <<>> @127.0.0.1 -p 8600 consul.service.consul ANY | |
; (1 server found) | |
;; global options: +cmd | |
;; Got answer: | |
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 50483 | |
;; flags: qr aa rd; QUERY: 1, ANSWER: 3, AUTHORITY: 1, ADDITIONAL: 1 | |
;; WARNING: recursion requested but not available |
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
<dict> | |
<key>name</key> | |
<string>Json Keys</string> | |
<key>scope</key> | |
<string>source.json meta.structure.dictionary.json string.quoted.double.json</string> | |
<key>settings</key> | |
<dict> | |
<key>foreground</key> | |
<string>#DEDEDE</string> | |
</dict> |
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
/* | |
terraform apply \ | |
-var 'key_path=/home/camilo/.ssh/id_rsa' \ | |
-var 'password=test' \ | |
*/ | |
variable "key_path" { | |
default = "/Users/camilo/.ssh/id_rsa" | |
} |
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
variable "key_path" { | |
default = "/Users/camilo/.ssh/id_rsa" | |
} | |
variable "password" { | |
default: "" | |
} | |
provider "vix" { | |
product = "fusion" |
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
install_oem_package() { | |
local oem_pkg=$(_get_vm_opt OEM_PACKAGE) | |
local oem_use=$(_get_vm_opt OEM_USE) | |
#local oem_tmp="${VM_TMP_DIR}/oem" | |
if [[ -z "${oem_pkg}" ]]; then | |
return 0 | |
fi | |
info "Installing ${oem_pkg} to OEM partition" |
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
func main() { | |
var logWriter io.Writer | |
if config.LogFilePath != "" { | |
var err error | |
logWriter, err = os.OpenFile(config.LogFilePath, os.O_RDWR|os.O_APPEND, 0660) | |
if err != nil { | |
log.Printf("[WARN] %v", err) | |
} | |
} |
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 ubuntu-debootstrap:14.04 | |
RUN echo 'deb http://archive.ubuntu.com/ubuntu trusty main' >/etc/apt/sources.list | |
RUN echo 'deb http://archive.ubuntu.com/ubuntu trusty-security main' >>/etc/apt/sources.list | |
RUN echo 'deb http://archive.ubuntu.com/ubuntu trusty-updates main' >>/etc/apt/sources.list | |
RUN echo 'deb http://archive.ubuntu.com/ubuntu trusty universe' >>/etc/apt/sources.list | |
RUN apt-get update | |
RUN apt-get install -y --force-yes \ |
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
A member of the Go community is: | |
Open | |
Members of the community are open to collaboration, patches, problems, or | |
otherwise. We're receptive to constructive comment and criticism, as the | |
experiences and skill sets of other members contribute to the whole of our | |
efforts. We're accepting of all who wish to take part in our activities, | |
fostering an environment where anyone can participate and everyone can make a | |
difference. |
OlderNewer