Skip to content

Instantly share code, notes, and snippets.

View minacle's full-sized avatar
♥️
* 𝙳𝚎𝚝𝚎𝚛𝚖𝚒𝚗𝚊𝚝𝚒𝚘𝚗․ 

Mina Her minacle

♥️
* 𝙳𝚎𝚝𝚎𝚛𝚖𝚒𝚗𝚊𝚝𝚒𝚘𝚗․ 
View GitHub Profile
@minacle
minacle / yambik.svg
Created August 2, 2013 23:24
An emblem in the clothes which Yamabiko had worn.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@minacle
minacle / PakuriTweet.js
Last active December 22, 2015 07:59
Script of Azurea for Pakutsui(tweeting a copied tweet).
function pakuriTweet(id) {
TwitterService.status.update(TwitterService.status.get(id).text, 0);
}
System.addContextMenuHandler('パクツイ', 0, pakuriTweet);
System.addKeyBindingHandler('T'.charCodeAt(0), 1, pakuriTweet);
@minacle
minacle / UniqueColor.js
Created September 4, 2013 22:31
Azurea script for user unique text color.
function makeUniqueColor(status) {
var id = status.user.id;
var max = 16777215;
while (id > max)
id -= max;
var colorRange = [0, 255];
var averageRange = [0, 80];
var color = [id & 255, (id >> 8) & 255, (id >> 16) & 255];
while (true) {
for (var i = 0; i < 3; i++) {
@minacle
minacle / korean.py
Last active January 1, 2016 19:58
phiori용 한국어 조사 처리 모듈.
#korean.py
# 한국어 조사 처리 모듈.
# 사용을 위해 구성해야 할 것은 없습니다.
# 값을 산출하는 OnTranslate 핸들러가 이미 있을 경우, 의도와는 다르게 동작할 수 있습니다.
#
# 사용 예시:
# 나\=[은,는] 자연\=[을,를] 배운다.
# 손\=[으]로 만지고, 발\=[으]로 밟는다.
#
# 결과:
Public NotInheritable Class MultiplexConverter
Implements System.Windows.Data.IValueConverter
Private _Converters As New System.Collections.ObjectModel.Collection(Of System.Windows.Data.IValueConverter)
<System.ComponentModel.BindableAttribute(True)>
Public ReadOnly Property Items As System.Collections.ObjectModel.Collection(Of System.Windows.Data.IValueConverter)
Get
Return _Converters
End Get
@minacle
minacle / .bashrc
Last active August 29, 2015 14:00
[ -z "$PS1" ] && return
# Colours
Black='\033[0;30m'
Red='\033[0;31m'
Green='\033[0;32m'
Yellow='\033[0;33m'
Blue='\033[0;34m'
Purple='\033[0;35m'
import sys, os, shutil
from compileall import compile_dir
# libpath destpath
if len(sys.argv) < 3:
print("need more arguments.")
os._exit(1)
os.chdir(sys.argv[1])
#!/bin/sh
curl -O https://aur.archlinux.org/packages/pa/package-query/package-query.tar.gz
tar zxvf package-query.tar.gz
cd package-query
makepkg -si --asroot
cd ..
curl -O https://aur.archlinux.org/packages/ya/yaourt/yaourt.tar.gz
tar zxvf yaourt.tar.gz
cd yaourt
makepkg -si --asroot
.parent {
position: relative;
}
.child {
position: absolute;
top: 50%;
transform: translateY(-50%);
}
body {
font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, "Lucida Grande", "Segoe UI", Arial, "ヒラギノ角ゴ Pro", "Hiragino Kaku Gothic Pro", "Meiryo UI", "Apple SD 산돌고딕 Neo", "Apple SD Gothic Neo", "맑은 고딕", "Malgun Gothic", "나눔고딕", "NanumGothic", sans-serif;
}