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
| # Match with: | |
| # /^(\S+)\s+(\S+).*?(\S+[0-9]+)$/ | |
| # $1: destination | |
| # $2: gateway | |
| # $3: interface | |
| # or: | |
| # /^(?<destination>\S+)\s+(?<gateway>\S+).*?(?<interface>\S+[0-9]+)$/ | |
| class Specinfra::Command::Openbsd::Base::RoutingTable < Specinfra::Command::Base::RoutingTable | |
| class << self |
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
| !{{{ XFT | |
| Xft.dpi: 72 | |
| Xft.antialias: 1 | |
| Xft.hinting: 1 | |
| Xft.hintstyle: hintfull | |
| Xft.rgba: rgb | |
| !}}} | |
| !{{{ URXVT | |
| urxvt*loginShell: false |
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
| irb(main):008:0> speaker.queue | |
| => {:total=>0, :items=>[]} | |
| irb(main):009:0> speaker.add_spotify_to_queue({:id => '3FIC2jEXBHTSEb0ZdoLvpJ', :type => 'album'}) | |
| => 1 | |
| irb(main):010:0> speaker.add_spotify_to_queue({:id => '2CwulIyrmEYwbUWzcEVIhR'}) | |
| => 11 | |
| irb(main):011:0> speaker.add_spotify_to_queue({:type => 'starred'}) | |
| => 12 | |
| irb(main):012:0> speaker.queue | |
| => {:total=>12, :items=>[{:queue_id=>"Q:0/1", :title=>"Kill The Noise (Part I)", :artist=>"Kill The Noise", :album=>"Kill Kill Kill", :album_art=>"http://192.168.178.113:1400/getaa?s=1&u=x-sonos-spotify%3aspotify%253atrack%253a1dq8HSHtmc3y4kLGqywRS9%3fsid%3d9%26flags%3d32", :duration=>"0:07:50", :id=>"x-sonos-spotify:spotify%3atrack%3a1dq8HSHtmc3y4kLGqywRS9?sid=9&flags=32"}, {:queue_id=>"Q:0/2", :title=>"Deal With It", :artist=>"Kill The Noise", :album=>"Kill Kill Kill", :album_art=>"http://192.168.178.113:1400/getaa?s=1&u=x-sonos-spotify%3aspotify%253atrack%253a0FBmjDE2mZ25mq494fdS4j%3fsid%3d9%26flags%3d32", :duration=>"0:03:37", :id=>"x-sonos-spotify:spotify%3 |
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
| +++ Thu Jul 3 10:38:57 CEST 2014 | |
| ===> Checking files for py-git2-0.21.0 | |
| `/usr/ports/distfiles/libgit/pygit2-0.21.0.tar.gz' is up to date. | |
| >> (SHA256) libgit/pygit2-0.21.0.tar.gz: OK | |
| ===> Extracting for py-git2-0.21.0 | |
| ===> Patching for py-git2-0.21.0 | |
| ===> Configuring for py-git2-0.21.0 | |
| perl /usr/ports/infrastructure/bin/pkg_subst -DMODPY_PYCACHE= -DMODPY_COMMENT=\"@comment\ \" -DMODPY_PYC_MAGIC_TAG= -DMODPY_BIN=/usr/local/bin/python2.7 -DMODPY_EGG_VERSION= -DMODPY_VERSION=2.7 -DMODPY_BIN_SUFFIX= -DMODPY_PY_PREFIX=py- -DMACHINE_ARCH=amd64 -DARCH=amd64 -DHOMEPAGE=http://libgit2.github.com/ -D^PREFIX=/usr/local -D^SYSCONFDIR=/etc -DFLAVOR_EXT= -DFULLPKGNAME=py-git2-0.21.0 -DMAINTAINER=The\ OpenBSD\ ports\ mailing-list\ \<ports@openbsd.org\> -D^BASE_PKGPATH=devel/libgit2/py-git2 -D^LOCALBASE=/usr/local -D^X11BASE=/usr/X11R6 -D^TRUEPREFIX=/usr/local -D^RCDIR=/etc/rc.d -D^LOCALSTATEDIR=/var /usr/obj/ports/py-git2-0.21.0/pygit2-0.21.0/pygit2/ffi.py | |
| ===> Building for py-git2-0.21.0 | |
| pygit2/__pycache__/_cffi__x8bb |
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
| ---------------------------------------------------------------------------------- | |
| -- Engineer: J. Lievisse Adriaanse <jasper@humppa.nl> | |
| -- | |
| -- Create Date: 12:03:42 05/25/2014 | |
| -- Design Name: | |
| -- Module Name: sevenseg - Behavioral | |
| -- Project Name: | |
| -- Target Devices: | |
| -- Tool versions: | |
| -- Description: |
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
| Prism.languages.puppet = Prism.languages.extend('clike', { | |
| 'keyword': /\b(and|case|class|default|define|else|elsif|false|if|in|import|inherits|node|or|true|undef|unless)\b/g, | |
| 'constant': /\b(false|true|running|stopped|mounted|latest|present|absent|file|directory)\b/g, | |
| 'comment': /#[^\r\n]*(\r?\n|$)/g, | |
| }); | |
| Prism.languages.insertBefore('puppet', 'keyword', { | |
| 'atrule': /[\$]+([a-z][a-z0-9_]*)?(::[a-z][a-z0-9_]*)*\b/g, | |
| 'class': /\b([a-z][a-z0-9_]*)?(::[a-z][a-z0-9_]*)+\b/g | |
| }); |
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
| Index: runtime/include/asm-base.h | |
| =================================================================== | |
| --- runtime/include/asm-base.h (revision 3868) | |
| +++ runtime/include/asm-base.h (working copy) | |
| @@ -126,6 +126,17 @@ | |
| # define DOUBLE(V) .double V | |
| # define LABEL(ID) ID: | |
| # define __SC__ @ | |
| + | |
| +# elif (defined(OPSYS_OPENBSD) && defined(TARGET_PPC)) |
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
| Index: _arch-n-opsys | |
| =================================================================== | |
| --- _arch-n-opsys (revision 3868) | |
| +++ _arch-n-opsys (working copy) | |
| @@ -104,8 +104,9 @@ | |
| OpenBSD) | |
| OPSYS=openbsd | |
| HEAP_OPSYS=bsd | |
| - case `uname -m` in | |
| + case `uname -p` in |
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
| module Test_sshd = | |
| let accept_env = "Protocol 2 | |
| AcceptEnv LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT | |
| AcceptEnv LC_IDENTIFICATION LC_ALL\n" | |
| test Sshd.lns get accept_env = | |
| { "Protocol" = "2" } | |
| { "AcceptEnv" | |
| { "1" = "LC_PAPER" } |
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
| require 'puppet/provider/package' | |
| # Packaging on OpenBSD. Doesn't work anywhere else that I know of. | |
| Puppet::Type.type(:package).provide :openbsd, :parent => Puppet::Provider::Package do | |
| desc "OpenBSD's form of `pkg_add` support." | |
| commands :pkginfo => "pkg_info", :pkgadd => "pkg_add", :pkgdelete => "pkg_delete" | |
| defaultfor :operatingsystem => :openbsd | |
| confine :operatingsystem => :openbsd |