Skip to content

Instantly share code, notes, and snippets.

paigeadelethompson

View GitHub Profile
View gist:42610b99731993cf324a926d0c46278c
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 46.246.35.1 0.0.0.0 UG 0 0 0 IPREDATOR
10.242.0.0 0.0.0.0 255.255.255.0 U 0 0 0 enp1s0
10.242.239.0 0.0.0.0 255.255.255.0 U 0 0 0 enp2s0
46.246.34.130 192.168.1.1 255.255.255.255 UGH 0 0 0 enp0s3
46.246.35.0 0.0.0.0 255.255.255.0 U 0 0 0 IPREDATOR
46.246.35.2 192.168.1.1 255.255.255.255 UGH 0 0 0 enp0s3
46.246.35.130 0.0.0.0 255.255.255.255 UH 0 0 0 enp0s3
46.246.36.130 192.168.1.1 255.255.255.255 UGH 0 0 0 enp0s3
View IPredator.conf
# Note: openvpn should be started with these flags:
# /etc/default/openvpn : --suppress-timestamps --nobind --tls-timeout 5 --script-security 2 --management /run/IPredator.sock unix --config /etc/openvpn/client/IPredator.conf
client # Indicate that this is a client configuration
nobind # Bind to the interface and client (source) port allocated by the IP stack
passtos # Set the TOS field of the tunnel packet to what the payload’s TOS is.
persist-key # Maintain keys after SIGUSR1 or ping-restart
tls-client # Require a TLS session
View 1. kde crash
There's a problem with virtio guest video and opengl guest display support being enabled at the same time when running tumbleweed as a guest (seemed to work fine with backtrack a few months ago but I'll have to double check)
However right around the same time as the crash I was trying to get the compositor to restart, because I noticecd my terminal was no longer transparent, so really that catalyzed it but I'm not sure the other
is completely unrelated, it all seems to be related to graphics issues. (complete log in file #5)
[ 18.276367] virbr0: port 1(virbr0-nic) entered disabled state
[ 18.276425] device virbr0-nic entered promiscuous mode
[ 18.502744] virbr0: port 1(virbr0-nic) entered blocking state
[ 18.502747] virbr0: port 1(virbr0-nic) entered listening state
[ 18.514901] Initializing XFRM netlink socket
[ 18.522188] ctnetlink v0.93: registering with nfnetlink.
View retroarch deps
mbedtls-devel libswresample-devel libavdevice-devel libavformat-devel libavcodec-devel libavresample-devel libavutil-devel
libswscale-devel libjack-devel flac-devel libXv-devel vulkan-devel libass-devel openal-soft-devel
View gist:fc9189a4a9690d5bd92b3ce0a98bed33
byebug) backtrace
--> #0 #<Class:Yast::Debugger>.start(remote#FalseClass, port#Integer, start_client#TrueClass) at /usr/lib64/ruby/vendor_ruby/2.5.0/yast/debugger.rb:63
#1 #<Class:Yast::WFM>.handle_exception(e#NoMethodError, client#String) at /usr/lib64/ruby/vendor_ruby/2.5.0/yast/wfm.rb:268
#2 rescue in #<Class:Yast::WFM>.rescue in run_client(client#String) at /usr/lib64/ruby/vendor_ruby/2.5.0/yast/wfm.rb:329
#3 #<Class:Yast::WFM>.run_client(client#String) at /usr/lib64/ruby/vendor_ruby/2.5.0/yast/wfm.rb:310
ͱ-- #4 #<Class:Yast::WFM>.call_builtin(*args) at /usr/lib64/ruby/vendor_ruby/2.5.0/yast/wfm.rb:206
#5 #<Class:Yast::WFM>.call_builtin_wrapper(*args#Array) at /usr/lib64/ruby/vendor_ruby/2.5.0/yast/wfm.rb:206
#6 #<Class:Yast::WFM>.CallFunction(client#String, args#Array) at /usr/lib64/ruby/vendor_ruby/2.5.0/yast/wfm.rb:195
#7 Yast::ApparmorClient.startDialog at /usr/share/YaST2/clients/apparmor.rb:124
#8 Yast::ApparmorClient.main at /usr/share/YaST2/clients/apparmor
View compile_python_suse.sh
#!/bin/bash
sudo zypper install readline-devel sqlite3-devel libbz2-devel zlib-devel libopenssl-devel libgcrypt-devel glib2-devel autoconf automake libtool install libbz2-devel libssl45 libreadline7 libsqlite3-0 tk-devel
sudo zypper install -t pattern devel_C_C++
curl -vvv --retry 2 -Lsk https://www.python.org/ftp/python/3.7.3/Python-3.7.3.tar.xz -O
tar -xJvf Python-3.7.3.tar.xz
cd Python-3.7.3
./configure --prefix=/usr
View gist:4a9bcf4f0593047f3993ab6b7d79da0f
curl 'https://www.ethernodes.org/network/1/data?draw=1&columns%5B0%5D%5Bdata%5D=id&columns%5B0%5D%5Bname%5D=&columns%5B0%5D%5Bsearchable%5D=true&columns%5B0%5D%5Borderable%5D=true&columns%5B0%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B0%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B1%5D%5Bdata%5D=host&columns%5B1%5D%5Bname%5D=&columns%5B1%5D%5Bsearchable%5D=true&columns%5B1%5D%5Borderable%5D=true&columns%5B1%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B1%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B2%5D%5Bdata%5D=port&columns%5B2%5D%5Bname%5D=&columns%5B2%5D%5Bsearchable%5D=true&columns%5B2%5D%5Borderable%5D=true&columns%5B2%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B2%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B3%5D%5Bdata%5D=country&columns%5B3%5D%5Bname%5D=&columns%5B3%5D%5Bsearchable%5D=true&columns%5B3%5D%5Borderable%5D=true&columns%5B3%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B3%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B4%5D%5Bdata%5D=clientId&columns%5B4%5D%5Bname%5D=&columns%5B4%5D%5Bsearchable%5D=true&columns%5B4%5D%5Borderable%5D=tr
View README.md
View ip2long.sh
cidr=$(echo $1 | sed 's/.xz//g' | tr '/' ' ' | awk '{print $NF}' | tr '_' '/')
for y in $(xzcat $1); do
a=$(printf "0x%2X\n" $(echo $y | tr '.' ' ' | awk '{print $1}') | tr -d ' ')
b=$(printf "0x%2X\n" $(echo $y | tr '.' ' ' | awk '{print $2}') | tr -d ' ')
c=$(printf "0x%2X\n" $(echo $y | tr '.' ' ' | awk '{print $3}') | tr -d ' ')
You can’t perform that action at this time.