Skip to content

Instantly share code, notes, and snippets.

View grdryn's full-sized avatar
🦞
Zoidberg

Gerard Ryan grdryn

🦞
Zoidberg
View GitHub Profile
@albfan
albfan / .gitignore
Last active January 7, 2020 19:06 — forked from kontez/freeotp_backup.md
A guide to back up and recover 2FA tokens from FreeOTP (Android)
apps/
@dustymabe
dustymabe / rpm_ostree_pkg.py
Created November 28, 2018 19:27
ansible module for rpm-ostree package layering
#!/usr/bin/python
# https://github.com/ansible/ansible/issues/21185
# Copyright: (c) 2018, Dusty Mabe <[email protected]>
# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
# Make coding more python3-ish
from __future__ import (absolute_import, division, print_function)
__metaclass__ = type
@david-martin
david-martin / stacks.txt
Last active March 15, 2017 11:03
glue.js stacks
TypeError: cb is not a function
at noSupport (/opt/app-root/src/lib/handlers/targets/openshift3/index.js:12:10)
at /opt/app-root/src/lib/handlers/targets/openshift3/index.js:106:12
at /opt/app-root/src/lib/handlers/targets/openshift3/index.js:112:26
at /opt/app-root/src/lib/handlers/mbaas.js:94:38
at Layer.handle [as handle_request] (/opt/app-root/src/node_modules/express/lib/router/layer.js:76:5)
at next (/opt/app-root/src/node_modules/express/lib/router/route.js:100:13)
at /opt/app-root/src/lib/handlers/targets/openshift3/prefetch.js:48:12
at /opt/app-root/src/lib/handlers/targets/openshift3/prefetch.js:37:12
at setup (/opt/app-root/src/lib/handlers/targets/openshift3/prefetch.js:8:10)
<console-handler name="AEROGEAR">
<formatter>
<named-formatter name="COLOR-PATTERN"/>
</formatter>
</console-handler>
<logger category="org.jboss.aerogear.unifiedpush" use-parent-handlers="false">
<level name="FINEST"/>
<handlers>
<handler name="AEROGEAR"/>
</handlers>
@dcode
dcode / GitHub Flavored Asciidoc (GFA).adoc
Last active October 12, 2024 11:16
Demo of some useful tips for using Asciidoc on GitHub

GitHub Flavored Asciidoc (GFA)

anonymous
anonymous / GAME_MASTER_v0_1.protobuf
Created July 16, 2016 16:31
Pokemon Go decoded GAME_MASTER protobuf file v0.1
Result: 1
Items {
TemplateId: "BADGE_BATTLE_ATTACK_WON"
Badge {
BadgeType: BADGE_BATTLE_ATTACK_WON
BadgeRanks: 4
Targets: "\nd\350\007"
}
}
Items {
@ericclemmons
ericclemmons / example.md
Last active September 20, 2024 12:46
HTML5 <details> in GitHub

Using <details> in GitHub

Suppose you're opening an issue and there's a lot noisey logs that may be useful.

Rather than wrecking readability, wrap it in a <details> tag!

<details>
 Summary Goes Here
@danbev
danbev / docker-registery-import.md
Last active February 17, 2016 15:23
Import Docker image

Say that you have followed the instructions in import.md and now want to update a deployment configuration or a running pod so that it uses that image.

First list the image of intrest:

$ docker images
REPOSITORY                                                    TAG                 IMAGE ID            CREATED             VIRTUAL SIZE
danbev/es                                                     latest              59d06a20aff1        17 hours ago        415.9 MB

First tag the image. Add the namespace/project name after the registry ip:port. For example, I'm going to add the image to the mbaas-logging namespace/project

@vrubezhny
vrubezhny / WTP-JSDT-Development.markdown
Last active October 9, 2015 15:22
Development and maintenance to do for JSDT and related projects

JSDT

@jonbullock
jonbullock / asciidoc.adoc
Created October 30, 2014 13:10
JBake custom feed file

Asciidoc Feed

This file is created just to trigger the rendering of a file using the template file customfeed.ftl which wouldn’t use any of the content in this file.