ora=<instaclient-install-dir>
gcc=
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"bytes" | |
"compress/gzip" | |
"database/sql/driver" | |
"errors" | |
"fmt" | |
"github.com/jmoiron/sqlx" | |
_ "github.com/mattn/go-sqlite3" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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') |
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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 ); |
OlderNewer