Skip to content

Instantly share code, notes, and snippets.

@ilbunilcho
ilbunilcho / SecureCRT script for connection with gateway.md
Created Nov 1, 2018
SecureCRT script for connection with gateway
View SecureCRT script for connection with gateway.md
  • using session name as hostname
  • you should set gateway session and target session in connection manager
  • can connect to target host directly
  • but needed kinit on gateway server for sudo permission
# $language = "Python"
# $interface = "1.0"
@ilbunilcho
ilbunilcho / Tomcat7+jenkins on CentOS.md
Last active Nov 1, 2018
Tomcat7+jenkins on CentOS
View Tomcat7+jenkins on CentOS.md

install Tomcat7

$ su -
$ wget http://apache.tt.co.kr/tomcat/tomcat-7/v7.0.42/bin/apache-tomcat-7.0.42.tar.gz
$ tar xvzf apache-tomcat-7.0.42.tar.gz
$ mv apache-tomcat-7.0.42 /usr/local/
$ ln -s apache-tomcat-7.0.42 tomcat7
$ useradd tomcat
$ chown -R tomcat.tomcat tomcat7
@ilbunilcho
ilbunilcho / How to remove Windows paths from WSL path.md
Created Nov 1, 2018
How to remove Windows paths from WSL path
View How to remove Windows paths from WSL path.md

after Build 17093

  • can override settings by edit "/etc/wsl.conf"
  • normally this file is not exists at first
$ sudo vi /etc/wsl.conf

[interop]
appendWindowsPath = false
@ilbunilcho
ilbunilcho / Firebase setup with nodejs 6 on WSL (ubuntu).md
Created Nov 1, 2018
Firebase setup with nodejs 6 on WSL (ubuntu)
View Firebase setup with nodejs 6 on WSL (ubuntu).md

uninstall nodejs 8

$ sudo apt purge nodejs
$ sudo apt purge npm

install nvm (https://github.com/creationix/nvm)

$ curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.11/install.sh | bash
@ilbunilcho
ilbunilcho / firebase setup with nodejs 8 on wsl.md
Last active Nov 2, 2018
firebase setup with nodejs 8 on wsl
View firebase setup with nodejs 8 on wsl.md

install nodejs 8

option #1) use default

$ apt show nodejs
Package: nodejs
Version: 8.12.0-1nodesource1
Priority: optional
Section: web
Maintainer: Chris Lea <chl@nodesource.com>
@ilbunilcho
ilbunilcho / starUML.md
Created Sep 28, 2018 — forked from trandaison/starUML.md
Get full version of StarUML
View starUML.md

StarUML

Download: StarUML.io

Crack

Source: jorgeancal

After installing StartUML successfully, modify LicenseManagerDomain.js as follow:

/**
@ilbunilcho
ilbunilcho / pki.markdown
Created Aug 23, 2017 — forked from awood/pki.markdown
A brief discussion of ASN.1 and PKCS formats
View pki.markdown

What I Know About PKI

Abstract Syntax Notation One (ASN.1)

Much of the data in the PKI world is stored in ASN.1 so a basic understanding is necessary. ASN.1 is a way to describe data by starting from primitive types and building up to more complex types. Do you remember Backus-Naur Form? What about writing XML schemas in XSD? It's the same concept.

Let's say we have a Widget. Every Widget has a model name, a serial number, and some inspection information with the name of the inspector and the dates of the inspections. Our Widget then looks like this in ASN.1:

Widget ::= SEQUENCE {
    model IA5String, 
    serialNumber INTEGER,
@ilbunilcho
ilbunilcho / # php70 - 2016-06-02_08-43-47.txt
Created Jun 2, 2016
php70 (homebrew/php/php70) on 3.10.0-327.13.1.el7.x86_64 - Homebrew build logs
View # php70 - 2016-06-02_08-43-47.txt
Homebrew build logs for homebrew/php/php70 on 3.10.0-327.13.1.el7.x86_64
Build date: 2016-06-02 08:43:47
@ilbunilcho
ilbunilcho / # php70 - 2016-06-02_08-07-02.txt
Created Jun 2, 2016
php70 (homebrew/php/php70) on 3.10.0-327.13.1.el7.x86_64 - Homebrew build logs
View # php70 - 2016-06-02_08-07-02.txt
Homebrew build logs for homebrew/php/php70 on 3.10.0-327.13.1.el7.x86_64
Build date: 2016-06-02 08:07:02
@ilbunilcho
ilbunilcho / # php70 - 2016-06-02_08-07-02.txt
Created Jun 2, 2016
php70 (homebrew/php/php70) on 3.10.0-327.13.1.el7.x86_64 - Homebrew build logs
View # php70 - 2016-06-02_08-07-02.txt
Homebrew build logs for homebrew/php/php70 on 3.10.0-327.13.1.el7.x86_64
Build date: 2016-06-02 08:07:02