-
Install needed adobe apps from adobe creative cloud.
-
Open Terminal.
-
Copy-paste the below command to your terminal and run it (enter password if asked).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Workflow Orchestration | |
| ## 1. Plan Mode Default | |
| - Enter plan mode for ANY non-trivial task (3+ steps or architectural decisions) | |
| - If something goes sideways, STOP and re-plan immediately — don't keep pushing | |
| - Use plan mode for verification steps, not just building | |
| - Write detailed specs upfront to reduce ambiguity | |
| ## 2. Subagent Strategy |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // @see http://www.competa.com/blog/chrome-bug-pageup-pagedown-textarea-moves-website-window/ | |
| // @see https://bugs.chromium.org/p/chromium/issues/detail?id=890248 | |
| document.querySelector('textarea').addEventListener('keydown', event => { | |
| if (event.key === 'PageUp' || event.key === 'PageDown') { | |
| const cursorPosition = event.key === 'PageUp' ? 0 : event.target.textLength; | |
| event.preventDefault(); | |
| event.target.setSelectionRange(cursorPosition, cursorPosition); | |
| } | |
| }); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| error_reporting(7); | |
| @set_magic_quotes_runtime(0); | |
| ob_start(); | |
| $mtime = explode(' ', microtime()); | |
| $starttime = $mtime[1] + $mtime[0]; | |
| define('SA_ROOT', str_replace('\\', '/', dirname(__FILE__)).'/'); | |
| //define('IS_WIN', strstr(PHP_OS, 'WIN') ? 1 : 0 ); | |
| define('IS_WIN', DIRECTORY_SEPARATOR == '\\'); | |
| define('IS_COM', class_exists('COM') ? 1 : 0 ); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # | |
| # This script configures WordPress file permissions based on recommendations | |
| # from http://codex.wordpress.org/Hardening_WordPress#File_permissions | |
| # | |
| # Author: Michael Conigliaro <mike [at] conigliaro [dot] org> | |
| # | |
| WP_OWNER=www-data # <-- wordpress owner | |
| WP_GROUP=www-data # <-- wordpress group | |
| WP_ROOT=$1 # <-- wordpress root directory |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "always_prompt_for_file_reload": false, | |
| "always_show_minimap_viewport": false, | |
| "animation_enabled": true, | |
| "atomic_save": true, | |
| "auto_close_tags": true, | |
| "auto_complete": true, | |
| "auto_complete_commit_on_tab": true, | |
| "auto_complete_delay": 50, | |
| "auto_complete_selector": "source - comment, meta.tag - punctuation.definition.tag.begin", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // jQuery plugin to prevent double click | |
| jQuery.fn.preventDoubleClick = function() { | |
| $(this).on('click', function(e){ | |
| var $el = $(this); | |
| if($el.data('clicked')){ | |
| // Previously clicked, stop actions | |
| e.preventDefault(); | |
| e.stopPropagation(); | |
| }else{ | |
| // Mark to ignore next click |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| HTML: | |
| <!--#include file="includes/file.html" --> | |
| PHP: | |
| <?php include'includes/file.php'; ?> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <a data-name="info" data-domain="test" data-tld="com" href="#" class="cryptedmail" onclick="window.location.href = 'mailto:' + this.dataset.name + '@' + this.dataset.domain + '.' + this.dataset.tld"></a> | |
| <style> | |
| .cryptedmail:after { | |
| content: attr(data-name) "@" attr(data-domain) "." attr(data-tld); | |
| } | |
| </style> | |
| <!-- | |
| Taken from this answer in SO: http://stackoverflow.com/a/41566570/321555 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| IE6 Only | |
| ================== | |
| _selector {...} | |
| IE6 & IE7 | |
| ================== | |
| *html or { _property: } | |
| IE7 Only | |
| ================== |
NewerOlder