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 | |
# /etc/network/if-pre-up.d/sysctl-ipv6 | |
# Disable IPv6 auto configuration on Ubuntu because of some bugs | |
# https://bugs.launchpad.net/ubuntu/+source/linux/+bug/997605 | |
# IPv6 Privacy extensions | |
sysctl -w net.ipv6.conf.all.use_tempaddr=0 | |
sysctl -w net.ipv6.conf.default.use_tempaddr=0 | |
sysctl -w net.ipv6.conf.${IFACE}.use_tempaddr=0 |
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
execve("/opt/local/sbin/zebra", 0xFFFFFD7FFFDFFCD8, 0xFFFFFD7FFFDFFCE8) argc = 1 | |
sysinfo(SI_MACHINE, "i86pc", 257) = 6 | |
mmap(0x00000000, 56, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANON, 4294967295, 0) = 0xFFFFFD7FFF390000 | |
mmap(0x00000000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANON, 4294967295, 0) = 0xFFFFFD7FFF380000 | |
mmap(0x00000000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANON, 4294967295, 0) = 0xFFFFFD7FFF370000 | |
memcntl(0xFFFFFD7FFF399000, 93432, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0 | |
mmap(0x00000000, 4096, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANON, 4294967295, 0) = 0xFFFFFD7FFF360000 | |
memcntl(0x00400000, 54728, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0 | |
resolvepath("/usr/lib/amd64/ld.so.1", "/lib/amd64/ld.so.1", 1023) = 18 | |
resolvepath("/opt/local/sbin/zebra", "/opt/local/sbin/zebra", 1023) = 21 |
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
[root@pkgsrc-2013Q3 ~]# virtualenv foo | |
New python executable in foo/bin/python2.7 | |
Also creating executable in foo/bin/python | |
foo/bin/python2.7: cannot find/execute "python2.7" in ISA subdirectories | |
ERROR: The executable foo/bin/python2.7 is not functioning | |
ERROR: It thinks sys.prefix is u'/root' (should be u'/root/foo') | |
ERROR: virtualenv is not compatible with this system or executable |
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 ruby | |
require 'net/http' | |
require 'net/https' | |
require 'uri' | |
require 'optparse' | |
module Net | |
class HTTPS < HTTP | |
def self.post_form(url, params, headers, options={}) |
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/manifest b/manifest | |
index be9c810..218688b 100644 | |
--- a/manifest | |
+++ b/manifest | |
@@ -1605,6 +1605,9 @@ f lib/svc/manifest/system/system-log.xml 0444 root sys | |
f lib/svc/manifest/system/utmp.xml 0444 root sys | |
f lib/svc/manifest/system/vtdaemon.xml 0444 root sys | |
f lib/svc/manifest/system/zones.xml 0444 root sys | |
+d lib/svc/manifest/system/fm 0755 root sys | |
+f lib/svc/manifest/system/fm/smtp-notify.xml 0444 root sys |
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/config.yaml b/config.yaml | |
index aa03275..7bc0e5b 100644 | |
--- a/config.yaml | |
+++ b/config.yaml | |
@@ -5,7 +5,7 @@ wp_exports: wordpress-xml | |
build_dir: build | |
# Output format: primary choices are html or markdown. | |
-target_format: markdown | |
+target_format: html |
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
REMOTE ?= "tm@frubar:~/htdocs" | |
TOPIC ?= "New-Post" | |
DATE ?= "$(shell date --rfc-3339='seconds')" | |
FILE = "$(shell echo "+./_drafts/$(TOPIC).md" | sed -e y/\ /-/ | tr A-Z a-z)" | |
help: | |
@echo 'Makefile for a jekyll web site ' | |
@echo ' ' | |
@echo 'Usage: ' | |
@echo ' make new create new blog entry based on template ' |
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
{ | |
"brand": "kvm", | |
"alias": "linux-vm", | |
"resolvers": [ | |
"8.8.8.8", | |
"8.8.4.4" | |
], | |
"ram": "256", | |
"vcpus": "1", | |
"nics": [ |
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
# Find all folders (for example in /content/smartos-live/proto/usr/perl5/site_perl/5.12/Munin) | |
find -type d | while read l; do n=$(basename $l); echo "d usr/perl5/site_perl/5.12/Munin/${n} 0755 root bin"; done | |
# Find all files | |
find "${PWD}" -type f | while read l; do n=$l; echo "f ${n/\/content\/smartos-live\/proto\//} 0644 root bin"; done |
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
$NetBSD$ | |
Remove old SOLARIS verify code that didn't work anymore in new versions | |
--- src/main.cc.orig 2010-03-25 15:47:02.000000000 +0000 | |
+++ src/main.cc | |
@@ -141,21 +141,6 @@ int main(int argc, char **argv, char **e | |
Ref<Array<StringBase> > addFile(new Array<StringBase>()); | |