Skip to content

Instantly share code, notes, and snippets.

View dmke's full-sized avatar

Dominik Menke dmke

View GitHub Profile
@dmke
dmke / 0_repro.sh
Last active May 28, 2018 06:09
OpenWRT/LEDE: toolchain build failure (gccgo for mipsel/soft-float)
#!/bin/sh
echo 2>&1 "this is just a sample, not intended for execution"
exit 1
cd $LEDE_ROOT
git checkout 20d3c118ae # latest commit in master at time of writing
cp $gist["config"] .config
make defconfig
@dmke
dmke / 00-README.md
Last active July 18, 2019 13:56
PowerDNS annotated SQLite queries

Annotated list of SQLite queries for PowerDNS 4.1+

To retrieve all queries known to PowerDNS, run something like

# pdns_server --no-config --launch=gsqlite3 --config | fgrep '# gsqlite3-'

Then go visit the [Generic SQL Backends][docs] documentation and find your query documentation (by removing the gsqlite3- prefix from the pdns_server output from above).

@dmke
dmke / main.rb
Last active August 23, 2021 10:50 — forked from coorasse/main.rb
CanCanCan Issue
begin
require "bundler/inline"
rescue LoadError => e
$stderr.puts "Bundler version 1.10 or later is required. Please update your Bundler"
raise e
end
gemfile do
source "https://rubygems.org"
gem "rails", "6.1.4.1"