Snaps in all categories

Display diffrent content for logged users...

wordpress

C#

This will print "no" if value is 0, "yes" if value is 1....

c#

Selecting total rows number from mysql table...

mysql sql count totals row

Program który robiliśmy dziś na ćwiczeniach...

test

php

Setting maximum execution time in php. Parameter is a number of seconds. Zero is unlimited time for script. Put this at the beginning of funntion, action or script to set maximum execution time...

php limit execution time maximum

pkill(1) - Linux man page => pgrep, pkill - look up or signal processes based on name and other...

linux command

Easiest way to receive data from PHP server. You can receive data from database on your server by prepared PHP file. In this example you have receiving data from server by POST method. Data called "data" and "data1" are sent to the server and y...

android receive data post

Easiest way to send data to PHP file on server. You can save this data to the database by prepared PHP file....

android send data php

C++

This is my code which shows you random numbers from 3 loops (for, do while and while). First one (for) is showing n numbers from interval (0;b) Second one (do while) is showing n numbers from interval (a;b) and this numbers are real numbers. Thi...

c++

This is AppDelegate code for register push notyfications. Its working with parse.com Remember to change "***" to keys of your app and uplaod Push Certificate to setting of your app on parse.com...

swift swift-ios

Simple for loop in swift to display dictionary...

swift

C++

Simple macros for finding maximal value...

macros max c++

Simple example of for-each loop (Enhanced For)...

foreach loop for

C

like in title...

char

C++

The same thing with using the namespace...

cout std

php

Clarification will help for people who aren't sure. You first create a variable to store your information, then call the php date function so that it is stored in the variable. Add format parameters so the date is displayed the way you'd like i...

php mysql date

aaa

--...

php

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

linux command

This is how to create a Certificate Sign Request (CSR) that is required when you need to apply for a SSL certificate to a Certification Authority (CA)...

ssl-certificate openssl

This short code added at the bottom of page make all of dropdown menu's elements equal height....

bootstrap