satie83


Member since 03/19/2012

52 snippets

10626 profile views

1 Comment(s) Posted

View their favorites

Profile

Achievement

first submission:submitting first snipplet

satie83's Recent Snippets



« Prev 1 2
In SQL I can get this by adding AND to the join LEFT JOIN installations i ON a.id = i.app AND i.page = :page This way I get the installation info for an app that has an installation on the page, but I get null values on the columns for app's that...
0 4110 posted 10 years ago by satie83
Der folgende Codeschnipsel enthält keinerlei Überprüfungen der übergebenen Parameter, diese sollten für den produktiven Einsatz noch nachgepflegt werden. Wie man sieht, ist die Berechnung von Wochendenden und Feiertagen recht einfach. Diese Ber...
1 1368 posted 12 years ago by satie83
How would you validate the number of days in a given month?
0 2406 posted 12 years ago by satie83
I want to extract the numbers from a string that contains numbers and letters like
0 2507 posted 12 years ago by satie83
How to obtain all the commits that occurred between two dates
0 2243 posted 12 years ago by satie83
How can I do a function once a toggleClass has completed? The .toggleClass method along with all other animation methods return a deferred object that you can access using .promise(). At that point, you can bind to it's done method.
1 1137 posted 12 years ago by satie83
Assuming that by empty means "has no properties of its own"
0 1268 posted 12 years ago by satie83
Say I'm in a Git repository. I delete a file and commit that change. I continue working and make some more commits. Then, I find I need to restore that file.
0 1276 posted 12 years ago by satie83
Spacing between thead and tbody
0 4520 posted 12 years ago by satie83
The following function loads all browser-cookies into an associative array with the cookie name as the index and the cookie value as the value
0 1077 posted 12 years ago by satie83
You could start a transaction before running your queries and then rollback after running them. Note that to do this you'll require InnoDB or XtraDb tables (won't work on MyISAM).
0 2131 posted 12 years ago by satie83
0 1100 posted 13 years ago by satie83
0 1072 posted 13 years ago by satie83
0 1065 posted 13 years ago by satie83
0 2074 posted 13 years ago by satie83
« Prev 1 2