Sometimes you need to show something on your website in timeframe. This snippet will show you how to do it precisely:
Easiest way to create a shortcut for running headless VirtualBox machine
This short tutorial will show you how to create a shortcut to run machine in headless mode (on Windows).
Flamingo plugin with proper polish csv export
In case anyone searching I’ve created a modified version of Flamingo plugin for WordPress. Now it exports proper polish csv files out of box (encoded in Windows-1250 and delimited with semicolons).
Download here: http://realhe.ro/pub/flamingo-polish-export.zip
Install using zip upload ability in WordPress or by FTP.
Full page regulations/terms
This is my approach for displaying full page regulations on your website. User won’t be able to do anything until scrolling to the bottom of license. Acceptance button will be enabled only after that.Continue reading Full page regulations/terms
Best (really) free stock resources
Here are few image resource pages that I use in my everyday design tasks:
Non aggressive shake animation for important buttons
You should not torture your visitors with floating messages about your awesome free newsletter. Maybe try this instead:
You’re welcome! 🙂
Sass background gallery
How to access language var from PHP in Grav CMS?
Gravs documentation is a little bit harsh on PHP developers that want to write plugins. What can you do in this situation? Look trough source code, check other plugins or var_dump $this object 🙂
I’ve spent some time searching for an answer how to access language var in plugins class. And this is it:
// Will output two letter ISO 3166-1 alpha-2 code of country $language = $this->grav['language']; $language->getLanguage();
Have fun with coding and don’t get crazy during that 🙂
Turn Google fonts offline automatically!
If you’ve ever created an intranet HTML application that must be protected from external world, then you’ll probably know that Google Fonts are hard to convert for offline use…
Someone created awesome app to change this: https://google-webfonts-helper.herokuapp.com
Glory to the Mario Ranftl! You’re awesome dude!
Show a popup message on remote computer
Use this method to show message to logged user on remote computer:
psexec64 -s /user:domain\user -i \\[remote_computer] cmd /c "msg * < \\[computer]\share\message.txt"
Message from shared text file will be outputted on remote computer.