Skip to content

Instantly share code, notes, and snippets.

View felixkiss's full-sized avatar

Felix Kiss felixkiss

View GitHub Profile
echo "sterreich"
echo "sterreich""
'core':
'ignoredNames': [
'.git'
'.svn'
'.DS_Store'
'.vagrant'
'.sass-cache'
]
@felixkiss
felixkiss / keybase.md
Created March 6, 2014 00:32
keybase.md

Keybase proof

I hereby claim:

  • I am felixkiss on github.
  • I am felixkiss (https://keybase.io/felixkiss) on keybase.
  • I have a public key whose fingerprint is 49D5 19D4 9911 464D 2BBD A5A2 D992 9B05 8B84 9EFF

To claim this, I am signing this object:

@felixkiss
felixkiss / input.haml
Created August 6, 2014 05:34
How should input.haml be changed to get the wanted result? (No space between the closing anchor tag and '.', I don't care about other whitespace)
%p
This is very
%a{href: "#"}= "interesting"
.
@felixkiss
felixkiss / example_Author.php
Last active August 30, 2015 12:33
Example usage of Fractal with objects instead of arrays
<?php namespace Example;
class Author
{
private $id;
private $name;
private $publishedBooks;
public function __construct($id, $name)
@felixkiss
felixkiss / UIDeviceHardware.h
Created November 5, 2011 02:19 — forked from Jaybles/UIDeviceHardware.h
UIDeviceHardware - Determine iOS device being used
//
// UIDeviceHardware.h
//
// Used to determine EXACT version of device software is running on.
#import <Foundation/Foundation.h>
@interface UIDeviceHardware : NSObject
+ (NSString *) platform;
<?php
// Require the Slim Framework
require('Slim/Slim.php');
// Require the custom View
require_once('SlimViews/SmartyView.php');
$app = new Slim(array(
'debug' => true,
'templates.path' => '../templates',
@felixkiss
felixkiss / output on failing machine
Created August 27, 2012 11:03
Upload Test Script
array(1) {
["gameimage"]=>
array(1) {
["name"]=>
string(10) "simple.pdf"
}
}
<hr><form name="upload-image-form" enctype="multipart/form-data" method="post">
<input type="file" name="gameimage" size="30" />
@felixkiss
felixkiss / application.controller.js
Last active November 5, 2015 15:23
ember-filter-async-relationship
import Ember from 'ember';
export default Ember.Controller.extend({
appName:'Ember Twiddle',
});
@felixkiss
felixkiss / block1_activated.m
Last active December 10, 2015 23:39
Easy comment/uncomment switch between code blocks. Just change the first line to '/*' and it will comment the block1 and uncomment block2 at the same time.
//*
NSLog(@"code block 1");
/*/
NSLog(@"code block 2");
//*/