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
IO.popen('ant run') do |io| | |
while (line = io.gets) do | |
puts line | |
end | |
end |
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
ETH_POOL_URL=https://ethermine.org/miners/XXXXXXX | |
SLACK_CH=XXXXXXX | |
wget $ETH_POOL_URL -O - 2>/dev/null \ | |
| w3m -dump -cols 2000 -T 'text/html' \ | |
| grep -E 'Unpaid Balance.*ETH' \ | |
| slack-cli -d $SLACK_CH |
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
version: "2" | |
services: | |
node: | |
build: | |
context: ./ | |
dockerfile: docker/node/Dockerfile | |
volumes: | |
- ./client:/app/client | |
- ./yarn.lock:/app/yarn.lock | |
- node_modules:/app/node_modules |
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 RSpec | |
module Core | |
class Example | |
def run_with_retry(example_group_instance, reporter) | |
@retrying_count = 0 | |
succeeded = run_without_retry(example_group_instance, reporter) | |
unless succeeded | |
return finish_without_retry(reporter) unless retry_needed? |
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
absint | |
activate_plugin | |
activate_plugins | |
activate_sitewide_plugin | |
add_action | |
add_blog_option | |
add_clean_index | |
add_comment_meta | |
add_comments_page | |
add_contextual_help |
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
// ==UserScript== | |
// @name Disable GitHub toolbar hotkey | |
// @namespace https://wanko.cc | |
// @include https://github.com/* | |
// @version 1 | |
// @grant none | |
// ==/UserScript== | |
(function() { | |
var nodes = document.querySelectorAll('.js-toolbar-item[data-toolbar-hotkey]'), i; | |
for (i = 0; i < nodes.length; i++) { |
NewerOlder