This file contains hidden or 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 | |
| define( "O_SYSTEM_CRYPT_KEY" , "OrehaJaian!Gakidaisho!OiNobitaButtobasuzo!" ); // 暗号化キー | |
| define( "REPLACE_MAIL_ADDRESS" , "[email protected]" ); // 置換対象となるメールアドレス | |
| // コンタクトフォーム7にhiddenフィールドを追加 | |
| add_filter( 'wpcf7_form_hidden_fields', 'oc_wpcf7_form_hidden_fields'); | |
| function oc_wpcf7_form_hidden_fields( $hidden ) { | |
| $email = "[email protected]"; // 送信したいアドレスをhiddenフィールドに暗号化して設定しておく | |
| $cript_mail = openssl_encrypt($email, 'AES-128-ECB', O_SYSTEM_CRYPT_KEY); |
This file contains hidden or 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 | |
| /** | |
| * 日本からのアクセスかを判断する | |
| */ | |
| function is_access_from_japan(){ | |
| if(!isset($_SERVER['HTTP_ACCEPT_LANGUAGE']) || empty($_SERVER['HTTP_ACCEPT_LANGUAGE'])) { | |
| return false; // よくわからなければ海外からのアクセスとして判定する | |
| } |
This file contains hidden or 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
| // Gulpを使うためのメモ | |
| // NODE JS インストール | |
| https://nodejs.org/en/ | |
| // Gulpインストール | |
| npm install -g gulp | |
| // NPM | |
| npm init |
This file contains hidden or 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
| // Git使い方メモ | |
| // @see http://www.backlog.jp/git-guide/intro/intro1_1.html | |
| // version check | |
| git --version | |
| // settings --------------------------------------------------------- |
This file contains hidden or 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
| C:\Users\XXXXX\.ssh> ssh-keygen | |
| Generating public/private rsa key pair. | |
| Enter file in which to save the key (//.ssh/id_rsa): C:\Users\XXXXX\.ssh\id_rsa | |
| Enter passphrase (empty for no passphrase): | |
| Enter same passphrase again: | |
| Your identification has been saved in C:\Users\XXXXX\.ssh\id_rsa. | |
| Your public key has been saved in C:\Users\XXXXX\.ssh\id_rsa.pub. |
This file contains hidden or 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
| http://matome.naver.jp/odai/2136491451473222801 | |
| http://www.slideshare.net/kotas/git-15276118 | |
| http://www.slideshare.net/matsukaz/git-28304397 |
This file contains hidden or 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
| // 対応方法: http://analyze.siraberu.info/post-732/ | |
| с.новым.годом.рф | |
| share-buttons.xyz | |
| traffic2cash.xyz | |
| website-stealer.nufaq.com | |
| website-stealer-warning.hdmoviecamera.net | |
| w3javascript.com | |
| build-a-better-business.2your.site | |
| topseoservices.co |
This file contains hidden or 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 | |
| add_filter( 'is_lightning_extend_loop', 'oc_is_extend_loop'); | |
| function oc_is_extend_loop() { | |
| return true; | |
| } | |
| add_action( 'lightning_extend_loop', 'oc_extend_loop'); | |
| function oc_extend_loop() { | |
| // loop | |
| } |
This file contains hidden or 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 | |
| /** | |
| * CodeIgniter | |
| * | |
| * An open source application development framework for PHP | |
| * | |
| * This content is released under the MIT License (MIT) | |
| * | |
| * Copyright (c) 2014 - 2016, British Columbia Institute of Technology | |
| * |