Note
This no longer works in browser!
Note
This no longer works if you're alone in vc! Somebody else has to join you!
How to use this script:
- Accept the quest under User Settings -> Gift Inventory
<?php | |
// PHP sample code to show multipart file upload using the B2 Native API | |
// User supplies optional -v for verbose output from curl, then bucket name | |
// and path to local file | |
$rest_index = null; | |
$opts = getopt("v::", [], $rest_index); | |
$args = array_slice($argv, $rest_index); |
import hexdump | |
import kiss | |
import struct | |
def decode_addr(data, cursor): | |
(a1, a2, a3, a4, a5, a6, a7) = struct.unpack("<BBBBBBB", data[cursor:cursor+7]) | |
hrr = a7 >> 5 | |
ssid = (a7 >> 1) & 0xf | |
ext = a7 & 0x1 |
/** | |
* \par Copyright (C), 2012-2016, MakeBlock | |
* @file Me_LEDMatrixTest.ino | |
* @author MakeBlock (modified by Petr Lukas) | |
* @version V1.0.0 | |
* @date 2019/05/12 | |
* @brief Description: this file is sample code for Me LED Matrix device. | |
* | |
* Function List: | |
* clearScreen() Remove content of display |
<settings> | |
... | |
<activeProfiles> | |
<activeProfile>nexus</activeProfile> | |
</activeProfiles> | |
... | |
<profiles> | |
<profile> | |
<id>nexus</id> | |
<repositories> |
function getNoun(number, one, two, five) { | |
let n = Math.abs(number); | |
n %= 100; | |
if (n >= 5 && n <= 20) { | |
return five; | |
} | |
n %= 10; | |
if (n === 1) { | |
return one; | |
} |