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
<?php | |
namespace App\Providers; | |
use Illuminate\Http\Request; | |
use Illuminate\Routing\Route; | |
use Illuminate\Support\ServiceProvider; | |
use App\Http\Middleware\CaptureRequestExtension; | |
class AppServiceProvider extends ServiceProvider |
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
#!/bin/bash | |
# | |
# | |
# Usage | |
# This script do nothing, it juste show files that are scanned or not by | |
# Logstash and plugin File. 3 outputs | |
# | |
# ./utilSinceDB.sh | |
# ./utilSinceDB.sh | grep "not found in sincedb" | |
# ./utilSinceDB.sh | grep "to delete" |
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
/** | |
* Check if a given ip is in a network | |
* @param string $ip IP to check in IPV4 format eg. 127.0.0.1 | |
* @param string $range IP/CIDR netmask eg. 127.0.0.0/24, also 127.0.0.1 is accepted and /32 assumed | |
* @return boolean true if the ip is in this range / false if not. | |
*/ | |
function ip_in_range( $ip, $range ) { | |
if ( strpos( $range, '/' ) == false ) { | |
$range .= '/32'; | |
} |
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
まず | |
iCloudログイン | |
AppStoreで以下をインストール (購入済みタブからまとめてインストールできる) | |
Xcode | |
Slack | |
Sketch | |
LINE | |
sourceTree |
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
// ==UserScript== | |
// @name shingeki.js | |
// @namespace http://twitter.com/amasawa | |
// @include http://sp.pf.mbga.jp/12007160* | |
// @include http://sp.pf.mbga.jp/12008054* | |
// @include http://sp.pf.mbga.jp/12009496* | |
// @include http://sp.pf.mbga.jp/12008982* | |
// @run-at document-start | |
// ==/UserScript== |
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
// usage: node proxy.js | |
var http = require('http'), | |
httpProxy = require('http-proxy'); | |
var userScripts = [ | |
// 神撃のバハムートの PC 拒否を突破 | |
function() { | |
window.ontouchstart = function(){}; | |
window.orientation = 0; |