This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### | |
PorfolioItem | |
### | |
window.PorfolioItem = class PorfolioItem | |
constructor: (domElement) -> | |
@animation = {} | |
@animation.value = 0 | |
@animation.iteration = 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### | |
PorfolioItem | |
### | |
window.PorfolioItem = class PorfolioItem | |
constructor: (domElement) -> | |
@element = ($ domElement) | |
# find the images in the dom element |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function showNextImage() { | |
var images = $(".widget-holder.slideshow img"); | |
for (var i = 0; i < images.length; i++) { | |
var obj = $(images[i]); | |
if (obj.hasClass('current')) { | |
// we found the current item! | |
break; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@media only screen and (max-width: 650px) { | |
article.app-detail { | |
.form { | |
position: relative; | |
padding-top: 0 !important; | |
} | |
.half.centered, .half.left, .half.right { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[INFO] WLWatchListViewController.m(132) > create fetchcontroller | |
[INFO] WLWatchListViewController.m(57) > No errors and succes is 1 | |
[INFO] WLWatchListViewController.m(61) > fetched objects: ( | |
"<Movie: 0x6d504b0> (entity: Movie; id: 0x6d500a0 <x-coredata://57216C1F-8B3C-4863-AACF-03953337AFE9/Movie/p5> ; data: <fault>)", | |
"<Movie: 0x6d50030> (entity: Movie; id: 0x6d4dd40 <x-coredata://57216C1F-8B3C-4863-AACF-03953337AFE9/Movie/p4> ; data: <fault>)", | |
"<Movie: 0x6d4fe80> (entity: Movie; id: 0x6d50160 <x-coredata://57216C1F-8B3C-4863-AACF-03953337AFE9/Movie/p3> ; data: <fault>)", | |
"<Movie: 0x6d50240> (entity: Movie; id: 0x6d4ffe0 <x-coredata://57216C1F-8B3C-4863-AACF-03953337AFE9/Movie/p7> ; data: <fault>)", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// WLWatchListViewController.m | |
// WatchList | |
// | |
// Created by Jankees Woezik on 04-06-12. | |
// Copyright (c) 2012 Twelve Twenty. All rights reserved. | |
// | |
#import "WLWatchListViewController.h" | |
#import "WLModel.h" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const int PIN_BUTTON_1 = PIN_B0; | |
const int PIN_BUTTON_2 = PIN_B1; | |
const int PIN_BUTTON_3 = PIN_B2; | |
const int PIN_BUTTON_4 = PIN_B3; | |
const int PIN_SWITCH_A = PIN_B7; | |
const int PIN_SWITCH_B = PIN_D0; | |
const int PIN_LED = PIN_D1; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Path to your oh-my-zsh configuration. | |
ZSH=$HOME/.oh-my-zsh | |
# Set name of the theme to load. | |
# Look in ~/.oh-my-zsh/themes/ | |
# Optionally, if you set this to "random", it'll load a random theme each | |
# time that oh-my-zsh is loaded. | |
ZSH_THEME="robbyrussell" | |
# ### System specific aliases ### |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |