This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"rows": [ | |
{ | |
"id": "2314b8116c35215dd22878c093dbe621f2a4c8d84174d28930a8ea915e96d71e", | |
"cpid": "JD-60026929", | |
"full_name": "John Doe two", | |
"known_as": "John doe two", | |
"orcid": "1234-0002-5783-6666", | |
"email": "johndoe2@ebi.ac.uk", | |
"outstation": "EMBL-EBI", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var walked = []; | |
var searchHaystack = function(haystack, needle, path, exactEquals) { | |
//dumb truthiness handling | |
exactEquals = exactEquals ? true : false; | |
if(typeof haystack != "object") { | |
console.warn("non-object haystack at " + path.join(".")); | |
return [false, null]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en" > | |
<head > | |
<meta charset="UTF-8" > | |
<link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet" | |
integrity="sha384-wvfXpqpZZVQGK6TAh5PVlGOfQNHSoD2xbE+QkPxCAFlNEevoEH3Sl0sibVcOQVnN" crossorigin="anonymous" > | |
<link href="https://fonts.googleapis.com/css?family=Lato" rel="stylesheet" > | |
<style > |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
#Get app version | |
APP_VERSION=$(node -pe "require('./package.json').version") | |
#create a name for your bundle | |
ARCHIVE_NAME='app-name-'$APP_VERSION'.tar.gz' | |
#create an archive | |
tar -czvf $ARCHIVE_NAME -C ./dist . |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
// JSHint Default Configuration File (as on JSHint website) | |
// See http://jshint.com/docs/ for more details | |
"maxerr" : 50, // {int} Maximum error before stopping | |
// Enforcing | |
"bitwise" : true, // true: Prohibit bitwise operators (&, |, ^, etc.) | |
"camelcase" : false, // true: Identifiers must be in camelCase | |
"curly" : true, // true: Require {} for every new block or scope |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Minimum set up for a revealing module pattern jQuery plugin | |
* | |
* This is a bare plugin that uses the revealing module pattern to attach | |
* public and private vars and methods to a jQuery selector. | |
* | |
* Example: | |
* | |
* $('#menu').collapsible().init(); | |
* $('#menu').collapsible().open(); |