satie83


Member since 03/19/2012

52 snippets

7692 profile views

1 Comment(s) Posted

View their favorites

Profile

Achievement

first submission:submitting first snipplet

satie83's Recent Snippets



1 2 Next »
Helps make your text stand out from the rest
0 1042 posted 12 years ago by satie83
I am using git and working on master branch. This branch has a file called app.js . I have an experiment branch in which I made a bunch of changes and tons of commit. Now I want to bring all the changes done only to app.js from experiment to maste...
0 1244 posted 12 years ago by satie83
I have a Git repository with few branches and dangling commits. I would like to search all such commits in repository for a specific string.
0 1088 posted 12 years ago by satie83
Sometimes it’s helpful to ONLY get numeric characters. Phone numbers, age — whatever your little PHP heart desires.
0 1993 posted 12 years ago by satie83
Once in a while we need to check whether a string contains substring, some other string or characters or a value. Checking for existence of a string (or substring) inside another string is easier than it might seem. The following article describes ho...
0 998 posted 12 years ago by satie83
You’ll receive a list of your stale remote-tracking branches. If you run it without –dry-run option, it will remove them for you.
0 992 posted 12 years ago by satie83
In javascript there is no function for printing variables like you have PHP, I use print_r and var_dump a lot in PHP for dumping variables so I wanted to create a simular function in javascript.
0 1170 posted 12 years ago by satie83
It's necessary that the commit hasn't pushed by anyone
0 936 posted 12 years ago by satie83
This shows the local and remote branches along with the most recent commit for each branch.
0 1186 posted 12 years ago by satie83
Hash of the commit which you want to show a303aa90779efdd2f6b9d90693e2cbbbe4613c1d
0 1541 posted 12 years ago by satie83
Example calculate yesterday, but if you multiply by some number you can get in an easy way, weeks, months or years
0 1230 posted 12 years ago by satie83
Here’s a very simple script which adds numbers sequentially to an unordered list using jQuery
0 923 posted 12 years ago by satie83
How do I prevent previously submitted form data from being reinserted into the database when the user presses the browser's Refresh button? Although it is not possible due to unique key constraint available in tables but it is unnecessary go to othe...
0 875 posted 12 years ago by satie83
How do you make an existing git branch track a remote branch
0 1067 posted 12 years ago by satie83
0 912 posted 12 years ago by satie83
0 910 posted 12 years ago by satie83
Returns the version of Windows Internet Explorer or a -1 (indicating the use of another browser).
0 943 posted 12 years ago by satie83
This function checks if the $stringComplete variable ends with the string $endString.
0 876 posted 12 years ago by satie83
A nice way to do sorting of a key on a multi-dimensional array - DavidG
0 1182 posted 12 years ago by satie83
I want to get a list of all the branches in a Git repository with the "freshest" branches at the top, where the "freshest" branch is the one that's been committed to most recently (and is, therefore, more likely to be one I want to pay attention to).
0 971 posted 12 years ago by satie83
Converts a php object to an associative array
1 4663 posted 13 years ago by satie83
1 2 Next »