Skip to content

Instantly share code, notes, and snippets.

View olegkorol's full-sized avatar
👋
Hi there!

Oleg Korol olegkorol

👋
Hi there!
View GitHub Profile
@katowulf
katowulf / firebase.json
Last active March 1, 2024 21:32
Example of Firebase emulator unit tests and seed Firestore data
{
"firestore": {
"rules": "firestore.rules",
"indexes": "firestore.indexes.json"
},
"emulators": {
"firestore": {
"port": 8080
}
}

Sometimes, companies are worried about "reusing personal GitHub accounts", but contributing source code or reviews with an already existing account does NOT mean that

@olegkorol
olegkorol / unregister_sw.js
Last active October 8, 2017 12:37
Script to unregister a registered Service Worker on the browser.
function checkForSWs() {
console.log('I will look for registered SW\'s now...')
navigator.serviceWorker.getRegistrations()
.then(sws => {
if (sws[0]) {
console.log('Found a registered SW:', sws[0], '\n Will proceed to unregister...');
sws[0].unregister();
console.log('Done.')
} else {
console.log('No registered SW\'s were found.')
@rvanzon
rvanzon / nuxt.config.js
Last active September 1, 2022 13:25
A way to use vue-chartjs as a plugin of Nuxt.js
// just an example. A cleaner way is to wrap the showLine-stuff in a dedicated component
<template>
<div>
<my-line v-if="showLine" :data="lineData" :options="options">
</div>
</template>
<script>
export default {
data () {

FWIW: I (@rondy) am not the creator of the content shared here, which is an excerpt from Edmond Lau's book. I simply copied and pasted it from another location and saved it as a personal note, before it gained popularity on news.ycombinator.com. Unfortunately, I cannot recall the exact origin of the original source, nor was I able to find the author's name, so I am can't provide the appropriate credits.


Effective Engineer - Notes

What's an Effective Engineer?

@leonardofed
leonardofed / README.md
Last active May 15, 2024 11:28
A curated list of AWS resources to prepare for the AWS Certifications


A curated list of AWS resources to prepare for the AWS Certifications

A curated list of awesome AWS resources you need to prepare for the all 5 AWS Certifications. This gist will include: open source repos, blogs & blogposts, ebooks, PDF, whitepapers, video courses, free lecture, slides, sample test and many other resources.


@dergachev
dergachev / GIF-Screencast-OSX.md
Last active May 17, 2024 02:53
OS X Screencast to animated GIF

OS X Screencast to animated GIF

This gist shows how to create a GIF screencast using only free OS X tools: QuickTime, ffmpeg, and gifsicle.

Screencapture GIF

Instructions

To capture the video (filesize: 19MB), using the free "QuickTime Player" application: