This file contains hidden or 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
| { | |
| "article": { | |
| "?properties": "", | |
| "front": { | |
| "journal-meta": { | |
| "journal-id": ["Neurophotonics", "Neurophotonics", "NEUROW", "NPh"], | |
| "journal-title-group": { "journal-title": "Neurophotonics" }, | |
| "issn": ["2329-423X", "2329-4248"], | |
| "publisher": { | |
| "publisher-name": "Society of Photo-Optical Instrumentation Engineers" |
This file contains hidden or 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
| /* | |
| * This middleware parses the request user-agent string to detect the browser name and version. | |
| * Versions are in two groups: main and mini | |
| * We use various criteria to place a user into one of these groups e.g, we make heavy use of object-fit css property | |
| * and so any browser that does not support it is best served the mini version | |
| * */ | |
| const parser = require('ua-parser-js'); | |
| module.exports = function (req, res, next) { |
This file contains hidden or 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
| <html> | |
| <head> | |
| <meta name="viewport" | |
| content="width=device-width"> | |
| <style> | |
| *, *:before, *:after { |
This file contains hidden or 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
| /* | |
| * LocalStorage Sample Wrappers | |
| * For browsers that don't support localStorage yet, we are going to catch those errors and return undefined | |
| * */ | |
| /** | |
| * | |
| * @param {string} key | |
| * @param {*} data | |
| * @returns {*} |
This file contains hidden or 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
| <html> | |
| <head> | |
| <title>I Love You</title> | |
| </head> | |
| <body> |
This file contains hidden or 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
| <!--A simple website that tells a user that we love them--> | |
| <html> | |
| <head> | |
| <title>I Love You</title> | |
| </head> |
This file contains hidden or 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 | |
| # from here: http://www.codingsteps.com/install-redis-2-6-on-amazon-ec2-linux-ami-or-centos/ | |
| # and here: https://raw.github.com/gist/257849/9f1e627e0b7dbe68882fa2b7bdb1b2b263522004/redis-server | |
| ############################################### | |
| # To use: | |
| # wget https://gist.github.com/four43/e00d01ca084c5972f229/raw/install-redis.sh | |
| # chmod 777 install-redis.sh | |
| # ./install-redis.sh | |
| ############################################### | |
| echo "*****************************************" |