A ZSH theme optimized for people who use:
- Solarized
- Git
- Unicode-compatible fonts and terminals (I use iTerm2 + Menlo)
For Mac users, I highly recommend iTerm 2 + Solarized Dark
<?php | |
/** | |
* @file | |
* drush command. | |
*/ | |
/** | |
* Implementation of hook_drush_command(). | |
* |
#0 d7 site: node/1 comment form with full html input format by uid0. | |
<script>alert('XSS')</script> | |
#1 d7 site: node/1 comment form with full html input format by uid0. | |
<script> | |
jQuery.get(Drupal.settings.basePath + 'admin/config/development/maintenance', | |
function (data, status) { | |
if (status == 'success') { | |
var matches = data.match(/name="form_token" value="([a-zA-Z0-9_-]*)"/); |
<?php | |
$debug_backtrace = debug_backtrace(); | |
$output = []; | |
foreach ($debug_backtrace as $debug) { | |
if (isset($debug['class'])) { | |
$o = $debug['class']; | |
} | |
$o .= '::' . $debug['function']; | |