Snaps in other

other

temporary category for snaps if there is no adequate category for it on snapcode.co

mysql - select distinct records where id's are different. Lets say that we hawe workers table:...

mysql select distinct names

To delete broken records nested subquery must be used, because mysql does not have ability to delete from subquery on the same table....

mysql delete nested subquery

For check if checkbox is check selector ":checked" can be used....

checkbox state

Checking if clicked element has class with particular name....

class element

Iterate array with jquery and check if key starting with text...

foreach array checkin key

Get url for subit values from view to php using ajax in Yii framework...

ajax url yii2

get column names from table:...

mysql column

To truncate table You can turn foreign key checks of, truncate table, and enable foreign key again....

mysql truncate foreign-key check-constraints

mysql find duplicates by particular column...

mysql select duplicates find

select sysdate from dual;...

sql test

Simple Hello World script in Python 3.x...

python3

Selecting total rows number from mysql table...

mysql sql count totals row

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

linux command

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

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

Model detachment is caused by the nature of inheritance in JavaScript. When you type something in child controller model the inherited variable will be overwritten. It can be easily fixed by using object variables. Check out the demo: http://jsb...

model twitter-bootstrap angular

Simple hello world program in Haxe...

trace