This file contains hidden or 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 4chan /sdg/ catbox.moe userscript | |
| // @namespace 4chanhdgcatbox | |
| // @match https://boards.4chan.org/aco/thread/* | |
| // @match https://boards.4chan.org/d/thread/* | |
| // @match https://boards.4chan.org/e/thread/* | |
| // @match https://boards.4chan.org/h/thread/* | |
| // @match https://boards.4chan.org/trash/thread/* | |
| // @match https://boards.4channel.org/g/thread/* | |
| // @match https://boards.4channel.org/jp/thread/* |
This file contains hidden or 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
| ''' | |
| Bluetooth/Pyjnius example | |
| ========================= | |
| This was used to send some bytes to an arduino via bluetooth. | |
| The app must have BLUETOOTH and BLUETOOTH_ADMIN permissions (well, i didn't | |
| tested without BLUETOOTH_ADMIN, maybe it works.) | |
| Connect your device to your phone, via the bluetooth menu. After the | |
| pairing is done, you'll be able to use it in the app. |
This file contains hidden or 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
| package no.nsb.ombord; | |
| import java.net.DatagramPacket; | |
| import java.net.DatagramSocket; | |
| import java.net.InetAddress; | |
| import java.net.SocketTimeoutException; | |
| import java.net.UnknownHostException; | |
| import org.apache.http.util.ExceptionUtils; |
This file contains hidden or 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
| // Определяем зависимости в переменных | |
| var gulp = require('gulp'), | |
| cache = require('gulp-cache'), | |
| clean = require('gulp-clean'), | |
| stream = require('event-stream'), | |
| size = require('gulp-size'), | |
| jshint = require('gulp-jshint'), | |
| concat = require('gulp-concat'), | |
| uglify = require('gulp-uglify'), | |
| minifyCSS = require('gulp-minify-css'), |