I hereby claim:
- I am Ricket on github.
- I am ricket (https://keybase.io/ricket) on keybase.
- I have a public key whose fingerprint is AFD3 970F 6E7E 3737 7EA9 FE4F 3996 81F2 B4AA 9007
To claim this, I am signing this object:
Bug filed here: https://github.com/pixlepix/Aura-Cascade/issues/93 |
I hereby claim:
To claim this, I am signing this object:
#!/usr/bin/env ruby | |
# DokuWiki backup for Arch Linux; daily rotating logs, weekly permanent log. | |
# Fix the Amazon credentials and bucket name, and if desired, the wiki path. | |
# Copied with modifications from: | |
# http://www.dokuwiki.org/tips:backuptos3 | |
# Save this script to: /etc/cron.daily/backup-dokuwiki |
#!/bin/bash | |
URL="$1" | |
read -p "Username: " USERNAME | |
read -s -p "Password: " PASSWORD | |
echo -e ".ncsu.edu\tTRUE\t/\tFALSE\t0\tWRAP_REFERER\t$URL" > cookies.txt | |
wget --post-data="userid=$USERNAME&userpw=$PASSWORD&onproxy=N" --cookies=on --keep-session-cookies –-no-check-certificate --load-cookies=cookies.txt --save-cookies=cookies.txt "https://webauth.ncsu.edu/wrap-bin/was16.cgi?auth" |
var projector = new THREE.Projector(); | |
var ray = projector.pickingRay( mouseCoord, camera ); // (mouse coord are in screenspace and must be [-1, 1]) | |
var objects = ray.intersectObjects( scene.children ); | |
if( objects.length ) | |
{ | |
objects[ 0 ].object; // THREE.Particule or THREE.Mesh | |
objects[ 0 ].face; // THREE.Face3 or THREE.Face4 (is .object is a Mesh | |
objects[ 0 ].point; // THREE.Vector3 | |
} |
// spinningsquare.c | |
// compiles on OSX with: | |
// gcc spinningsquare.c -framework glut -framework opengl -o spinningsquare | |
#include <stdlib.h> | |
#ifdef __APPLE__ | |
# include <GLUT/glut.h> | |
#else | |
# include <GL/glut.h> | |
#endif |
This file contains any messages produced by compilers while | |
running configure, to aid debugging if configure makes a mistake. | |
It was created by configure, which was | |
generated by GNU Autoconf 2.68. Invocation command line was | |
$ ./configure CFLAGS=-bundle -arch i386 -arch x86_64 CXXFLAGS=-bundle -arch i386 -arch x86_64 | |
## --------- ## | |
## Platform. ## |
Douglas Crockford | |
Sr. JavaScript Architect, Yahoo! | |
JavaScript Programming Style & Your Brain | |
He made JSLint | |
Prefer forms that are error resistant and more reliable | |
return | |
{ |
/** | |
* This program proves that expressions are evaluated left to right; assignment | |
* statements, therefore, are evaluated left-to-right on the right side of the | |
* equals sign (since that's just an expression) and then assigned to the | |
* thing to the left of the equals sign. | |
* | |
* So when a professor tells you that assignment statements are evaluated | |
* right-to-left, it doesn't mean each symbol in the statement is evaluated | |
* in the order from right to left, just that the stuff on the right is assigned |
/* | |
* Copyright (C) 2010 The Android Open Source Project | |
* | |
* Licensed under the Apache License, Version 2.0 (the "License"); | |
* you may not use this file except in compliance with the License. | |
* You may obtain a copy of the License at | |
* | |
* http://www.apache.org/licenses/LICENSE-2.0 | |
* | |
* Unless required by applicable law or agreed to in writing, software |