If .DS_Store was never added to your git repository, simply add it to your .gitignore file.
.gitignore
In your the root directory of your app and simply write
| # Ask for the user password | |
| # Script only works if sudo caches the password for a few minutes | |
| sudo true | |
| # Install kernel extra's to enable docker aufs support | |
| # sudo apt-get -y install linux-image-extra-$(uname -r) | |
| # Add Docker PPA and install latest version | |
| # sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 36A1D7869245C8950F966E92D8576A8BA88D21E9 | |
| # sudo sh -c "echo deb https://get.docker.io/ubuntu docker main > /etc/apt/sources.list.d/docker.list" |
| var waitForEl = function(selector, callback) { | |
| if (jQuery(selector).length) { | |
| callback(); | |
| } else { | |
| setTimeout(function() { | |
| waitForEl(selector, callback); | |
| }, 100); | |
| } | |
| }; |
| // Greek Tax Registration Number Validation (AFM) | |
| // Αλγόριθμος ορθότητας ΑΦΜ | |
| function validateAFM(afm) { | |
| if (!afm.match(/^\d{9}$/) || afm == '000000000') | |
| return false; | |
| var m = 1, sum = 0; | |
| for (var i = 7; i >= 0; i--) { | |
| m *= 2; | |
| sum += afm.charAt(i) * m; |
| <?php | |
| /* | |
| * Chunk through result set and output as CSV file in browser. | |
| */ | |
| function outputCSV($columns, $query, $chunkSize = 200) { | |
| header("Content-type: text/csv"); | |
| header("Content-Disposition: attachment; filename='export-" . date("YmdHis") . ".csv"); | |
| header("Pragma: no-cache"); | |
| header("Expires: 0"); | |
| <?php | |
| /* | |
| * Chunk through result set and output as CSV file in browser. | |
| */ | |
| function outputCSV($columns, $query, $chunkSize = 200) { | |
| header("Content-type: text/csv"); | |
| header("Content-Disposition: attachment; filename='export-" . date("YmdHis") . ".csv"); | |
| header("Pragma: no-cache"); | |
| header("Expires: 0"); | |
| <!DOCTYPE html> | |
| <html lang="en" dir="ltr"> | |
| <head> | |
| <meta charset="utf-8"> | |
| <title>Uppy test</title> | |
| <link href="https://transloadit.edgly.net/releases/uppy/v0.25.2/dist/uppy.min.css" rel="stylesheet"> | |
| </head> | |
| <body> | |
| <div id="drag-drop-area"></div> |
| # Rename this file to env.sh, it will be kept out of Git. | |
| # So suitable for adding secret keys and such | |
| NODE_ENV="${NODE_ENV:-development}" | |
| DEPLOY_ENV="${DEPLOY_ENV:-production}" | |
| DEBUG="frey:*" | |
| FREY_DOMAIN="localost:3020" | |
| # FREY_ENCRYPTION_SECRET="***" | |
| UPPYSERVER_PORT=3020 | |
| UPPY_ENDPOINT="localhost" |