Skip to content

Instantly share code, notes, and snippets.

View jd20's full-sized avatar

Jason Douglas jd20

View GitHub Profile
@jd20
jd20 / test.py
Last active December 5, 2023 13:49
Testing PyAV encoding
import argparse
import av
import logging
import time
def parse_options(preset, tune, crf, x264_params, x265_params):
opts = {}
if preset:
opts['preset'] = preset
@jd20
jd20 / App.js
Created December 25, 2017 09:55
Shadow view with tag warnings
import React, { Component } from 'react';
import { Button, Text, TextInput, View } from 'react-native'
import { StackNavigator, NavigationActions } from 'react-navigation'
class MainScreen extends React.Component {
componentWillMount () {
this.props.navigation.setParams({asdf: 1234})
}
render () {
@jd20
jd20 / CellTest.js
Last active December 3, 2017 08:23
React Native Cell Test
import React from 'react'
import {
StyleSheet,
Text,
View
} from 'react-native'
export default () => {
const showIcon = true