Category: Coding

1

Vi Editor keys adding characters

You are using Vi Editor and press the backspace and it adds a new line with letter “D” in it. Or hitting arrow keys adds characters. Or a whole other random behavior and you...

2

Reboot TP-Link Router TL-WA7510N using Curl

I have a TP-Link outdoor AP point router: Hardware Version: WA7510N v2 It sometimes freezes and I need to manually reboot it. My downloads suffer and I am a bit OCDic about continuous downloads...

1

Guzzle: How to capture requests responses using Fiddler

Fiddler is a wonderful free web debugging proxy tool from Telerik. It helps you debug web applications by capturing network traffic. You can get it here: http://www.telerik.com/download/fiddler/fiddler2 When using Web HTTP Clients like Guzzle,...

0

Remove double quotes from Guzzle Cookies

I very recently started using the guzzle 6 PHP library to data mine some sites. It’s worked great so far. One of the sites I’m mining needs cookies containing an ‘=’ sign. Guzzle always...

2

Editing Code In a PHAR file

A PHAR file is a PHp ARchive file. You can create an archive of your PHP library and store it into a PHAR file for easy distribution. If you want to change some code...