Skip to content

Instantly share code, notes, and snippets.

View rchasman's full-sized avatar
🥳

Roey D. Chasman rchasman

🥳
View GitHub Profile
Uncaught TypeError: Cannot read properties of undefined (reading 'duration')
------
TypeError
Cannot read properties of undefined (reading 'duration')
TypeError: Cannot read properties of undefined (reading 'duration')
at initialize.getFirstTick (file:///Users/<user>/Library/Application%20Support/Steam/steamapps/common/Vampire%20Survivors/Vampire_Survivors.app/Contents/Resources/app/.webpack/renderer/vendors.bundle.js:2:238231)
at initialize.startAnimation (file:///Users/<user>/Library/Application%20Support/Steam/steamapps/common/Vampire%20Survivors/Vampire_Survivors.app/Contents/Resources/app/.webpack/renderer/vendors.bundle.js:2:224898)
at initialize.play (file:///Users/<user>/Library/Application%20Support/Steam/steamapps/common/Vampire%20Survivors/Vampire_Survivors.app/Contents/Resources/app/.webpack/renderer/vendors.bundle.js:2:224488)
at initialize.onComplete (file:///Users/<user>/Library/Application%20Support/Steam/steamapps/common/Vampire%20Survivors/Vampire_Survivors.app/Contents/Resources/app/.webpa
@rchasman
rchasman / gist:24809cd474a6c56c4c7d0cd293c4afbf
Last active May 13, 2021 22:00
Lawmatics Client - Jest Test Code Coverage
-------------------------------|---------|----------|---------|---------|-------------------
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
-------------------------------|---------|----------|---------|---------|-------------------
All files | 52.84 | 35.73 | 41.96 | 53.72 |
boost-client | 100 | 100 | 100 | 100 |
jest.transform.style.js | 100 | 100 | 100 | 100 |
boost-client/kit/lib | 100 | 50 | 100 | 100 |
redux.js | 100 | 50 | 100 | 100 | 34
boost-client/src/actions | 17.95 | 25 | 23.33 | 18.42 |
customFormActions.js | 46.67 | 50 | 46.67 | 46.67 | 21-48,74,88-95
[~/boost/lm-pdf-service]$ cloc . [develop][ruby-2.6.5]
153 text files.
118 unique files.
88 files ignored.
github.com/AlDanial/cloc v 1.88 T=0.23 s (353.1 files/s, 118259.9 lines/s)
-------------------------------------------------------------------------------
Language files blank comment code
-------------------------------------------------------------------------------
JSON 26 3 0 24746
@rchasman
rchasman / gist:bce0a870dfcf2fa0a866a68fe48c1eb0
Last active May 12, 2021 22:30
automation-engine lines of code
[~/boost/automation-engine]$ cloc . [develop][ruby-2.6.5]
125 text files.
120 unique files.
23 files ignored.
github.com/AlDanial/cloc v 1.88 T=0.22 s (468.9 files/s, 106927.3 lines/s)
-------------------------------------------------------------------------------
Language files blank comment code
-------------------------------------------------------------------------------
Java 86 1540 495 7846
@rchasman
rchasman / gist:63565924951a33f228fa97e541a72ffa
Last active May 12, 2021 22:29
boost-infra lines of code
[~/boost/boost-infra]$ cloc . [develop][ruby-2.6.5]
112 text files.
100 unique files.
35 files ignored.
github.com/AlDanial/cloc v 1.88 T=0.11 s (766.1 files/s, 66133.8 lines/s)
-------------------------------------------------------------------------------
Language files blank comment code
-------------------------------------------------------------------------------
HCL 65 833 213 5732
JSON 9 0 0 157
@rchasman
rchasman / gist:027835dadac18a69349288ad0be7c5a9
Last active May 12, 2021 22:27
boost-api lines of code
[~/boost/boost-api]$ cloc . [develop][ruby-2.6.5@boostlegal-api]
2563 text files.
2540 unique files.
149 files ignored.
github.com/AlDanial/cloc v 1.88 T=19.12 s (131.7 files/s, 53618.2 lines/s)
--------------------------------------------------------------------------------
Language files blank comment code
--------------------------------------------------------------------------------
HTML 23 388995 3 351313
JSON 4 1 0 149585
@rchasman
rchasman / gist:1672466f4490fdecc9c4fb546d2cb7df
Last active May 12, 2021 22:26
boost-client lines of code (without node_modules)
[~/boost/boost-client]$ cloc --exclude-dir=node_modules . [develop][ruby-2.6.5]
1817 text files.
1810 unique files.
24 files ignored.
github.com/AlDanial/cloc v 1.88 T=7.60 s (236.5 files/s, 147131.5 lines/s)
-------------------------------------------------------------------------------
Language files blank comment code
-------------------------------------------------------------------------------
JavaScript 970 161860 63192 818818
JSON 10 0 0 48825
{"page"=>{"body"=>{"type"=>"mailup-bee-page-properties", "content"=>{"style"=>{"color"=>"#000000", "font-family"=>"Montserrat, Trebuchet MS, Lucida Grande, Lucida Sans Unicode, Lucida Sans, Tahoma, sans-serif"}, "computedStyle"=>{"linkColor"=>"#00AEAF", "messageWidth"=>"580px", "messageBackgroundColor"=>"transparent"}}, "webFonts"=>[{"url"=>"https://fonts.googleapis.com/css?family=Open+Sans", "name"=>"Open Sans", "fontFamily"=>"'Open Sans', sans-serif"}, {"url"=>"https://fonts.googleapis.com/css?family=Roboto", "name"=>"Roboto", "fontFamily"=>"'Roboto', sans-serif"}], "container"=>{"style"=>{"background-color"=>"#FFFFFF"}}}, "rows"=>[{"type"=>"row-1-columns-12", "uuid"=>"9f5a7239-6a90-400c-8177-3b200a3a5a42", "locked"=>false, "columns"=>[{"uuid"=>"85af27dd-ef27-4dd0-965e-8883cc58d762", "style"=>{"border-top"=>"0px solid transparent", "border-left"=>"0px solid transparent", "padding-top"=>"0px", "border-right"=>"0px solid transparent", "padding-left"=>"0px", "border-bottom"=>"0px solid transparent", "padding-r
From Bobby OROZCO to All panelists and other attendees: (11:03 AM)

SMOKEBALL!!!!

From Kira Fonteneau to All panelists and other attendees: (11:04 AM)

Yes!!!

From Josh Camson to All panelists and other attendees: (11:04 AM)

awkward

From Jordan Ostroff to All panelists and other attendees: (11:04 AM)

Mycase will not with ANYONE.

From Brian Reidy to All panelists and other attendees: (11:11 AM)

Birthday email is a great idea!

@rchasman
rchasman / -
Created December 30, 2019 07:43
const quantityInput = document.getElementsByClassName('product-quantity-input')[0];
const unitPriceElement = document.getElementsByClassName('unit-price item')[0].getElementsByClassName('value')[0];
const totalPriceElement = document.getElementsByClassName('subtotal item')[0].getElementsByClassName('value')[0];
const setQty = val => {
const e = document.createEvent('HTMLEvents');
e.initEvent('change', false, false);
quantityInput.dispatchEvent(e);
quantityInput.value = val;
}
const currUnitPrice = () => Number(unitPriceElement.textContent.replace("$", "")) || 0;