**Markdown**์ ํ ์คํธ ๊ธฐ๋ฐ์ ๋งํฌ์ ์ธ์ด๋ก 2004๋ ์กด๊ทธ๋ฃจ๋ฒ์ ์ํด ๋ง๋ค์ด์ก์ผ๋ฉฐ ์ฝ๊ฒ ์ฐ๊ณ ์ฝ์ ์ ์์ผ๋ฉฐ HTML๋ก ๋ณํ์ด ๊ฐ๋ฅํ๋ค. ํน์๊ธฐํธ์ ๋ฌธ์๋ฅผ ์ด์ฉํ ๋งค์ฐ ๊ฐ๋จํ ๊ตฌ์กฐ์ ๋ฌธ๋ฒ์ ์ฌ์ฉํ์ฌ ์น์์๋ ๋ณด๋ค ๋น ๋ฅด๊ฒ ์ปจํ ์ธ ๋ฅผ ์์ฑํ๊ณ ๋ณด๋ค ์ง๊ด์ ์ผ๋ก ์ธ์ํ ์ ์๋ค. ๋งํฌ๋ค์ด์ด ์ต๊ทผ ๊ฐ๊ด๋ฐ๊ธฐ ์์ํ ์ด์ ๋ ๊นํ(https://github.com) ๋๋ถ์ด๋ค. ๊นํ์ ์ ์ฅ์Repository์ ๊ดํ ์ ๋ณด๋ฅผ ๊ธฐ๋กํ๋ README.md๋ ๊นํ์ ์ฌ์ฉํ๋ ์ฌ๋์ด๋ผ๋ฉด ๋๊ตฌ๋ ๊ฐ์ฅ ๋จผ์ ์ ํ๊ฒ ๋๋ ๋งํฌ๋ค์ด ๋ฌธ์์๋ค. ๋งํฌ๋ค์ด์ ํตํด์ ์ค์น๋ฐฉ๋ฒ, ์์ค์ฝ๋ ์ค๋ช , ์ด์ ๋ฑ์ ๊ฐ๋จํ๊ฒ ๊ธฐ๋กํ๊ณ ๊ฐ๋ ์ฑ์ ๋์ผ ์ ์๋ค๋ ๊ฐ์ ์ด ๋ถ๊ฐ๋๋ฉด์ ์ ์ ์ฌ๋ฌ ๊ณณ์ผ๋ก ํผ์ ธ๊ฐ๊ฒ ๋๋ค.
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
//Placeholder ์์ฑ์ ์์ ํจ | |
input:focus::-webkit-input-placeholder, | |
textarea:focus::-webkit-input-placeholder { /* WebKit browsers */ | |
color:transparent; | |
} | |
input:focus:-ms-input-placeholder, | |
textarea:focus:-ms-input-placeholder { /* Internet Explorer 10+ */ | |
color:transparent; |
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
SimpleDateFormat fmt=new SimpleDateFormat("yyyy-MM-dd hh:mm:ss");ย | |
ย ย ย ย ย | |
String sDate=fmt.format(dto.getSTIME());ย | |
ย ย ย ย ย | |
String eDate=fmt.format(dto.getETIME());ย |
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
table{ | |
border-collapse: collapse; | |
border-spacing: 0; | |
border:2px solid; | |
} | |
th{ | |
border:2px solid #000000; | |
} |
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
def get_thumb(self): | |
return format_html( | |
'<img src="{}" height="50" />'.format(self.inpupt_path) | |
) |
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
def export_as_csv_action( | |
description="CSV ํ์ผ๋ก ์ถ๋ ฅ", fields=None, exclude=None, header=True, force_fields=None): | |
""" | |
CSV ์ถ๋ ฅ์ ํ๋ Django Admin Action Function \n | |
:param description: Action ์ ํ์ํ ๋ฌธ๊ตฌ | |
:param fields: ์ถ๋ ฅ ํ Model Field(Column) | |
:param exclude: ์ถ๋ ฅ์์ ์ ์ธํ Model Field | |
:param header: Field(Column) ์ด๋ฆ์ ์ฒซ๋ฒ์งธ ํ์ผ๋ก ์ถ๋ ฅํ ์ง ์ฌ๋ถ | |
:param force_fields: Django admin ์ list_display ์ Custom field (๋ฌธ์์ด) ์ ์ฌ์ฉํ ์ง ์ฌ๋ถ False ์ธ ๊ฒฝ์ฐ Model ์ ์๋ ํ๋๋ ์ ์ธํ๋ค. | |
""" |
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
#blockContainer { | |
display: -webkit-box; | |
display: -moz-box; | |
display: box; | |
-webkit-box-orient: vertical; | |
-moz-box-orient: vertical; | |
box-orient: vertical; | |
} | |
#blockA { | |
-webkit-box-ordinal-group: 2; |
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
(function() { | |
var link = document.querySelector("link[rel*='icon']") || document.createElement('link'); | |
link.type = 'image/x-icon'; | |
link.rel = 'shortcut icon'; | |
link.href = 'http://www.stackoverflow.com/favicon.ico'; | |
document.getElementsByTagName('head')[0].appendChild(link); | |
})(); |
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
try { | |
PackageInfo info = getPackageManager().getPackageInfo("myandroid.package.name", PackageManager.GET_SIGNATURES); | |
for (Signature signature : info.signatures) { | |
MessageDigest md = MessageDigest.getInstance("SHA"); | |
md.update(signature.toByteArray()); | |
DebugLogger.d("=============================="); | |
DebugLogger.d("KeyHash:" + Base64.encodeToString(md.digest(), Base64.DEFAULT)); | |
DebugLogger.d("=============================="); | |
} | |
} catch (PackageManager.NameNotFoundException e) { |
OlderNewer