Skip to content

Instantly share code, notes, and snippets.

View kianenigma's full-sized avatar

Kian Paimani kianenigma

View GitHub Profile
front.call({
servicePath: req.query['service_path']}, () => {...})
$npm install -g xyz-cli
{
"nodes": [
{
"path": "./front.js",
"port": 4000,
"stdio": "file"
},
{
"path": "./client.js",
"port": 5000,
/project-dir
- client.js
- worker.js
- front.js
- xyz.json
// and probably:
- node_modules
- package.json
- /log
- [email protected]:4000.log
xyz dev -c xyz.json
[email protected]:4000 successfully lunched. writing output to file [--xyz-transport.0.port 4000 --xyz-cli.enable true --xyz-cli.stdio file ]
creating logfile ./log/[email protected]:4000.log
process [email protected]:5000 successfully lunched. writing output to file [--xyz-transport.0.port 5000 --xyz-cli.enable true --xyz-cli.stdio file ]
creating logfile ./log/[email protected]:5000.log
process [email protected]:6000 successfully lunched. writing output to file [--xyz-transport.0.port 6000 --xyz-cli.enable true --xyz-cli.stdio file ]
creating logfile ./log/[email protected]:6000.log
┌───────┬──────────────────────────┬──────────────────────────────────────────────────────────────────────────────────┐
│ Index │ Identifier │ command line arguments │
├───────┼──────────────────────────┼──────────────────────────────────────────────────────────────────────────────────┤
│ 0 │ [email protected]:4000 │ --xyz-transport.0.port 40
const trace = require('@risingstack/trace')
{
"nodes": [
{
"path": "./front.js",
"port": 4000,
"stdio": "file",
"env": "TRACE_API_KEY {YOUR_API_KEY} TRACE_SERVICE_NAME front"
},
{
@kianenigma
kianenigma / Razer Blade Stealth 13 2019 - Linux Mint Installation
Created March 10, 2019 20:51
Notes on multiple attempts to install Linux Mint 19 on Razer Blade Stealth 2019
Dual booted with windown boot laoder via:
- 100GB / root exe4 journal file system
- 16GB Swap (might be too much --only used over heavy load)
Initial system had the following (annoying issues) + Fixes
- No drivers work properly: Mouse is laggy + wifi is super slow
- Update the kernel immediately
[🤑][Era 832, block 2459331] Submit election solution with score [16500990000000000, 5451745585255556702, 121988327374654936401385614129377354] // Event = Event::system(RawEvent::ExtrinsicSuccess(DispatchInfo { weight: 100000000000, class: DispatchClass::Normal, pays_fee: Pays::Yes }))
[✅][Era 832, block 2459336] Submit election solution with score [16500990000000000, 5451745585255556702, 121928348238755152494872377607573740] // Event = Event::system(RawEvent::ExtrinsicSuccess(DispatchInfo { weight: 100000000000, class: DispatchClass::Normal, pays_fee: Pays::Yes }))
[🤑][Era 831, block 2455752] Submit election solution with score [16500990000000000, 5457922662903153046, 122516317281139247930906780823341868] // Event = Event::system(RawEvent::ExtrinsicSuccess(DispatchInfo { weight: 100000000000, class: DispatchClass::Normal, pays_fee: Pays::Yes }))
[🤑][Era 830, block 2452163] Submit election solution with score [15916084254215304, 5439474364711962868, 121522850471876681634293188216488588] // Event = Event::syste