Click read more to review changes and source.
Continue reading New selfpacker.sh versionCategory: Tools
Various tools used by me
GLSL converter to fragment source (usable by Phaser)
I haven’t found anything that can convert GLSL code to fragment source used by Phaser so I’ve created my own tool.
Continue reading GLSL converter to fragment source (usable by Phaser)A MAN LEARNS THROUGHOUT HIS WHOLE LIFE
If you’re a fan of Firefox (mainly because it’s an awesome tool for webdevelopment) like me. You should already know that there’s an additional console for developers (I’ve did not until five minutes ago). When you press Shift + F2 it shows little input bar on the bottom of the window. For example type the following command :
screenshot --clipboard --fullpage
Press Enter and BANG! Screenshot of a entire page in your MEMORY!
Mother of God… This is so awesome!
PS. Try different commands, you can use Tab for completion and help to list them all.
Simple backup script for your web projects
If you want to archive your project quickly with additional MySQL dump you can use this simple Bash script.
Continue reading Simple backup script for your web projects
Tiled tile map editor
How to install Tiled map editor on Debian derivatives such as Ubuntu or Elementary.
How to add Bower component when it’s not in the repository?
Sometimes component that you want to use in your project isn’t available in Bower repo. There is a way to install it, even in very specified version. Go to project’s Github, in my case it’s here. Copy URL from the browser, and paste it somewhere. Now go to relases and click commit id that you’re interested in (this random blue colored string):
After that you’ll see full commit id, in this case it’s fef978b279c546923ad4f4118acea4d503e7596c. Paste that to the end of repository URL you’ve copied earlier. Remember to prefix it with # char and add .git to the URL:
https://github.com/bfintal/Counter-Up.git#fef978b279c546923ad4f4118acea4d503e7596c
Finally mix it with your bower.json file. Here’s full example:
{ "name": "Realhero report", "description": "Report template based on New Age", "main": "index.js", "authors": ["Konrad Fedorczyk"], "license": "ISC", "homepage": "http://realhe.ro", "private": true, "ignore": ["**/.*", "node_modules", "bower_components", "test", "tests"], "dependencies": { "bootstrap": "^3.3.7", "font-awesome": "^4.6.3", "jquery": "^1.11.3", "simple-line-icons": "^2.3.2", "morris.js": "^0.5.1", "jqvmap-fedek6": "https://github.com/fedek6/jqvmap.git#774c12a57916ab82e17406203bb41522dfe0e38b", "Counter-Up": "https://github.com/bfintal/Counter-Up.git#fef978b279c546923ad4f4118acea4d503e7596c" } }
Look at the last line of dependencies part, here’s component that I’ve added.
SEO Friendly Gists
In case you ever wondered if Github’s Gists are indexed when they are embedded on your website, ther aren’t 🙂
But there is a simple tool to avoid loss of traffic from Google. Go to http://seo-friendly-gist.herokuapp.com/ and simply paste your gist’s id into form on this website. It will generate code that you should paste unchanged to your WordPress post (in text mode) or whatever.