Skip to content

Instantly share code, notes, and snippets.

Avatar
🏠
Creating a serverless, offline-first, single page progressive web app with VueJS

Martin H. Bramwell martinhbramwell

🏠
Creating a serverless, offline-first, single page progressive web app with VueJS
View GitHub Profile
@martinhbramwell
martinhbramwell / KRKN Private.postman_collection.json
Created July 31, 2021 22:43
Postman Collection for Kraken Rest API
View KRKN Private.postman_collection.json
{
"info": {
"_postman_id": "d7e3ee8c-fc3b-4aca-bc0b-3f4afc890eb6",
"name": "Kraken",
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
},
"item": [
{
"name": "Private",
"item": [
@martinhbramwell
martinhbramwell / ErpNextQikInstall_0.sh
Last active June 15, 2022 22:31
Install ERPNext on Ubuntu Bionic 18.04 LTS and Focal 20.04 LTS
View ErpNextQikInstall_0.sh
#!/usr/bin/env bash
#
export MYPWD=""; # MySQL password
export ADMPWD=""; # Administrator password
export THESITE="my site"; # Site name
export USERCTX=".profile";
source ${HOME}/${USERCTX};
if [ "${BASH_SOURCE[0]}" -ef "$0" ]
@martinhbramwell
martinhbramwell / gist:2cc31570c5a5a490d0983cfdf9eb8acb
Last active April 17, 2022 16:01
Full log of `bench migrate` error
View gist:2cc31570c5a5a490d0983cfdf9eb8acb
# -----------------------------------------------------------------------
# Alias configuration: 'erpls' «begins»
# Alias 'erpls' binds to remote user 'erpadm@erp.logichem.solutions'
Host erpls
User erpadm
HostName erp.logichem.solutions
ServerAliveInterval 120
ServerAliveCountMax 20
IdentityFile /home/hasan/.ssh/erpadm_logichem_solutions
# Alias configuration: 'erpls' «ends»
View gist:11540118084454aa0a6a596611363aa7
snyk wizard --debug
snyk wizard { _: [ [Circular] ], debug: true } +0ms
snyk ~~~~ LIVE RUN ~~~~ +0ms
snyk sending request to: https://snyk.io/api/v1/verify/token +0ms
snyk request body size: 2 +0ms
snyk gzipped request body size: 22 +0ms
snyk not using proxy +1ms
snyk not using proxy +2s
Snyk's wizard will:
View WaitForExistError.md

So, what has me hysterical is the seeming random behavior. Sometimes it works, sometimes it does not. When it fails, the selected item is clearly visible on screen for the entire 60 second wait. Screenshots also show it's available all the time, and there is no consistency about which scenario will succeed or fail.

The problematic step is And I have elected to edit the "Graphic Designer" item,

One call to the stepDef looks like this :

  @watch
  Scenario: Verify field validation
WARNING: the "timeoutsImplicitWait" command will be depcrecated soon. Please use a different command in order to avoid failures in your test after updating WebdriverIO.

Given I have opened the books list page : "http://localhost:3000/books"

@martinhbramwell
martinhbramwell / BuildAndRun.log
Last active January 15, 2017 18:56
GitHunt-API crash
View BuildAndRun.log
you@hab4metdev:~/projects/githunt$
you@hab4metdev:~/projects/githunt$ git clone git@github.com:your0rg/GitHunt-API.git
Cloning into 'GitHunt-API'...
remote: Counting objects: 1558, done.
remote: Compressing objects: 100% (93/93), done.
remote: Total 1558 (delta 76), reused 0 (delta 0), pack-reused 1465
Receiving objects: 100% (1558/1558), 3.29 MiB | 4.36 MiB/s, done.
Resolving deltas: 100% (957/957), done.
Checking connectivity... done.
you@hab4metdev:~/projects/githunt$
View Backtrace for hab pkg search
@martinhbramwell
martinhbramwell / your0rg_todos.toml
Last active October 6, 2016 21:42
Script to launch a Habitat package in the Director
View your0rg_todos.toml
# Launch billmeyer.mongodb with --group todos and --org your0rg
# Additionally, pass in --permanent-peer to the start command
[cfg.services.billmeyer.mongodb.todos.your0rg]
start = "--permanent-peer --strategy at-once"
# Launch the todos into the same group and org. No config required
[cfg.services.your0rg.todos.todos.your0rg]
View CircleCI Chimp Debug Log
chimp .e2e_tests/chimp-config.js --browser=phantomjs --ddp=http://localhost:3000 --debug --path=.e2e_tests
[chimp] loaded /home/ubuntu/meteor-mantra-kickstarter/.e2e_tests/chimp-config.js
[chimp] Chimp options are { watch: false,
watchTags: '@focus,@dev,@watch',
watchWithPolling: false,
criticalSteps: null,
criticalTag: '@critical',
server: false,
serverPort: 8060,
serverHost: 'localhost',
@martinhbramwell
martinhbramwell / mix-ide.log
Last active May 2, 2016 17:50
Messy startup log file of Ethereum Mix IDE. Mix 1.0.3. Solidity 0.3.2. Qt 5.5.1
View mix-ide.log
you@xubxenmix:~$ ls -l /etc/apt/sources.list.d
total 12
-rw-r--r-- 1 root root 144 May 2 13:27 ethereum-ubuntu-ethereum-qt-xenial.list
-rw-r--r-- 1 root root 138 May 2 13:27 ethereum-ubuntu-ethereum-xenial.list
you@xubxenmix:~$ cat /etc/apt/sources.list.d/ethereum-ubuntu-ethereum-qt-xenial.list
deb http://ppa.launchpad.net/ethereum/ethereum-qt/ubuntu xenial main
you@xubxenmix:~$ cat /etc/apt/sources.list.d/ethereum-ubuntu-ethereum-xenial.list
deb http://ppa.launchpad.net/ethereum/ethereum/ubuntu xenial main