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
/** | |
* @params string $instagram_id OAuth認証後、取得されたInstagramID | |
* @params string $access_token OAuth認証後、取得されたaccess_token | |
*/ | |
public function getMediaList($instagram_id, $access_token) { | |
# 1回目のloopを回すため20に | |
$count = 20; | |
$max_id = null; |
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
INSTAGRAM_KEY=`自分のAppのClient ID` | |
INSTAGRAM_SECRET=`自分のAppのClient Secret` | |
INSTAGRAM_REDIRECT_URI=`自分のHOST`/instagram/callback/ |
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
" default | |
set tabstop=4 | |
set shiftwidth=4 | |
" filetypeによって設定を変える | |
filetype plugin indent on |
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
android { | |
... | |
packagingOptions { | |
exclude 'lib/x86_64/darwin/libscrypt.dylib' | |
} | |
... | |
} |
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\Http\Controllers; | |
use Illuminate\Http\Request; | |
use App\Http\Requests; | |
use App\Http\Controllers\Controller; | |
use App\Post; |
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
<VirtualHost *:443> | |
ServerAdmin hoge@hoge.com | |
ServerName encrypt.hoge.com | |
DocumentRoot /var/www/hoge | |
# ここはお好みで | |
<Directory /var/www/hoge> | |
# .htaccessの許可 | |
AllowOverride All |
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/sh | |
#------------------------------------- | |
# 'monacoin-cli getnewaddress'で作成したアドレス | |
echo "マイニング報酬を受取るアドレスを入力してください" | |
read ADDR | |
#------------------------------------- | |
# confファイルの読み込み | |
. ~/.monacoin/monacoin.conf |
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
TWITTER_CONSUMER_KEY=xxxxxxxxxxxx | |
TWITTER_CONSUMER_SECRET=xxxxxxxxxxxx | |
TWITTER_ACCESS_TOKEN=xxxxxxxxxxxx | |
TWITTER_ACCESS_TOKEN_SECRET=xxxxxxxxxxxx | |
TWITTER_CALLBACK_URL=http://xxxx.com/login/twitter/callback |
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
$ bitcoin-cli getnewaddress "好きなアカウント名" | |
2Mz7emapNnRwt4PtFPdBUGdv7sdsvMqbatc |
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
### 上記省略 ### | |
BITCOIN_RPC_USERNAME=user | |
BITCOIN_RPC_PASSWORD=password | |
BITCOIN_RPC_HOST=localhost | |
# regtest default port | |
BITCOIN_RPC_PORT=18443 |
OlderNewer