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
#![feature(associated_types)] | |
extern crate time; | |
fn main() { | |
println!("hello :)"); | |
//println!("{}", time::now()); | |
} |
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 <stdio.h> | |
#include <stdlib.h> | |
#include <OpenCL/opencl.h> | |
int main(int argc, char* const argv[]) { | |
cl_uint num_devices, i; | |
clGetDeviceIDs(NULL, CL_DEVICE_TYPE_ALL, 0, NULL, &num_devices); | |
cl_device_id* devices = calloc(sizeof(cl_device_id), num_devices); |
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
// | |
// GridDemoViewController.m | |
// JNWCollectionViewDemo | |
// | |
// Created by Jonathan Willing on 4/15/13. | |
// Copyright (c) 2013 AppJon. All rights reserved. | |
// | |
#import "GridDemoViewController.h" | |
#import "GridCell.h" |
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
" gist | |
let g:gist_clip_command='pbcopy' | |
let g:gist_detect_filetype=1 | |
let g:gist_open_browser_after_post=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
:bottom] = SIZE-WALL_THICKNESS | |
attr_reader :walls | |
def initialize(x, y, left, right, top,bottom) | |
@x,@y,@z = x,y,Z::GRID | |
@walls = {} | |
@walls[:le |
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
ICKNESS | |
attr_reader :walls | |
def initialize(x, y, left, right |
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
attr_reader :walls | |
def initialize(x, y, left, right, top,bottom) | |
@x,@y,@z = x,y,Z::GRID | |
@walls = {} |
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
require 'gosu' | |
require './tile' | |
require './z' | |
module Visible | |
NO, YES, ON_HIT, STATES = *0..3 | |
end | |
class Wall | |
THICKNESS = 8 |
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_name_map": { | |
"soda-theme": "Theme - Soda" | |
} | |
} |
OlderNewer