Skip to content

Instantly share code, notes, and snippets.

View numbfall's full-sized avatar
🧳
Travelling

Usman Khwaja numbfall

🧳
Travelling
View GitHub Profile
@numbfall
numbfall / gulpfile.js
Created September 20, 2023 22:13
Basic gulpjs-browsersync setup
const { watch, src, dest } = require('gulp');
const browserSync = require('browser-sync').create();
function browsersyncServe(){
browserSync.init({
server: {
baseDir: '.'
}
});
};
@numbfall
numbfall / index.html
Last active May 6, 2019 04:54
Workbox rollup.js bundle
<!-- Load service worker in the navigator -->
<script>
if ('serviceWorker' in navigator) {
window.addEventListener('load', () => {
navigator.serviceWorker.register('/serviceworker.js');
});
}
</script>

Keybase proof

I hereby claim:

  • I am numbfall on github.
  • I am numbfall (https://keybase.io/numbfall) on keybase.
  • I have a public key whose fingerprint is D831 A990 D892 AAC7 9E9E 7B15 1353 5AE4 4AEF 8634

To claim this, I am signing this object: