Markdown은 텍스트 기반의 마크업언어로 2004년 존그루버에 의해 만들어졌으며 쉽게 쓰고 읽을 수 있으며 HTML로 변환이 가능하다. 특수기호와 문자를 이용한 매우 간단한 구조의 문법을 사용하여 웹에서도 보다 빠르게 컨텐츠를 작성하고 보다 직관적으로 인식할 수 있다. 마크다운이 최근 각광받기 시작한 이유는 깃헙(https://github.com) 덕분이다. 깃헙의 저장소Repository에 관한 정보를 기록하는 README.md는 깃헙을 사용하는 사람이라면 누구나 가장 먼저 접하게 되는 마크다운 문서였다. 마크다운을 통해서 설치방법, 소스코드 설명, 이슈 등을 간단하게 기록하고 가독성을 높일 수 있다는 강점이 부각되면서 점점 여러 곳으로 퍼져가게 된다.
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
#!/usr/bin/env groovy | |
import groovy.sql.Sql | |
import com.mysql.jdbc.* | |
/** | |
* A small example script on how to connect to a mysql database in a groovy script. | |
* | |
* @author: Marcel Maatkamp (m.maatkamp avec gmail dot com) | |
*/ |
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
DATE=`date`; | |
MEM_TOTAL_REAL=`free -m | head -n 2 | tail -n 1 | awk {'print $2'}` | |
MEM_USED=`free -m | head -n 2 | tail -n 1 | awk {'print $3'}` | |
MEM_BUFFER=`free -m | head -n 2 | tail -n 1 | awk {'print $6'}` | |
MEM_CACHED=`free -m | head -n 2 | tail -n 1 | awk {'print $7'}` | |
TEST=$(($MEM_USED-$MEM_BUFFER-$MEM_CACHED)); | |
RESULT=$(($TEST*100)) | |
RESULT=$(($RESULT/$MEM_TOTAL_REAL)) |
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
driver: | |
name: vagrant | |
driver_config: | |
box: centos/7 | |
# box_url: http:// | |
auto_update: false | |
Description: > | |
1. box_url | |
Box URL 설정이 필요할 경우 URL을 작성한다. (개인 사설 서버를 사용할 경우 유용함) |
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
# sample synergy configuration file | |
# | |
# comments begin with the # character and continue to the end of | |
# line. comments may appear anywhere the syntax permits. | |
section: screens | |
# three hosts named: moe, larry, and curly | |
moe: | |
larry: | |
curly: |
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
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
Vagrant.configure("2") do |config| | |
config.vm.box = "ubuntu/trusty64" | |
config.vm.network "private_network", ip: "192.168.56.101" | |
config.vm.provider "virtualbox" do |vb| | |
vb.memory = 1024 | |
vb.cpus = 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
DEBUG provider: Searching for cap: snapshot_list | |
DEBUG provider: Checking in: virtualbox | |
DEBUG provider: Found cap: snapshot_list in virtualbox | |
DEBUG provider: Searching for cap: snapshot_list | |
DEBUG provider: Checking in: virtualbox | |
DEBUG provider: Found cap: snapshot_list in virtualbox | |
INFO provider: Execute capability: snapshot_list [#<Vagrant::Machine: default (VagrantPlugins::ProviderVirtualBox::Provider)>] (virtualbox) | |
INFO subprocess: Starting process: ["/usr/local/bin/VBoxManage", "snapshot", "705bd14e-d49f-4c29-bc26-271aa0caea43", "list", "--machinereadable"] | |
DEBUG subprocess: Command not in installer, not touching env vars. | |
INFO subprocess: Command not in installer, restoring original environment... |
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 requests | |
import xml.etree.ElementTree as elemTree | |
import sys | |
from requests.auth import HTTPBasicAuth | |
import json | |
import sys | |
list_issues = [] | |
IP = "<BAMBOO SERVER IP>" | |
ISSUE_KEY = "<JIRA ISSUE_KEY>" |
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
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
# All Vagrant configuration is done below. The "2" in Vagrant.configure | |
# configures the configuration version (we support older styles for | |
# backwards compatibility). Please don't change it unless you know what | |
# you're doing. | |
Vagrant.configure("2") do |config| | |
config.vm.box = "centos/7" | |
config.vm.network "private_network", ip: "192.168.33.10" |
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
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
# All Vagrant configuration is done below. The "2" in Vagrant.configure | |
# configures the configuration version (we support older styles for | |
# backwards compatibility). Please don't change it unless you know what | |
# you're doing. | |
Vagrant.configure("2") do |config| | |
# The most common configuration options are documented and commented below. | |
# For a complete reference, please see the online documentation at |
OlderNewer