javascript: document.body.setAttribute( "style", "-webkit-transform: rotate(-90deg);");
paste into JS console: Ctrl-Shift-C -> "Console" from top menu
#!/bin/bash | |
# IMPORTANT: Don't forget to logout from your Apple ID in the settings before running it! | |
# IMPORTANT: You will need to run this script from Recovery. In fact, macOS Catalina brings read-only filesystem which prevent this script from working from the main OS. | |
# This script needs to be run from the volume you wish to use. | |
# E.g. run it like this: cd /Volumes/Macintosh\ HD && sh /Volumes/Macintosh\ HD/Users/sabri/Desktop/disable.sh | |
# WARNING: It might disable things that you may not like. Please double check the services in the TODISABLE vars. | |
# Get active services: launchctl list | grep -v "\-\t0" | |
# Find a service: grep -lR [service] /System/Library/Launch* /Library/Launch* ~/Library/LaunchAgents |
#!/usr/bin/python3 | |
# Monitor transmission and enable sequential downloads | |
# by manipulating file download priorities | |
# | |
# Author: Joseph Botosh <rumly111@gmail.com> | |
# License: GPL | |
from time import sleep | |
from argparse import ArgumentParser |
/* | |
Tired of scrolling to one of the last photos on the page on Instagram? Let your | |
browser do the scrolling for you! | |
31-05-2017 | |
(c) 2017 - Loran Kloeze - loran@ralon.nl | |
Usage | |
- Go to https://www.instagram.com/instagram_handle/ (change instagram_handle in i.e. taylorswift) | |
- Open up the console (F12) (Firefox users: type 'allow pasting' if you haven't done so yet) | |
- Select the contents of this complete file and copy/paste it to the console and hit enter |
import urllib | |
import urllib2 | |
import string | |
import sys | |
from bs4 import BeautifulSoup | |
import sys | |
import argparse | |
import datetime | |
import re |
(new-object System.Net.WebClient).DownloadFile('http://dl.google.com/chrome/install/375.126/chrome_installer.exe', 'c:/temp/chrome.exe');. c:/temp/chrome.exe /silent /install;rm c:/temp -rec |
#include "SoSharedLibDefs.h" | |
#include "SoCClient.h" | |
#define EXPORT extern "C" __declspec(dllexport) | |
#define strdup _strdup | |
// ------------------------------------------------------------------ | |
// 宣言 | |
// ------------------------------------------------------------------ |
// ==UserScript== | |
// @name Disable_lazy_load | |
// @namespace https://gist.github.com/ihsoy-s/ | |
// @version 0.2 | |
// @description Remove lazy load | |
// @include http://*/* | |
// @include https://*/* | |
// @match http://*/* | |
// @match https://*/* | |
// @run-at document-end |
import os, os.path, sys, urllib2, requests | |
class PyPiError(Exception): | |
def __init__(self, value): | |
self.value = value | |
def __str__(self): | |
return repr(self.value) | |
def _chunk_report(bytes_so_far, chunk_size, total_size): | |
if (total_size != None): |