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
fail = 0; | |
i = Hook2048(function (manager, step) { | |
if (fail < 6) { | |
fail = manager.move([1,2,2,3,2,2][step%6]) ? 0 : fail + 1; | |
} else { | |
manager.move(0); | |
fail = 0; | |
} | |
}, function (res) { |
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
:: running early hook [udeu] | |
:: running hook [udeu] | |
:: Triggering uevents... | |
[ 3.698847] irq 17: nobody cared (try booting with the "irqpoll“ option) | |
[ 3.698938] handlers: | |
[ 3.698950] [<ffffffffa01aad60>] sdhci_irq [sdhci] | |
[ 3.6989?1] Disabling IRQ #17 | |
ERROR: device '' not found. Skipping fsck. | |
ERROR: Unable to find root device | |
You are being dropped to a recovery shell |
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
enykeev at localhost : /A/T/C/MacOS | |
↪ cat install_tower_cli | |
#!/bin/sh | |
echo $1 > /tmp/something | |
echo $2 >> /tmp/something | |
enykeev at localhost : /A/T/C/MacOS | |
↪ cat /tmp/something | |
/Applications/Tower |
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
[DEFAULT] | |
test_command=OS_STDOUT_CAPTURE=${OS_STDOUT_CAPTURE:-1} \ | |
OS_STDERR_CAPTURE=${OS_STDERR_CAPTURE:-1} \ | |
OS_LOG_CAPTURE=${OS_LOG_CAPTURE:-1} \ | |
OS_TEST_TIMEOUT=${OS_TEST_TIMEOUT:-160} \ | |
${PYTHON:-python} -m subunit.run discover -t ./ ./mistral/tests/unit $LISTOPT $IDOPTION; \ | |
OS_STDOUT_CAPTURE=${OS_STDOUT_CAPTURE:-1} \ | |
OS_STDERR_CAPTURE=${OS_STDERR_CAPTURE:-1} \ | |
OS_LOG_CAPTURE=${OS_LOG_CAPTURE:-1} \ | |
OS_TEST_TIMEOUT=${OS_TEST_TIMEOUT:-160} \ |
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
.sonar { | |
display: block; | |
width: 200px; | |
height: 200px; | |
box-sizing: border-box; | |
position: absolute; | |
top: 200px; | |
left: 200px; |
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
<VirtualHost *:49100> | |
ServerName 172.168.50.50:49100 | |
WSGIScriptAlias / /usr/lib/python2.7/dist-packages/st2auth/wsgi.py | |
WSGIDaemonProcess st2auth user=stanley group=st2robots processes=2 threads=25 | |
WSGIProcessGroup st2auth | |
SSLEngine on | |
SSLCertificateFile /etc/apache2/ssl/mycert.crt |
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
gulp.task('watch', function() { | |
gulp.watch('static/*', ['static']); | |
gulp.watch('css/**/*.css', ['css']); | |
gulp.watch(['js/**/*.js'], ['lint', 'browserify']); | |
process.stdin.setEncoding('utf8'); | |
process.stdin.on('readable', function() { | |
var chunk = process.stdin.read(); | |
switch (chunk) { | |
case null: |
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
--- !clarkevans.com/^invoice | |
invoice: 34843 | |
date : 2001-01-23 | |
bill-to: &id001 | |
given : Chris | |
family : Dumars | |
address: | |
lines: | | |
458 Walkman Dr. | |
Suite #292 |
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
'use strict'; | |
var a; | |
(function () { | |
var b = 'c'; | |
a = function d() { | |
var e = 'f'; | |
}; | |
})() |
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
'use strict'; | |
var fs = require('fs'); | |
var vm = require('vm'); | |
var filename = process.argv[process.argv.length - 1]; | |
var fingerprint = '(function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module \'"+o+"\'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})'; | |
var module_names = { | |
1: filename |
OlderNewer