Skip to content

Instantly share code, notes, and snippets.

View adamkdean's full-sized avatar

Adam K Dean adamkdean

View GitHub Profile
100 Continue
101 Switching Protocols
102 Processing
103 Early Hints
200 OK
201 Created
202 Accepted
203 Non-Authoritative Information
204 No Content
205 Reset Content
Dec 01 06:17:59 hostname systemd[1]: Stopping Docker Application Container Engine...
Dec 01 06:17:59 hostname dockerd[1374498]: time="2020-12-01T06:17:59.277039866Z" level=info msg="Processing signal 'terminated'"
Dec 01 06:17:59 hostname dockerd[1374498]: time="2020-12-01T06:17:59.702178541Z" level=info msg="Daemon shutdown complete"
Dec 01 06:17:59 hostname systemd[1]: docker.service: Succeeded.
Dec 01 06:17:59 hostname systemd[1]: Stopped Docker Application Container Engine.
#include <Arduino.h>
#include <ESP8266WiFi.h>
const char *ssid = "ssid_here";
const char *password = "pass_here";
void setup()
{
pinMode(LED_BUILTIN, OUTPUT);
### Keybase proof
I hereby claim:
* I am adamkdean on github.
* I am adamkdean (https://keybase.io/adamkdean) on keybase.
* I have a public key ASAIWq8Le8jlV7Ok-UP3Mtnwtl10nsjw84iBdTqWHA7Rkwo
To claim this, I am signing this object:
PushFromRight
FloatFromRight
FloatFromLeft
FloatFromBottom
FloatFromBottomAndroid
FadeAndroid
HorizontalSwipeJump
HorizontalSwipeJumpFromRight
VerticalUpSwipeJump
VerticalDownSwipeJump
-- --------------------------------------------------------
-- SQL Commands to set up the pmadb as described in the documentation.
--
-- This file is meant for use with MySQL 5 and above!
--
-- This script expects the user pma to already be existing. If we would put a
-- line here to create him too many users might just use this script and end
-- up with having the same password for the controluser.
--
-- This user "pma" must be defined in config.inc.php (controluser/controlpass)
@adamkdean
adamkdean / .bashrc
Last active September 3, 2015 14:16
Organise your bash history
# Organise your bash history, thanks to:
# https://twitter.com/michaelhoffman/status/639178145673932800
mkdir -p "${HOME}/.history/$(date -u +%Y/%m)"
export HISTFILE="${HOME}/.history/$(date -u +%Y/%m/%d.%H.%M.%S)_${HOSTNAME}_$$"
@adamkdean
adamkdean / wishlist.md
Last active August 29, 2015 14:19
Rancher Wishlist -- what I would like to see over the next six months

Rancher Wishlist

Below is a list of things I'd like to have in Rancher.

  • Refresh button on host overview screen
  • Distributed management server
  • Scaling of containers in unison with load balancing
  • More feedback during bootstrap of server agents (service blackouts are common on low-end droplets)
  • No CSS border/background-color on circular images such as avatars
  • Control of agent's specified IP address (agents on same server as management server use container ip)
#!/usr/bin/python
import spidev
import time
import os
# Open SPI bus
spi = spidev.SpiDev()
spi.open(0,0)
- name: 50-eth0.network
runtime: true
content: |
[Match]
Name=eth0
[Network]
Address=$private_ipv4/24
Gateway=10.21.12.1
DNS=8.8.8.8