Skip to content

Instantly share code, notes, and snippets.

View hibiyasleep's full-sized avatar
🛌
.oO( 🍣 )

hibiya (김종이) hibiyasleep

🛌
.oO( 🍣 )
View GitHub Profile
@hibiyasleep
hibiyasleep / php-handdoc.md
Last active March 19, 2018 06:09
php-handdoc.md

PHP functions explanation

Chapter 1: Date and Time functions

date

# FILE : naver.py
# -*- coding: utf-8 -*-
#
import urllib2, re, sys, thread
from time import time, sleep
from StringIO import StringIO
from gzip import GzipFile
VERSION = '0.2.1'
@hibiyasleep
hibiyasleep / monitor.py
Created May 15, 2014 16:48
Sunrin vs VideoHS Monitor
# FILE : naver.py
# -*- coding: utf-8 -*-
#
import urllib2, re, sys
from time import time, sleep
from StringIO import StringIO
from gzip import GzipFile
VERSION = '0'
getErinnTime = function (date){
var week = [
'임볼릭',
'알반 에일레르',
'벨테인',
'알반 헤루인',
'루나사',
'알반 엘베드',
'삼하인' ]
var d = date || new Date()
#include <windows.h>
#include "resource.h"
LRESULT CALLBACK WndProc(HWND,UINT,WPARAM,LPARAM);
HINSTANCE g_hInst;
HWND hWndMain;
LPCTSTR lpszClass=TEXT("webTris");
int APIENTRY WinMain(HINSTANCE hInstance,HINSTANCE hPrevInstance
,LPSTR lpszCmdParam,int nCmdShow)
import javax.swing.*;
import java.awt.*;
import java.awt.event.*;
import java.io.*;
import java.net.*;
public class Hangang extends JFrame {
public static String uri = "http://shizuku.hibiya.moe/hangang";
// target: http://zermoth.net/mabinogi/ost
// jquery: required
// setting: none
// output-variable: d
// output-type: object
t=''
tn=0
d={}
void(
$('h2, .tbOST tr').each(function(i, o){
@hibiyasleep
hibiyasleep / GodDrinksJava.java
Last active May 27, 2024 04:04
world.execute(me);
package goddrinksjava;
/**
* The program GodDrinksJava implements an application that
* creates an empty simulated world with no meaning or purpose.
*
* @author momocashew
* @lyrics hibiyasleep
*/
@hibiyasleep
hibiyasleep / calcium-tweet.js
Last active May 4, 2017 08:44
calcium-tweet
#!/usr/bin/env node
'use strict'
const calcium = require('calcium')
const moment = require('moment')
const fs = require('fs')
const T = require('twit')
const rc = JSON.parse(fs.readFileSync('/home/hibiya/.calciumrc').toString())
@hibiyasleep
hibiyasleep / followlog.sh
Last active April 14, 2022 06:06
Watch following/followers and generates diff. (crontab required)
#!/bin/zsh
# (only tested with zsh, anyway)
#
# followlog.sh
#
# (c) 2016 Kuriyama hibiya
# All rights reserved.
#
# Usage:
#