NiftyCent.com
NiftyCent.com
NiftyCent
US
| | Remote services | Settings - United States

What I want
Want AMP version for articles. Maybe discussion or other text, not changing entries.


Quick ideas
Because AMP has different tag set, i should have different layout for AMP version.
AMP links should be different too. I dont want to send query parameter in URL (like ?amp=1), I

Apr 25, 2021, 10:27:27 PM | random.dev

What i want


Want to find possible bugs in new controllers i included into psalm static analysis.


Progress


I included several new files to analysis and result is



------------------------------
142 errors found
------------------------------
Psalm can automatically fix 8 is
Apr 25, 2021, 10:25:37 PM | random.dev

Ngrok


Simple way to show your localhost content to your clients.


https://ngrok.com/


simple as:


./ngrok http -host-header=www.localhost-domain.com https://www.localhost-domain.com/


Limited free usage, but still good for normal usage.


Then just copy ngrok url and send to clie

Oct 26, 2020, 11:37:42 AM | Mmm7777

Is case you need to download web page data...


$data = file_get_contents('https://raw.githubusercontent.com/clarketm/proxy-list/master/proxy-list-raw.txt');


$rows = explode("\n", $data); // save it to DB or file...


$client = new Client(HttpClient::create(['timeout' => 60, 'proxy' => $rows[

Oct 26, 2020, 11:35:59 AM | Mmm7777