Skip to content

Instantly share code, notes, and snippets.

View beevelop's full-sized avatar
🐝

Maik Hummel beevelop

🐝
View GitHub Profile
@beevelop
beevelop / admin.js
Created March 14, 2017 18:46
ng-admin for feathers
angular.module('feathers')
.config([ 'ngAdminJWTAuthConfiguratorProvider', function (jwt) {
jwt.setJWTAuthURL('http://sandbox.foobar.feathers/auth/local')
jwt.setCustomLoginTemplate('login.html')
jwt.setCustomAuthHeader({
name: 'Authorization',
template: 'Bearer {{token}}'
})
} ])
@beevelop
beevelop / docker-compose.yml
Created March 20, 2017 13:23 — forked from zshamrock/docker-compose.yml
TICK services docker compose
version: '2'
networks:
# create a network to share between TICK services, so they can connect to each other by specifying influxdb network name
influxdb:
services:
telegraf:
image: telegraf:1.1.2
container_name: telegraf1.1.2
@beevelop
beevelop / gitprint.js
Created April 11, 2017 10:31
Print GitHub markdown files
document.querySelector('#readme').setAttribute('style', 'position: absolute; top: 0; left: 0; right: 0; bottom: 0; z-index: 100; background-color: white')
document.querySelector('body').appendChild(document.querySelector('#readme'))
window.print()
@beevelop
beevelop / .gitignore
Created May 22, 2017 17:26 — forked from phiresky/.gitignore
sha256 mining
latestinfo
sha256test
callgrind*
sha256test.gcda
@beevelop
beevelop / .release.json
Last active June 1, 2017 06:53
Continuous Integration / Deployment / Delivery for LaTeX documents
{
"non-interactive": true,
"force": false,
"pkgFiles": [
"package.json"
],
"increment": "patch",
"commitMessage": "Release v%s",
"tagName": "v%s",
@beevelop
beevelop / README.md
Last active July 13, 2017 15:14
Berechnung stochastischer Unternehmenswert

Hi Flo,

git clone https://gist.github.com/beevelop/075981c168d84150632aa43e3cba14c7 stocha
cd stocha
npm i

ausführen mithilfe von

@beevelop
beevelop / README.md
Last active November 29, 2017 18:28 — forked from wolph/whitelist_ssl_certificates_chrome.sh
Easily whitelisting SSL certificates in Chrome under OS X

Whitelist SSL

This script allows you to whitelist / accept / trust your self-signed / custom / invalid certificate by putting it into your Keychain. This is helpful to convince your favorite browser (Chrome or Opera) to not give a shit about its issuer or whatever.

Quick start

git clone https://gist.github.com/beevelop/cf60f88292ad76b0e1bc37ed688c07b4 whiteliste_ssl
cd whiteliste_ssl
chmod +x whitelist_ssl.sh
./whitelist_ssl.sh https://my-self-signed-domain.foobar/whatever/
@beevelop
beevelop / bee.gif
Last active August 9, 2019 09:23
Bee 🐝
bee.gif
@beevelop
beevelop / nr.js
Created March 9, 2020 19:04
Node-RED embedded (standalone)
var RED = require("node-red");
var importedFlows = require('./flows.json')
const path = require('path');
// Create the settings object - see default settings.js file for other options
var settings = {
httpNodeRoot: false,
httpAdminRoot: false,
userDir: path.join(__dirname, ".nodered"),
functionGlobalContext: {}
@beevelop
beevelop / create-cert-and-key-with-certbot.sh
Last active January 15, 2021 09:07 — forked from arastu/create-cert-and-key-with-certbot.sh
Configuring Harbor with HTTPS Access via letsencrypt(certbot with --standalone flag)
sudo certbot -d reg.example.com --manual --preferred-challenges dns certonly