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 | |
max=3000000 | |
maxWidth=2000 | |
maxHeight=1000 | |
for file in `\find ./docs -maxdepth 2 -name '*.png'`; do | |
hoge=$(identify -format "%w %h" $file) | |
IFS=' ' |
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
version: 2 | |
references: | |
container_config: &container_config | |
docker: | |
- image: circleci/node:latest | |
environment: | |
EXPO_ACCOUNT: "expo_account_name" | |
EXPO_PASSWORD: "expo_account_password" | |
APP_SLUG: "expo_app_slug" |
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
import { GLView } from 'expo'; | |
import Expo2DContext from 'expo-2d-context'; | |
import React from 'react'; | |
import { View, Button } from 'react-native'; | |
export default class App extends React.Component { | |
render() { | |
return [ | |
<GLView | |
ref={ref => { | |
this.gl = ref; |
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
version: 2 | |
references: | |
container_config: &container_config | |
docker: | |
- image: circleci/node:latest | |
install_expo_cli: &install_expo_cli | |
run: | |
name: install-expo-cli | |
command: sudo npm install -g expo-cli |
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
import React, { useEffect } from 'react'; | |
import { StyleSheet, Text, View, TouchableOpacity } from 'react-native'; | |
import { SQLite } from 'expo-sqlite' | |
import { BaseModel, types } from 'expo-sqlite-orm'; | |
import DatabaseLayer from 'expo-sqlite-orm/src/DatabaseLayer'; | |
import Store from 'react-native-store'; | |
const DB = { | |
'foo': Store.model('foo'), | |
'bar': Store.model('bar') |
OlderNewer