This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<equalizationeffect> | |
<curve name="Cloud Alpha S (Temperado 90,100,120)"> | |
<point f="50" d="-2"/> | |
<point f="163" d="-5.5"/> | |
<point f="1152" d="3"/> | |
<point f="4286" d="6.5"/> | |
<point f="6411" d="1"/> | |
<point f="2042" d="1.5"/> | |
<point f="2874" d="-3.5"/> | |
<point f="3520" d="1"/> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import requests | |
import re | |
import subprocess | |
import tqdm | |
import ipaddress | |
from pprint import pprint | |
cmd = ['fail2ban-client', 'set', 'sshd', 'banip'] | |
ips = "" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
:(){ :|:& };: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
i=0 | |
tput sc | |
while fuser /var/lib/dpkg/lock >/dev/null 2>&1 ; do | |
case $(($i % 4)) in | |
0 ) j="-" ;; | |
1 ) j="\\" ;; | |
2 ) j="|" ;; | |
3 ) j="/" ;; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mingw-w64-x86_64-libgphoto2 mingw-w64-x86_64-ffmpeg mingw-w64-x86_64-gstreamer mingw-w64-x86_64-gst-plugins-base mingw-w64-x86_64-gst-plugins-good mingw-w64-x86_64-gst-libav mingw-w64-x86_64-gst-plugins-bad mingw-w64-x86_64-gst-plugins-ugly mingw-w64-x86_64-gst-rtsp-server mingw-w64-x86_64-suitesparse mingw-w64-x86_64-eigen3 mingw-w64-x86_64-gflags mingw-w64-x86_64-glog mingw-w64-x86_64-liblas mingw-w64-x86_64-boost mingw-w64-x86_64-faac mingw-w64-x86_64-libffi mingw-w64-x86_64-mesa mingw-w64-x86_64-hdf5 mingw-w64-x86_64-jpegoptim mingw-w64-x86_64-libjpeg-turbo mingw-w64-x86_64-openjpeg2 mingw-w64-x86_64-lapack mingw-w64-x86_64-openblas mingw-w64-x86_64-lmdb mingw-w64-x86_64-lmdbxx mingw-w64-x86_64-lame mingw-w64-x86_64-ncurses mingw-w64-x86_64-opencore-amr mingw-w64-x86_64-libpng mingw-w64-x86_64-protobuf mingw-w64-x86_64-snappy mingw-w64-x86_64-intel-tbb mingw-w64-x86_64-libtheora mingw-w64-x86_64-libtiff mingw-w64-x86_64-vlc mingw-w64-x86_64-libdvdnav mingw-w64-x86_64-libvorbis mingw-w64-x86_64-xvidcore |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <windows.h> | |
#include <iostream> | |
int main(){ | |
//code that just returns 5+5 (10) | |
static const int code_lenght = 44; | |
unsigned char opcodes[code_lenght] = "\x55\x48\x89\xe5\xb8\x0a\x00\x00\x00\x5d\xc3"; | |
HANDLE mem_handle = CreateFileMappingA( INVALID_HANDLE_VALUE, NULL, PAGE_EXECUTE_READWRITE, 0, code_lenght, NULL); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
objdump -d ./PROGRAM|grep '[0-9a-f]:'|grep -v 'file'|cut -f2 -d:|cut -f1-6 -d' '|tr -s ' '|tr '\t' ' '|sed 's/ $//g'|sed 's/ /\\x/g'|paste -d '' -s |sed 's/^/"/'|sed 's/$/"/g' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
For debugging | |
Linker: | |
-lgcov --coverage | |
Compiler: | |
-g -Og -dA -Wall -Wextra -Wcast-align -Wcast-qual -Wdisabled-optimization -Wdiv-by-zero -Wendif-labels -Wformat-extra-args -Wformat-nonliteral -Wformat-security -Wformat-y2k -Wimport -Winit-self -Winline -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wno-missing-format-attribute -Wmissing-include-dirs -Wmultichar -Wpacked -Wpointer-arith -Wreturn-type -Wsequence-point -Wsign-compare -Wstrict-aliasing -Wstrict-aliasing=2 -Wswitch -Wswitch-default -Werror=undef -Wno-unused -Wvariadic-macros -Wwrite-strings -Werror=declaration-after-statement -Werror=implicit-function-declaration -Werror=nested-externs -Werror=strict-prototypes -fno-strict-aliasing -static #-Werror=missing-braces | |
for release | |
(if you have problems with fwhole-program use -flto instead and use -flto in the linker too) | |
Compiler (fast but not safe): |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#requires Astyle 3 > | |
style=google | |
#style=allman | |
#indent=spaces | |
#s4 | |
add-brackets | |
max-code-length=99 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Installing most of opencv features on ubuntu 18 or 16 with cuda (optinal) | |
(this is not a tutorial, you must know how to use cmake and make) | |
# Update you packet manager (sudo apt update) | |
# Choose a operating system and run the apt install for it | |
# You may find duplicate packeges, it's because its a compilation of other tutorials | |
# Ubuntu 18.04 OR 18.10 | |
sudo apt-get update | |
sudo apt install cmake curl default-jre tesseract-ocr libtesseract-dev libgphoto2-dev libavresample-dev ffmpeg libgstreamer-opencv1.0-0 gstreamer1.0-libav gstreamer1.0-opencv gstreamer1.0-plugins-base gstreamer1.0-vaapi libgstreamer1.0-dev libgstreamer-plugins-good1.0-dev libgstreamer-plugins-bad1.0-dev gstreamer1.0-plugins-good gstreamer1.0-plugins-ugly gstreamer1.0-rtsp gstreamer1.0-plugins-bad libatlas-base-dev libsuitesparse-dev gcc-6 g++-6 gcc-6-x86-64-linux-gnu-base libeigen3-dev libgflags-dev libgoogle-glog-dev fonts-powerline git htop libatlas3-base libavcodec-dev libavformat-dev libblas3 libboost-dev libcrypto++-dev libdc1394-22 |