satie83


Member since 03/19/2012

52 snippets

4849 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 759 posted 11 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 874 posted 11 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 802 posted 11 years ago by satie83
Sometimes it’s helpful to ONLY get numeric characters. Phone numbers, age — whatever your little PHP heart desires.
0 1598 posted 11 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 720 posted 11 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 729 posted 11 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 875 posted 11 years ago by satie83
It's necessary that the commit hasn't pushed by anyone
0 634 posted 11 years ago by satie83
This shows the local and remote branches along with the most recent commit for each branch.
0 872 posted 11 years ago by satie83
Hash of the commit which you want to show a303aa90779efdd2f6b9d90693e2cbbbe4613c1d
0 1167 posted 11 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 846 posted 11 years ago by satie83
Here’s a very simple script which adds numbers sequentially to an unordered list using jQuery
0 686 posted 11 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 654 posted 11 years ago by satie83
How do you make an existing git branch track a remote branch
0 772 posted 12 years ago by satie83
0 638 posted 12 years ago by satie83
0 659 posted 12 years ago by satie83
Returns the version of Windows Internet Explorer or a -1 (indicating the use of another browser).
0 669 posted 12 years ago by satie83
This function checks if the $stringComplete variable ends with the string $endString.
0 604 posted 12 years ago by satie83
A nice way to do sorting of a key on a multi-dimensional array - DavidG
0 856 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 693 posted 12 years ago by satie83
Converts a php object to an associative array
1 4095 posted 12 years ago by satie83
1 2 Next »