Skip to content

Instantly share code, notes, and snippets.

ryu-blacknd ryu-blacknd

Block or report user

Report or block ryu-blacknd

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View Apache 2.4 - IP Address block list for .htaccess
<Files ~ "\.php$">
Require all denied
SetEnvIf User-Agent "Googlebot" allowlist
SetEnvIf User-Agent "msnbot" allowlist
SetEnvIf User-Agent "bingbot" allowlist
SetEnvIf User-Agent "Applebot" allowlist
SetEnvIf User-Agent "facebookexternalhit" allowlist
SetEnvIf User-Agent "facebookplatform" allowlist
SetEnvIf User-Agent "Twitterbot" allowlist
require env allowlist
View Apache 2.2 - IP Address block list for .htaccess
<Files ~ "\.php$">
order deny,allow
deny from all
SetEnvIf User-Agent "Googlebot" allowlist
SetEnvIf User-Agent "msnbot" allowlist
SetEnvIf User-Agent "bingbot" allowlist
SetEnvIf User-Agent "Applebot" allowlist
SetEnvIf User-Agent "facebookexternalhit" allowlist
SetEnvIf User-Agent "facebookplatform" allowlist
SetEnvIf User-Agent "Twitterbot" allowlist
View AnsiColors256.ans
]4;16;rgb:00/00/00\]4;17;rgb:00/00/5f\]4;18;rgb:00/00/87\]4;19;rgb:00/00/af\]4;20;rgb:00/00/d7\]4;21;rgb:00/00/ff\]4;22;rgb:00/5f/00\]4;23;rgb:00/5f/5f\]4;24;rgb:00/5f/87\]4;25;rgb:00/5f/af\]4;26;rgb:00/5f/d7\]4;27;rgb:00/5f/ff\]4;28;rgb:00/87/00\]4;29;rgb:00/87/5f\]4;30;rgb:00/87/87\]4;31;rgb:00/87/af\]4;32;rgb:00/87/d7\]4;33;rgb:00/87/ff\]4;34;rgb:00/af/00\]4;35;rgb:00/af/5f\]4;36;rgb:00/af/87\]4;37;rgb:00/af/af\]4;38;rgb:00/af/d7\]4;39;rgb:00/af/ff\]4;40;rgb:00/d7/00\]4;41;rgb:00/d7/5f\]4;42;rgb:00/d7/87\]4;43;rgb:00/d7/af\]4;44;rgb:00/d7/d7\]4;45;rgb:00/d7/ff\]4;46;rgb:00/ff/00\]4;47;rgb:00/ff/5f\]4;48;rgb:00/ff/87\]4;49;rgb:00/ff/af\]4;50;rgb:00/ff/d7\]4;51;rgb:00/ff/ff\]4;52;rgb:5f/00/00\]4;53;rgb:5f/00/5f\]4;54;rgb:5f/00/87\]4;55;rgb:5f/00/af\]4;56;rgb:5f/00/d7\]4;57;rgb:5f/00/ff\]4;58;rgb:5f/5f/00\]4;59;rgb:5f/5f/5f\]4;60;rgb:5f/5f/87\]4;61;rgb:5f/5f/af\]4;62;rgb:5f/5f/d7\]4;63;rgb:5f/5f/ff\
View ListDownload
@ECHO OFF
FOR /F "delims=" %%i IN ('dir /b /od D:\Downloads\Lists\*.lst') DO (
ECHO --------------------------------------------------------------------------------
ECHO %%i
ECHO --------------------------------------------------------------------------------
mkdir tmp
cd tmp
View XMLRPC poster.user.js
// ==UserScript==
// @name XMLRPC poster
// @namespace http://efcl.info/
// @include http://*
// ==/UserScript==
/* 投稿先のメタ情報 */
var metaBlog ={
"endPoint": "endPoint",
"blogid" : "blogid",
@ryu-blacknd
ryu-blacknd / _autocomplete.php
Created Aug 7, 2012 — forked from kenjis/_autocomplete.php
FuelPHP 1.2 helperfile for IDE code completion
View _autocomplete.php
<?php
class Asset_Instance extends Fuel\Core\Asset_Instance {}
class Cache_Handler_Json extends Fuel\Core\Cache_Handler_Json {}
class Cache_Handler_Serialized extends Fuel\Core\Cache_Handler_Serialized {}
class Cache_Handler_String extends Fuel\Core\Cache_Handler_String {}
class Cache_Storage_Apc extends Fuel\Core\Cache_Storage_Apc {}
abstract class Cache_Storage_Driver extends Fuel\Core\Cache_Storage_Driver {}
class Cache_Storage_File extends Fuel\Core\Cache_Storage_File {}
class Cache_Storage_Memcached extends Fuel\Core\Cache_Storage_Memcached {}
@ryu-blacknd
ryu-blacknd / solarized.bash
Created Aug 7, 2012 — forked from kraft001/solarized.bash
solarized Gnome Terminal + Tmux + Vim
View solarized.bash
# store all solarized files in one place
mkdir ~/.solarized
cd ~/.solarized
# http://www.webupd8.org/2011/04/solarized-must-have-color-paletter-for.html
git clone https://github.com/seebi/dircolors-solarized.git
eval `dircolors ~/.solarized/dircolors-solarized/dircolors.256dark`
ln -s ~/.solarized/dircolors-solarized/dircolors.256dark ~/.dir_colors
git clone https://github.com/sigurdga/gnome-terminal-colors-solarized.git
@ryu-blacknd
ryu-blacknd / gist:3229930
Created Aug 1, 2012
非同期でソーシャルボタンの.jsを読み込むサンプル
View gist:3229930
<script type="text/javascript">
( function( doc, script ) {
    var js;
    var fjs = doc.getElementsByTagName( script )[0];
    var add = function( url, id, o ) {
        if ( doc.getElementById( id ) ) { return; }
        js = doc.createElement( script );
        js.src = url; js.async = true; js.id = id;
        fjs.parentNode.insertBefore( js, fjs );
        if ( window.ActiveXObject && o != null ) {
You can’t perform that action at this time.