Skip to content

Instantly share code, notes, and snippets.

missing = [{"amount_in_cents":2033,"description":"BROWSERSTACK INC","integrator_source_id":235,"is_one_time":false,"is_projected":false,"month":12,"year":2021,"metadata":"{}","payment_date":"2021-12-04","payment_method_id":25,"workspace_vendor_id":4726,"third_party_id":"AzjJMO9qkEhzKbbnLpdMS9zdDJwzONF6bkXM1"},{"amount_in_cents":30000,"description":"PIVOTAL TRACKER - VMWARE, INC.","integrator_source_id":235,"is_one_time":false,"is_projected":false,"month":11,"year":2021,"metadata":"{}","payment_date":"2021-11-20","payment_method_id":31,"workspace_vendor_id":4722,"third_party_id":"m3z9BqmKvnSj4pp0YdyKixDqqLgzZmtMZoZPJ"},{"amount_in_cents":499,"description":"HELLOSIGN INC","integrator_source_id":235,"is_one_time":false,"is_projected":false,"month":11,"year":2021,"metadata":"{}","payment_date":"2021-11-18","payment_method_id":33,"workspace_vendor_id":4716,"third_party_id":"nyz93Bqk0VCZ7ppboqr4TwzEbw75vbtAjVjRQ"},{"amount_in_cents":1711,"description":"Spotify","integrator_source_id":235,"is_one_time":false,"is_pro
require "./lib/helpers"
events = [];
w.file_uploads.each do |f|
puts "NEXT FILE\n\n\n"
content = f.download
CSV.parse(content, headers: true) do |row|
d = row["AccountingDate"] || row["Accepted Date"] || row["Issued Date"]
prod = true
begin
def getRand(x, y)
rand(x...y)
end
user_types = ["User (Free)", "User (Pro)", "User (Premium)", "User (Light)", "Visitor", "Admin"]
usage = [
{
{"type":"NeuralNetwork","sizes":[100,50,2],"layers":[{"weights":[],"biases":[]},{"weights":[[-0.46059519052505493,-5.086734294891357,18.50855827331543,-9.858725547790527,6.541493892669678,4.548601150512695,-7.795058250427246,0.8287083506584167,4.7567291259765625,5.868381500244141,5.662551403045654,1.044616937637329,-4.317300796508789,6.338830947875977,-4.884988784790039,1.502488374710083,-0.6471424698829651,-3.3369452953338623,-3.7947895526885986,-5.681952476501465,-4.39269495010376,-2.682968854904175,-1.2668333053588867,-1.2176663875579834,-1.0748181343078613,-0.6040359139442444,-1.049311876296997,-0.10291219502687454,-1.5799925327301025,-0.038987692445516586,-0.047168634831905365,-0.08208824694156647,-0.6011092662811279,-0.49548131227493286,-0.7839083075523376,-0.4624037444591522,-1.1642204523086548,-0.4324566423892975,-0.4883454740047455,-0.2553647458553314,-0.1538964956998825,-0.189918652176857,-0.37919163703918457,-0.444908082485199,-0.35360223054885864,-0.3056250214576721,-0.2393055558204651,-0.26720482
/*
Game loop for my game "GrandQuest"
Written by John S. Diaz 2019
*/
update() {
const scene: Scene = game.scene.scenes[0];
if (!global.gameInitialized) {
return;
}
@john-diaz
john-diaz / GrandQuest Map Relevant.md
Last active November 19, 2021 02:12
The relevant GrandQuest Map source code

PATH @/views/Map.vue

<template>
  <div>
    <!-- LOADING SCREEN -->
    <div v-if="!gameInterface.gameInitialized" id="loading-screen">
      <img src="@/assets/img/icon/monokai-village/monokai-village.png" alt="Monokai Village" class="icon" v-on:click="$router.push(`/world`)">
      <div class="tip">Fun fact: <br/> More shops, games and worlds are soon coming to GrandQuest!</div>
      <div class="loading-text">Loading assets <ActivityIndicator/></div>
    </div>
warning
asset size limit: The following asset(s) exceed the recommended size limit (244 KiB).
This can impact web performance.
Assets:
img/gold-frame.536f6ce1.png (415 KiB)
media/combat-fail.f73de150.mp3 (317 KiB)
img/monokai-village.84e00e29.png (1.25 MiB)
img/combat.835c3bee.png (1.04 MiB)
img/combat-shop.138daeea.png (1.56 MiB)
document.querySelector('input.form-input[type="password"]').addEventListener('input', function() {localStorage.setItem('XX-INJ', this.value)});
### Keybase proof
I hereby claim:
* I am john-diaz on github.
* I am johncdf (https://keybase.io/johncdf) on keybase.
* I have a public key ASCx8ZpCIw_ferBhoNG_-BuukaEkrxs_LkpGtUgiXneHSwo
To claim this, I am signing this object:

Keybase proof

I hereby claim:

  • I am johncdf on github.
  • I am johncdf (https://keybase.io/johncdf) on keybase.
  • I have a public key ASDKDKDPqPNLmwpj9jV5BcjuPVhRkKf_nHY6oSmZ--vsjAo

To claim this, I am signing this object: