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
<?php | |
/** | |
* Handles bulk inserts to a MySQL database. This wil only work on base DataObject tables | |
* as there is currently no way to relate to child tables in a bulk insert. | |
* | |
* @author Michael Strong <[email protected]> | |
**/ | |
class BulkInsert | |
{ |
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
tags | |
phptags | |
.DS_STORE | |
*.swp | |
*.swo | |
*.swn | |
.nfs* |
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
var gulp = require('gulp'); | |
var source = require('vinyl-source-stream'); | |
var buffer = require('vinyl-buffer'); | |
var watch = require('gulp-watch'); | |
var gutil = require('gulp-util'); | |
var browserify = require('browserify'); | |
var babel = require('gulp-babel'); | |
gulp.task('transform', function() { | |
return gulp.src('./app/src/**/*.jsx') |
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
package main | |
import ( | |
"fmt" | |
"time" | |
) | |
func main() { | |
fmt.Println("Concurrency test") |
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
import { MotionController } from '@webxr-input-profiles/motion-controllers' | |
import { useEffect, useState } from 'react' | |
import { Group, Object3D, Vector3, XRHand } from 'three' | |
import { XRControllerModelFactory } from 'webxr/XRControllerModelFactory' | |
import { useXR } from '../XR' | |
const modelFactory = new XRControllerModelFactory() | |
const modelCache = new WeakMap<Group, any>() | |
export const useMotionControllers = () => { | |
const { controllers } = useXR() |