Skip to content

Instantly share code, notes, and snippets.

Diego Elio Pettenò Flameeyes

Block or report user

Report or block Flameeyes

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
View freestyle_bruteforce.py
# -*- coding: utf-8 -*-
#
# SPDX-License-Identifier: MIT
#
# Copyright (c) 2019 Diego Elio Pettenò
import itertools
import serial
View gist:a9013b5a20740a34071d6d7ff8727cb1
From 5cda8ee0aa090d9fd3d5bde8c16dd9402583e117 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Diego=20Elio=20Petten=C3=B2?= <flameeyes@flameeyes.eu>
Date: Sat, 11 Nov 2017 16:58:18 +0000
Subject: [PATCH] build: make sure to create the include/libplacebo path before
copying it.
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
`cp -r` with a non-existent path will copy the directory itself as the new
View gist:3e9c5f2e1fdf34b371940ffe2a468eab
[flameeyes@everett blog.flameeyes.eu]$ cat layouts/_default/rss.xml
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>{{ if eq .Title .Site.Title }}{{ .Site.Title }}{{ else }}{{ with .Title }}{{.}} on {{ end }}{{ .Site.Title }}{{ end }}</title>
<link>{{ .Permalink }}</link>
<description>Recent content {{ if ne .Title .Site.Title }}{{ with .Title }}in {{.}} {{ end }}{{ end }}on {{ .Site.Title }}</description>
<generator>Hugo -- gohugo.io</generator>{{ with .Site.LanguageCode }}
<language>{{.}}</language>{{end}}{{ with .Site.Author.email }}
<managingEditor>{{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}</managingEditor>{{end}}{{ with .Site.Author.email }}
<webMaster>{{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}</webMaster>{{end}}{{ with .Site.Copyright }}
View gist:f7de1de18766b1d8a81ff847e02c7344
--6190ee48-A--
[16/Aug/2017:18:26:34 +0000] WZSOWX8AAAEAAH2UpvMAAAAI 159.203.182.156 38296 10.2.20.155 443
--6190ee48-B--
GET /index.xml HTTP/1.1
Host: blog.flameeyes.eu
Connection: keep-alive
Accept-Encoding: gzip, deflate
Accept: application/atom+xml, application/rss+xml, application/xml;q=0.8, text/xml;q=0.6, */*;q=0.2
User-Agent: NewsBlur Feed Fetcher - 59 subscribers - http://www.newsblur.com/site/195958/flameeyess-weblog (Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.87 Safari/537.36)
A-IM: feed
View gist:1e70d3e0682f517806de296ef6427fde
[ 203.619003] usb 2-1.4: clear tt 1 (0070) error -71
[ 203.626154] usb 2-1.4-port1: cannot reset (err = -71)
[ 203.630369] usb 2-1.4-port1: cannot reset (err = -71)
[ 203.634619] usb 2-1.4-port1: cannot reset (err = -71)
[ 203.638868] usb 2-1.4-port1: cannot reset (err = -71)
[ 203.643159] usb 2-1.4-port1: cannot reset (err = -71)
[ 203.643164] usb 2-1.4-port1: Cannot enable. Maybe the USB cable is bad?
[ 203.647385] usb 2-1.4-port1: cannot disable (err = -71)
[ 203.651617] usb 2-1.4-port1: cannot reset (err = -71)
[ 203.655904] usb 2-1.4-port1: cannot reset (err = -71)
View gist:8f91ffb6507789259bdf134877329001
[15127.976978] usb 4-2: new SuperSpeed USB device number 2 using xhci_hcd
[15128.073225] usb 4-2: New USB device found, idVendor=2109, idProduct=0813
[15128.073234] usb 4-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[15128.073239] usb 4-2: Product: USB3.0 Hub
[15128.073243] usb 4-2: Manufacturer: VIA Labs, Inc.
[15128.076469] hub 4-2:1.0: USB hub found
[15128.076761] hub 4-2:1.0: 4 ports detected
[15128.757922] usb 3-2: new high-speed USB device number 3 using xhci_hcd
[15128.931385] usb 3-2: New USB device found, idVendor=2109, idProduct=2813
[15128.931394] usb 3-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
View gist:9c946f975725d874d5b0ca562ddd0645
2332646 0x2397E6 Copyright string: "Copyright (c) 1994 - 2004 ZyXEL Communications Corp."
2332699 0x23981B Copyright string: "Copyright (c) 2001 - 2006 TrendChip Technologies Corp."
2332754 0x239852 Copyright string: "Copyright (c) 2001 - 2006 "
View gist:e7e6d098ec3102593a8197c3567ac058
# CE Single SKU Max Power Table
# |CCK 1~11 | | OFDM 6 ~ 54 | | HT20 MCS 0 ~ 15 | | HT40 MCS 0 ~ 15 |
ch1 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12
ch2 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12
ch3 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12
ch4 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12
ch5 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12
ch6 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12
ch7 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 1
View gist:2456aa5ba77ecaa6f34c9a7422324dbf
$(function(){"use strict";$("body").on('submit','form[data-asynctask]',function(e){e.preventDefault();if($(this).data('ajaxing')){return;}
$(this).data('ajaxing',true);waitingDialog.show(gettext('We are processing your request …'));$.ajax({'type':'POST','url':$(this).attr('action'),'data':$(this).serialize()+'&ajax=1','success':async_task_callback,'error':async_task_error,'context':this,'dataType':'json'});});});var cart={_deadline:null,_deadline_interval:null,draw_deadline:function(){var diff=Math.floor(cart._deadline.diff(moment())/1000/60);if(diff<0){$("#cart-deadline").text(django.gettext("The items in your cart are no longer reserved for you."));window.clearInterval(cart._deadline_interval);}else{$("#cart-deadline").text(django.ngettext("The items in your cart are reserved for you for one minute.","The items in your cart are reserved for you for {num} minutes.",diff).replace(/\{num\}/g,diff));}},init:function(){"use strict";cart._deadline=moment($("#cart-deadline").attr("data-expires"));cart._deadline_in
View README.md

Remote GPG Agent strangeness

Setup

In ssh_config:

Host myremotehost
RemoteForward /home/user/.gnupg/S.gpg-agent /home/user/.gnupg/S.gpg-agent
StreamLocalBindUnlink yes
ForwardX11 no
You can’t perform that action at this time.