Skip to content

Instantly share code, notes, and snippets.

View syntaqx's full-sized avatar
🤷
¯\_(ツ)_/¯

Chase Pierce syntaqx

🤷
¯\_(ツ)_/¯
View GitHub Profile
class SkinnedMesh extends THREE.Mesh {
constructor(geometry, materials) {
super(geometry, materials)
this.identityMatrix = new Three.Matrix4()
this.bones = []
this.boneMatrices = []
}

Signup TODO

Cross-Brand

  • Need to meet with a designer to fix the brand styling.

Login

  • Create a login page that is based on the affiliate styling.
(function () {
// I'm in teh global scopes, technically.
// But I won't leak my juices into everyone else.
var root = this,
document = root.document || null
if (typeof document === 'undefined') {
return throw new Exception('Bitch please, we need to be in the browser')
}
// Feross Aboukhadijeh - Apr 12 2010
//
// Script I hacked together to cheat on TypeRacer.com. You use it by waiting for the typing game
// to start. Once it starts, open up Firebug, paste in this code, and run it. Now, just press
// space to auto-type each word. I made the user push space, as opposed to advancing the words
// automatically because I believe the site looks for a keypress event before evaluating the contents
// of the input box. I could not figure out how to fake a user keypress event. Perhaps this is
// disallowed for browser security reasons?
//
// Next todo: Site detects the unbelievable WPM and asks you to do a captcha test.
@syntaqx
syntaqx / saveit.js
Last active August 29, 2015 14:19
Save the button...
(function() {
// What number should we save the button at?
var saveTheButton = 10;
// Socket connection
var sock;
var redditRequester = new XMLHttpRequest();
// Other goodness
@syntaqx
syntaqx / main.go
Created June 24, 2015 22:46
If/Else vs Switch
package main
import "strconv"
func Switch(n int) string {
code := strconv.Itoa(n)
switch {
case n >= 500:
code = ">=500"
<?php
// Bootstrap bluethrust
require_once __DIR__ . '/../_setup.php';
// Required objects to perform the queries
$member = new Member($mysqli);
$rankObj = new Rank($mysqli);
$rankCatObj = new RankCategory($mysqli);
@syntaqx
syntaqx / swifty.go
Last active January 14, 2019 04:07
Tailor Swift Ticket Sales Counter
package swifty
// CountTicketSales will return how many tickets will be sold by the time the
// line pos has obtained all of their tickets. Tickets must be sold one at a
// time, and people have to return to the back of the line in order to buy their
// ticket.
func CountTicketSales(line []int, pos int) int {
if len(line) == 0 {
return 0
}
package main
import "go.uber.org/zap"
func main() {
debug := false // should come from cli flags or something
log, err := zap.NewProduction()
if err != nil {
panic(err)
{
"name": "syntaqx",
"email": "syntaqx@gmail.com",
"position": "Web Software Developer",
"urls": ["https://syntaqx.com/", "https://drive.whatever.resume", "https://github.com/syntaqx"],
"comment": "You shouldn't be sending this over query parametmers anyways, this is something more suited for POST."
}