Discover gists
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/zsh | |
# CREDITS: Original idea and script disable.sh by pwnsdx https://gist.github.com/pwnsdx/d87b034c4c0210b988040ad2f85a68d3 | |
# Big Sur revision by b0gdanw https://gist.github.com/b0gdanw/40d000342dd1ba4d892ad0bdf03ae6ea | |
# TEMPORARILY disabling (e.g. STOPPING via 'bootout') unwanted services on macOS 11 Big Sur and macOS 12 Monterey: | |
# This version is for a special boot that optimizes for real-time music performance and streaming video. | |
# Due to the read-only system volume introduced with macOS Catalina, this script can NOT be run in Recovery mode's Terminal. | |
# For my purposes I leave WiFi enabled, for streaming video to a local router with no internet connection. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// https://play.golang.org/p/l_GmjX31XbM | |
package main | |
import ( | |
"encoding/json" | |
"fmt" | |
) | |
// Main has a Field2 whose type we don't know at the time of unmarshaling. We |
For KOReader (or any other APK) to be installed on a Tolino device, the debug menu has to be enabled:
- if the tolino is on system version 14, search for code
124816
source - if the tolino is on system version 15, search for code
1123581321
source - if the tolino is on system version 16, search for code
112358132fb
source
Note: "searching" as in the search for books on the tolino itself (the magnifying glass in the top bar)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
session_start(); | |
define("MAPS_HOST", "maps.google.com"); | |
define("KEY", "YOURGOOGLEMAPSAPIKEY"); //Personal Google Maps API key | |
//Get address from which we will geocode the coordinates | |
$address=$_GET['address']; | |
if( $address!=NULL) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
\ -*- text -*- | |
\ A sometimes minimal FORTH compiler and tutorial for Linux / i386 systems. -*- asm -*- | |
\ By Richard W.M. Jones <rich@annexia.org> http://annexia.org/forth | |
\ This is PUBLIC DOMAIN (see public domain release statement below). | |
\ $Id: jonesforth.f,v 1.17 2007/10/12 20:07:44 rich Exp $ | |
\ | |
\ The first part of this tutorial is in jonesforth.S. Get if from http://annexia.org/forth | |
\ | |
\ PUBLIC DOMAIN ---------------------------------------------------------------------- | |
\ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### Basic ### | |
# The directory to store the downloaded file. | |
dir=${HOME}/Downloads | |
# Downloads the URIs listed in FILE. | |
input-file=${HOME}/.aria2/aria2.session | |
# Save error/unfinished downloads to FILE on exit. | |
save-session=${HOME}/.aria2/aria2.session | |
# Save error/unfinished downloads to a file specified by --save-session option every SEC seconds. If 0 is given, file will be saved only when aria2 exits. Default: 0 | |
save-session-interval=60 | |
# Set the maximum number of parallel downloads for every queue item. See also the --split option. Default: 5 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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; // ¯\\_(ツ)_/¯ |
영어지만, 조금 더 상세하게 마크다운 사용법을 안내하고 있는
"Markdown Guide (https://www.markdownguide.org/)" 를 보시는 것을 추천합니다. ^^
아, 그리고 마크다운만으로 표현이 부족하다고 느끼신다면, HTML 태그를 활용하시는 것도 좋습니다.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<application> | |
<service | |
android:label="BLABLABLA" | |
android:name=".service.WindowChangeDetectingService" | |
android:permission="android.permission.BIND_ACCESSIBILITY_SERVICE"> | |
<intent-filter> | |
<action android:name="android.accessibilityservice.AccessibilityService"/> | |
</intent-filter> | |
<meta-data | |
android:name="android.accessibilityservice" |
NewerOlder