Command Line
pry -r ./config/app_init_file.rb- load your app into a pry session (look at the file loaded by config.ru)pry -r ./config/environment.rb- load your rails into a pry session
Debugger
| use std::sync::atomic::{AtomicBool, Ordering}; | |
| pub trait Loader { | |
| fn load(&self, name: &str); | |
| } | |
| struct ResourceLoader; | |
| impl Loader for ResourceLoader { | |
| fn load(&self, name: &str) { | |
| println!("load {}", name); |
| <html> | |
| <head> | |
| <meta charset="utf-8"> | |
| <meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
| <title>PICO-8 Cartridge</title> | |
| <meta name="description" content=""> | |
| <STYLE TYPE="text/css"> | |
| <!-- |
| using UnityEngine; | |
| using UnityEngine.Tilemaps; | |
| public class ChangeTiles : MonoBehaviour | |
| { | |
| private Tilemap tilemap; | |
| void Start() | |
| { | |
| // @fixme |
| import aiohttp | |
| import asyncio | |
| import logging | |
| from tqdm import tqdm | |
| USERNAME = "" | |
| PASSWORD = "" | |
| LOGIN_URL = "" |
| costs = [3,5,9] | |
| value = [5,9,16] | |
| volume = 1303 | |
| # solutions | |
| opts = set() | |
| opts.add(tuple([0])) | |
| # calc total value |
Command Line
pry -r ./config/app_init_file.rb - load your app into a pry session (look at the file loaded by config.ru)pry -r ./config/environment.rb - load your rails into a pry sessionDebugger