One of the options for creating an app at this year's DevCamp is Flutter, Google's open source SDK for building native iOS and Android apps from a single codebase. The Flutter team will be hanging around at the event, and for those of you interested in giving Flutter a try, we've prepared this gist as an installation cheat sheet.
import React from 'react'; | |
import videojs from 'video.js'; | |
import 'video.js/dist/video-js.css'; | |
// video.js player from the docs: https://github.com/videojs/video.js/blob/master/docs/guides/react.md | |
class VideoPlayer extends React.Component { | |
componentDidMount() { | |
// instantiate Video.js | |
this.player = videojs(this.videoNode, this.props, function onPlayerReady() { |
Here’s how to make animations like this one. It requires intermediate Unix command-line knowledge, to install some tools and to debug if they don’t work. You’ll need these utilities:
curl
(or you can translate towget
)convert
andmontage
, part of ImageMagickffmpeg
, plus whatever codecsparallel
, for iteration that’s nicer than shell for loops orxargs
- run everything in
zsh
for leading 0s in numerical ranges to work
- Introduction to Functional Programming Johannes Weiß - https://vimeo.com/100786088
- ReactiveCocoa at MobiDevDay Andrew Sardone - https://vimeo.com/65637501
- The Future Of ReactiveCocoa Justin Spahr-Summers - https://www.youtube.com/watch?v=ICNjRS2X8WM
- Enemy of the State Justin Spahr-Summers - https://www.youtube.com/watch?v=7AqXBuJOJkY
- WWDC 2014 Session 229 - Advanced iOS Application Architecture and Patterns Andy Matuschak - https://developer.apple.com/videos/play/wwdc2014/229/
- Functioning as a Functionalist Andy Matuschak - https://www.youtube.com/watch?v=rJosPrqBqrA
- Controlling Complexity in Swift Andy Matuschak - https://realm.io/news/andy-matuschak-controlling-complexity/
@interface FNViewController () { | |
BOOL isFlipped; | |
BOOL isTransitioning; | |
CALayer *topLayer; | |
CALayer *bottomLayer; | |
} | |
@property (weak, nonatomic) IBOutlet UIImageView *oneImageView; | |
@property (weak, nonatomic) IBOutlet UIImageView *twoImageView; | |
@property (nonatomic, assign) BOOL displayingFront; |
So I have been using tmux for a while and have grown to like it and have since added many many customizations to it. Now once you start getting the hang of it, you'll naturally want to do more with the tool.
Now tmux has a concept of window-group
and session
and if you are like me you'll want multiple session that connects to the same window group instead of a new window group every time. Basically I just need different views into the same set of windows that I have already created, I don't want to create a new set of windows every time I fire up my terminal.
This is the default case if you simply use the tmux
command as your login shell, effectively creating a new group of windows every time you start tmux
.
This is less than ideal because, if you are like me, you fire up one-off terminals all the time and you don't want all those one-off jobs to stay running in the background. Plus sometimes you need information fro
;SMBDIS.ASM - A COMPREHENSIVE SUPER MARIO BROS. DISASSEMBLY | |
;by doppelganger ([email protected]) | |
;This file is provided for your own use as-is. It will require the character rom data | |
;and an iNES file header to get it to work. | |
;There are so many people I have to thank for this, that taking all the credit for | |
;myself would be an unforgivable act of arrogance. Without their help this would | |
;probably not be possible. So I thank all the peeps in the nesdev scene whose insight into | |
;the 6502 and the NES helped me learn how it works (you guys know who you are, there's no |
require 'rubygems' | |
require 'json' | |
require 'chunky_png' | |
PLUTIL = '/usr/bin/plutil' | |
TEXTUREPACKER = '/usr/local/bin/TexturePacker' | |
dir = File.join(ARGV[0], '*plist') | |
out_dir = File.join(Dir.pwd , ARGV[1]) | |
tmp_dir = "/tmp" |
Via.Me for iPhone Download URLs | |
Direct: | |
http://itunes.apple.com/us/app/viame/id474113683 | |
Linkshare: (US Only) | |
http://click.linksynergy.com/fs-bin/stat?id=T3ko3TGvRWQ&offerid=146261&type=3&subid=0&tmpid=1826&RD_PARM1=http%253A%252F%252Fitunes.apple.com%252Fus%252Fapp%252Fviame%252Fid474113683%253Fmt%253D8%2526uo%253D4%2526partnerId%253D30 | |
Note: for custom tracking on the link-share urls please append an &u1=MY_CAMPAIGN at the end. for example: |
#!/usr/bin/env ruby | |
require 'em-http-request' | |
require 'fiber' | |
require "ruby-debug" | |
class AsynUploader | |
@successes = [] | |
@failures = [] |