$ yarn add --dev @babel/plugin-proposal-decorators
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 UIKit | |
import Flutter | |
@UIApplicationMain | |
@objc class AppDelegate: FlutterAppDelegate { | |
private var flutterViewController: FlutterViewController! | |
private var securityChannel: FlutterMethodChannel! | |
private var blurEffectView: UIVisualEffectView? | |
private var isInBackground: Bool = false // Track whether app is in background |
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
lib/ | |
|- bloc/ | |
|- constants/ | |
|- router/ | |
|- screens/ | |
|- utils/ | |
|- widgets/ | |
|- main.dart |
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
gsshop_mobile | |
|- android | |
|- assets <-- 아이콘 및 이미지 파일 저장 | |
|- build | |
|- docs | |
|- ios | |
|- lib <-- 어플리케이션 소스 코드 | |
|- packages |
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 'package:flutter/material.dart'; | |
import 'dart:math'; | |
double degreesToRads(double deg) { | |
return (deg * pi) / 180.0; | |
} | |
void main() { | |
runApp(Face()); | |
} |
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 { render, Text, Artboard } from 'react-sketchapp'; | |
const App = props => ( | |
<Artboard> | |
<Text style={{ fontFamily: 'Comic Sans MS', color: 'hotPink' }}> | |
{ props.message } | |
</Text> | |
</Artboard> | |
); |
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
mkdir ~/npm-global-modules && npm config set prefix '~/npm-global-modules' && echo "export PATH=~/npm-global-modules/bin:\$PATH" >> ~/.profile && source ~/.profile |
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
## upgrade openssl | |
wget http://www.openssl.org/source/openssl-1.0.1i.tar.gz | |
tar -zxf openssl-1.0.1i.tar.gz | |
cd openssl-1.0.1i | |
./config --prefix=/usr --openssldir=/usr/local/openssl shared | |
make | |
make test | |
sudo make install | |
openssl 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
$ su - | |
$ cd /tmp | |
~ http://www.oracle.com/technetwork/java/javase/downloads/index.html 에서 다운로드 받을 JDK 링크 확인. | |
~ 참조 : http://tecadmin.net/steps-to-install-java-on-centos-5-6-or-rhel-5-6/ | |
$ wget --no-cookies --no-check-certificate --header "Cookie: gpw_e24=http%3A%2F%2Fwww.oracle.com%2F; oraclelicense=accept-securebackup-cookie" "http://download.oracle.com/otn-pub/java/jdk/7u71-b14/jdk-7u71-linux-x64.rpm" | |
~ 설치 | |
$ rpm -ivh jdk-7u71-linux-x64.rpm |
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
~ 업데이트 | |
$ yum remove matahari* | |
$ yum update | |
~ 서버 종류 확인하기. | |
$ lsb_release -a | |
~ 컴파일하기 위한 툴킷 설치 | |
$ yum -y groupinstall "Development Tools" |
NewerOlder