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
(function(root) { | |
function foo() { | |
console.log("foo"); | |
} | |
function foo2() { | |
console.log("foo2"); | |
} | |
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
walk src_dir, (err, results) -> | |
stream = process.stdout | |
stream.write "# DO NOT MODIFY - Generated file\n#\n\n" | |
for pattern, hook of asset_hooks | |
results | |
.filter((asset_path) -> asset_path.match(pattern)) | |
.forEach (asset_path) -> | |
rel = path.relative(src_dir, asset_path) | |
stream.write "module.exports['#{rel}'] = \"\"\"" | |
fs.createReadStream(asset_path) |
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 'net/imap' | |
def openNewConnection() | |
imap = Net::IMAP.new('imap.gmail.com', 993, :ssl => true) | |
imap.login('[email protected]', 'heymama') | |
imap.select('INBOX') | |
return imap | |
end | |
def checkForUnread(imap) |
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
event.returnValue is deprecated. Please use the standard event.preventDefault() instead. | |
16 | |
[.WebGLRenderingContext]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : glClear: framebuffer incomplete (clear) luma_demo_915_broadway_nyc.html:1 | |
32 | |
[.WebGLRenderingContext]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : glDrawElements: framebuffer incomplete (clear) luma_demo_915_broadway_nyc.html:1 | |
XHR finished loading: "http://floored.com/webgl/office_lobby/scan.js". luma.2.3.js:7 | |
XHR finished loading: "http://floored.com/webgl/office_lobby/scan.bin". luma.2.3.js:7 | |
XHR finished loading: "http://floored.com/webgl/office_lobby/scan.bin". luma.2.3.js:7 | |
XHR finished loading: "http://floored.com/webgl/office_lobby/scan.bin". luma.2.3.js:7 | |
XHR finished loading: "http://floored.com/webgl/office_lobby/scan.bin". luma.2.3.js:7 |
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
var jayson = require(__dirname + '/../..'); | |
var wrap_jayson = function(client) { | |
return { | |
request: function(name, args) { | |
return new Promise(function(resolve, reject) { | |
client.request(name, args, function(err, error, response) { | |
if (err) return reject(err); | |
resolve(response); | |
}) |
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
diff --git a/dired.py b/dired.py | |
index 13517cd..6f5fb81 100644 | |
--- a/dired.py | |
+++ b/dired.py | |
@@ -277,34 +277,36 @@ class DiredRefreshCommand(TextCommand, DiredBaseCommand): | |
self.view.sel().add(Region(pt, pt)) | |
def vcs_check(self, edit, path, names, git='git'): | |
+ if not git: | |
+ git = 'git' |
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
~/.themes/Numixol » s aura -Ax numix-circle-icon-theme-git ✓ skrat@apex | |
aura >>= Determining dependencies... | |
aura >>= AUR Packages: | |
numix-circle-icon-theme-git | |
numix-icon-theme-git | |
aura >>= Continue? [Y/n] | |
aura >>= Building `numix-icon-theme-git`... | |
==> Making package: numix-icon-theme-git 0.r39.51e148d-1 (Mon Apr 28 12:07:57 CEST 2014) | |
==> Checking runtime dependencies... |
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
Apr 29 14:44:38 domU-12-31-39-0C-19-9B fleet[2977]: I0429 14:44:38.864789 02977 agent.go:197] Starting Job(tehblog.service) | |
Apr 29 14:44:38 domU-12-31-39-0C-19-9B fleet[2977]: I0429 14:44:38.865582 02977 manager.go:178] Writing systemd unit file tehblog.service | |
Apr 29 14:44:38 domU-12-31-39-0C-19-9B systemd[1]: Reloading. | |
Apr 29 14:44:38 domU-12-31-39-0C-19-9B fleet[2977]: I0429 14:44:38.866375 02977 manager.go:173] Instructing systemd to reload units | |
Apr 29 14:44:39 domU-12-31-39-0C-19-9B systemd[5667]: /usr/lib/systemd/system-generators/gentoo-local-generator failed with error code 1. | |
Apr 29 14:44:39 domU-12-31-39-0C-19-9B systemd[1]: Configuration file /run/systemd/generator/lvm2-activation-net.service is marked world-inaccessible. This has no effect as configuration data is accessible via APIs without restr | |
Apr 29 14:44:39 domU-12-31-39-0C-19-9B systemd[1]: Configuration file /run/systemd/generator/lvm2-activation-early.service is marked world-inaccessible. This has no effect as configuration data is acce |
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
[Unit] | |
Description=Techblog - Wordpress LAMP | |
After=docker.service | |
Requires=docker.service | |
[Service] | |
ExecStart=/usr/bin/bash -c '/usr/bin/docker ps -a | grep tehblog > /dev/null && /usr/bin/docker rm -f tehblog > /dev/null; /usr/bin/docker run --name tehblog -d -p 8081:80 tutum/wordpress' | |
ExecStop=/usr/bin/bash -c '/usr/bin/docker stop tehblog; /usr/bin/docker rm -f tehblog' |
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
i = 0 | |
queue = [] | |
rs_command = (cmd) -> -> new Promise (resolve, reject) -> | |
post(uri: RSWS_URI, json: cmd) | |
.then (result) -> | |
errors = get_errors(result[0].body) | |
if errors.length | |
return reject(errors) | |
resolve(result[0].body) |