官方講解的流程https://dev.twitter.com/web/sign-in/implementing (沒講signtrue怎麼做出來,要看別的文件即可)
前置動作
新增 apphttps://apps.twitter.com/


COMPLETE, otherwise recreate broadcast ... so ensure that your broadcast lifecycle status is readyactivetesting (yes, you have to do it instead of moving to live)lifeCycleStatus to become testinglivelifeCycleStatus to become livetesting and cannot transition from complete to testing or ready.php artisan cache:clearphp artisan clear-compiledsudo chmod -R 777 storagesudo chmod -R 777 bootstrap/cachecomposer dump-autoloadcd
cd .git/objects
sudo chown -R : *
如題
sudo chown -R $USER:$GROUP ~/.npmsudo chown -R $USER:$GROUP ~/.config
function redirect_page_standard() {
wp_redirect( get_site_url() . '/notice.html', 301 );
}
add_action( 'template_redirect', 'redirect_page_standard' );
Do not use built-in or reserved HTML elements as component
The program 'node' can be found in the following packages:
* node
* nodejs-legacy
Try: sudo apt-get install <selected package>
sudo ln -s `which nodejs` /usr/local/bin/node
Laravel 中使用 Vue 组件化开发(配置)
sudo apt-get install nodejssudo apt-get install npm
如果在Lavavel裡面整合的話,請參考Lavarel Elixir (大大簡化使用gulp的流程)
set_time_limit(0) //則是無上限
.modal {
position: fixed;
top: 0;
right: 0;
bottom: 0;
left: 0;
overflow: hidden;
}
.modal-dialog {
position: fixed;
margin: 0;
width: 100%;
height: 100%;
padding: 0;
}
.modal-content {
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
border: 2px solid #3c7dcf;
border-radius: 0;
box-shadow: none;
}
.modal-header {
position: absolute;
top: 0;
right: 0;
left: 0;
height: 50px;
padding: 10px;
background: #6598d9;
border: 0;
}
.modal-title {
font-weight: 300;
font-size: 2em;
color: #fff;
line-height: 30px;
}
.modal-body {
position: absolute;
top: 50px;
bottom: 60px;
width: 100%;
font-weight: 300;
overflow: auto;
}
.modal-footer {
position: absolute;
right: 0;
bottom: 0;
left: 0;
height: 60px;
padding: 10px;
background: #f1f3f5;
}
https://codepen.io/yewnork/pen/Kpaqeq
https://tinypng.com/developers
$sql = "INSERT INTO `table` (`id`, `name`) VALUES (?,?),(?,?) ON DUPLICATE KEY UPDATE `name` = VALUES(`name`) ";//將要批次插入的值放到 (?,?),看你要插入幾組 $values = array(1, "test", 2, "so so");//要插入的值 $stmt = $this->db->prepare($sql);//建立pdo statment $stmt->execute($values);//執行時把要插入的值丟入pdo