This file contains hidden or 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
#import "AppDelegate.h" | |
#import <React/RCTBridge.h> | |
#import <React/RCTBundleURLProvider.h> | |
#import <React/RCTRootView.h> | |
#import <React/RCTAppSetupUtils.h> | |
#if RCT_NEW_ARCH_ENABLED | |
#import <React/CoreModulesPlugins.h> |
This file contains hidden or 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
package com.rnexpo; | |
import com.facebook.react.ReactActivity; | |
import com.facebook.react.ReactActivityDelegate; | |
import com.facebook.react.ReactRootView; | |
public class MainActivity extends ReactActivity { | |
/** | |
* Returns the name of the main component registered from JavaScript. This is used to schedule |
This file contains hidden or 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
/** | |
* Sample React Native App | |
* https://github.com/facebook/react-native | |
* @flow | |
*/ | |
import React, { Component } from 'react'; | |
import { | |
AppRegistry, | |
StyleSheet, |
This file contains hidden or 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
/** | |
* Sample React Native App | |
* https://github.com/facebook/react-native | |
* @flow | |
*/ | |
import React, { Component } from 'react'; | |
import { | |
AppRegistry, | |
StyleSheet, |
This file contains hidden or 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
/** | |
* Sample React Native App | |
* https://github.com/facebook/react-native | |
* @flow | |
*/ | |
import React, { Component } from 'react'; | |
import { | |
AppRegistry, | |
StyleSheet, |
This file contains hidden or 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 response = 4; | |
var api = { | |
dispatch: function(status){ | |
var states = { | |
1: api.__err, | |
2: api.__err, |
This file contains hidden or 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
rm -rf $3 | |
START=$(($(date +%s)*1000)) | |
SILENT="-loglevel panic" | |
SILENT="" | |
# get video size | |
eval $(ffprobe -v error -of flat=s=_ -select_streams v:0 -show_entries stream=height,width $1) | |
size=${streams_stream_0_width}:${streams_stream_0_height} |
This file contains hidden or 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
# | |
# How to use | |
# ./concat main_video.mp4 prefix_video.mp4 output.mp4 | |
# | |
# | |
rm -rf $3 | |
SILENT="-loglevel panic" | |
SILENT="" |
This file contains hidden or 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
@font-face { | |
font-family: "nassim"; | |
src: url('../fonts/nassim-regular.eot?1387626872'); | |
src: url('../fonts/nassim-regular.eot?&1387626872#iefix') format('embedded-opentype'), url('../fonts/nassim-regular.woff?1387626920') format('woff'), url('../fonts/nassim-regular.ttf?1387626940') format('truetype'); | |
font-weight: "normal"; | |
font-style: "normal"; | |
} |
This file contains hidden or 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
/* | |
* get user roles | |
*/ | |
public function getRoles(){ | |
$roles = array(); | |
$sql = sprintf('select itemname from %s where userid = %d', Yii::app()->authManager->assignmentTable, Yii::app()->user->id); | |
//cache dependency |
NewerOlder