Co się rzuca w oczy ?
- X-Magnolia-Registration
- Pliki wydają się zorganizowane w moduły
- /.resources/XXX-module
- /webresources/js/frontend_components/requirejs/require.js
- Kameleoon A/B Testing
- JSESSIONID=web1~
- X-Waf-V
Co się rzuca w oczy ?
| require "http/server" | |
| require "base64" | |
| # require "yaml" | |
| # data = <<-YAML | |
| # --- | |
| # multi line string: ''' | |
| # one line | |
| # second line | |
| # third line |
| require "json" | |
| # Remember depth and key's name of JSON object | |
| class GlobalContext | |
| property global_context = {} of Float32 => String | Int32 | Float64 | JSON::Any | |
| property key_or_value = {} of String => String | |
| def start(parsed) | |
| global_context[0.0] = parsed.first_key | |
| # https://crystal-lang.org/api/1.16.3/Enumerable.html#each%28%26%3AT-%3E%29-instance-method |
| mklink /d "C:\Users\pszen\AppData\Local\.dartServer" "D:\AppData\Local\.dartServer" |
To coś ma podobno pomóc przyszłym twórcom piszącym rozszerzenia do Ardoongi.
Ostrzeżenie: Istnieją minimum 4 grupy ludzi.
Zawsze uważałem, że Twine ma najlepszy format plików opowieściowych. Więc kiedy zachciało mi się zrobić coś w stylu retro lochów. Powstało takie coś.
extern char* word[] = {| module Main | |
| let log = (b: Number, x: Number) => { | |
| for (let mut i = 0; i < 1000; i += 1) { | |
| if (b ** i == x) return i | |
| } | |
| return 0 | |
| } | |
| print(log(2, 16)) |
| @[Link("iwasm")] | |
| lib LibWasm | |
| struct WASMModuleCommon | |
| buffer : UInt8* | |
| binary_file : UInt32 | |
| io_error : LibC::Char* | |
| io_error_bytesize : UInt32 | |
| end | |
| struct WASMModuleInstanceCommon |
| run = "crystal run main.cr" | |
| # crystal build main.cr --cross-compile --target wasm32-unknown-wasi | |
| # wasm2wat main.wasm -o main.wat | |
| ## wasm2c main.wasm --no-debug-names -o main.c | |
| ## gcc -O3 -march=native -c main.c -o main.o | |
| entrypoint = "main.cr" | |
| [nix] | |
| channel = "stable-23_11" |