Skip to content

Instantly share code, notes, and snippets.

View thomasdegry's full-sized avatar
🍾
Popping off

Thomas Degry thomasdegry

🍾
Popping off
View GitHub Profile
// !$*UTF8*$!
{
archiveVersion = 1;
classes = {
};
objectVersion = 46;
objects = {
/* Begin PBXBuildFile section */
4D4B9C15176140AB003673A0 /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 4D4B9C14176140AB003673A0 /* UIKit.framework */; };
var jspaths = ['webroot/js-dev/classes/**.js','webroot/js-dev/helpers.js','webroot/js-dev/main.js'];
var csspaths = ["webroot/sass/*.scss", "webroot/sass/partials/*.scss"];
var templatepaths = [];
var concatpaths = [].concat(jspaths);
module.exports = function(grunt) {
grunt.initConfig({
- (void)setPaidOnServer
{
[KGStatusBar showWithStatus: @"Validating your order"];
AFHTTPClient *httpClient = [[AFHTTPClient alloc] initWithBaseURL:[NSURL URLWithString:@"http://student.howest.be"]];
NSMutableURLRequest *request = [httpClient requestWithMethod:@"GET"
path:[NSString stringWithFormat:@"thomas.degry/20122013/MAIV/FOOD/api/creations/pay/%@/%@", self.userID, self.burgerID]
parameters:nil];
AFHTTPRequestOperation *operation = [[AFHTTPRequestOperation alloc] initWithRequest:request];
[httpClient registerHTTPOperationClass:[AFHTTPRequestOperation class]];
[operation setCompletionBlockWithSuccess:^(AFHTTPRequestOperation *operation, id responseObject) {
/* globals Rating */
/* globals Settings */
var Gallery = (function () {
var Gallery = function (options) {
_.bindAll(this);
this.options = {
gallery: '.gallery',
item: '.gallery-item',
/* line 1, ../sass/modules/_console.scss */
#graphic-output {
-webkit-transition-property: all;
-moz-transition-property: all;
-o-transition-property: all;
transition-property: all;
-webkit-transition-duration: 0.3s;
-moz-transition-duration: 0.3s;
-o-transition-duration: 0.3s;
/* line 1, ../sass/modules/_console.scss */
#graphic-output {
-webkit-transition-property: all;
-moz-transition-property: all;
-o-transition-property: all;
transition-property: all;
-webkit-transition-duration: 0.3s;
-moz-transition-duration: 0.3s;
-o-transition-duration: 0.3s;
transition-duration: 0.3s;
<script>
//<![CDATA[
$(document).ready(function() {
var timer;
var timeOut = 300; // delay after last keypress to execute filter
var testing = true;
var catalogue = null;
var previousValue = '';
var CollisionDetection = (function() {
function CollisionDetection() {
}
CollisionDetection.checkCollision = function(shapeA, shapeB) {
var vX = (shapeA.x + (shapeA.width/2)) - (shapeB.x + (shapeB.width / 2));
var vY = (shapeA.y + (shapeA.height/2)) - (shapeB.y + (shapeB.height / 2));
$this->autoRender = false;
$content = $this->request->data['editor'];
$title = 'Newsletter R.T.S';
$name = 'R.T.S. Ieper';
$from_address = 'noreply@rts.be';
// $to = '';
// $subscribers = $this->Newsletter->find('all');
// foreach ($subscribers as $key => $subscriber) {
<?php
if(!empty($_SESSION["isAdmin"])):
?>
<a href="addProduct.php">Add Product</a>
<?
endif;
?>
----