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 React, { Component } from 'react'; | |
| import { AppRegistry, View, TouchableHighlight, Text, Alert } from 'react-native'; | |
| // corporate ipsum > lorem ipsum | |
| var alertMessage = 'Credibly reintermediate next-generation potentialities after goal-oriented ' + | |
| 'catalysts for change. Dynamically revolutionize.'; | |
| class AlertApp extends Component { | |
| constructor(props) { | |
| super(props) |
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
| require 'sinatra' | |
| $pwd = ENV['PWD'] | |
| configure do | |
| set :server, :puma | |
| set :root, File.dirname(__FILE__) | |
| set :port, 7777 | |
| end |
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
| ko: | |
| datetime: | |
| distance_in_words: | |
| less_than_x_seconds: "%{count}초 전" | |
| less_than_x_minutes: "%{count}분 전" | |
| half_a_minute: "30초 전" | |
| x_minutes: "%{count}분 전" | |
| about_x_hours: "%{count}시간 전" | |
| x_days: "%{count}일 전" | |
| about_x_months: "%{count}달 전" |
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
| <!-- Samsung --> | |
| <uses-permission android:name="com.sec.android.provider.badge.permission.READ" /> | |
| <uses-permission android:name="com.sec.android.provider.badge.permission.WRITE" /> | |
| <!-- Sony --> | |
| <uses-permission android:name="com.sonyericsson.home.permission.BROADCAST_BADGE" /> | |
| <!-- HTC --> | |
| <uses-permission android:name="com.htc.launcher.permission.READ_SETTINGS" /> | |
| <uses-permission android:name="com.htc.launcher.permission.UPDATE_SHORTCUT" /> |
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 React, { Component } from 'react'; | |
| import { StyleSheet, AppRegistry, Text, TextInput, View } from 'react-native'; | |
| class Hello extends Component { | |
| render() { | |
| return ( | |
| <View style={styles.layout}> | |
| <Text>번호를 입력하세요</Text> | |
| <View style={{width: 200, height: 50, backgroundColor: 'skyblue'}}> | |
| <TextInput style={styles.item} |
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
| group :development, :test do | |
| gem 'capybara' | |
| gem 'selenium-webdriver', '~> 3.3.0' | |
| end |
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
| Port 8090 | |
| # bind to all IPs aliased or not | |
| BindAddress 0.0.0.0 | |
| # max number of simultaneous clients | |
| MaxClients 1000 | |
| # max bandwidth per-client (kb/s) | |
| MaxBandwidth 100000 | |
| <Feed feed1.ffm> | |
| File /tmp/feed1.ffm |
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
| <match slack> | |
| @type slack | |
| webhook_url https://hooks.slack.com/services/XXXXXXXX | |
| channel logs | |
| username suhanlee | |
| icon_emoji :ghost: | |
| flush_interval 60s | |
| message_keys messages | |
| </match> |
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
| * create postgresql user | |
| $ createuser -P -d -e [user] | |
| * create database on user | |
| $ createdb -O [user] [user_database_name] |
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
| require 'pp' | |
| require 'em-synchrony' | |
| require 'em-synchrony/em-http' | |
| require 'em-synchrony/fiber_iterator' | |
| POST_URL = "http://localhost:4567/post_test" | |
| GET_URL = "http://localhost:4567/get_test" | |
| EM.synchrony do | |
| 1.times do |n| |