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
.text | |
.global main | |
main: | |
# Save the non-volatile registers: | |
pushq %r15 | |
pushq %r14 | |
pushq %r13 | |
pushq %r12 | |
pushq %rbx | |
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
#!/usr/bin/env ruby | |
spread = {} | |
class ShiftRandom | |
def initialize(seed = 1) | |
@seed = seed | |
@accumulator = seed | |
end | |
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
../../bin/atst ../../tgt/t4x4x4.tgt | |
A Terminals nbr=64 | |
A Distance min=-1 max=6 avg=3.04762 dlt=1.83825 | |
../../bin/gbase 1 data/m4x4.grf /tmp/m4x4_b1.grf | |
diff -q "data/m4x4_b1.grf" "/tmp/m4x4_b1.grf" | |
../../bin/gbase 1 data/m4x4_b1.grf /tmp/m4x4_b1.grf | |
diff -q "data/m4x4_b1.grf" "/tmp/m4x4_b1.grf" | |
../../bin/gbase 0 data/m4x4_b1.grf /tmp/m4x4.grf | |
diff -q "data/m4x4.grf" "/tmp/m4x4.grf" | |
../../bin/gmap data/bump.grf ../../tgt/h3.tgt /tmp/bump_h3.map -vmt |
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
#!/usr/bin/env ruby | |
require 'csv' | |
require 'logger' | |
logger = Logger.new($stdout) | |
CSV do |csv| | |
5.times do | |
logger.info "Generating row..." |
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
[ | |
[WebSocket::Driver::OpenEvent, 10000], | |
[WebSocket::Extensions, 10001], | |
[WebSocket::Driver::Headers, 10001], | |
[WebSocket::Driver::StreamReader, 10001], | |
[WebSocket::Driver::Hybi, 10001], | |
[Async::WebSocket::Server, 10001], | |
[Addrinfo, 10001], | |
[Async::HTTP::Protocol::HTTP1::Server, 10001], | |
[HTTP::Protocol::Headers, 10001], |
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
# | |
# This file is part of the "Teapot" project, and is released under the MIT license. | |
# | |
teapot_version "2.3" | |
# Project Metadata | |
define_project "time" do |project| |
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
# This is used in production, but I've extracted everything here, so this particular code is untested, but should work. | |
gem 'async-http-faraday' | |
gem 'async-websocket' | |
gem 'slack-api' | |
require 'slack' | |
require 'async/http/url_endpoint' |
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
* { | |
-webkit-font-smoothing: antialiased; | |
} | |
atom-text-editor { | |
text-rendering: optimizeLegibility; | |
} | |
atom-text-editor.editor .syntax--comment { | |
font-style: normal !important; |
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
0493b1a5afb2044a2bf3b1eb3d7268cbba9027a2d550660e78bbf04e361a26babbd906bf6c91044097d73b2e4927e1d1c532bdf11e6e17bf8866935351de3f9287 |
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
#!/usr/bin/env ruby | |
require 'async/io' | |
require 'async/http/server' | |
require 'async/dns' | |
def print_server | |
Async::Reactor.run do |task| | |
task.async do | |
http_endpoints = Async::IO::Endpoint.tcp('localhost', 8081, reuse_port: true) |