Skip to content

Instantly share code, notes, and snippets.

View gnh1201's full-sized avatar
๐Ÿ‰
Your Watermelon OPEN UP!

Namhyeon, Go gnh1201

๐Ÿ‰
Your Watermelon OPEN UP!
View GitHub Profile
@gnh1201
gnh1201 / part1.css
Last active March 7, 2020 12:57
cube css
.gem-button.gem-button-style-outline {
text-transform: inherit;
}
.portfolio-icons{
display:none;
}
.portfolio.hover-zooming-blur .portfolio-item .image .overlay .links .caption .title{
font-family:"Nimrod W01";
@gnh1201
gnh1201 / makesheet.go
Created March 10, 2020 09:38
makesheet.go
package main
import "fmt"
import "os"
import "log"
import "bytes"
import "strings"
import "time"
import "compress/gzip"
import "encoding/base64"
<script type='text/javascript'>
jQuery(document).ready(function(jQuery) {
jQuery(".scroll").click(function(event){
event.preventDefault();
jQuery('html,body').animate({scrollTop:jQuery(this.hash).offset().top}, 500);
});
});
jQuery(document).scroll(function() {
if(jQuery(window).scrollTop() >= 100){
@gnh1201
gnh1201 / install-ssl-apache.md
Created April 10, 2020 01:12 — forked from ccschmitz/install-ssl-apache.md
How to install an SSL certificate on an Apache server.

Installing an SSL certificate on Apache

  1. Create a private key:
openssl genrsa 2048 > private-key.pem
  1. Create a Certificate Signing Request (CSR):
@gnh1201
gnh1201 / COMODO PositiveSSL certificate.md
Created April 10, 2020 01:20 — forked from kktuax/COMODO PositiveSSL certificate.md
SSL instructions for Apache HTTP Server

Input files for domain mydomain.es

-rw-r--r-- 1 www-data www-data 1,5K 2014-07-09 18:26 AddTrustExternalCARoot.crt
-rw-r--r-- 1 www-data www-data 2,0K 2014-07-09 18:26 COMODORSAAddTrustCA.crt
-rw-r--r-- 1 www-data www-data 2,2K 2014-07-09 18:26 COMODORSADomainValidationSecureServerCA.crt
-rw-r--r-- 1 www-data www-data 1,9K 2014-07-09 18:26 mydomain_es.crt
-rw-r--r-- 1 www-data www-data 1,1K 2014-07-09 17:48 mydomain_es.csr
-rw-r--r-- 1 www-data www-data 1,7K 2014-07-09 17:48 mydomain_es.key
@gnh1201
gnh1201 / CDN_HOWTO.md
Last active May 26, 2021 08:14
์นดํŽ˜24(cafe24) CDN/์ŠคํŠธ๋ฆฌ๋ฐ ์‚ฌ์šฉ๋ฒ• (ReasonableFramework v1.6.2 ๊ธฐ์ค€)

์นดํŽ˜24(cafe24) CDN/์ŠคํŠธ๋ฆฌ๋ฐ ์‚ฌ์šฉ๋ฒ•

ReasonableFramework v1.6.2 ๊ธฐ์ค€ https://github.com/gnh1201/reasonableframework

๋ชฉ์ฐจ

  • ์นดํŽ˜24 (10G ๊ด‘์•„์šฐํ† ๋ฐ˜ Full SSD ์›น ํ˜ธ์ŠคํŒ… ์ƒํ’ˆ ๊ธฐ์ค€)
  • Amazon S3 ๋˜๋Š” ํƒ€์‚ฌ ์ •์  ํŒŒ์ผ ํ˜ธ์ŠคํŒ…/Object Storage ์‚ฌ์šฉ์ž
  • ๋ฌธ์˜์‚ฌํ•ญ

์นดํŽ˜24 (10G ๊ด‘์•„์šฐํ† ๋ฐ˜ Full SSD ์›น ํ˜ธ์ŠคํŒ… ์ƒํ’ˆ ๊ธฐ์ค€)

@gnh1201
gnh1201 / zabbix_to_grafana.md
Last active November 23, 2024 15:51
์ž๋น…์Šค ์‹ฌ๊ฐ๋„ ๊ทธ๋ผํŒŒ๋‚˜๋กœ ๋ณด๋‚ด๊ธฐ (Send severities from Zabbix to Grafana)

์ž๋น…์Šค ์‹ฌ๊ฐ๋„ ๊ทธ๋ผํŒŒ๋‚˜๋กœ ๋ณด๋‚ด๊ธฐ (Send severities from Zabbix to Grafana)

  1. ReasonableFramework ์„ค์น˜ (v1.6.2)

  2. ์ž๋น…์Šค(Zabbix) ์ ‘์† ์ •๋ณด ์„ค์ • (ํŒŒ์ผ: /stroage/config/3rdparty.ini.php)

zabbix_host=[127.0.0.1]
zabbix_username=[username]
zabbix_password=[username]
@gnh1201
gnh1201 / openbrowser.js
Created August 13, 2020 06:46
Open web browser on WSH(Windows Scripting Host) with Javascript
// requirement: https://github.com/gnh1201/welsonjs
var WINLIBS = require("lib/winlibs");
WINLIBS.loadLibrary("url").call("FileProtocolHandler", [
"https://google.com"
]);
@gnh1201
gnh1201 / gtk.js
Last active November 4, 2020 08:56
GTK GUI Programming with Javascript/WSH (Javascript on Windows Scripting Host)
////////////////////////////////////////////////////////////////////////
//
// GTKServer API
//
// * Breif: GTK GUI Programming with WSH (Windows Scripting Host)
// * Author: Go Namhyeon <[email protected]>
// * Project site: https://github.com/gnh1201/welsonjs
//
////////////////////////////////////////////////////////////////////////
var SHELL = require("lib/shell");
@gnh1201
gnh1201 / http.js
Created November 12, 2020 06:58
HTTP communication with Javascript/WSH (Javascript on Windows Scripting Host)
////////////////////////////////////////////////////////////////////////
// HTTP API
// https://github.com/gnh1201/welsonjs
////////////////////////////////////////////////////////////////////////
//var WINSOCK = require("lib/winsock");
var HTTPObject = function() {
this.interface = null;
this.contentType = "application/octet-stream";