Discover gists
#!/bin/sh | |
# Download script written by Wowfunhappy. | |
# Thank you to Krackers, Jazzzny, and others for helping analyze Apple's download process and debug this script. | |
# Thank you to dosdude1 for donating identifiers from a broken Mac. | |
# Any mistakes are mine alone. | |
BOARD_SERIAL_NUMBER="C0243070168G3M91F" | |
BOARD_ID="Mac-3CBD00234E554E41" | |
ROM="003EE1E6AC14" |
1) Quit Xcode, Simulator, Instruments, etc. | |
2) Run in Terminal: sudo killall -9 com.apple.CoreSimulator.CoreSimulatorService | |
3) Run in Terminal: sudo rm -rf ~/Library/*/CoreSimulator | |
# Was tested on Xcode 10.2 and iOS Simulator 12.2 |
An guide how to activate Windows 11 Pro for free
Because you will get some more features like an Bitlocker and host your device as an External Desktop which can be accessed through the internet
The answer is yes! You can switch from almost any edition to Pro completely for free!
People which already have Pro, but not activated, can skip to this step.
What you first need to do is open CMD (Command Prompt) as Administrator using this keyboard key:
An guide how to activate Windows 11 Pro for free
Because you will get some more features like an Bitlocker and host your device as an External Desktop which can be accessed through the internet
The answer is yes! You can switch from almost any edition to Pro completely for free!
People which already have Pro, but not activated, can skip to this step.
What you first need to do is open CMD (Command Prompt) as Administrator using this keyboard key:
# To run this application you need to create a project in your google cloud console and enable the Photos library API, then you will need to create the credentials setting the type of client to "Other UI" and enabling the access to the user data. | |
# At this point you will need to download the client_id.json file, rename it in client_secrets.json and place it in the same folder of the application. | |
# Upon the first start the application will request you to open a link in a browser, authenticate and then write the code back into the console | |
# requirements | |
# - oauth2client | |
# - pysdl2 | |
# - google-api-python-client |
// 3D Dom viewer, copy-paste this into your console to visualise the DOM as a stack of solid blocks. | |
// You can also minify and save it as a bookmarklet (https://www.freecodecamp.org/news/what-are-bookmarklets/) | |
(() => { | |
const SHOW_SIDES = false; // color sides of DOM nodes? | |
const COLOR_SURFACE = true; // color tops of DOM nodes? | |
const COLOR_RANDOM = false; // randomise color? | |
const COLOR_HUE = 190; // hue in HSL (https://hslpicker.com) | |
const MAX_ROTATION = 180; // set to 360 to rotate all the way round | |
const THICKNESS = 20; // thickness of layers | |
const DISTANCE = 10000; // ¯\\_(ツ)_/¯ |
" 24 simple pseudo-text objects | |
" ----------------------------- | |
" i_ i. i: i, i; i| i/ i\ i* i+ i- i# | |
" a_ a. a: a, a; a| a/ a\ a* a+ a- a# | |
" can take a count: 2i: 3a/ | |
for char in [ '_', '.', ':', ',', ';', '<bar>', '/', '<bslash>', '*', '+', '-', '#' ] | |
execute "xnoremap i" . char . " :<C-u>execute 'normal! ' . v:count1 . 'T" . char . "v' . (v:count1 + (v:count1 - 1)) . 't" . char . "'<CR>" | |
execute "onoremap i" . char . " :normal vi" . char . "<CR>" | |
execute "xnoremap a" . char . " :<C-u>execute 'normal! ' . v:count1 . 'F" . char . "v' . (v:count1 + (v:count1 - 1)) . 'f" . char . "'<CR>" | |
execute "onoremap a" . char . " :normal va" . char . "<CR>" |