Golang doesn’t have default implementations of queue and stack but it’s pretty simple to implement.
sizeofint.com » Latest posts
Convert GIF to WEBP
Webp is new and modern format for images which makes images smaller without losing its quality.
Continue reading
Replace String In Binary File C++
Small console program using C++ 11 to replace strings in binary file. Basically this program is useful for replacing strings in program excusable.
Application has option to specify binary file, than asks to input search string, than it will show all found strings step by step and gives option – change found string value or not, alter all program will create changed copy of binary file.
Continue reading
Check IP is in range between start IP and end IP ipv6 compatible way using PHP
AndengineExamples on Android Studio
Hi, everyone, recently as you know Android Studio became first development tool for android applications, So I think in future everything will be moved on Android Studio and it’s time to move Andengine too. Continue reading
Some useful experience for android developers
Sample game on android using AndEngine
I created a simple game to implement features of Andengine. It will help people, who whants to start development of a game using Andengine.
How to setup apache virtualhost to use windows shared folder as documentroot
First you need to share windows folder for everyone with full access permissions,Than in Linux /etc/fstab file add this line:
1 |
//ws/linuxwww /home/user/windowsshare cifs iocharset=utf8,noserverino,credentials=/home/user/.smbcredentials,uid=500,gid=501,mode=0777,dir_mode=0777 0 0 |
Anti DoS Shell Script On Debian
Recently I wanted, but couldn’t find any software to install on Debian Linux to prevent simple DoS attacks, but found some scripts on the internet. Those scripts take same IP connections count, and if IP connection count greater then already specified value (you can specify this value) it shows this IP, but I wanted to block attacker IP for few seconds and then allow again. So I wrote simple shell script. The script denies access from attacker IP on specified time and after the time allows access again. You can specify max connection number from same IP when connection number exceeds limit, the script will block access from the IP on server.
sizeofint framework development (PHP framework)
This project will help developers to create sites in a short time. The project is not completed, the script needs development, you can join and take part in this script.
Special page on Google code https://code.google.com/p/sizeofint-framework/ .