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
> bittorrent-client@0.0.2 test /Users/tfischer/dev/torrents/bittorrent-client | |
> tape test/*.js | |
TAP version 13 | |
# Download "Pride and Prejudice" by Jane Austen | |
Swarm listening on port 61289 | |
Connecting to 114.108.216.168:46664 | |
Connecting to 179.186.192.81:61966 | |
Connecting to 188.79.133.210:45549 | |
Connecting to 173.168.15.192:48599 |
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
var gulp = require('gulp') | |
var $ = require('gulp-load-plugins')() | |
gulp.task('default', function () { | |
return gulp.src('index.html') | |
.pipe($.prefix('https://mycdn.com/assets/')) | |
.pipe(gulp.dest('dist')) | |
}) |
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
2014-12-02 14:43:50.862 Broad City Keyboard[8139:184812] [HockeySDK] WARNING: HockeySDKResources.bundle is missing, make sure it is added! | |
2014-12-02 14:43:50.898 Broad City Keyboard[8139:184812] [HockeySDK] WARNING: HockeySDKResources.bundle is missing, built in UI is deactivated! | |
2014-12-02 14:43:50.912 Broad City Keyboard[8139:184812] [HockeySDK] WARNING: Detecting crashes is NOT enabled due to running the app with a debugger attached. | |
2014-12-02 14:43:50.951 Broad City Keyboard[8139:184812] <Mixpanel: 0x1781e3600 9b3e0d26a1ec92ec8fe651158e8c3ba4> successfully set up reachability callback | |
2014-12-02 14:43:50.954 Broad City Keyboard[8139:184812] <Mixpanel: 0x1781e3600 9b3e0d26a1ec92ec8fe651158e8c3ba4> unarchived data from /var/mobile/Containers/Data/PluginKitPlugin/FE7A65D9-2C25-424E-A831-7FB10111179C/Library/mixpanel-9b3e0d26a1ec92ec8fe651158e8c3ba4-events.plist: ( | |
{ | |
event = "keyboard_launched"; | |
properties = { | |
"$app_release" = "1.0.0"; | |
"$app_version" |
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)onSuccess:(Portrait *)portrait | |
{ | |
if (![[NSUserDefaults standardUserDefaults] boolForKey:kQuettraPortraitKey]) { | |
NSString *device = portrait.basics.device ? portrait.basics.device : @"null"; | |
NSString *carrier = portrait.basics.carrier ? portrait.basics.carrier : @"null"; | |
NSString *locale = portrait.basics.locale ? portrait.basics.locale : @"null"; | |
NSString *country = portrait.basics.country ? portrait.basics.country : @"null"; | |
NSString *age = portrait.basics.age ? portrait.basics.age : @"null"; | |
NSString *gender = portrait.basics.gender ? portrait.basics.gender : @"null"; |
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
~/Downloads/old videos $ ffprobe Candace_Veronica284x160.mp4 | |
ffprobe version 2.3.3 Copyright (c) 2007-2014 the FFmpeg developers | |
built on Nov 26 2014 03:23:06 with Apple LLVM version 6.0 (clang-600.0.54) (based on LLVM 3.5svn) | |
configuration: --prefix=/usr/local/Cellar/ffmpeg/2.3.3 --enable-shared --enable-pthreads --enable-gpl --enable-version3 --enable-nonfree --enable-hardcoded-tables --enable-avresample --enable-vda --cc=clang --host-cflags= --host-ldflags= --enable-libx264 --enable-libfaac --enable-libmp3lame --enable-libxvid | |
libavutil 52. 92.100 / 52. 92.100 | |
libavcodec 55. 69.100 / 55. 69.100 | |
libavformat 55. 48.100 / 55. 48.100 | |
libavdevice 55. 13.102 / 55. 13.102 | |
libavfilter 4. 11.100 / 4. 11.100 | |
libavresample 1. 3. 0 / 1. 3. 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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
<title>...</title> | |
<meta name="viewport" content="initial-scale=1, maximum-scale=1, user-scalable=no, width=device-width"> |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta name="viewport" content="user-scalable=no, minimum-scale=1.0, initial-scale=1.0"> | |
<style> | |
body { margin: 0 0; padding: 0 0; width: 100%; height: 100%; min-height: 100%; background: #000; } | |
#player { width: 100%; height: 100%; min-height: 100%; } | |
</style> | |
</head> |
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
I'm running into an issues with the latest version of Electron + Webpack. | |
If I try to use the 'electron-renderer' target, webpack compilation fails because it attempts to use native node dependencies from one of my npm modules let's call it "child-module". | |
{ | |
// ... | |
target: 'electron-renderer' | |
} | |
child-module's package.json: |
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
/** | |
* @class GLCompositeNode | |
* | |
* Composites all children simulating the standard blend function: | |
* | |
* gl.blendFunc(gl.SRC_ALPHA, gl.ONE_MINUS_SRC_ALPHA). | |
*/ | |
import React, { PureComponent } from 'react' | |
import PropTypes from 'prop-types' |
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
# clone and rename base boilerplate repo | |
git clone https://github.com/transitive-bullshit/react-modern-library-boilerplate.git | |
mv react-modern-library-boilerplate react-poop-emoji | |
cd react-poop-emoji | |
rm -rf .git | |
# replace boilerplate placeholders with your module-specific values | |
mv README.template.md README.md | |
# find and replace react-modern-library-boilerplate with react-poop-emoji everywhere |
OlderNewer