Skip to content

Instantly share code, notes, and snippets.

View kelset's full-sized avatar
🏝️
On a break for a while

Lorenzo Sciandra kelset

🏝️
On a break for a while
View GitHub Profile
“editor.renderWhitespace”: “boundary”,
“editor.rulers”: [100],
“editor.cursorBlinking”: “solid”`
@kelset
kelset / cloudSettings
Last active April 10, 2018 08:23
Visual Studio Code Sync Settings Gist
{"lastUpload":"2017-07-30T17:52:10.156Z","extensionVersion":"v2.8.2"}
"editor.formatOnSave": true, // THIS WILL TRIGGER PRETTIER ON SAVE
"prettier.eslintIntegration": true // THIS WILL MAKE IT COMMUNICATE WITH ESLINT
import PerfMonitor from 'react-native/Libraries/Performance/RCTRenderingPerf';
// ComponentDidMount
PerfMonitor.toggle();
setTimeout(() => {
PerfMonitor.start();
setTimeout(() => {
PerfMonitor.stop();
}, 20000);
}, 5000);
render() {
const { showsUserLocation, region } = this.state;
const { navigation } = this.props;
if (navigation.firstTabBar && navigation.firstTabBar.index === 3) {
return this.renderFullMap(showsUserLocation, region);
}
return this.renderLightMap(showsUserLocation, region);
}
@kelset
kelset / cloudSettings
Created July 30, 2017 17:52
Visual Studio Code Settings Sync Gist
{"lastUpload":"2017-07-30T17:52:34.386Z","extensionVersion":"v2.8.2"}
@kelset
kelset / cloudSettings
Last active January 3, 2018 13:40
Visual Studio Code Settings Sync Gist
{"lastUpload":"2018-01-03T13:40:22.695Z","extensionVersion":"v2.8.7"}
@kelset
kelset / cloudSettings
Last active October 30, 2020 19:32
Visual Studio Code Settings Sync Gist
{"lastUpload":"2018-12-18T16:41:28.295Z","extensionVersion":"v3.2.4"}
/*
* this is a small script to transform a log saved from the chrome dev tools
* into easy to use CSV, starting from what
* https://github.com/maicki/why-did-you-update
* produces, basically.
*
* If it doesn't work for you, make sure L32-33 are set properly for your export
*
* use by running:
* node parsingFromLog.js <name of log>.log
@kelset
kelset / cloudSettings
Last active May 1, 2019 10:47
Visual Studio Code Settings Sync Gist
{"lastUpload":"2019-05-01T10:47:02.438Z","extensionVersion":"v3.2.9"}