Skip to content

Instantly share code, notes, and snippets.

View alexfaber2011's full-sized avatar

Alex Faber alexfaber2011

View GitHub Profile
@alexfaber2011
alexfaber2011 / example-cc-api-log
Last active February 9, 2017 20:18
Example Log
// Note: the error type of the payload is reflected in some way (at the moment it's prepended to every line). I'd be happy to see it anywhere.
// The errorStack and recentActions values are bound to be very long, that's ok (in my opininon anyway). If necessary, since they're
// strings they can easily be parsed and, recentActions especially, can be placed into a tool such as http://www.jsoneditoronline.org/
// for easy viewing.
JAN 01 15:00:00: ERROR ===== ERROR PAYLOAD BEGIN =====
JAN 01 15:00:00: ERROR providerName: algonquin
JAN 01 15:00:00: ERROR providerId: a789c-12789-....
JAN 01 15:00:00: ERROR userAgent: Mozilla/5.0 AppleWebKit/537.36 Chrome/56.0.2924.87
JAN 01 15:00:00: ERROR error: TypeError: Cannot read property 'id' of undefined
@alexfaber2011
alexfaber2011 / gist:0d02eb3bdb80d543fed15c62f95d1673
Last active March 2, 2017 14:59
Rows Inserted into api_app_buildentry
id | buildset | filename | app | md5_url | url | build | version | created_at | updated_at | successor_id |
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
dbc0d9c0-70f0-4219-9cd7-18b04332057a | NULL | build.gif | FUSION | http://example.com/md/develop.tar | http://example.com/3.tar | p3900 | 1.7 | 2017-03-02 00:00:00+00 | 2017-03-02 00:00:00+00 | NULL |
2719cf7a-1d1e-42fa-95f4-2a21eb98d3d7 | develop | develop.gif | FUSION | http://example.com/md/develop.tar | http://example.com/3.tar | p3900 | 1.7 | 2017-03-02 00:00:00+00 | 2017-03-02 00:00:00+00 | NULL |
@alexfaber2011
alexfaber2011 / .vimrc
Created April 22, 2019 17:11
Alex's semi-ultra-dank .vimrc
" Specify a directory for plugins
" - Avoid using standard Vim directory names like 'plugin'
call plug#begin('~/.vim/plugged')
" Make sure you use single quotes
" Shorthand notation; fetches https://github.com/junegunn/vim-easy-align
Plug 'itchyny/lightline.vim'
Plug 'airblade/vim-gitgutter'
Plug 'leafgarland/typescript-vim'
Attaching to emqb_integration_1
integration_1 | cp: cannot create regular file '/bundle/ruby/2.5.0/bundler/gems/friendly_id-8531cdce5737/test/sequentially_slugged_test.rb': File exists
integration_1 | cp: cannot create directory '/bundle/ruby/2.5.0/bundler/gems/jquery-datatables-rails-ff67ccfd7b06/app/assets/images': File exists
integration_1 | cp: cannot create regular file '/bundle/ruby/2.5.0/bundler/gems/prawn-rails-87462a0561f4/.git/hooks/pre-receive.sample': File exists
integration_1 | cp: cannot create directory '/bundle/ruby/2.5.0/bundler/gems/prawn-rails-87462a0561f4/.git/logs': File exists
integration_1 | cp: cannot create regular file '/bundle/ruby/2.5.0/bundler/gems/prawn-rails-87462a0561f4/test/dummy/config/boot.rb': File exists
integration_1 | cp: cannot create directory '/bundle/ruby/2.5.0/bundler/gems/prawn-rails-87462a0561f4/test/dummy/db': File exists
integration_1 | cp: cannot create regular file '/bundle/rub
<nix-shell> ~/R/e/app-native (detox|✚4) $ detox test --configuration android --loglevel trace
detox[70101] INFO: [test.js] DETOX_CONFIGURATION="android" DETOX_FORCE_ADB_INSTALL=false DETOX_LOGLEVEL="trace" DETOX_READ_ONLY_EMU=false DETOX_REPORT_SPECS=true DETOX_START_TIMESTAMP=1611786051573 DETOX_USE_CUSTOM_LOGGER=true jest --config e2e/config.json --testNamePattern '^((?!:ios:).)*$' --maxWorkers 1 e2e
detox[70102] TRACE: [Detox.js/DETOX_CREATE] created a Detox instance with config:
{"artifactsConfig":{"rootDir":"artifacts/android.2021-01-27 22-20-51Z","plugins":{"log":{"enabled":false,"keepOnlyFailedTestsArtifacts":false},"screenshot":{"enabled":true,"shouldTakeAutomaticSnapshots":false,"keepOnlyFailedTestsArtifacts":false},"video":{"enabled":false,"keepOnlyFailedTestsArtifacts":false},"instruments":{"enabled":false,"keepOnlyFailedTestsArtifacts":false},"timeline":{"enabled":false},"uiHierarchy":{"enabled":false,"keepOnlyFailedTestsArtifacts":false}},"pathBuilder":{"_rootDir":"artifacts/android.2021-01-27 2