I hereby claim:
- I am jeriko on github.
- I am dandavey (https://keybase.io/dandavey) on keybase.
- I have a public key ASA-50glfWT2C2DLG4CmIR-7X_cVj3Zhl_KAXfyZwvxfPgo
To claim this, I am signing this object:
| if (typeof variableName == 'undefined') { | |
| const process = { env: {} } | |
| // the browser complained about "process" not existing in readable package | |
| } | |
| import axios from 'axios' | |
| import qs from 'qs'; | |
| let tokenCache; |
| import requests | |
| import os | |
| import json | |
| import time | |
| from io import BytesIO | |
| token_cache = None | |
| def get_token(): |
| name: DansProxy | |
| description: |+ | |
| host: EXCEL | |
| api_set: {} | |
| script: | |
| content: | | |
| /** | |
| * Asks gpt stuff via a proxy in replit | |
| * @customfunction |
I hereby claim:
To claim this, I am signing this object:
| var api = { | |
| move: Move, | |
| reset: Reset, | |
| read: function(selector) { return parseInt($(selector).innerHTML); } | |
| }; | |
| var scores = { | |
| man: function() { return api.read('#manscore'); }, | |
| machine: function() { return api.read('#machscore'); } | |
| }; |
| $('#header').remove() | |
| function transpose_page(semitone_shift) { | |
| $('u > a').each(function() { | |
| old_chord = $(this).attr('rel'); | |
| new_chord = transpose_chord(old_chord, semitone_shift); | |
| $(this).html(new_chord); | |
| }); |
| function transpose_page(semitone_shift) { | |
| $('u > a').each(function() { | |
| old_chord = $(this).attr('rel'); | |
| new_chord = transpose_chord(old_chord, semitone_shift); | |
| $(this).html(new_chord); | |
| }); | |
| function transpose_chord(chord, semitone_shift) { |
| doctype 5 | |
| = ie_conditional_classes do | |
| head | |
| meta charset="utf-8" | |
| meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" | |
| title Cool App | |
| meta name="viewport" content="width=device-width" | |
| = stylesheet_link_tag "application", media: "all" | |
| = javascript_include_tag "modernizr" |
| # TODO | |
| # ** see: https://gist.github.com/32e0c32677055ea94361 | |
| # 1. init git repo | |
| # git :init | |
| # git :add => "." | |
| # git :commit => "-a -m 'blank rails app'" | |
| # # TODO add remotes? | |
| # |
| class AppBuilder < Rails::AppBuilder | |
| include Thor::Actions | |
| include Thor::Shell | |
| # Express app templating for Rails | |
| # ------------------------------------ | |
| # USAGE: | |
| # 1. Add gems to `gem_dependencies` | |
| # 2. Methods listed in SCRIPTS will be run after bundling, so make sure they each have a declaration | |
| # 3. run: `rails new app_name --builder=path/to/builder.rb` (URI's work here too) |