Skip to content

Instantly share code, notes, and snippets.

View tobiastom's full-sized avatar

Tobias Tom tobiastom

View GitHub Profile
@tobiastom
tobiastom / dabblet.css
Created May 31, 2013 09:55
The first commented line is your dabblet’s title
/**
* The first commented line is your dabblet’s title
*/
fieldset {
position: relative;
padding-top: 2em;
}
legend {
position: absolute;
Process: Chocolat [85386]
Path: /Applications/Chocolat.app/Contents/MacOS/Chocolat
Identifier: com.chocolatapp.Chocolat
Version: 1.6.2 (1.6.2)
Code Type: X86-64 (Native)
Parent Process: launchd [247]
User ID: 501
Date/Time: 2013-04-20 18:32:06.640 +0200
OS Version: Mac OS X 10.8.3 (12D78)
@tobiastom
tobiastom / gist:5194695
Last active December 15, 2015 03:29 — forked from lmartins/gist:5194675
/*global module:false*/
var path = require('path');
var lrSnippet = require('grunt-contrib-livereload/lib/utils').livereloadSnippet;
var folderMount = function folderMount(connect, point) {
return connect.static(path.resolve(point));
};
module.exports = function(grunt) {
@tobiastom
tobiastom / disabling-twitter.md
Created December 14, 2012 18:29
This are just some lines that try to describe why I think about disabling twitter for me as I know it.

Why I think about switching of my twitter account

I won't switch it of permanently. I think about "hiding" my account as good as possible.

Twitter should not be a way to contact me personally.

I want to disable push notifications for twitter. I do not want to check twitter each and every time if something important might have come up (direct messages). That’s why I’m thinking about creating an auto responder for direct message, which will provide my email address (politely).

I'm spending too much time trying to keep up

I think I won't to rush after my timeline anymore. I do not want to read each and every tweet. Doing so is just pointless for me. I don’t get my personal projects done in time, still I’m procrastinating with reading uncountable status posts. This has to end.

#import "AppDelegate.h"
@implementation AppDelegate
- (void)applicationDidFinishLaunching:(NSNotification *)aNotification
{
// Insert code here to initialize your application
dispatch_queue_t the_queue = dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT, 0);
NSArray *array = [NSArray arrayWithObjects:@"a", @"b", @"c", @"d", @"e", @"f", nil];
@tobiastom
tobiastom / gallery.css
Created October 19, 2012 11:17
Simple, but flexible gallery script
@tobiastom
tobiastom / dabblet.css
Created October 18, 2012 12:20
Schatten…
/**
* Schatten…
**/
body {
background: grey;
}
#image {
display: inline-block;
border: 1px solid rgba(0,0,0,1);
padding: 10px;
@tobiastom
tobiastom / dabblet.css
Created October 18, 2012 11:17
Untitled
div {
width: 100px;
height: 100px;
overflow: hidden;
position: relative;
background: red;
}
div:after {
content: ' ';
position: absolute;
@tobiastom
tobiastom / dabblet.css
Created October 18, 2012 09:08
Untitled
min-height: 100%;
background-image: -webkit-radial-gradient(50% 50%, #D8D8D8, #000000 100%);
@tobiastom
tobiastom / phpvalidate.php
Created September 11, 2012 14:25 — forked from spacemuffin/phpvalidate.php
Coupon validate methods
<?php
namespace redeemFunctions;
class ValidateRedeem {
/*
GetWebContent (Verwendet CURL PHP modul)
- ruft url auf -> JSON Rückgabe (JSON Decoder!)
- 1. Param = URL
- 2. Parm = Referenz fuer Statuscode