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 | |
require_once './vendor/autoload.php'; | |
use GuzzleHttp\Client; | |
$voteUrl = 'https://udn.com/func/vote/?act_code=v853'; | |
$client = new Client(['cookies' => true]); |
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
-- References | |
-- https://serverfault.com/questions/60508/grant-select-to-all-tables-in-postgresql | |
-- https://blog.redash.io/postgres-readonly/ | |
-- Create a read-only role | |
CREATE ROLE myapp_readonly_role_name; | |
GRANT CONNECT ON DATABASE db_name TO myapp_readonly_role_name; | |
GRANT USAGE ON SCHEMA schema_name TO myapp_readonly_role_name; |
- https://about.fb.com/news/2019/05/fake-accounts/ (稍微描述點方法)
- https://www.eyerys.com/articles/how-deep-entity-classification-ai-helped-facebook-remove-billions-fake-accounts (詳細描述偵測方法與建立訓練模型,內有影片,內容為Facebbok工程師出來分享如何做到)
- https://www.tecmint.com/best-open-source-web-servers
- https://www.liaohuqiu.net/posts/nginx-proxy-pass/
- Apache HTTP Server
- Nginx Web Server
- Lighttpd Web Server
- Apache Tomcat
- Caddy Web Server
- OpenLiteSpeed Web Server
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
$( document ).ready(function() { | |
console.log( "ready!" ); | |
let line_userid = ""; | |
$('input[name="idtype"]')[0].checked = true; // 預設為身份證字號 | |
liff.init({ | |
liffId: "1552207375-1xDKJLe5" | |
}) |