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
Join Astropad URL: | |
http://mush.twinoid.com/?astroId=*YOUR_ASTROPAD_ID*&astroKey=*YOUR_ASTROPAD_KEY* | |
External Astropad URL: | |
http://astropad.sunsky.fr/?gid=*YOUR_ASTROPAD_ID*&rkey=*YOUR_ASTROPAD_KEY*&language=en | |
Add items URL: | |
http://astropad.sunsky.fr/api.py/addItems?tid=1&hid=*Character_ID*&gid=*YOUR_ASTROPAD_ID*&gkey=*YOUR_ASTROPAD_KEY*&data=*ITEMS_DATA* | |
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
// ==UserScript== | |
// @name Anti-AstroPad | |
// @version 0.01 | |
// @grant GM_xmlhttpRequest | |
// @grant GM_addStyle | |
// @match http://mush.vg/* | |
// @match http://mush.vg/# | |
// @match http://mush.twinoid.com/* | |
// @match http://mush.twinoid.com/# | |
// @match http://mush.twinoid.es/* |
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/sh | |
# | |
# Resizes all images in current directory to max size 1900x1200 | |
# | |
echo "Resizing images to 1900x1200" | |
for line in $(find . -iname '*.png'); do |
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
// ==UserScript== | |
// @name moonwalk Video Ads Remover | |
// @namespace http://tampermonkey.net/ | |
// @version 0.1 | |
// @description When I watch movies only video player ads makes me cry they're blocked by AdBlock, but I can't start play a video without waiting for 14 sec | |
// @author You | |
// @match http://moonwalk.cc/*/iframe* | |
// @match http://logethy.com/*/frame* | |
// @match http://moonwalk.center/*/iframe* | |
// @grant none |
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 | |
class CreateTypographyTestingPage extends BuildTask | |
{ | |
protected $title = 'Create Typography Testing Page'; | |
public function run($request) | |
{ | |
$page = Page::create(); | |
$page->Title = 'Typography Testing Page'; |
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
#!/usr/bin/env sh | |
# Required: ipcalc to convert IP Ranges to IP CIDR format supported by nginx | |
# http://ipcalc.readthedocs.io/en/latest/ | |
# Debian based installation: apt install ipcalc | |
get_blacklist(){ | |
wget $1 -O /tmp/iblocklist.gz | |
gzip -d /tmp/iblocklist.gz | |
grep -o '^[^#]*' /tmp/iblocklist | awk -F ":" 'NF {system("ipcalc " $2 " | tail -1 | xargs echo -n"); print " 1;"}' >> /tmp/iblock-list.conf |
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
#!/usr/bin/env bash | |
SOURCE_DIR="${HOME}/Pictures/Photos/DCIM_SYNCED" | |
DEST_DIR="${HOME}/Pictures/Photos/Archived" | |
echo "Categorizing files from ${SOURCE_DIR} to ${DEST_DIR} ..." | |
## Find files and categorize them | |
find "${SOURCE_DIR}" -type f -regex ".*/.*\.\(jpg\|JPG\|jpeg\|JPEG\|png\|PNG\)" | | |
while IFS= read -r file; do |
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
cat /proc/cmdline | |
console=ttyS1,57600n8 root=/dev/mtdblock5 console=ttyS0 | |
========================================================= | |
cat /proc/version | |
Linux version 3.10.14+ (builder@rd) (gcc version 4.9.4 (Buildroot 2016.11-rc2-00001-geeacc3c) ) #1 SMP Fri Oct 27 15:29:30 MSK 2017 | |
=========================== | |
cat /VERSION | |
NAME: DIR_853_MT7621AT |
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
binwalk firmware.bin | |
DECIMAL HEXADECIMAL DESCRIPTION | |
-------------------------------------------------------------------------------- | |
0 0x0 uImage header, header size: 64 bytes, header CRC: 0xBA54E809, created: 2018-03-16 13:51:16, image size: 1724041 bytes, Data Address: 0x80001000, Entry Point: 0x803A10C0, data CRC: 0x4D6C3FBC, OS: Linux, CPU: MIPS, image type: OS Kernel Image, compression type: lzma, image name: "DIR_853_MT7621AT" | |
64 0x40 LZMA compressed data, properties: 0x5D, dictionary size: 8388608 bytes, uncompressed size: 5007808 bytes | |
1769472 0x1B0000 Squashfs filesystem, little endian, version 4.0, compression:xz, size: 8560882 bytes, 2327 inodes, blocksize: 524288 bytes, created: 2018-03-16 13:51:10 |
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 | |
/* | |
* Generates FileHash and moves files to .protected folder | |
* Re-generates CMS thumbs on the second run and publish files | |
*/ | |
use SilverStripe\Dev\BuildTask; | |
use SilverStripe\Control\Director; | |
use SilverStripe\Assets\File; |
OlderNewer