Skip to content

Instantly share code, notes, and snippets.

oflow oflow

Block or report user

Report or block oflow

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
@oflow
oflow / fuck_u_disable_paste_and_contextmenu.user.js
Last active Nov 20, 2018
貼り付けと選択と右クリック禁止すんな殺すぞ!
View fuck_u_disable_paste_and_contextmenu.user.js
// ==UserScript==
// @name Disable "disable Paste, Contextmenu, Select"
// @description 貼り付けと選択と右クリック禁止すんな殺すぞ!
// @namespace https://oflow.me
// @include https://*
// @include http://*
// @version 1.0.2
// @grant none
// ==/UserScript==
@oflow
oflow / disable_fast_startup.reg
Created May 30, 2018
高速スタートアップ無効化
View disable_fast_startup.reg
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Power]
"HiberbootEnabled"=dword:00000000
@oflow
oflow / Enable SMB1.bat
Last active Jul 16, 2018
Windows 10でNASが繋がらないときにSMB1.0とサービスを有効にするやつ
View Enable SMB1.bat
@echo off
openfiles > NUL 2>&1
if %ERRORLEVEL% equ 0 (
@echo on
rem Enable Function Discovery Provider Host
sc config fdPHost start=auto
sc start fdPHost
rem Enable Function Discovery Resource Publication
sc config FDResPub start=auto
@oflow
oflow / README.MD
Last active Mar 8, 2018
エクスプローラーのナビゲーションツリーからDropboxを非表示にするやつ
View README.MD

dword:00000000 に設定しただけだとDropboxが値を dword:00000001 に戻していつの間にかナビゲーションツリーに復活する。 {E31EA727-12ED-4702-820C-4B6445F28E1A} の右クリックメニュー「アクセス許可」で全部拒否にしとけば良さそう。

@oflow
oflow / rolling_sushi.html
Last active Dec 26, 2017
寿司、回る。
View rolling_sushi.html
<!DOCTYPE html>
<html lang="ja">
<head>
<meta charset="utf-8">
<title>Rolling SUSHI</title>
<style type="text/css">
html,body { padding: 0; margin: 0; }
#sushi {
text-align: center;
position: absolute;
@oflow
oflow / devtools-toggle-toolbarbutton.uc.js
Created Nov 15, 2017
開発ツールを開くボタンがツールバーにあればFirebug必要ないのでは
View devtools-toggle-toolbarbutton.uc.js
// ==UserScript==
// @name DevTools Toggle Toolbarbutton
// @version 1.0
// ==/UserScript==
(function() {
CustomizableUI.createWidget({
id: 'ucjs-devtools-toggle-button',
type: 'custom',
defaultArea: CustomizableUI.AREA_NAVBAR,
View samui.js
String.fromCharCode(115,97,109,117,105)
@oflow
oflow / syosetu.sh
Created Aug 20, 2017
保存するやつ。sleep 入れないと怒られる。
View syosetu.sh
#!/bin/sh
url=http://ncode.syosetu.com/txtdownload/dlstart/ncode
id=651272
for i in `seq 1 242`
do
f=`printf %03d $i`
wget "$url/$id/?no=$i&code=utf-8&hankaku=0" -O $f.txt
@oflow
oflow / gulp-task-completion.zsh
Last active Jul 21, 2017
gulp はタスク名を補完しろよ
View gulp-task-completion.zsh
compdef _gulp gulp
function _gulp () {
local -a task
if [ -f ./gulpfile.js ]; then
task=(`cat gulpfile.js | grep "task('" | awk -F\' '{ print $2 }' | tr '\n' ' '`)
compadd $task
else
zle -M 'No gulpfile found'
fi
}
@oflow
oflow / twitter-new-sushi.css
Created Jun 16, 2017
新しい🍣 それはエモーショナルに回転する
View twitter-new-sushi.css
/* 回転🍣
*
* https://twitter.com/oflow/status/875568672021987329
*
*/
.HeartAnimation:before {
content: '🍣' !important;
display: inline-block !important;
}
.favorited .HeartAnimation:before {
You can’t perform that action at this time.