Skip to content

Instantly share code, notes, and snippets.

View danbovey's full-sized avatar

Dan Bovey danbovey

View GitHub Profile
@danbovey
danbovey / Long gulpfile.js
Created March 3, 2016 19:45
An example of a long gulpfile
var gulp = require('gulp');
var util = require('gulp-util');
var browserSync = require('browser-sync').create();
var sourcemaps = require('gulp-sourcemaps');
var rename = require('gulp-rename');
var sass = require('gulp-sass');
var minifyCss = require('gulp-minify-css');
var browserify = require('gulp-browserify');

Keybase proof

I hereby claim:

  • I am danbovey on github.
  • I am danbovey (https://keybase.io/danbovey) on keybase.
  • I have a public key ASBXuiFjKWSMO3lMs3tN6_ePUPR7Tm9Y4D_LqO6GRa5aYAo

To claim this, I am signing this object:

// import action types here
const emitActions = [
PLAYQUEUE_ADD,
PLAYQUEUE_REMOVE,
PLAYQUEUE_MOVE,
PLAYQUEUE_REPLACEDECK,
PLAYQUEUE_REPLACE,
PLAYQUEUE_CLEAR
];
@danbovey
danbovey / browser-support-table.md
Last active June 13, 2023 14:13 — forked from markknol/browser-support-table.md
Browser support table in markdown

Table

Chrome Firefox IE Opera Safari
Latest ✔ Latest ✔ 10+ ✔ Latest ✔ 6.1+ ✔

Code

![Chrome](https://raw.githubusercontent.com/alrra/browser-logos/master/src/chrome/chrome_48x48.png) | ![Firefox](https://raw.githubusercontent.com/alrra/browser-logos/master/src/firefox/firefox_48x48.png) | ![IE](https://raw.githubusercontent.com/alrra/browser-logos/master/src/edge/edge_48x48.png) | ![Opera](https://raw.githubusercontent.com/alrra/browser-logos/master/src/opera/opera_48x48.png) | ![Safari](http
import * as SecureStore from 'expo-secure-store';
import { chunk } from 'lodash';
const chunkString = (str: string, size: number) =>
chunk(str.split(''), size).map(s => s.join(''));
/**
* Secure Storage with support for storing strings larger than 2048 characters
*/
const ExpoSecureStoreAdapter = {