% git clone https://github.com/dhoer/chef-nexus3
Cloning into 'chef-nexus3'...
remote: Counting objects: 701, done.
remote: Total 701 (delta 0), reused 0 (delta 0), pack-reused 700
Receiving objects: 100% (701/701), 98.10 KiB | 0 bytes/s, done.
Resolving deltas: 100% (347/347), 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
| #!/usr/bin/env python | |
| # -*- coding: utf-8 -*- | |
| import sys | |
| from ctypes import CDLL | |
| dll = 'dylib' if sys.platform == 'darwin' else 'so.6' | |
| libc = CDLL('libc.%s' % dll) | |
| libc.time(-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
| # ab-loop-a=no # Time | |
| # ab-loop-b=no # Time | |
| # access-references=yes # Flag | |
| # ad= # String | |
| # ad-lavc-ac3drc=0.000000 # Float (0 to 6) | |
| # ad-lavc-downmix=yes # Flag | |
| # ad-lavc-o= # Key/value list | |
| # ad-lavc-threads=1 # Integer (0 to 16) | |
| # af*= # Object settings list | |
| # af-defaults= # Object settings list |
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
| # -*- mode: ruby -*- | |
| # vi: set ft=ruby : | |
| Vagrant.configure("2") do |config| | |
| %w(node1 node2).each do |vm_name| | |
| config.vm.define vm_name do |node| | |
| node.vm.box = "centos/6" | |
| end | |
| end | |
| # config.vm.provision "shell", inline: <<-SHELL |
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
| def h(text): | |
| print '<h3>' + text + '</h3>' | |
| def here(self): | |
| p = self.get_current_position() | |
| return p['x'], p['y'] | |
| def moves(self): | |
| top, mid, bot = self.get_neighbours() | |
| return ( |
NOTE: By downloading and using Oracle JDK 7 you're accepting the Oracle Binary Code License Agreement for Java SE.
wget \
NOTE: By downloading and using Oracle JDK 8 you're accepting the Oracle Binary Code License Agreement for Java SE.
wget \
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
| # -*- coding: utf-8 -*- | |
| """TODO: add module description.""" | |
| from __future__ import ( | |
| absolute_import, # Python 2.5+ | |
| print_function, # Python 2.6+ | |
| unicode_literals, # Python 2.6+ | |
| with_statement, # Python 2.5+ | |
| ) |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.