

| const axios = require('axios'); | |
| const http = require('http'); | |
| const https = require('https'); | |
| module.exports = axios.create({ | |
| //60 sec timeout | |
| timeout: 60000, | |
| //keepAlive pools and reuses TCP connections, so it's faster | |
| httpAgent: new http.Agent({ keepAlive: true }), |
| npm config set proxy http://proxy.company.com:8080 | |
| npm config set https-proxy http://proxy.company.com:8080 |
| // ==UserScript== | |
| // @name Giphy markdown embed | |
| // @namespace http://tampermonkey.net/ | |
| // @version 0.4 | |
| // @description Show markdown embed text for gifs | |
| // @homepage https://gist.github.com/reynish/6c3a8121a93e9e05812e3918fbd5e0b9 | |
| // @updateURL https://gist.githubusercontent.com/reynish/6c3a8121a93e9e05812e3918fbd5e0b9/raw/giphy-markdown-embed.user.js | |
| // @downloadURL https://gist.githubusercontent.com/reynish/6c3a8121a93e9e05812e3918fbd5e0b9/raw/giphy-markdown-embed.user.js | |
| // @author reynish | |
| // @match https://giphy.com |
| {"lastUpload":"2023-01-09T10:08:24.724Z","extensionVersion":"v3.4.3"} |
| .aui-header { | |
| background: goldenrod !important; | |
| color: #000 !important; | |
| } | |
| .aui-header a.active, | |
| .aui-header a:focus, | |
| .aui-header a:hover, | |
| .aui-header a:active { | |
| background: hsla(0,0%,0%,.5) !important; |
| // ==UserScript== | |
| // @name Jira list refresh | |
| // @namespace http://tampermonkey.net/ | |
| // @version 0.2 | |
| // @description try to take over the world! | |
| // @author You | |
| // @match https://issues-solace.uk.cambridgeconsultants.com/ | |
| // @grant none | |
| // ==/UserScript== |
| // Have a service to show temperature and battery level | |
| // This is only visible when you are connecting to the Puck | |
| var currentTemperature=E.getTemperature().toFixed(2)*100; | |
| console.log("Temp: "+currentTemperature); | |
| NRF.setServices({ | |
| "12411007-877b-4b6e-1d8a036a956a" : { // Health Thermometer | |
| "7e3defd9-1426-068f-d744-fa70603d83ac": { // Temperature |
| <html> | |
| <head></head> | |
| <body> | |
| <script src="https://rawgit.com/mrdoob/three.js/dev/build/three.js"></script> | |
| <script src="script.js"></script> | |
| </body> | |
| </html> |
| var gulp = require('gulp'); | |
| var clean = require('gulp-clean'); | |
| var jshint = require('gulp-jshint'); | |
| var concat = require('gulp-concat'); | |
| var uglify = require('gulp-uglify'); | |
| var imagemin = require('gulp-imagemin'); | |
| var bases = { | |
| app: 'app/', |