Skip to content

Instantly share code, notes, and snippets.

View jankeesvw's full-sized avatar

Jankees van Woezik jankeesvw

View GitHub Profile
//
// UISwipableTableCell.m
// GameKings
//
// Created by Jankees van Woezik on 2-8-10.
// Copyright 2010 Base 42. All rights reserved.
//
#import "UISwipableTableViewCell.h"
<?php
add_action('init', 'portfolio_init');
/**
* Initialize simple-portfolio plugin
*/
function portfolio_init() {
$custom_slug = get_option('slug') != '' ? get_option('slug') : 'portfolio';
$args = array(
<?php
function drawPortfolioAsset($media_item) {
switch ($media_item['type']):
case 'image':
echo wp_get_attachment_image($media_item['value'], array(640,10000));
break;
case 'youtube':
echo "<p>";
echo "<object width=\"640\" height=\"504\">";
echo " <param name=\"movie\" value=\"http://www.youtube.com/" . $media_item['value'] . "&amp;hl=en_US&amp;fs=1&amp;rel=0&amp;hd=1;color1=0x3a3a3a&amp;color2=0x999999\"/>";
<h1>Portfolio</h1>
<p>
In my portfolio you can view a selection of projects I worked on the last few years as a freelance developer.
More work can be shown upon request. If you have any questions please feel free to <a href="http://blog.base42.nl/contact">contact</a> me.
</p>
<div class="line"></div>
<?php
$pagenumber = get_query_var('paged') ? get_query_var('paged') : 1;
if($pagenumber == 1){
uploadtotemp() {
if [ $# -lt 1 ]
then
echo -en "\033[0;31mError: Wrong number of arguments.\033[0m Expected one or two, got zero. \n\n Example usage:\n uploadtmp folder/ new-folder-name/ \n"
else
if [ $# -lt 2 ]; then
NEW_FILE_NAME=`date "+%Y%m%d%H%M%S"`-$1
else
NEW_FILE_NAME=$2
package nl.base42.view.util {
import flash.display.DisplayObject;
import flash.events.Event;
import flash.events.KeyboardEvent;
import flash.system.System;
import flash.ui.Keyboard;
/**
* @author Jankees van Woezik | Base42.nl
*
//
// ImageLoader.m
// liteapp
//
// Created by Jankees van Woezik on 31-8-10.
// Copyright 2010 Base 42. All rights reserved.
//
#import "ImageLoader.h"
//Add this as an ivar
NSOperationQueue *imageLoadingQueue;
//Add this to your dealloc method
[imageLoadingQueue release];
//If you're creating the nib programatically use this
- (id)initWithNibName:(NSString *)nibName bundle:(NSBundle *)nibBundle {
if (self = [super initWithNibName:nibName bundle:nibBundle]) {
package {
import flash.display.DisplayObject;
import flash.events.Event;
import flash.events.KeyboardEvent;
import flash.system.System;
import flash.ui.Keyboard;
/**
* @author Jankees van Woezik | Base42.nl
*
@jankeesvw
jankeesvw / CalendarIcon.as
Created October 25, 2010 12:31
CalendarIcon
package nl.musis.view.components.menu.icons {
import fla.menu.icons.CalendarIconAsset;
import nl.musis.model.utils.DateUtils;
import nl.musis.view.components.text.styles.HeaderText;
import flash.display.BlendMode;
/**
* @author Jankees van Woezik | Base42.nl