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 express = require('express'), | |
path = require('path'), | |
http = require('http'), | |
redis = require('redis'), | |
path = require('path'), | |
url = require('url'), | |
port = (process.env.PORT || 8080); | |
var app = express(); | |
app.configure(function(){ |
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 fs = require('fs') | |
, spawn = require('child_process').spawn | |
, execFile = require('child_process').execFile | |
, path = require('path') | |
, math = require('./lib/math'); | |
var file = path.join(__dirname, "test_file.txt"); | |
fs.open(file, "w", 0644, function(err, fd) { | |
if (err) throw err; |
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
from kivy.core.window import Window | |
from kivy.app import App | |
from kivy.uix.widget import Widget | |
from kivy.graphics import Color, Rectangle | |
from kivy.config import Config | |
from kivy.clock import Clock | |
from random import randrange, random | |
class boardUI(Widget): | |
def __init__(self): |
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
from kivy.app import App | |
from kivy.core.window import Window | |
from kivy.uix.widget import Widget | |
from kivy.graphics import Color, Rectangle | |
from kivy.config import Config | |
from kivy.clock import Clock | |
from kivy.utils import get_random_color | |
from kivy.properties import ObjectProperty | |
from random import * |
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
from kivy.app import App | |
from kivy.core.window import Window | |
from kivy.uix.widget import Widget | |
from kivy.graphics import Color, Rectangle | |
from kivy.config import Config | |
from kivy.clock import Clock | |
from kivy.utils import get_random_color | |
from kivy.properties import ObjectProperty | |
from random import * |
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
from kivy.app import App | |
from kivy.core.window import Window | |
from kivy.uix.widget import Widget | |
from kivy.graphics import Color, Rectangle | |
from kivy.config import Config | |
from kivy.clock import Clock | |
from kivy.properties import ObjectProperty | |
import random | |
cant_lines = 10 |
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
from kivy.app import App | |
from kivy.lang import Builder | |
from kivy.animation import Animation | |
from kivy.uix.widget import Widget | |
from kivy.properties import NumericProperty, ObjectProperty, ReferenceListProperty | |
from kivy.config import Config | |
from kivy.clock import Clock | |
Builder.load_string(''' | |
<Square> |
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
from kivy.app import App | |
from kivy.lang import Builder | |
from kivy.animation import Animation | |
from kivy.vector import Vector | |
from kivy.uix.widget import Widget | |
from kivy.properties import NumericProperty, ObjectProperty, ReferenceListProperty | |
from kivy.config import Config | |
from kivy.clock import Clock | |
Builder.load_string(''' |
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
from kivy.app import App | |
from kivy.lang import Builder | |
from kivy.animation import Animation | |
from kivy.vector import Vector | |
from kivy.uix.widget import Widget | |
from kivy.properties import NumericProperty, ObjectProperty, ReferenceListProperty | |
from kivy.config import Config | |
from kivy.clock import Clock | |
Builder.load_string(''' |
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 Gallery = (function() { | |
"use strict"; | |
var Module = { | |
init: function(options) { | |
this.options = options || {}; | |
console.log(this.options); | |
this.data = new Array(); | |
this.index = 0; |