Snaps in all categories

php

php - datetime current date for save in mysql table...

php mysql date

Custom styles with responsive text with media queries. Desktop first queries 10 different settings....

css css3 bootstrap

C++

Simple hello world program in C++...

cout std

Kill all processes matching a name "nametokill"...

linux command

For example. Product can have many tags. Product tags can be found with this active record query:...

yii2 php frameworks activerecord

Making array from table referenced by foreign key for view made from table having referenced id....

php framework yii2 view foreign-key

Basic head elements in HTML page....

HTML head

Reserved characters in HTML must be replaced with character entities. Characters, not present on your keyboard, can also be replaced by entities....

HTML entities

Creating new module using ZendSkeletonModule, git, terminal in ubuntu....

zend-framework2 module creation ubuntu

Count or select records with orm using where in array....

kohana-3.3 orm count select

php

Finding first and last item of an array using end and reset functions...

php array find

Kohana orm validation...

php kohana orm validation frameworks

If you want to move another layer along another one use this code:...

after-effects

Setting default datetime using CURRENT_TIMESTAMP with mysql...

mysql timestamp default datetime

php

Php connection class returning instance. Using singleton pattern....

php mysql pdo singleton connection

linux ubuntu - add current user ownership to folder...

linux ownership folder

Copying table structure from one database to another database....

mysql table copy database

Efficient way of checking whether given number is prime or not without additional libraries or pre-generating array of prime numbers. Remember to search prime numbers in positive integers....

prime-number maths

Simple hello world program in Java....

println

Simple hello world program in Haxe...

trace