Skip to content

Instantly share code, notes, and snippets.

View Armatix's full-sized avatar

Armatix Armatix

View GitHub Profile
@o-ars
o-ars / choco
Created November 11, 2020 13:55
choco install chocolatey-core.extension
choco install 7zip.install
choco install javaruntime
choco install flashplayerplugin
choco install ccleaner
choco install ccenhancer
choco install libreoffice-fresh
choco install foobar2000
choco install irfanview
choco install irfanviewplugins
@nhtua
nhtua / 00.install-android-sdk.sh
Last active April 29, 2024 23:27
Run a Headless Android Device on Ubuntu server (no GUI)
#!/bin/bash -i
#using shebang with -i to enable interactive mode (auto load .bashrc)
set -e #stop immediately if any error happens
# Install Open SDK
apt update
apt install openjdk-8-jdk -y
update-java-alternatives --set java-1.8.0-openjdk-amd64
java -version
@JoeyBurzynski
JoeyBurzynski / sysctl.conf
Created December 11, 2019 07:13
sysctl.conf Optimization / Ubuntu 18.04
# Kernel sysctl configuration file for Linux
#
# Version 1.14 - 2019-04-05
# Michiel Klaver - IT Professional
# http://klaver.it/linux/ for the latest version - http://klaver.it/bsd/ for a BSD variant
#
# This file should be saved as /etc/sysctl.conf and can be activated using the command:
# sysctl -e -p /etc/sysctl.conf
#
# For binary values, 0 is disabled, 1 is enabled. See sysctl(8) and sysctl.conf(5) for more details.
@schirrmacher
schirrmacher / frida-struct-pointer-pointer.js
Last active February 3, 2024 12:32
Frida: How to read a struct or a struct pointer or a pointer of a struct pointer?
/*
typedef struct {
int size;
char* data;
} test_struct;
void some_func(test_struct **s);
@YuriyGuts
YuriyGuts / chocolatey-install-apps.cmd
Last active September 27, 2023 21:22
A script to install all necessary software on a fresh Windows installation using Chocolatey
@echo off
rem ===== Run this first: =====
rem @powershell -NoProfile -ExecutionPolicy Bypass -Command "iex ((new-object net.webclient).DownloadString('https://chocolatey.org/install.ps1'))" && SET PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin
rem choco feature enable -n=allowGlobalConfirmation
rem mkdir C:\Tools
rem choco install -y toolsroot
rem ===========================
rem ----- Essentials -----