Skip to content

Instantly share code, notes, and snippets.

digitalhitler / smali-cheatsheet.txt
Created Sep 4, 2018
Smali docs на русском
View smali-cheatsheet.txt
Небольшая помощь в Smali
(Будет дополняться)
Общая информация
Байт-код Dalvik имеет два основных класса типов, примитивные типы и ссылочные типы. Типы ссылок - это объекты и массивы, все остальное является примитивным.
saeidzebardast / youtube-dl-playlist
Last active Oct 28, 2019
Download Youtube playlist in a folder and indexing videos using youtube-dl
View youtube-dl-playlist
alias youtube-dl-playlist="youtube-dl --ignore-errors --output '%(playlist)s/%(playlist_index)s- %(title)s.%(ext)s'"
IISResetMe / Get-MachineSID.ps1
Created Dec 30, 2014
PsGetSid local machine SID implementation in PowerShell
View Get-MachineSID.ps1
function Get-MachineSID
# Retrieve the Win32_ComputerSystem class and determine if machine is a Domain Controller
$WmiComputerSystem = Get-WmiObject -Class Win32_ComputerSystem
$IsDomainController = $WmiComputerSystem.DomainRole -ge 4
shamil /
Last active Nov 25, 2020
How to mount a qcow2 disk image

How to mount a qcow2 disk image

This is a quick guide to mounting a qcow2 disk images on your host server. This is useful to reset passwords, edit files, or recover something without the virtual machine running.

Step 1 - Enable NBD on the Host

modprobe nbd max_part=8
View trans_to_deluge.php
/* Transmission to Deluge export script
* Transmission - transmission-gtk 2.77 (14031)
* Deluge - deluge: 1.3.6
* Script - PHP 5.4.14 (cli)
* How to use this script;
* 1) Run `php trans_to_deluge.php` and make sure there aren't any errors.
You can’t perform that action at this time.