This is a SCRIPT-8 cassette.
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
require 'formula' | |
class FlexSdk < Formula | |
homepage "http://www.adobe.com/devnet/flex.html" | |
url "http://download.macromedia.com/pub/flex/sdk/flex_sdk_4.6.zip" | |
sha256 "622b63f29de44600ff8d4231174a70fcb3085812c0e146a42e91877ca8b46798" | |
def install | |
Dir['*'].each { |file| cp_r file, File.join( prefix, File.basename(file) ) } |
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
sudo /bin/dd if=/dev/zero of=/var/swap.1 bs=1M count=1024 | |
sudo /sbin/mkswap /var/swap.1 | |
sudo /sbin/swapon /var/swap.1 | |
sudo chmod 600 /var/swap.1 | |
# Add to /etc/fstab | |
/var/swap.1 swap swap defaults 0 0 |
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
wget -qO- https://get.docker.com/ | sh | |
sudo usermod -aG docker ubuntu | |
sudo apt-get install python-pip | |
sudo pip install docker-compose |
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
import co from 'co' | |
export default (...funcs) => { | |
return (context = {}) => { | |
return co(function*() { | |
// set up our result context | |
let result = { | |
...context, | |
fail(msg = 'Failed') { |
- access to panel (Yes/No)
- admin access (Yes/No) (skip rest when Yes)
- access Content section (Yes/No)
- manage Collections (Yes/No) (skip rest when Yes)
- CRUD {collection}
- CRUD all collections
- manage Content Types (Yes/No) (skip rest when Yes)
- CRUD {content type}
- CRUD all content
- manage Collections (Yes/No) (skip rest when Yes)
- access Settings section (Yes/No)
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
require 'formula' | |
class Tmux < Formula | |
homepage 'http://tmux.sourceforge.net' | |
url 'https://downloads.sourceforge.net/project/tmux/tmux/tmux-2.0/tmux-2.0.tar.gz' | |
sha1 '977871e7433fe054928d86477382bd5f6794dc3d' | |
bottle do | |
cellar :any | |
sha256 "91a14274005416c9a20f64f149f732837b0503c0ddcfdc80f87c0576e99ee3fa" => :yosemite |
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
var interList; | |
var runSlides = function() { | |
interList = setInterval(function() { | |
$(".jcarousel li").fadeOut(1000).hide(); | |
$(".jcarousel li.front").removeClass("front").next().fadeIn(1000).addClass("front"); | |
$(".jcarousel li:first").appendTo(".jcarousel ul"); | |
}, 5000); | |
} | |
$(document).ready(function() { |
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
module.exports = class ExampleView extends View | |
bindings: | |
'[name=sub_field]': | |
observe: 'field' | |
onSet: (val) -> | |
@setSubField 'sub_field', val | |
onGet: (val) -> | |
@getSubField 'sub_field', val | |
setSubField: (key, val) -> |
NewerOlder