This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const { app, BrowserWindow } = require('electron'); | |
app.whenReady().then(async () => { | |
const win = new BrowserWindow({ | |
width: 800, | |
height: 600, | |
show: false, | |
webPreferences: { | |
offscreen: true, | |
}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apt-get install -y --no-install-recommends \ | |
git \ | |
build-essential \ | |
zip \ | |
nasm \ | |
python3 \ | |
python3-dev \ | |
autoconf \ | |
gperf \ | |
xsltproc \ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'use strict'; | |
// Authored 2018-10-26 Chase Colman | |
var Util = (function() { | |
/** | |
* combinate visitor callback | |
* @callback Util~combinateCallback | |
* @param {[]} combination - currently visited combination | |
* @return {boolean} - terminates combinate if true | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FAIL src/renderers/shared/fiber/__tests__/ReactTopLevelFragment-test.js | |
● ReactTopLevelFragment › should render a simple fragment at the top of a component | |
ReferenceError: shouldTrackSideEffects is not defined | |
at deleteRemainingChildren (src/renderers/shared/fiber/ReactChildFiber.js:76:8) | |
at reconcileChildFibers (src/renderers/shared/fiber/ReactChildFiber.js:767:12) | |
at reconcileChildrenAtPriority (src/renderers/shared/fiber/ReactFiberBeginWork.js:83:30) | |
at reconcileChildren (src/renderers/shared/fiber/ReactFiberBeginWork.js:71:5) | |
at updateHostComponent (src/renderers/shared/fiber/ReactFiberBeginWork.js:285:7) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Author: Alexander Rodin <[email protected]> | |
# License: MIT | |
BUILD_DIR=build | |
while getopts "hp:s:r:b:o:c:n" opt; do | |
case $opt in | |
h) | |
echo "Usage: $0 [options]" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"parser": "babel-eslint", | |
"plugins": [ | |
"react", | |
"import" | |
], | |
"env": { | |
"browser": true, | |
"node": true | |
}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"plugins": ["import"], | |
"ecmaFeatures": { | |
"jsx": true, | |
"modules": true | |
}, | |
"env": { | |
"browser": true, | |
"node": true, | |
"es6": true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# kpm restore whines about failing to write some headers, here's the non-obvious fix: | |
# Add Microsofts poorly signed certificates! | |
sudo certmgr -ssl -m https://go.microsoft.com | |
sudo certmgr -ssl -m https://nugetgallery.blob.core.windows.net | |
sudo certmgr -ssl -m https://nuget.org | |
mozroots --import --sync |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=Fix trackpad after resume | |
After=suspend.target | |
After=hibernate.target | |
[Service] | |
User=%I | |
Type=simple | |
Environment=DISPLAY=:0 | |
ExecStart=/usr/bin/xinput -enable bcm5974 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
snippet rollbar_deployment | |
rollbar_deployment: | |
environment: ${1:# REQUIRED} | |
token: ${2:# REQUIRED} | |
revision: ${3:# REQUIRED} | |
comment: ${4} | |
rollbar_user: ${5} | |
url: ${6:https://api.rollbar.com/api/1/deploy/} | |
user: ${7} | |
validate_certs: ${8:#yes|no} |
NewerOlder