This file contains 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 python | |
# -*- coding: utf-8 -*- | |
# vim:fenc=utf-8 | |
# | |
# Copyright © 2013 KuoE0 <kuoe0.tw@gmail.com> | |
# | |
# Distributed under terms of the MIT license. | |
""" |
This file contains 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 python | |
#coding=utf-8 | |
import pty | |
import os | |
import select | |
def mkpty(): | |
# |
This file contains 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 python | |
# -*- coding: utf-8 -*- | |
# vim:fenc=utf-8 | |
# | |
# Copyright © 2013 KuoE0 <kuoe0.tw@gmail.com> | |
# | |
# Distributed under terms of the MIT license. | |
""" |
This file contains 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 python | |
# -*- coding: utf-8 -*- | |
# vim:fenc=utf-8 | |
# | |
# Copyright © 2013 KuoE0 <kuoe0.tw@gmail.com> | |
# | |
# Distributed under terms of the MIT license. | |
""" |
This file contains 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 python | |
# -*- coding: utf-8 -*- | |
# vim:fenc=utf-8 | |
# | |
# Copyright © 2013 KuoE0 <kuoe0.tw@gmail.com> | |
# | |
# Distributed under terms of the MIT license. | |
""" |
This file contains 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 python | |
# -*- coding: utf-8 -*- | |
# vim:fenc=utf-8 | |
# | |
# Copyright © 2013 KuoE0 <kuoe0.tw@gmail.com> | |
# | |
# Distributed under terms of the MIT license. | |
""" |
This file contains 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 "efi.h" | |
#include "efilib.h" | |
#include "she.h" | |
#include <atk_libc.h> | |
#include <stdio.h> | |
#include <stdlib.h> | |
#include "Bmp.h" | |
#include "Hii.h" |
This file contains 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 sbcl --script | |
;;; load quicklisp | |
(load "~/.quicklisp/setup.lisp") | |
;;; load package and redirect the loading msg to /dev/null | |
(with-open-file (*standard-output* "/dev/null" :direction | |
:output :if-exists :supersede) | |
(ql:quickload '("drakma" "com.informatimago.common-lisp.html-parser"))) | |
;;; get html tag name | |
(defun html-tag (xml) |
This file contains 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 bash | |
# ============================================================================= | |
# FileName: Install_OpenSSL_APT.sh | |
# Desc: Build APT with OpenSSL and Install it | |
# Environment: Ubuntu 13.04 amd64 | |
# Usage: ./Install_OpenSSL_APT.sh | |
# Author: KuoE0 <kuoe0.tw@gmail.com> | |
# HomePage: http://kuoe0.tw/ | |
# Copyright: BSD License (C) 2013 KuoE0 | |
# ============================================================================= |
This file contains 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
<script type="text/javascript"> | |
var interval = 25; | |
var myTimer; | |
var isTick = false; | |
var h = getDocHeight() * 0.6; | |
//console.log(h); | |
var count = 0; |