https://github.com/DBDiff/DBDiff
- Create a .dbdiff file in project root directory with the connection settings for 2 servers. Add to "tablesToIgnore" a list of tables and views that should be ignored on comparisson.
.dbdiff
server1:
user: root
https://github.com/DBDiff/DBDiff
.dbdiff
server1:
user: root
| var nodes = document.querySelectorAll("h1[style='margin:0px;']"); for(i=0; i<nodes.length; i++) { nodes[i].classList.add("opened"); nodes[i].setAttribute("aria-expanded", "true"); } |
git clone [email protected]:YOUR-USERNAME/YOUR-FORKED-REPO.git
cd into/cloned/fork-repo
git remote add upstream git://github.com/ORIGINAL-DEV-USERNAME/REPO-YOU-FORKED-FROM.git
git fetch upstream
| find . -type f -exec sed -i -e 's/find_this/replace_by_this/g' {} \; |
| <script type="text/javascript"> | |
| // This example expect a json return from receiver_script.php | |
| // Remove unnecessary logs and alerts as needed. | |
| var form_data = new FormData(); | |
| form_data.append("first_name", $("#first_name").val()); | |
| form_data.append("age", $("#age").val()); | |
| var file_data = $("#attachment").prop("files"); | |
| $.each(file_data, function (i, file) { |
| { | |
| "_comment": "This files.encoding iso88591 is per-project. You should use utf8.", | |
| "files.encoding": "iso88591", | |
| "files.eol": "\n", | |
| "files.exclude": { | |
| "**/.git": true, | |
| "**/.svn": true, | |
| "**/.hg": true, | |
| "**/CVS": true, | |
| "**/.DS_Store": true, |
| { | |
| "telemetry.enableCrashReporter": false, | |
| "telemetry.enableTelemetry": false, | |
| "window.title": "${dirty}\\${folderName}\\${activeEditorMedium}", | |
| "window.zoomLevel": 0, | |
| "workbench.editor.openPositioning": "first", | |
| "workbench.startupEditor": "newUntitledFile", | |
| "workbench.colorCustomizations": { |
| <?php | |
| if ( (!empty($argv[1])) && (file_exists($argv[1])) ) { | |
| $file_contents = file_get_contents($argv[1]); | |
| $new_file_contents = trim($file_contents) . "\n"; | |
| if ($file_contents <> $new_file_contents) { | |
| file_put_contents($argv[1], $new_file_contents); | |
| } | |
| } | |
| ?> | |
| /* |
| // ==UserScript== | |
| // @name Twitter Cramming | |
| // @description Force enable cramming (280 character tweets) on Twitter | |
| // @author Prof. 9 | |
| // @version 0.1 | |
| // @match https://twitter.com/* | |
| // @run-at document-idle | |
| // @namespace prof9.twittercramming | |
| // ==/UserScript== |
| id | name | age | gender | |
|---|---|---|---|---|
| 1 | Lawrence | 39 | M | |
| 2 | Oliver | 25 | M | |
| 3 | Roberta | 17 | F | |
| 4 | Bell | 70 | F | |
| 5 | Dalek | 12 | M | |
| 6 | Andrews | 10 | M | |
| 7 | Marty | 35 | M | |
| 8 | Anna Lammas | 40 | F | |
| 9 | Marcos Vinicius | 16 | M |