본문 바로가기 메뉴 바로가기

Jacob Baek's home

프로필사진
  • 글쓰기
  • 관리
  • 태그
  • 방명록
  • RSS

Jacob Baek's home

검색하기 폼
  • all (170) N
    • private (3)
      • diary (0)
      • graduateschool (3)
      • important thing (0)
      • my project (0)
      • study (0)
    • Cloud (58) N
      • Private Cloud (34) N
      • Public Cloud (0)
      • Cloud Native (16)
      • Architecture&Tech (1)
      • Kubernetes (7)
    • Security (9)
      • programming (0)
      • Architecture&Tech (3)
      • System&Tools (2)
      • Cloud Native (3)
    • DevOps (19)
      • System&Tools (19)
      • Architecture&Tech (0)
    • Network (4)
      • System&Tools (3)
      • Architecture&Tech (1)
    • Storage (5)
      • Architecture&Tech (1)
      • System&Tools (4)
    • os (20)
      • Linux (18)
      • Windows (2)
      • Embedded&Mobile&Etcs (0)
    • programming (15)
      • c/c++ (1)
      • Java (1)
      • kernel (0)
      • Scripts (4)
      • devtools (2)
      • protocol (1)
      • common (1)
      • sw engineering (1)
      • Web Programming (0)
      • etc (4)
    • Server (13)
      • SystemMGAuto (0)
      • WebServer (4)
      • VirtualServer (0)
      • EtcServer (9)
    • ITtech (1)
    • quailty assurance (4)
      • Theory (1)
      • System & Tools (3)
    • database (0)
    • language (0)
    • Trips (0)
    • music (0)
    • etc (2)
  • 방명록

programming (15)
jq command

jq command installation stedolan.github.io/jq/download/ Examples1 우선 다음과 같은 json data가 있다고 가정하자. jacob@jacob-laptop:~$ cat data.txt { "pools": [ { "name": "volume1", "id": 1, "size_bytes": 100 }, { "name": "volume2", "id": 2, "size_bytes": 200 }, { "name": "volume3", "id": 3, "size_bytes": 300 } ], "total": 600 } pools내에 각 pool내 name, id를 pool에 맞춰서 출력해보도록 하자. jacob@jacob-laptop:~$ cat data.txt |..

programming/etc 2020. 9. 23. 13:13
groovy script

Jenkinsfile 을 통한 pipeline 구성시 groovy를 사용해야 해서 겸사겸사 간단히 테스트 가능한 환경 구성과 몇몇 예제 syntax를 정리한다. Groovy 설치 https://groovy-lang.org/install.html java_home export가 되어있어야 한다. 즉, jdk, jre 같은 JAVA_HOME 설정시 지정경로를 사용할 package 설치를 우선수행해주어야 한다. Examples list에 value를 추가 하여 list를 출력 def tlst = [] tlst.add(1) tlst.add(2) tlst.add(8) println(tlst)map으로 할당된 value를 key로 찾아 출력하는 example def kvmap() { kv = [:] kv['..

programming/etc 2020. 9. 22. 13:59
powershell

실행예제 powershell 실행을 위해서는 set-executionpolicy 를 변경해야 한다. default로 restricted로 되어 있어 실행이 불가하다. 아래명령을 수행하여 powershell script를 수행할 수 있는 환경으로 변경한다. set-executionpolicy unrestricted https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.security/set-executionpolicy?view=powershell-6 write-host를 통한 메세지 출력 $testval = 1 write-host("testval : {0}" -f $testval) https://devblogs.microsoft.c..

programming/Scripts 2019. 8. 14. 17:33
Visual Studio Code Tips

Python 실행 우측하단에 Python 3.7.3 이라는 keyword를 확인할수 있으며 이를 click할 경우 다른 설치된 버전을 선택할 수 있다. 여기서 좌측 하단에 "Python 3.7.3 64-bit"을 선택하면 설치되어 있는 Python 버전이 출력되고 이를 선택하여 실행해볼수 있다. 또한 좌측 하단에 "Python: Current File (workspaces)"이라는 항목을 클릭시 아래와 같이 기존에 설정되어 있는 launch.json에 설정되어 있는 실행 명령을 확인할 수 있다. 아래와 같이 launch.json 파일을 확인해 볼수 있다. (Ctrl + Shift + D 로 이동후 좌측상단에 바퀴모양 클릭) 마지막으로 F5(Debug) Button을 실행하면 실행결과를 확인할 수 있다. ..

programming/devtools 2019. 4. 27. 00:23
이전 1 2 3 4 다음
이전 다음
공지사항
최근에 올라온 글
  • cURL with OpenStack
  • Velero
  • Certificates
  • ingress with subpath
최근에 달린 댓글
  • 감사합니다 부족한 질문이었⋯
  • 안녕하세요. 먼저 질문주신⋯
  • 안녕하세요 ㅎㅎ 구글에서 돌⋯
Total
59,607
Today
36
Yesterday
32
링크
  • Cyuu
TAG
  • Helm Chart
  • openstacksdk
  • kubernetes install
  • openstack backup
  • socket
  • galera
  • kubernetes
  • minio
  • ansible
  • ceph
  • hashicorp boundary
  • dnssec
  • macvlan
  • elasticsearch
  • ConEmu
  • gluster
  • devops
  • wsl2
  • jenkins
  • vmware openstack
  • boundary ssh
  • crashloopbackoff
  • Jenkinsfile
  • Terraform
  • metallb
  • minikube
  • OpenStack
  • K3S
  • vagrant
  • DevSecOps
more
«   2021/04   »
일 월 화 수 목 금 토
        1 2 3
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30  
글 보관함
  • 2021/04 (2)
  • 2021/03 (7)
  • 2021/02 (4)
  • 2021/01 (3)
  • 2020/12 (2)

Blog is powered by Tistory / Designed by Tistory

티스토리툴바