For one of my projects I needed to get an ID of the previous and next record in the DB. Let’s say we are logged in as an admin and we are on this user’s page and we want to see next/previous user’s id. The following Eloquent code makes it easy to do that: // […]
Update! I have posted a tutorial for Laravel 4 as well, please check it after reading this post: maxoffsky.com/code-blog/integrating-stripe-into-laravel-4-application/ Hello there, Laravel developers! In this blog post I’ll describe in detail how you can integrate payment system into your Laravel 3 applications and charge people some real money! Specifically I’ll describe how to use Stripe. […]
In this post, I will review a nice multimeter by TENMA, model 72-7735. This is an advanced autoranging multimeter(!) that lets you measure the following electrical properties: AC voltage 0V to 1000 V DC voltage 0 V to 750 V Resistance 0 Ohm – 40 MOhm Capacitance 0 nf to 100 uF Frequency 0 Hz […]
In one of the applications I’m building I needed to get user’s location (city) from their IP address. One of the ways to go about this is to use some webservice that will convert the IP into geographical coordinates and then pass the result into your application. Another way is to use geoip extension for […]
Last week I have made a nice addition to my Bootstrap Snippets site – Bootsnipp.comĀ . I have built and integrated a button builder that makes it easy for anyone to build up their Bootstrap Buttons. How easy you say? Well you just click on the color of the button, type in the text, choose the […]
Wohoo! I’ve installed some 16 Gb RAM in my Maxbook Pro that I crowdsourced for my 25-th birthday! It only had 4 Gb of RAM initially and it was pretty slow when I would have lots of windows open in Chrome or a few programs running at the same time. Considering that RAM upgrade from […]