PHPnews.io

Overview for 'vinkla'

Testing GitHub Pages

Written by vinkla/xml / Original link on Dec. 8, 2016

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. sourc…


CS:GO Performance Boost

Written by vinkla/xml / Original link on Nov. 24, 2016

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 mac…


GitHub Diff Syntax Highlighting

Written by vinkla/xml / Original link on Sep. 7, 2016

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…


Edit This Page on GitHub

Written by vinkla/xml / Original link on Sep. 3, 2016

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 }}…


Generate Fake Localized Data with Laravel

Written by vinkla/xml / Original link on Apr. 27, 2016

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…


Find Outdated Packages With Composer

Written by vinkla/xml / Original link on Apr. 23, 2016

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 lik…