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
<?php | |
/** | |
* Plugin Name: Old Upload Method | |
* Plugin URI: http://wordpress.org/support/topic/is-there-a-way-to-disable-the-new-media-manager | |
* Description: Replace the new media upload with the old thickbox | |
* Author: A.Morita, brasofilo | |
* Version: 1.2 | |
* License: GPLv2 or later | |
* |
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
- (void)buildTransitionCompositionAUDIO:(AVMutableComposition *)composition andVideoComposition:(AVMutableVideoComposition *)videoComposition andAudioMix:(AVMutableAudioMix *)audioMix | |
{ | |
CMTime nextClipStartTime = kCMTimeZero; | |
// Add two video tracks and two audio tracks. | |
AVMutableCompositionTrack *compositionVideoTracks[2]; | |
AVMutableCompositionTrack *compositionAudioTracks[2]; | |
compositionVideoTracks[0] = [composition addMutableTrackWithMediaType:AVMediaTypeVideo preferredTrackID:kCMPersistentTrackID_Invalid]; | |
compositionVideoTracks[1] = [composition addMutableTrackWithMediaType:AVMediaTypeVideo preferredTrackID:kCMPersistentTrackID_Invalid]; |
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
// UPDATE: For latest code, see https://github.com/cstrahan/Showdown.as | |
// | |
// Showdown.as -- An ActionScript port of showdown.js | |
// | |
// Copyright (c) 2010 Charles Strahan. | |
// | |
// Original Showdown Copyright (c) 2007 John Fraser. | |
// <http://attacklab.net/showdown/> | |
// | |
// Original Markdown Copyright (c) 2004-2005 John Gruber |
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
#!/bin/bash | |
# Sync Homebrew installations between Macs via Dropbox | |
# Also syncs gui applications installed using brew-cask (https://github.com/phinze/homebrew-cask) | |
# Modified from https://gist.github.com/jpawlowski/5248465 | |
# | |
BREW="/usr/local/bin/brew" | |
# first get local settings | |
echo "Reading local settings ..." | |
rm -f /tmp/brew-sync.* | |
$BREW tap > /tmp/brew-sync.taps |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<scheme name="netbeans_php_colors" version="1" parent_scheme="Default"> | |
<option name="LINE_SPACING" value="1.0" /> | |
<option name="EDITOR_FONT_SIZE" value="12" /> | |
<option name="EDITOR_FONT_NAME" value="Monospaced" /> | |
<colors /> | |
<attributes> | |
<option name="CUSTOM_LINE_COMMENT_ATTRIBUTES"> | |
<value> | |
<option name="FOREGROUND" value="808080" /> |
NewerOlder