Bash script to:
- Iterate all commits made within a Git repository.
- List every object at each commit.
| # Adjust the following variables as necessary | |
| REMOTE=origin | |
| BRANCH=$(git rev-parse --abbrev-ref HEAD) | |
| BATCH_SIZE=500 | |
| # check if the branch exists on the remote | |
| if git show-ref --quiet --verify refs/remotes/$REMOTE/$BRANCH; then | |
| # if so, only push the commits that are not on the remote already | |
| range=$REMOTE/$BRANCH..HEAD | |
| else |
| var touchstartX = 0; | |
| var touchstartY = 0; | |
| var touchendX = 0; | |
| var touchendY = 0; | |
| var gesuredZone = document.getElementById('gesuredZone'); | |
| gesuredZone.addEventListener('touchstart', function(event) { | |
| touchstartX = event.screenX; | |
| touchstartY = event.screenY; |
| package main | |
| import ( | |
| "fmt" | |
| "os" | |
| "path/filepath" | |
| ) | |
| func main() ([]string, error) { | |
| searchDir := "c:/path/to/dir" |
| <?php | |
| # source : http://www.iana.org/assignments/media-types/media-types.xhtml | |
| # source : https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x/conf/mime.types | |
| namespace Dwl\Bundle\LegacyBundle\Utils; | |
| use Symfony\Bundle\FrameworkBundle\Controller\Controller; | |
| use Symfony\Component\HttpFoundation\Response; | |
| use Symfony\Component\HttpFoundation\File\File; |