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
package com.tmax.dx.service.app; | |
import java.sql.Connection; | |
import java.sql.*; | |
import com.tmax.superobject.manager.DbcpConnectionManager; | |
public class ConnectionManager { | |
public Connection getConnection() throws SQLException { | |
return DbcpConnectionManager.getInstance().getConnection("DX_DATABASE"); | |
} | |
} |
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
//볼링 한 game은 10번 frame으로 구성 | |
//1 frame 당 2번 공 던지기 가능 | |
//2번 공 번져서 모두 쓰러뜨림 -> spare -> 다음 라운드의 점수를 2배로 | |
//1번에 -> strike -> 다음 + 다다음 라운드의 점수를 2배 | |
//마지막 frame -> 3번 던질 수 있음 단, 2번을 최소 스페어해야됨 | |
pub struct Game { | |
score: u32, | |
rolls: Vec<u32>, | |
} |
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 | |
firstLine=`head -2 $1 | tail -1` | |
if [[ $firstLine == \#* ]]; then # Testing that the file starts with a comment, not yet a real commit ;) | |
echo '<type>(<component>): <subject>' > .prepare-commit-msg-temp | |
echo '' >> .prepare-commit-msg-temp | |
echo '<body>' >> .prepare-commit-msg-temp | |
echo '' >> .prepare-commit-msg-temp | |
echo '# types: feat, fix, docs, style, refactor, test, chore(mantean)' >> .prepare-commit-msg-temp |
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
. |
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
Java 17 hrs 28 mins ██████████████▉░░░░░░ 71.3% | |
Rust 2 hrs 4 mins █▊░░░░░░░░░░░░░░░░░░░ 8.4% | |
TypeScript 1 hr 36 mins █▍░░░░░░░░░░░░░░░░░░░ 6.6% | |
Other 50 mins ▋░░░░░░░░░░░░░░░░░░░░ 3.4% | |
JSON 46 mins ▋░░░░░░░░░░░░░░░░░░░░ 3.2% |
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
1 |
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
🌞 Morning 8 commits ▎░░░░░░░░░░░░░░░░░░░░ 1.7% | |
🌆 Daytime 158 commits ███████▏░░░░░░░░░░░░░ 34.4% | |
🌃 Evening 202 commits █████████▏░░░░░░░░░░░ 44.0% | |
🌙 Night 91 commits ████▏░░░░░░░░░░░░░░░░ 19.8% |