Skip to content

Instantly share code, notes, and snippets.

View carloscasalar's full-sized avatar
💜
Helping make cities a better place to live at @cabify

Carlos Castillo carloscasalar

💜
Helping make cities a better place to live at @cabify
View GitHub Profile
@carloscasalar
carloscasalar / tipsIntelliJ.md
Last active December 1, 2019 09:22
Intellij Tips
@carloscasalar
carloscasalar / webResources.md
Last active October 23, 2019 14:23
Web resources
@carloscasalar
carloscasalar / background.js
Created March 14, 2019 06:51 — forked from muralikg/background.js
puppeteer screen capture demo. Currently records 10 second video. Change the timeout in background.js with your own logic to stop the recording when necessary. Try with `node export.js`
/* global chrome, MediaRecorder, FileReader */
chrome.runtime.onConnect.addListener(port => {
let recorder = null
port.onMessage.addListener(msg => {
console.log(msg);
switch (msg.type) {
case 'REC_STOP':
console.log('Stopping recording')
if (!port.recorderPlaying || !recorder) {
@carloscasalar
carloscasalar / tipsMySqlMariaDb.md
Created January 28, 2019 10:32
MySql / MariaDB links and tips
@carloscasalar
carloscasalar / tipsVue.md
Last active January 17, 2019 07:11
Vue.js Tips