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
### Keybase proof | |
I hereby claim: | |
* I am ngmaloney on github. | |
* I am gnarco (https://keybase.io/gnarco) on keybase. | |
* I have a public key ASBtQYsM8i3EpzkdqEjWdKu4kL8zhVupFx4R4IPTTckSkgo | |
To claim this, I am signing this object: |
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 "duktape" | |
class Typescript | |
TYPESCRIPT_PATH = "deps/libs/ts/typescriptServices.js" | |
def initialize(ts_file : String) | |
@ts_file = ts_file | |
@ctx = Duktape::Sandbox.new | |
@ctx.eval!("ts = require('typescript')") | |
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
package main | |
import ( | |
"crypto/rand" | |
"encoding/hex" | |
"encoding/json" | |
"log" | |
"net/http" | |
"strings" |
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 'rmagick' | |
require 'rtesseract' | |
## Utility for extracting the map page from a survey_map pdf | |
class Utils::MapExtract | |
attr_reader :pdf_file, :images | |
def initialize(pdf_file) | |
@pdf_file = pdf_file | |
@images = [] |
OlderNewer