Skip to content

Instantly share code, notes, and snippets.

View niandrei's full-sized avatar

Andrei Ni niandrei

View GitHub Profile
@raultm
raultm / DemoTest.php
Created May 15, 2014 15:13
Autotesting with CakePHP and Gulp
<?php
namespace App\Test\TestCase\Custom;
use Cake\TestSuite\TestCase;
class DemoTest extends TestCase {
public function testDemo(){
$this->assertEquals(1, 1);
}
using UnityEngine;
using System.Collections;
/// <summary>
/// Automatically scales quality up or down based on the current framerate (average).
/// </summary>
///
/// \author Kaspar Manz
/// \date 2014-03-10
/// \version 1.0.0
@alexbarbosa
alexbarbosa / arduino clock no rtc
Created April 18, 2013 21:15
simple clock without use of rtc
#include <LiquidCrystal.h>
LiquidCrystal lcd(8, 9, 4, 5, 6, 7);
void setup() {
lcd.print("What time is it?");
delay(1000);
lcd.begin(16, 2);
lcd.setCursor(0, 0);
lcd.print("Apr, 15, 2013"); // print out the date
}