- Source code: https://github.com/bludnic/opentrader
- Binaries: https://www.npmjs.com/package/opentrader
These packages can be imported everywhere
- types: Defines types and interfaces used in the whole project.
These packages can be imported everywhere
That's what I had to use after installing a few other browsers in Linux. Apparently one of them had reset some of the settings. Garcon_host_browser is the link application which will pass the URL to be opened to the Chrome browser on the ChromeOS side.
unset BROWSER
xdg-settings set default-web-browser garcon_host_browser.desktop
sudo xdg-settings set default-web-browser garcon_host_browser.desktop| function findElements(textContent, selector = "*") { | |
| const elements = document.querySelectorAll(selector); | |
| return Array.prototype.slice | |
| .call(elements) | |
| .filter((el) => el.textContent === textContent); | |
| } | |
| function findElement(textContent, selector = "*") { | |
| const elements = findElements(textContent, selector); |
Docs: https://github.com/Adamant-im/adamant/wiki/API-Specification#get-node-version
Request
GET https://endless.adamant.im/api/node/status| { | |
| async createTransaction(address = '', amount = 0, fee) { | |
| const unspents = await this.getUnspents() | |
| // populate with txHex <-- | |
| for (const unspent of unspents) { | |
| const txHex = await this._get(`/tx/${unspent.txid}/hex`) | |
| unspent.txHex = txHex | |
| } |
| #!/bin/bash | |
| # Enabling ChromeOS keyboard shortcuts in Linux apps | |
| # @see https://www.reddit.com/r/Crostini/wiki/enable-chrome-shortcuts-in-linux-apps/#wiki_enabling_chrome_keyboard_shortcuts_in_linux_apps | |
| # | |
| # The following key shortcuts will be added: | |
| # | |
| # Super_L (known as Search Key or Launcher key) | |
| # <Alt> + [ | |
| # <Alt> + ] |
| { | |
| "waypoints": [ | |
| { "cityId": 625144, "stops": [{ "name": "Минский вокзал" }] }, | |
| { "cityId": 625743, "stops": [{ "name": "Лепельский вокзал" }] }, | |
| { "cityId": 620127, "stops": [{ "name": "Витебский вокзал" }] }, | |
| { "cityId": 625665, "stops": [{ "name": "Могилевский вокзал" }] } | |
| ], | |
| "legs": [ | |
| { "fromCityId": 625144, "toCityId": 625665, "price": 730 }, | |
| { "fromCityId": 620127, "toCityId": 625665, "price": 310 }, |
| { | |
| "partner": "atlas", | |
| "meta": { | |
| "domains": [ | |
| "atlasbus.ru", | |
| "atlasbus.by" | |
| ], | |
| "logoURL": "", | |
| "billingID": 0, | |
| "countries": [ |
| { | |
| "partner": "m7", | |
| "meta": { | |
| "domains": [ | |
| "beta.www.atlasbus.app", | |
| "m7.by" | |
| ], | |
| "logoURL": "https://storage.googleapis.com/static.frontend.atls.cc/saas/m7.by/m7.by.svg", | |
| "billingID": 106, | |
| "partnerID": "m7", |
| { | |
| "partner": "jaguar", | |
| "meta": { | |
| "domains": ["pinsk.testing.atlasbus.by", "localhost:3000"], | |
| "logoURL": "https://storage.googleapis.com/testing.static.frontend.atls.cc/jaguar.svg", | |
| "carriers": [ | |
| { | |
| "carrierId": "77", | |
| "connector": "atlas" | |
| } |