Skip to content

Instantly share code, notes, and snippets.

View robdyke's full-sized avatar

Rob Dyke robdyke

View GitHub Profile
@robdyke
robdyke / odoo_calculate_workers.sh
Created December 22, 2018 01:58
Analyzes the characteristics of the server and helps calculate the number of workers and memory for each
#!/bin/bash
# CONST 1GB
CONST_1GB="1024*1024*1024"
# VARIABLE WORKERS
CMD_W=0
@robdyke
robdyke / authorized_keys
Last active July 3, 2018 09:07
Public Keys
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQDwlo4WUmWkPC+g5NJemlYO8UjSc5AMEQAwJwpTNjSSwUSbcyryVVgVnQDDp4JhPm1xkp3XGPRdkuR0OVcexrhfFFvD41qrsjPKrzZtsvPhmF459V4jzlyVgItW5Pe4NkMR9kjkGP5XyhRm2d7Qfv+Cj28A0RbfNlVNYJpPtrXeO0wcKqIktjuTC3LrswqXpnfqMBkPhLP8XbiG7Q4njhGaIZwXTmUEOtdL+/V135zWOV96IfMysiaOzuPon8/Y6RWtc4s/Ro9tydRnnjQct6VAxpD6i135OdPiMLk2zMerBHkjif4bYA4Wdb3X7jt6PVsJGgg0PPMUJ9g8H5TeInQfjY0y3rIYb7qi6pT6/KJVYFqpyDSBu4trwx8uG+5+689uC2eYl2ZKUb+GkVtan6Heyq8fDLHzfwCDEkd2Lg0iFoklBRS7W76dGghpkSGcBz4frCXojB0np0QiJ2KI7BMdABgTyFN4MyJe5hX2eiFGleV8vZxwr4cw03kJ8p9LwRWDLTMz+SF9Jsm/CO8PjHPBff0lK/ra9tO1FQGCl8BSsQZJF0e6llWtTLWCUu3qXekE+0m1UrdcI77FTrut8Ev+HjVXNKfFMzXDkLfYHPs8zLYK5WIEy173Xl+MT9UHS5gRh+1oviZ19sZi+iI8PWKFUU1R5GPvcfpREQsvlRfGdw== rob@inidus.com
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDAXT+xavUgdpmdTbmguXv71mEXLPyJCnrSBNkjulrEsyxuRck3IT6ZumG/q47FTJXbBhL4O2EFhGnSP6IVUmUIu63zm42nhRusLitp5Of6GKD978amK/mgi5CFjkp1MsRdLtgpAioeFKSu+r8BXcnj/ActcFD/Jl6pxqnURJ/J0yOyCB5pL6CAADGv29IyU/VndetvyBZbGhed4YdTx6HQ+NZfIvlZyffRijCKeq7h7Bjnp1HTV4Z4
@robdyke
robdyke / docker-compose.yml
Created June 28, 2018 00:44 — forked from ernest-okot/docker-compose.yml
Traefik Docker Stack with HTTPS integration with LetsEncrypt
version: '3'
services:
traefik:
image: traefik:alpine
command: |-
--entryPoints="Name:http Address::80 Redirect.EntryPoint:https"
--entryPoints="Name:https Address::443 TLS"
--defaultentrypoints="http,https"
--accesslogsfile="/var/log/access.log"
@robdyke
robdyke / CONDUCT-template.md
Created February 3, 2018 21:49
Project template files

Code of Conduct

Our Pledge

In the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation.

@robdyke
robdyke / credentials.txt
Last active August 12, 2017 18:09
xmr-stak-cpu - config elements
"pool_address" : "$POOL_ADDR",
"wallet_address" : "$WALLET",
"pool_password" : "$POOL_PWD",
@robdyke
robdyke / hastebin.sh
Last active July 12, 2017 20:20 — forked from flores/hastebin.sh
hastebin shell client
#!/bin/bash
server='hastebin.com';
usage="$0 pastes into $server
usage: $0 something
example: '$0 pie' or 'ps aufx |$0'"
if [ -z $1 ]; then
str=`cat /dev/stdin`;
@robdyke
robdyke / nhsboxes.md
Last active April 26, 2017 22:06
NHSbuntu - Vagrant, Virtualbox and seamless RDP to Windows 7

NHSbuntu

Open a terminal, create our working directory and install VirtualBox, Vagrant, Remmina

mkdir -p nhsboxes/windows7
cd nhsboxes
wget http://j.mp/2p6Z6pK -O install.sh
chmod +x install.sh
./install.sh
@robdyke
robdyke / dash-to-panel.conf
Created March 2, 2017 01:38
dash-to-panel gnome settings
[dash-to-panel]
panel-position='BOTTOM'
show-appmenu=false
animate-show-apps=false
panel-size=32
show-activities-button=false
show-show-apps-button=false

Keybase proof

I hereby claim:

  • I am robdyke on github.
  • I am robdyke (https://keybase.io/robdyke) on keybase.
  • I have a public key whose fingerprint is 510A F75D 4696 96AC 18EC 457C 6D64 8741 77FE 7AA1

To claim this, I am signing this object:

@robdyke
robdyke / custom-queries.php
Created December 13, 2016 00:00 — forked from carlodaniele/custom-queries.php
An example plugin showing how to add custom query vars, rewrite tags and rewrite rules to WordPress
<?php
/**
* @package Custom_queries
* @version 1.0
*/
/*
Plugin Name: Custom queries
Plugin URI: http://wordpress.org/extend/plugins/#
Description: This is an example plugin
Author: Carlo Daniele