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
#!/bin/bash | |
cd /var/lib/containers/units | |
units=$(find . -maxdepth 2 | grep '.service' | awk -F'/' '{print $3}') | |
keys=( LoadState ActiveState SubState UnitFileState ) | |
result="" | |
for unit in $units; do |
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
/Volumes/Low/David/.sm/exts/versions/test/head |
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
To Install | |
========= | |
Based on contrib/bootstrap-dev-vm: | |
- Dependencies first | |
- Then build | |
- Link the unit | |
- Then enable the unit |
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
1 |
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
GIT | |
remote: https://github.com/Vlipco/glider.git | |
revision: bdaf93f1284273a3e8770cbdce01557adcc11b53 | |
specs: | |
glider (0.2.0) | |
activesupport | |
aws-sdk | |
json | |
GEM |
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 sample Guardfile | |
# More info at https://github.com/guard/guard#readme | |
require "active_support/inflector" | |
guard :rspec, cli:'--color --format documentation', spring: true do | |
watch(%r{^spec/.+_spec\.rb$}) | |
# watch the factories | |
watch(%r{^spec/factories/(.+)\.rb$}) do |m| | |
%W[ | |
spec/models/#{ActiveSupport::Inflector.singularize m[1]}_spec.rb |
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
// Set up a simple object to use as "context" | |
var context = { foo: "bar" }; | |
// A function that uses a reference to a variable called "foo" | |
// on the "this" context. | |
function returnFoo () { | |
return this.foo; | |
} | |
// This variable does not exist on scope, so is undefined. |
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
# Assuming you have jade's browserified version: | |
# as of the time of writing lives in: https://github.com/visionmedia/jade/blob/master/jade.js | |
#!/usr/bin/env ruby | |
puts "Compiling hellow world, expected output is <h1>Hellow world</h1>" | |
require 'rubygems' | |
require 'v8' #therubyracer |
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
<html> | |
<head> | |
<script src='jade.js'></script> | |
</head> | |
<body> | |
done. | |
</body> | |
</html> |
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
class SimpleWorkflowAPI | |
extend SimplerWorkflow::ParentProcess | |
log_level Logger::DEBUG | |
workers 1 | |
domain = SimplerWorkflow::Domain.domains "my_ops" |