Skip to content

Instantly share code, notes, and snippets.

Serial Keys:
FU512-2DG1H-M85QZ-U7Z5T-PY8ZD
CU3MA-2LG1N-48EGQ-9GNGZ-QG0UD
GV7N2-DQZ00-4897Y-27ZNX-NV0TD
YZ718-4REEQ-08DHQ-JNYQC-ZQRD0
GZ3N0-6CX0L-H80UP-FPM59-NKAD4
YY31H-6EYEJ-480VZ-VXXZC-QF2E0
ZG51K-25FE1-H81ZP-95XGT-WV2C0
VG30H-2AX11-H88FQ-CQXGZ-M6AY4
@Dr-Chaos
Dr-Chaos / extract android kernel.md
Created January 29, 2020 15:07 — forked from azureru/extract android kernel.md
How to Extract Android Kernel And Modify The Boot Ramdisk (Android 4.4) on Allwinner based Processor

Extracting Existing Kernel + Ramfs

Enter the machine using adb shell

Run cat /proc/partitions

  #  Path                     Purpose        Size
  0 /dev/block/mmcblk0                       7761920
  1 /dev/block/mmcblk0p1      data           6085631
@Dr-Chaos
Dr-Chaos / Ubuntu server setup script (PHP 7.1)
Created August 30, 2019 13:30 — forked from Ravaelles/Ubuntu server setup script (PHP 7.1)
PHP 7.1 + nginx + MongoDB driver for PHP
#!/bin/bash
######################################################
### README ###########################################
######################################################
###
### One-line server install script for Ubuntu.
### Installs Nginx + PHP7.1 + MongoDB for PHP driver.
###
### Removes previous Apache, PHP, nginx installations.
@Dr-Chaos
Dr-Chaos / api.module.ts
Created August 27, 2019 21:48 — forked from Toilal/api.module.ts
@auth0/angular2-jwt Authorization Service and HttpInterceptor supporting JWT Refresh Token (Angular 4.3+ & 5+)
import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { JWT_OPTIONS, JwtInterceptor, JwtModule } from '@auth0/angular-jwt';
import { AuthorizationService } from './authorization.service';
import { environment } from '../../environments/environment';
import { HTTP_INTERCEPTORS, HttpClientModule } from '@angular/common/http';
import { RefreshTokenInterceptor } from './refresh-token-interceptor';
function jwtOptionsFactory (authorizationService: AuthorizationService) {
return {
@Dr-Chaos
Dr-Chaos / all-angular-material-components-imports.txt
Created August 15, 2019 05:52 — forked from pimatco/all-angular-material-components-imports.txt
All Angular Material Components Imports from app.module.ts
import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';
import { AppComponent } from './app.component';
//Angular Material Components
import {BrowserAnimationsModule} from '@angular/platform-browser/animations';
import {MatCheckboxModule} from '@angular/material';
import {MatButtonModule} from '@angular/material';
@Dr-Chaos
Dr-Chaos / PowerShell Customization.md
Created June 27, 2019 19:02 — forked from jchandra74/PowerShell Customization.md
PowerShell, Cmder / ConEmu, Posh-Git, Oh-My-Posh, Powerline Customization

Pimping Up Your PowerShell & Cmder with Posh-Git, Oh-My-Posh, & Powerline Fonts

Backstory (TLDR)

I work as a full-stack developer at work. We are a Windows & Azure shop, so we are using Windows as our development platform, hence this customization.

For my console needs, I am using Cmder which is based on ConEmu with PowerShell as my shell of choice.

Yes, yes, I know nowadays you can use the Linux subsystem on Windows 10 which allow you to run Ubuntu on Windows. If you are looking for customization of the Ubuntu bash shell, check out this article by Scott Hanselman.

@Dr-Chaos
Dr-Chaos / wslArmory.sh
Created April 3, 2019 15:03 — forked from katakumby/wslArmory.sh
Ubuntu on Windows (WSL) arming the subsystem for the security tester | installer for wpscan, metasploit, kali tools
#!/bin/bash
#curl https://gist.githubusercontent.com/katakumby/466f3ae800609abcdaede60bc2e26c0f/raw/f95a24a53a9d87f01551ef7c03c535e2c6ce173c/installer.sh | bash
#This script will automatically install basic pentesting software like kali linux tools, wpscan, metasploit etc.
sudo apt-get update
sudo apt-get upgrade -y
sudo apt-get dist-upgrade -y
QApplication,
QMainWindow, QFrame, QDockWidget, QDialog, QFileDialog, QMessageBox{
background: white;
border: none;
color: #212121;
}
QToolBar {
background: #0097A7;
@Dr-Chaos
Dr-Chaos / CMakeLists.txt
Last active June 7, 2018 19:45 — forked from henriquegemignani/CMakeLists.txt
vcpkg curl example
cmake_minimum_required(VERSION 3.0)
set(CMAKE_BUILD_TYPE Release)
project(Application)
find_package(CURL REQUIRED)
include_directories(Application ${CURL_INCLUDE_DIRS})
add_executable(Application main.cpp)
target_link_libraries(Application ${CURL_LIBRARIES})