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
[user] | |
# Please adapt and uncomment the following lines: | |
# name = may | |
# email = [email protected] | |
[alias] | |
ls = log --pretty=format:"%C(yellow)%h%Cred%d\\ %Creset%s%Cblue\\ [%cn]" --decorate | |
ll = log --pretty=format:"%C(yellow)%h%Cred%d\\ %Creset%s%Cblue\\ [%cn]" --decorate --numstat | |
lds = log --pretty=format:"%C(yellow)%h\\ %ad%Cred%d\\ %Creset%s%Cblue\\ [%cn]" --decorate --date=short |
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
function config($stateProvider, $urlRouterProvider, $ocLazyLoadProvider, IdleProvider, KeepaliveProvider) { | |
// Configure Idle settings | |
IdleProvider.idle(5); // in seconds | |
IdleProvider.timeout(120); // in seconds | |
$urlRouterProvider.otherwise("/dashboards/dashboard_1"); | |
$stateProvider | |
.state('login', { |
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
0 info it worked if it ends with ok | |
1 verbose cli [ 'C:\\Program Files\\nodejs\\\\node.exe', | |
1 verbose cli 'C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js', | |
1 verbose cli 'run-script', | |
1 verbose cli 'build:dist' ] | |
2 info using [email protected] | |
3 info using [email protected] | |
4 verbose run-script [ 'prebuild:dist', 'build:dist', 'postbuild:dist' ] | |
5 info prebuild:dist [email protected] | |
6 info build:dist [email protected] |
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
/** | |
* Created by may on 2015-11-17. | |
통화 금액 책정 | |
1. 5분 이하 통화는 초당 3센트 책정 | |
2. 5분초과 분당 150센트(초당2.5센트) 책정 | |
3. 누적 통화시간이 제일 긴 번호는 공짜 (프로모션) | |
기타: 총 통화 시간이 동일한 번호들의 경우, 번호들을 각각 금액산정하여 | |
가장 적은 할인이 발생한 번호만 무료이고 나머지 번호들은 할인 프로모션만 적용한다 | |
*/ | |
var log = '00:04:53,300-112-090\n00:01:07,400-234-090\n00:05:01,701-080-080\n00:04:53,400-234-090' |
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
String b = "0x7a"; | |
int result = 0; | |
for (int i = 0; i < Character.getNumericValue(b.charAt(2)); i++) { | |
result+=16; | |
} | |
result+=Character.getNumericValue(b.charAt(b.length()-1)); | |
System.out.println(result); |
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
<!DOCTYPE html> | |
<html ng-app="quickStartApp"> | |
<head> | |
<meta charset="utf-8"> | |
<title>Quckstart for AngularJS</title> | |
<meta name="description" content=""> | |
<link rel="shortcut icon" href="./favicon.ico"> | |
<!-- build:css styles/vendor.css --> | |
<link rel="stylesheet" href="../bower_components/angular-ui-select/dist/select.min.css"> |
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
<div ng-class='{true: 'editClassName', false:'defaultCSSName'}[editFag]'> | |
<textarea ng-model='your_app'></textarea> | |
</div> |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | |
<modelVersion>4.0.0</modelVersion> | |
<groupId>org.test</groupId> | |
<artifactId>demo</artifactId> | |
<version>0.0.1-SNAPSHOT</version> | |
<packaging>jar</packaging> |