Skip to content

Instantly share code, notes, and snippets.

@probonopd
probonopd / F1E200.md
Last active November 11, 2024 21:00
Allwinner F1E200 electronic postcard with USB Device ID 1f3a:1000

USB Device ID 1f3a:1000 Allwinner F1E200 electronic postcard

I received a promotional folder that plays a video with sound when opening the folder. This contains a rechargeable LiPo battery, a TFT display, a speaker, a power switch, a push button, 256 MB flash memory, RAM, and a CPU.

All of this for watching one 1-minute video.

What a waste! Certainly not environmentally friedndly. Until repurposed creatively!

On the back it says that the product can be sent back to the manufacturer for free recycling. Still I was wondering if I could do more with it.

@shineyear
shineyear / Gemfile
Last active August 3, 2016 03:05
newrelic cloudwatch docker all in one monitor
source 'https://rubygems.org'
gem 'dashing'
## Remove this if you don't need a twitter widget.
gem 'twitter', '>= 5.9.0'
gem 'activeresource'
gem 'newrelic_api'
@ianunruh
ianunruh / join-rabbitmq-cluster.rb
Last active September 27, 2020 17:54
Join RabbitMQ to cluster via Consul
#!/usr/bin/env ruby
require 'json'
require 'net/http'
require 'optparse'
require 'ostruct'
options = OpenStruct.new
options.service_name = "rabbitmq"
options.port = 8500
[main]
cachedir=/tmp/cache/yum
debuglevel=1
reposdir=/dev/null
logfile=/var/log/yum.log
retries=20
obsoletes=1
gpgcheck=0
assumeyes=1
syslog_ident=mock
@stahnma
stahnma / gist:7729972
Last active December 29, 2015 21:28
A Yum configuration if you want to mirror yum.puppetlabs product and deps for Fedora 19 and EL 6 (both 64 bit).
[main]
keepcache=0
debuglevel=2
exactarch=1
obsoletes=1
gpgcheck=1
plugins=1
installonly_limit=3
reposdir=/dev/null
"""
This file contains code that, when run on Python 2.7.5 or earlier, creates
a string that should not exist: u'\Udeadbeef'. That's a single "character"
that's illegal in Python because it's outside the valid Unicode range.
It then uses it to crash various things in the Python standard library and
corrupt a database.
On Python 3... well, this file is full of syntax errors on Python 3. But
if you were to change the print statements and byte literals and stuff:
@beddari
beddari / gist:7456403
Last active December 28, 2015 06:19
Packaging user stories

##fixpackaging user stories

I'm trying to document a little around where people are coming form and how they view the current state of packaging.

User stories, use cases and some background context help understanding how and what people are doing that might need fixing, improvement or possibly just guidance. Add your own gist, blog or whatever as a comment below.

Please use the mailing list for any structured discussion or just hang out at ##fixpackaging on Freenode

Test-driven infrastructure open session - DevOpsDays London

@lord_cope proposes not to talk all the time, this was vetoed, introduced TDI with Chef-book

  • Code builds infra - does it nok make sense to build infra the same way as software dev?
  • History around how Cucumber-chef came about

Contribution: Social gaming, resonalbe large AWS infra on Chef, 3000 boxes. Could not get people and Chef budget until proven that we could do something

  • Over time reached change paralysis