Skip to content

Instantly share code, notes, and snippets.

kpcyrd

  • Hamburg, Germany
Block or report user

Report or block kpcyrd

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@kpcyrd
kpcyrd / ct-sub-domains-0.1.0.patch
Created Mar 14, 2019
rickmer/ct-sub-domains-0.1.0.patch
View ct-sub-domains-0.1.0.patch
--- a/ct-sub-domains.lua
+++ b/ct-sub-domains.lua
@@ -6,10 +6,17 @@
function run(domain)
session = http_mksession()
- request = http_request(session, 'GET', 'https://api.certspotter.com/v1/issuances?include_subdomains=true&expand=dns_names&expand=issuer&expand=cert&domain=' .. domain['value'], {
+ request = http_request(session, 'GET', 'https://api.certspotter.com/v1/issuances', {
+ query={
+ include_subdomains='true',
@kpcyrd
kpcyrd / PKGBUILD
Created Feb 9, 2019
diesel_cli PKGBUILD
View PKGBUILD
# Maintainer: Philipp A <flying-sheep@web.de>
# Contributor: kpcyrd <git@rxv.cc>
pkgname=diesel_cli
pkgver=1.4.0
pkgrel=1
pkgdesc='CLI for the Diesel crate'
arch=('i686' 'x86_64')
url="http://diesel.rs/"
license=('MIT' 'Apache')
@kpcyrd
kpcyrd / up.sql
Last active Dec 6, 2018
sqlite 3.26.0 db corruption regression
View up.sql
-- # steps to reproduce
-- rm -f foo.db; sqlite3 foo.db < up.sql; echo '.schema' | sqlite3 foo.db
--
-- debian stable (works as expected):
-- 3.16.2 2017-01-06 16:32:41 a65a62893ca8319e89e48b8a38cf8a59c69a8209
--
-- archlinux (corrupted database):
-- 3.26.0 2018-12-01 12:34:55 bf8c1b2b7a5960c282e543b9c293686dccff272512d08865f4600fb58238b4f9
CREATE TABLE foo (
View pacman_warn_if_no_secure_hash_algo.patch
diff --git a/scripts/makepkg.sh.in b/scripts/makepkg.sh.in
index 2ac1bbca..3fbfc5a7 100644
--- a/scripts/makepkg.sh.in
+++ b/scripts/makepkg.sh.in
@@ -55,6 +55,7 @@ splitpkg_overrides=('pkgdesc' 'arch' 'url' 'license' 'groups' 'depends'
readonly -a build_options splitpkg_overrides
known_hash_algos=('md5' 'sha1' 'sha224' 'sha256' 'sha384' 'sha512' 'whirlpool')
+secure_hash_algos=('sha224' 'sha256' 'sha384' 'sha512' 'whirlpool')
View vboxpw.py
#!/usr/bin/env python3
import subprocess
import time
import sys
SCANCODES = {
'ESC': [[0x01], [0x81]],
'1': [[0x02], [0x82]], '!': [[0x2A, 0x02], [0x82, 0xAA]],
'2': [[0x03], [0x83]], '@': [[0x2A, 0x03], [0x83, 0xAA]],
@kpcyrd
kpcyrd / diffoscope.json
Created Jan 3, 2018
sniffglue diffoscope.out (rustc nightly 2018-01-01)
View diffoscope.json
This file has been truncated, but you can view the full file.
{
"diffoscope-json-version": 1,
"source1": "artifacts/control/source-root/target/release/sniffglue",
"source2": "artifacts/experiment-1/source-root/target/release/sniffglue",
"unified_diff": null,
"details": [
{
"source1": "readelf --wide --symbols {}",
"source2": "readelf --wide --symbols {}",
@kpcyrd
kpcyrd / gitlab_settings.py
Last active Aug 20, 2017
ansible-gitlab_settings
View gitlab_settings.py
#!/usr/bin/python2
# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
from __future__ import absolute_import, division, print_function
__metaclass__ = type
ANSIBLE_METADATA = {'metadata_version': '0.0',
'status': ['preview'],
'supported_by': 'community'}
'''
View gist:bc22f15e8967116132bcd49828b0dd29
####
## Output descriptions:
##
# Treasure Data (http://www.treasure-data.com/) provides cloud based data
# analytics platform, which easily stores and processes data from td-agent.
# FREE plan is also provided.
# @see http://docs.fluentd.org/articles/http-to-td
#
# This section matches events whose tag is td.DATABASE.TABLE
@kpcyrd
kpcyrd / PKGBUILD
Created Nov 4, 2015
python-argh PKGBUILD
View PKGBUILD
# Contributor: Francois_B <fboulogne@sciunto.org>
# Contributor: kpcyrd <git@rxv.cc>
pkgbase=python-argh
pkgname=('python-argh' 'python2-argh')
pkgver=0.26.1
pkgrel=1
pkgdesc='An unobtrusive argparse wrapper with natural syntax'
arch=(any)
url='https://pypi.python.org/pypi/argh'
@kpcyrd
kpcyrd / PKGBUILD
Created Oct 19, 2015
ipfs PKGBUILD
View PKGBUILD
# Maintainer: kpcyrd <git@rxv.cc>
# Contributor: Frederik “Freso” S. Olesen <freso.dk@gmail.com>
# Contributor: Ian Naval <ianonavy@gmail.com>
pkgname=go-ipfs
pkgver=0.3.8
pkgrel=1
pkgdesc='global versioned p2p merkledag file system'
url='https://github.com/ipfs/go-ipfs'
arch=('i686' 'x86_64')
You can’t perform that action at this time.