I hereby claim:
- I am sheran on github.
- I am chopstick_ (https://keybase.io/chopstick_) on keybase.
- I have a public key ASBu3mJt1PC2Y0P09oveVJ9ymv8xegKx-BmCPMFTN25axwo
To claim this, I am signing this object:
#!/usr/bin/env python | |
# | |
# Dump a DBase DBF file to stdout as a CSV file | |
# | |
# Get dbfpy from http://dbfpy.sourceforge.net/ first | |
# | |
from dbfpy import dbf | |
import sys |
#!/usr/bin/env python | |
# | |
# jnlp_crawler.py - Download all the jar files in a jnlp file for offline examination | |
# Sheran Gunasekera | |
# | |
from xml.dom.minidom import parse | |
from xml.parsers.expat import ExpatError | |
import urllib | |
import sys |
#!/usr/bin/env python | |
import fileinput | |
import re | |
import gzip | |
def checkmarker1(line, table_name): | |
line = line.strip('\n') | |
needle = re.compile('.*?Dumping data for table \`'+table_name+'\`.*') |
#!/bin/zsh | |
for apk in *.apk; do | |
unzip -q $apk "classes*.dex" | |
for dex in *.dex; do | |
gg=`dextra -M $dex |grep "attest\t"|cut -f5 -d":"|grep Task|xargs|cut -f1 -d" "` | |
if [ ${#gg} -gt 0 ]; then echo "$apk,$dex,$gg"; fi | |
rm $dex | |
done | |
done |
I hereby claim:
To claim this, I am signing this object:
/etc/init.d/tailscale | |
/etc/rc.d/*tailscale | |
/etc/tailscale/ | |
/lib/upgrade/keep.d/tailscale | |
/usr/sbin/tailscale | |
/usr/sbin/tailscaled |
{ config, pkgs, ... }: | |
{ | |
networking.firewall = { | |
enable = true; | |
allowedTCPPorts = [ 22 80 443 ]; | |
interfaces.podman1 = { | |
allowedUDPPorts = [ 53 ]; # this needs to be there so that containers can look eachother's names up over DNS | |
}; | |
}; | |
#cloud-config | |
write_files: | |
- path: /etc/nixos/host.nix | |
permissions: '0644' | |
content: | | |
{ config, pkgs, ... }: | |
{ | |
networking.firewall = { | |
enable = true; | |
allowedTCPPorts = [ 22 80 443 ]; |