NiftyCent.com
NiftyCent.com
NiftyCent
US
|
Created Jul 13, 2021, 3:33:44 PM | Mmm7777

sudo swapoff -a


sudo swapon -a

Created Jul 9, 2021, 6:55:59 PM | Mmm7777
Created Jul 6, 2021, 8:13:57 AM | Mmm7777
Created Jul 6, 2021, 8:01:16 AM | Mmm7777

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

Created 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
Created 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

Created 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[

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