Note
This no longer works in browser!
Note
This no longer works if you're alone in vc! Somebody else has to join you!
How to use this script:
- Accept the quest under User Settings -> Gift Inventory
#!/usr/bin/env python | |
import os | |
import md5 | |
import zlib | |
import json | |
import socket | |
import urllib2 | |
import subprocess | |
Full JDownloader 2 Installation & Debloating (Removing Built-in Ads) Guide.
This guide will teach you how to fully install and debloat JDownloader 2, a software that splits the file you want to download to make the file download speed much faster (a goal similar to IDM), Aight, Let's begin!
Installation Part
You need to go to https://jdownloader.org/jdownloader2 and click on the button of your operating system.
{ | |
"title": "Takeout API", | |
"discoveryVersion": "v1", | |
"ownerName": "Google", | |
"version_module": true, | |
"resources": { | |
"exports": { | |
"methods": { | |
"get": { | |
"flatPath": "v2/{service}/exports/{exportId}", |
#!/bin/sh | |
#SparseChunks to image Convertor for motorola images by Erfan Abdi | |
#special thanks to superR for header removal script | |
#make sure you have only one image with sparse chunks (system or oem) | |
echo "Converting all SparseChunks to Raw Image" | |
./simg2img *chunk* system.img.raw | |
echo "Removing Moto Header" | |
offset=$(LANG=C grep -aobP -m1 '\x53\xEF' system.img.raw | head -1 | gawk '{print $1 - 1080}') | |
dd if=system.img.raw of=system_moto.img ibs=$offset skip=1 2>&1 |
Suppose you have weird taste and you absolutely want:
use std::collections::{HashMap, HashSet}; | |
fn count_occurrences(message: &str) -> HashMap<char, usize> { | |
let unique: HashSet<char> = message.chars().collect(); | |
unique | |
.iter() | |
.map(|&c| (c, message.matches(c).count())) | |
.collect() | |
} |
If you're using a high-end bluetooth headset on your Macbook Pro it's likely your mac is using an audio codec which favors battery efficiency over high quality. This results in a drastic degradation of sound, the SBC codec is the likely culprit, read more about it here.
This downloads standalone 64-bit MSVC compiler, linker & other tools, also headers/libraries from Windows SDK into portable folder, without installing Visual Studio. Has bare minimum components - no UWP/Store/WindowsRT stuff, just files & tools for 64-bit native desktop app development.
Run python.exe portable-msvc.py
and it will download output into msvc
folder. By default it will download latest available MSVC & Windows SDK - currently v14.32.17.2 and v10.0.22621.0.
You can list available versions with python.exe portable-msvc.py --show-versions
and then pass versions you want with --msvc-version
and --sdk-version
arguments.
To use cl.exe/link.exe from output folder, first run setup.bat
- after that PATH/INCLUDE/LIB env variables will be setup to use all the tools as usual. You can also use clang-cl.exe with these includes & libraries.
To use clang-cl.exe without running setup.bat, pass extra /winsysroot msvc
argument (msvc is folder name where output is stored).