Skip to content

Instantly share code, notes, and snippets.

View sukso96100's full-sized avatar
🌏
Hello

Youngbin Han sukso96100

🌏
Hello
View GitHub Profile
@kennym
kennym / blogspot_to_jekyll.rb
Created July 30, 2011 18:14
Migrate your blogger blog posts to jekyll.
#!/usr/bin/env ruby
#
# Convert blogger (blogspot) posts to jekyll posts
#
# Basic Usage
# -----------
#
# ./blogger_to_jekyll.rb feed_url
#
# where `feed_url` can have the following format:
@ngauthier
ngauthier / import.rb
Created December 21, 2011 16:19
Import a blogger archive to jekyll
require 'rubygems'
require 'nokogiri'
require 'fileutils'
require 'date'
# usage: ruby import.rb my-blog.xml
# my-blog.xml is a file from Settings -> Basic -> Export in blogger.
data = File.read ARGV[0]
doc = Nokogiri::XML(data)
@adammw
adammw / buildnode.sh
Last active March 5, 2016 16:44
Node.js for Raspberry Pi Packaging Script
#!/bin/sh
## Node.js for Raspberry Pi Packaging Script
## =========================================
## Execute this script from within node.js git repo
## Use like this:
## ~/node/$ VERSION=v0.10.0 ./buildnode.sh
if [ -z $VERSION ]; then
echo "set the VERSION first"
exit 1
@jmoiron
jmoiron / valuer.go
Created October 14, 2013 18:03
Example uses of sql.Scanner and driver.Valuer
package main
import (
"bytes"
"compress/gzip"
"database/sql/driver"
"errors"
"fmt"
"github.com/jmoiron/sqlx"
_ "github.com/mattn/go-sqlite3"
@mnadel
mnadel / go-oci8 on win64.md
Last active December 26, 2022 12:06
go-oci8 on windows64
@xDShot
xDShot / PKGBUILD
Last active September 9, 2016 15:14
Updated PKGBUILD for the 'micro' package on the AUR. Makefile is completely broken, so we are going in 'hard way'. What a shame.
# Maintainer: Youngbin Han <[email protected]>
# Maintainer: xDShot <[email protected]>
pkgname=micro
pkgver=1.0.3
pkgrel=1
pkgdesc="A modern and intuitive terminal-based text editor"
arch=('x86_64' 'i686')
url="https://github.com/zyedidia/micro"
license=('MIT')
makedepends=('go')
@benediktkr
benediktkr / Hacking North Korea’s Grand People’s Study House.md
Last active January 13, 2025 12:02 — forked from anonymous/1.md
Hacking North Korea’s Grand People’s Study House

Hacking North Korea’s Grand People’s Study House

Prologue

I've decided to post this article anonymously. As much as I would have loved to get credit for it, it is not worth putting the safety of my Korean guides at risk. They are great people, and having any connection to this (even though everything done was legal), could cause them to suffer consequences under the regime.

In the Spring of 2016 I had the chance to travel to the Democratic People’s Republic of Korea, known in the West as North Korea. The trip was very enlightening, and I’ve come away with a lot of new personal thoughts about the country. This post is not about my personal thoughts though, this post is about my love of cybersecurity and my constant want to be put on new national security lists.

Grand People’s Study House

@sukso96100
sukso96100 / insdockerce.sh
Last active October 4, 2017 13:24
Ubuntu Docker CE Installation Script
#!/bin/bash
sudo apt install \
linux-image-extra-$(uname -r) \
linux-image-extra-virtual \
apt-transport-https \
ca-certificates curl \
software-properties-common
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
sudo apt-key fingerprint 0EBFCD88
@Jaesang
Jaesang / hands-on.md
Last active December 29, 2023 07:07
test

Openstack On K8s Hands-on Lab.

N|Solid

N|Solid

Ansible Initial Setting

$ ssh-keygen -f "/home/stack/.ssh/known_hosts" -R localhost
$ ssh localhost
@bytemaster
bytemaster / simple.token.cpp
Last active April 20, 2019 12:57
EOSIO Simple Token Contract
#include <eosiolib/eosio.hpp>
class simpletoken : public eosio::contract {
public:
simpletoken( account_name self )
:contract(self),_accounts(self, self){}
/** User's call this method to transfer tokens */
void transfer( account_name from, account_name to, uint64_t quantity ) {
require_auth( from );