PHPNews

Testing GitHub Pages

This site is built with GitHub Pages . Did you know you can test your GitHub Pages with Travis ? In this article I’ll describe how to test if your Jekyll site with Travis. First of, if you’re running you GitHub page with Jekyll you should have a Gemfile which looks similar to the snippet below. source …

Continue reading »

Written by vinkla/xml - - Aggregated on Friday December 9, 2016


CS:GO Performance Boost

Earlier this year I stopped playing Counter-Strike: Global Offensive. The frame rate was poor on my Macbook Pro. It was no fun. Today I found a solution on how to boost the performance. In this article I’ll describe how I managed to get my frame rate up to 200. First, let me show you my current macOS setup. I’m …

Continue reading »

Written by vinkla/xml - - Aggregated on Friday November 25, 2016


GitHub Diff Syntax Highlighting

Did you know GitHub support diff syntax highlighting? I didn’t until just recently. When creating and highlighting code blocks you can set the language to diff and highlight lines starting with + or - signs. You gonna order something, kid? - Ah, yeah. Give me- Give me a Tab. Tab? I can't give you a tab …

Continue reading »

Written by vinkla/xml - - Aggregated on Thursday September 8, 2016


Edit This Page on GitHub

If you’re running an open source project with GitHub and use GitHub Pages for your project site or documentation there is a neat trick you might not know of. You can easily add a link on any page to the current file on GitHub with Jekyll . {{ site.github.repository_url }}/blob/master/{{ page.path }} …

Continue reading »

Written by vinkla/xml - - Aggregated on Sunday September 4, 2016


Generate Fake Localized Data with Laravel

Instead of populating the database by yourself, Laravel integrates the Faker package which is used to generate fake English data into your database. What if you want to generate data in your own language? When testing, it is common to need to insert a few records into your database before executing your test. …

Continue reading »

Written by vinkla/xml - - Aggregated on Thursday April 28, 2016


Find Outdated Packages With Composer

Composer now features an “outdated” command to find newer versions of your dependencies. The command shows a list of installed packages including their latest version. To list outdated packages in your project, use the outdated command. $ composer outdated If you’re working with a big framework …

Continue reading »

Written by vinkla/xml - - Aggregated on Sunday April 24, 2016


Laravel Doesn’t Follow Semantic Versioning

While browsing repositories on GitHub I often come across Laravel packages which could simple stop working with future versions of Laravel. This can easily be fixed by being more specific. Laravel doesn’t follow Semantic Versioning . Instead Laravel keeps the first number as a name, the second as major …

Continue reading »

Written by vinkla/xml - - Aggregated on Saturday April 16, 2016


Upload Images to GitHub’s CDN

I often see developers committing screenshots to their GitHub repositories. This takes up unnecessary space and makes the repositories messy. There is a better solution, using GitHub CDN. Instead of committing the image resource to the repository we’ll take advantage of GitHub’s CDN that is accessible through …

Continue reading »

Written by vinkla/xml - - Aggregated on Thursday July 16, 2015


Remove Auto-complete Entries in Google Chrome

Whenever I fail to write a URL correctly in Google Chrome the auto-complete will punish me for a long time. Today I’ve learned how to remove entries from the auto-completion list. Linux & Windows Just highlight the entry you want to remove in the drop-down list (using the arrow keys, or your mouse cursor) …

Continue reading »

Written by vinkla/xml - - Aggregated on Tuesday May 12, 2015


Clean My Mac and Free Up Storage

There’s so much you could clean on your Mac to save space. After a couple months with your new Mac, macOS has been building up a big library of logs, backups and other cached data that necessarily isn’t important to save. Below are commands listed which with you can run in order to free up storage and speedup your …

Continue reading »

Written by vinkla/xml - - Aggregated on Sunday April 12, 2015