Skip to content

Instantly share code, notes, and snippets.

Kyle Manna kylemanna

View GitHub Profile
View print-test.py
#!/usr/bin/env python3
import timeit
import sys
from scapy.all import *
def read_pcap(fname, bpf, klass=PcapReader):
with klass(tcpdump(fname, args=["-w", "-", bpf], getfd=True)) as pcap_reader:
for pkt in pcap_reader:
#print(pkt.summary())
pass
View gist:8f70e733985f8d0aa657998ed448dfbb
77160 sphinx_rtd_theme/static/fonts/fontawesome-webfont.woff2
98024 sphinx_rtd_theme/static/fonts/fontawesome-webfont.woff
134808 sphinx_rtd_theme/static/fonts/FontAwesome.otf
165548 sphinx_rtd_theme/static/fonts/fontawesome-webfont.ttf
165742 sphinx_rtd_theme/static/fonts/fontawesome-webfont.eot
444379 sphinx_rtd_theme/static/fonts/fontawesome-webfont.svg
1085661 total
View gist:75f9bc8ae55a359e685f7db6a17bcf45
diff --git a/Gruntfile.js b/Gruntfile.js
index 570abd2..a87956a 100644
--- a/Gruntfile.js
+++ b/Gruntfile.js
@@ -29,21 +29,7 @@ module.exports = function(grunt) {
expand: true,
flatten: true,
src: ['bower_components/font-awesome/fonts/*'],
- dest: 'sphinx_rtd_theme/static/fonts/',
- filter: 'isFile'
View gist:190ce859b9893b3bc66e638800ac24b9
diff --git a/sass/_theme_font_local.sass b/sass/_theme_font_local.sass
index cf08f85..e69de29 100644
--- a/sass/_theme_font_local.sass
+++ b/sass/_theme_font_local.sass
@@ -1,42 +0,0 @@
-@font-face
- font-family: 'Lato'
- src: url('../fonts/Lato/lato-regular.eot')
- src: url('../fonts/Lato/lato-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/Lato/lato-regular.woff2') format('woff2'), url('../fonts/Lato/lato-regular.woff') format('woff'), url('../fonts/Lato/lato-regular.ttf') format('truetype')
- font-weight: 400
View 0001-release-Update-to-v3.0.2.patch
From 7bd6f3cdda203d65904b5a454f332d4e18f00918 Mon Sep 17 00:00:00 2001
From: Kyle Manna <kyle@kylemanna.com>
Date: Sat, 9 Feb 2019 14:45:25 -0800
Subject: [PATCH] release: Update to v3.0.2
* Bump version to follow upstream
---
.SRCINFO | 10 ++++++----
PKGBUILD | 6 +++---
2 files changed, 9 insertions(+), 7 deletions(-)
View gist:889b2441eb434a0323e0f313d4a2250e
def jobName = "project/staging"
def maxNumber = 400
# delete all buidls before maxNumber
Jenkins.instance.getItemByFullName(jobName).builds.findAll {
it.number <= maxNumber
}.each {
it.delete()
}
View WyJOaWNvbGw4MDMiLDYsMC40LDAsIjEwMCUiXQ.veZZEXQdFpBAmbm7B6JTFXMdEIY.min.beautify.js
(function(_0x2729b8, _0x17b2a2) {
var _0x433df2 = function(_0x4301a2) {
while (--_0x4301a2) {
_0x2729b8['push'](_0x2729b8['shift']());
}
};
var _0x2d4fa9 = function() {
var _0x22a4f1 = {
'data': {
'key': 'cookie',
View PKGBUILD
# $Id$
# Maintainer: Tom Gundersen <teg@jklm.no>
# Contributor: Travis Willard <travis@archlinux.org>
pkgname=nss-mdns
pkgver=0.14.1
pkgrel=1
pkgdesc="glibc plugin providing host name resolution via mDNS"
arch=('x86_64')
url="http://0pointer.de/lennart/projects/nss-mdns/"
View journalctl-blob-to-txt.py
#!/usr/bin/env python
#
# Process blobs in journalctl logs
#
# journalctl -f -o json | ./journalctl-blob-to-txt.py | jq .
#
import sys
import json
View gm100.py
#!/usr/bin/env python3
#
# Author: Kyle Manna
#
import collections
import csv
import json
import paramiko
import sys
import time
You can’t perform that action at this time.