...
Make sure everything is up to date.
import Cocoa | |
class CSVDoubleSequence: SequenceType { | |
typealias GeneratorType = IndexingGenerator<Array<Double>> | |
let path: String | |
let values: [Double] | |
init(path: String) { | |
self.path = path | |
<?php | |
session_start(); | |
add_filter( 'posts_orderby', 'randomise_with_pagination' ); | |
function randomise_with_pagination( $orderby ) { | |
if( is_front_page() ) { | |
// Reset seed on load of initial archive page |
- (IBAction)submitWasPressed:(id)sender { | |
NSLog(@"I would submit a note now"); | |
NSDate *currentDay = [NSDate date]; | |
NSDateFormatter *dateFormatter = [[NSDateFormatter alloc] init]; | |
[dateFormatter setDateFormat:@"dd-MM-yyyy"]; | |
NSString *dateString = [dateFormatter stringFromDate:currentDay]; | |
NSLog(@"%@", dateString); | |
NSString *personId = [NSString stringWithFormat:@"%@", _selectedInteraction.person] ; |
HOW DO I REPRESENT THE FOLLOWING JEAP TEMPLATE IN AN ABSTRACT SYNTAX TREE? | |
#### jeap template | |
people = | |
{% for person in people %} | |
name = {{ person.name }} | |
{% end %} | |
#### end jeap template |
This is a collection of working commandline examples to show how one could use FFMpeg and VLC for live transcoding of video streams. All examples have been tested on OSX 10.7.5 with FFMPeg 1.1.3 and VLC 2.0.5 in early 2013.
Documentation links
I just replaced the hard drive of my mbp and decided to do a clean install of Mountain Lion (10.8.5) since I was still using Snow Leopard (10.6.8).
I kinda regret for not using Boxen to automate the process, but TBH I have this laptop for almost 3yrs and this is the first time I needed to reinstall everything, maybe the next time...
var mongoose = require('./../mongoose'); | |
mongoose.connect('localhost', 'testing_enumarray'); | |
var ok = 'car figure'.split(' '); | |
function validator (v) { | |
return v.every(function (val) { | |
return !!~ok.indexOf(val) | |
}); |
#!/bin/bash | |
########################################################################### | |
# Choose your ffmpeg version and your currently-installed iOS SDK version: | |
# | |
VERSION="2.0.2" | |
SDKVERSION="7.0" | |
# | |
# | |
########################################################################### |
# /etc/network/interfaces | |
# | |
auto lo | |
iface lo inet loopback | |
# device: eth0 | |
iface eth0 inet manual | |
# IPv4 bridge | |
# (connect ONLY your firewall/router KVM instance here, this is the WAN device!) |