Example content.
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
SDL Key Code | Miyoo Mini+ Button | |
---|---|---|
SDL_KEYDOWN: Keycode: Up (1073741906) Scancode: Up (82) | UP ARROW | |
SDL_KEYUP: Keycode: Up (1073741906) Scancode: Up (82) | ||
SDL_KEYDOWN: Keycode: Right (1073741903) Scancode: Right (79) | RIGHT ARROW | |
SDL_KEYUP: Keycode: Right (1073741903) Scancode: Right (79) | ||
SDL_KEYDOWN: Keycode: Down (1073741905) Scancode: Down (81) | DOWN ARROW | |
SDL_KEYUP: Keycode: Down (1073741905) Scancode: Down (81) | ||
SDL_KEYDOWN: Keycode: Left (1073741904) Scancode: Left (80) | LEFT ARROW | |
SDL_KEYUP: Keycode: Left (1073741904) Scancode: Left (80) | ||
SDL_KEYDOWN: Keycode: Left Shift (1073742049) Scancode: Left Shift (225) | X |
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
#!/bin/bash | |
set -e | |
command -v jq >/dev/null 2>&1 || { echo >&2 "I require jq but it's not installed (see: https://stedolan.github.io/jq/). Aborting."; exit 1; } | |
command -v curl >/dev/null 2>&1 || { echo >&2 "I require curl but it's not installed (see: https://curl.haxx.se/). Aborting."; exit 1; } | |
command -v websocat >/dev/null 2>&1 || { echo >&2 "I require websocat but it's not installed (see: https://github.com/vi/websocat/releases). Aborting."; exit 1; } | |
# Adapted from: | |
# https://gist.github.com/cgmartin/466bd2d3724de6c04743d61cf0de2066 |
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
// The following changes will allow for multi-sprite avatars, per room. | |
// I've enabled the following hacks: | |
// - multi-sprite-avatar | |
// - avatar-by-room | |
/////////////////////////////////////// | |
// Updates to multi-sprite-avatar hack | |
/////////////////////////////////////// | |
// - Convert the pieces array to a dictionary with the key being a room ID and the value being the array of sprite pieces. |
- https://github.com/bostrt/ocp4-auth-mitm
- Turn off operator
- op: add
path: /spec/overrides
value:
- kind: Deployment
group: apps/v1
name: machine-api-operator
namespace: openshift-machine-api
Get playlist:
# QUEST_IP=192.168.x.x
# PLAYLIST_URL=https://bsaber.com/PlaylistAPI/18-08-06_songs-with-fantastic-flow-vol-1_elliotttate.bplist
# PLAYLIST_NAME=$(basename $PLAYLIST_URL)
# wget $PLAYLIST_URL
Download each song from playlist:
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
'use strict'; | |
const QuestGoal = require('../../../src/QuestGoal'); | |
/** | |
* A quest goal requiring the player to locate a NPC. | |
* TODO: Add Dead-or-Alive feature. | |
*/ | |
class BountyGoal extends QuestGoal { | |
constructor(quest, config, player) { |
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
09-16 20:02:37.255 9920 9920 D AndroidRuntime: Shutting down VM | |
09-16 20:02:37.258 9920 9920 E AndroidRuntime: FATAL EXCEPTION: main | |
09-16 20:02:37.258 9920 9920 E AndroidRuntime: Process: com.xabber.android.beta, PID: 9920 | |
09-16 20:02:37.258 9920 9920 E AndroidRuntime: java.lang.IllegalArgumentException: Invalid notification (no valid small icon): Notification(pri=0 contentView=com.xabber.android.beta/0x1090086 vibrate=default sound=content://settings/system/notification_sound defaults=0x6 flags=0x1 color=0x00000000 vis=PRIVATE) | |
09-16 20:02:37.258 9920 9920 E AndroidRuntime: at android.app.NotificationManager.notify(NotificationManager.java:222) | |
09-16 20:02:37.258 9920 9920 E AndroidRuntime: at android.app.NotificationManager.notify(NotificationManager.java:194) | |
09-16 20:02:37.258 9920 9920 E AndroidRuntime: at com.xabber.android.data.notification.NotificationManager.notify(NotificationManager.java:448) | |
09-16 20:02:37.258 9920 9920 E AndroidRuntime: at com.xabber.android.data.notification |
https://twitter.com/rauschma/status/458949152953860096 and http://speakingjs.com/es5/ch09.html#plus_operator got me thinking...
var a = new String('a');
var b = new String('a');
a['toString'] = function() { return 1 };
a + b; // 'aa'
NewerOlder