Skip to content

Instantly share code, notes, and snippets.

@ilbunilcho
ilbunilcho / SecureCRT script for connection with gateway.md
Created November 1, 2018 16:53
SecureCRT script for connection with gateway
  • 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 November 1, 2018 16:50
Tomcat7+jenkins on CentOS

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 November 1, 2018 16:41
How to remove Windows paths from WSL path

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 November 1, 2018 16:38
Firebase setup with nodejs 6 on WSL (ubuntu)

uninstall nodejs 8

$ sudo apt purge nodejs
$ sudo apt purge npm
$ curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.11/install.sh | bash
@ilbunilcho
ilbunilcho / starUML.md
Created September 28, 2018 02:44 — forked from trandaison/starUML.md
Get full version of StarUML

StarUML

Download: StarUML.io

Crack

Source: jorgeancal

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

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

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,

require 'bindata'
require 'benchmark'
require 'win32/registry'
require 'io/console'
class GGPK
class UTF16String < BinData::String
def snapshot
super.force_encoding('UTF-16LE')
end