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
... | |
UDP: Unknown data received : 4efa0038000100ca020000004efc0038000100ca0e000000 | |
UDP: Next message will be : 4efc0038000100ca0e000000 | |
UDP: Unknown data received : 4efc0038000100ca0e000000 | |
UDP: Next message will be : | |
UDP: Unknown data received : 4efe0038000100ca050000004e000138000100ca06000000 | |
UDP: Next message will be : 4e000138000100ca06000000 | |
UDP: Unknown data received : 4e000138000100ca06000000 | |
UDP: Next message will be : | |
UDP: Discarding double message (-0) from 1 |
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
class Behavior.TrackDrag extends Marionette.Behavior | |
events: | |
dragstart: 'start' | |
dragenter: 'enter' | |
dragleave: 'leave' | |
dragend: 'leave' | |
dragover: 'over' | |
drop: 'drop' | |
start: (e) -> |
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
trigger-camera |
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
name: "2048.c" | |
version: git | |
runner: linux | |
game_slug: "2048-c" | |
game: | |
exe: "/usr/bin/gnome-terminal" | |
args: -e "$GAMEDIR/2048" | |
files: |
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/bash | |
cd ${0%/*} | |
sock="`pwd`/mpd/socket" | |
function addList { | |
LIST=`python2 create-show.py` | |
IFS=$'\n'; |
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
// FRAGMENT SHADER | |
precision mediump float; | |
uniform vec2 u_position; | |
uniform vec3 u_palette[256]; | |
void main() { | |
int index = 5; | |
vec3 palColor = u_palette[index]; |
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
// VERTEX SHADER | |
attribute vec2 a_position; | |
uniform vec2 u_resolution; | |
uniform vec3 u_palette[256]; | |
varying vec3 v_color; | |
void main() { | |
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
var leftleggeo = new THREE.CubeGeometry(4, 12, 4); | |
var leftleg = new THREE.Mesh(leftleggeo, new THREE.MeshFaceMaterial()); | |
leftleg.position.z = -2; | |
leftleg.position.y = -6; | |
scene.add(leftleg); |
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
#include <iostream> | |
#include <string> | |
#include <ctime> | |
#include <cstdlib> | |
#include <fstream> | |
using namespace std; | |
const int DICE_COUNT = 5; | |
const int ROUND_COUNT = 6; |
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
var net = require('net'); | |
var dns = require('dns'); | |
var startAddress = "194.47.158."; | |
var scanAddress = "194.47.158.252"; | |
var scanPort = 5357; | |
scanByPort(startAddress, scanPort, function (scanlist) { | |
console.log(startAddress+"*: [ "+scanlist.join(", ")+" ]"); |
OlderNewer