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
package main | |
import ( | |
"fmt" | |
"math" | |
"net/http" | |
"strconv" | |
"sort" | |
) |
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
using System.Collections; | |
using System.Collections.Generic; | |
using UnityEngine; | |
using WebSocketSharp; | |
/** | |
* a reference client for the fakedaydreamcontroller | |
* by cmdr2 <secondary.cmdr2@gmail.com> | |
* |
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
[RequireComponent(typeof(MeshFilter))] | |
public class GenerateMesh02 : MonoBehaviour { | |
/* scratchpad */ | |
private MeshFilter mf; | |
void Start () { | |
mf = GetComponent<MeshFilter> (); | |
GenerateMesh (); |
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
package org.cmdr2.exoplayerbridge; | |
import android.app.Activity; | |
import android.media.AudioManager; | |
import android.media.MediaCodec; | |
import android.net.Uri; | |
import android.util.Log; | |
import android.view.Surface; | |
import android.view.SurfaceView; |
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
void Update() { | |
if (Input.touchCount > 0) { | |
foreach (Touch t in Input.touches) { | |
if (t.phase == TouchPhase.Moved) { | |
if (t.position.x < Screen.width * 0.5f && handType == HandType.HOUR_HAND) { | |
leftCube.SetActive(true); | |
rightCube.SetActive(false); | |
} else if (t.position.x > Screen.width * 0.5f && handType == HandType.MINUTE_HAND) { | |
leftCube.SetActive(false); | |
rightCube.SetActive(true); |
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 client = net.connect(55566, "spyd.junkonet.org", function() { | |
log('CLIENT: Connected'); | |
var logonMsg = JSON.stringify({"method":"logon","data":{"userId":"SomethingOne4Bot","version":"40.3","roomId":"test_room"}}); | |
log("CLIENT: " + logonMsg); | |
client.write(logonMsg + "\r\n"); | |
}); | |
client.setEncoding('utf8'); |
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
import android | |
import sys | |
import json | |
import time | |
import datetime | |
import socket | |
from threading import Timer | |
f = open("janus_users.txt", 'w', 0) |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<style> | |
#sq0 { | |
left: 300px; | |
top: 350px; | |
z-index: -250; | |
background: red; | |
} |
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
Big problems affecting society (well, actually me) that I'd like to solve: | |
* Asteroid detection, climate API, tourism API, - https://gsafas.secure.force.com/apply | |
* Life operations and survival (earn a living) dominate time spent by mass of people | |
* People lose contact with friends and family over years, even though they'd like to stay in touch (aka "life happens") | |
* People stop learning about things beyond their immediate work and social circle | |
* Car drivers are not pre-trained to reflexively handle accidents (e.g. through simulators) | |
* Genuine browsing and data privacy for internet users worldwide | |
* Cut out bureaucratic fat in democracy through technology | |
* Society depends on money for self-justification |
NewerOlder