To to prefeferences ->editor -> smart editing
Uncheck draw the line edge column option
Visual gallery of things
To to prefeferences ->editor -> smart editing
Uncheck draw the line edge column option
http://scrivna.com/blog/php-file-diff/
<?php /* Ross Scrivener http://scrivna.com PHP file diff implementation Much credit goes to... Paul's Simple Diff Algorithm v 0.1 (C) Paul Butler 2007 <http://www.paulbutler.org/> May be used and distributed under the zlib/libpng license. ... for the actual diff code, i changed a few things and implemented a pretty interface to it. */ class diff { var $changes = array(); var $diff = array(); var $linepadding = null; function doDiff($old, $new){ if (!is_array($old)) $old = file($old); if (!is_array($new)) $new = file($new); foreach($old as $oindex => $ovalue){ $nkeys = array_keys($new, $ovalue); foreach($nkeys as $nindex){ $matrix[$oindex][$nindex] = isset($matrix[$oindex - 1][$nindex - 1]) ? $matrix[$oindex - 1][$nindex - 1] + 1 : 1; if($matrix[$oindex][$nindex] > $maxlen){ $maxlen = $matrix[$oindex][$nindex]; $omax = $oindex + 1 - $maxlen; $nmax = $nindex + 1 - $maxlen; } } } if($maxlen == 0) return array(array('d'=>$old, 'i'=>$new)); return array_merge( $this->doDiff(array_slice($old, 0, $omax), array_slice($new, 0, $nmax)), array_slice($new, $nmax, $maxlen), $this->doDiff(array_slice($old, $omax + $maxlen), array_slice($new, $nmax + $maxlen))); } function diffWrap($old, $new){ $this->diff = $this->doDiff($old, $new); $this->changes = array(); $ndiff = array(); foreach ($this->diff as $line => $k){ if(is_array($k)){ if (isset($k['d'][0]) || isset($k['i'][0])){ $this->changes[] = $line; $ndiff[$line] = $k; } } else { $ndiff[$line] = $k; } } $this->diff = $ndiff; return $this->diff; } function formatcode($code){ $code = htmlentities($code); $code = str_replace(" ",' ',$code); $code = str_replace("\t",' ',$code); return $code; } function showline($line){ if ($this->linepadding === 0){ if (in_array($line,$this->changes)) return true; return false; } if(is_null($this->linepadding)) return true; $start = (($line - $this->linepadding) > 0) ? ($line - $this->linepadding) : 0; $end = ($line + $this->linepadding); //echo '<br />'.$line.': '.$start.': '.$end; $search = range($start,$end); //pr($search); foreach($search as $k){ if (in_array($k,$this->changes)) return true; } return false; } function inline($old, $new, $linepadding=null){ $this->linepadding = $linepadding; $ret = '<pre><table width="100%" border="0" cellspacing="0" cellpadding="0" class="code">'; $ret.= '<tr><td>Old</td><td>New</td><td></td></tr>'; $count_old = 1; $count_new = 1; $insert = false; $delete = false; $truncate = false; $diff = $this->diffWrap($old, $new); foreach($diff as $line => $k){ if ($this->showline($line)){ $truncate = false; if(is_array($k)){ foreach ($k['d'] as $val){ $class = ''; if (!$delete){ $delete = true; $class = 'first'; if ($insert) $class = ''; $insert = false; } $ret.= '<tr><th>'.$count_old.'</th>'; $ret.= '<th> </th>'; $ret.= '<td class="del '.$class.'">'.$this->formatcode($val).'</td>'; $ret.= '</tr>'; $count_old++; } foreach ($k['i'] as $val){ $class = ''; if (!$insert){ $insert = true; $class = 'first'; if ($delete) $class = ''; $delete = false; } $ret.= '<tr><th> </th>'; $ret.= '<th>'.$count_new.'</th>'; $ret.= '<td class="ins '.$class.'">'.$this->formatcode($val).'</td>'; $ret.= '</tr>'; $count_new++; } } else { $class = ($delete) ? 'del_end' : ''; $class = ($insert) ? 'ins_end' : $class; $delete = false; $insert = false; $ret.= '<tr><th>'.$count_old.'</th>'; $ret.= '<th>'.$count_new.'</th>'; $ret.= '<td class="'.$class.'">'.$this->formatcode($k).'</td>'; $ret.= '</tr>'; $count_old++; $count_new++; } } else { $class = ($delete) ? 'del_end' : ''; $class = ($insert) ? 'ins_end' : $class; $delete = false; $insert = false; if (!$truncate){ $truncate = true; $ret.= '<tr><th>...</th>'; $ret.= '<th>...</th>'; $ret.= '<td class="truncated '.$class.'"> </td>'; $ret.= '</tr>'; } $count_old++; $count_new++; } } $ret.= '</table></pre>'; return $ret; } } ?> <style type="text/css"> table.code { border: 1px solid #ddd; border-spacing: 0; border-top: 0; empty-cells: show; font-size: 12px; line-height: 110%; padding: 0; margin: 0; width: 100%; } table.code th { background: #eed; color: #886; font-weight: normal; padding: 0 .5em; text-align: right; border-right: 1px solid #d7d7d7; border-top: 1px solid #998; font-size: 11px; width: 35px; } table.code td { background: #fff; font: normal 11px monospace; overflow: auto; padding: 1px 2px; } table.code td.del { background-color: #FDD; border-left: 1px solid #C00; border-right: 1px solid #C00; } table.code td.del.first { border-top: 1px solid #C00; } table.code td.ins { background-color: #DFD; border-left: 1px solid #0A0; border-right: 1px solid #0A0; } table.code td.ins.first { border-top: 1px solid #0A0; } table.code td.del_end { border-top: 1px solid #C00; } table.code td.ins_end { border-top: 1px solid #0A0; } table.code td.truncated { background-color: #f7f7f7; } </style> <?php $diff = new diff; $text = $diff->inline('users_controller.42.php','users_controller.45.php',2); echo count($diff->changes).' changes'; echo $text; ?>
http://blog.mozilla.com/webdev/2009/02/20/cross-browser-inline-block/
http://encosia.com/use-jquery-to-extract-data-from-html-lists-and-tables/
http://en.wikipedia.org/wiki/Geometric_Shapes
http://www.elated.com/articles/10-fantastic-free-web-page-editors/
http://blog.mozilla.com/webdev/2009/02/20/cross-browser-inline-block/
http://www.cyberciti.biz/tips/linux-unix-bsd-nginx-webserver-security.html
http://www.asiteaboutnothing.net/c_s3-cloudfront.html
http://www.joedesigns.com/v22/?page=scripts_widgets&id=67
open .
http://hginit.com/01.html
http://hgbook.red-bean.com/read/mercurial-in-daily-use.html
http://mercurial.selenic.com/wiki/QuickStart
http://hginit.com/01.html
http://hgbook.red-bean.com/read/mercurial-in-daily-use.html
http://valums.com/files/2009/vertical-menu/final.htm
http://www.queness.com/post/256/vertical-scroll-menu-with-jquery-tutorial
looks and works the same
Verizon Corporate Discount
http://www.verizonwireless.com/b2c/employee/emaildomainauthentication.jsp
Sprint Corporate Discount
http://sprint.p.delivery.net/m/p/nxt/ais/wdyw.asp
AT&T Corporate Discount
https://www.wireless.att.com/business/authenticate/
$ history
to create a file:
$ history > filename
good list here
http://www.noupe.com/jquery/cool-and-useful-jquery-image-and-content-sliders-and-slideshows.html
http://workshop.rs/demo/gallery-in-4-lines/
little bit too simple and not enough features but easy
http://www.sohtanaka.com/web-design/examples/image-rotator/
http://pikachoose.com/demo/
http://demo.tutorialzine.com/2009/11/beautiful-apple-gallery-slideshow/demo.html
http://css-tricks.com/examples/FeaturedContentSlider/
this can include html content
http://www.impressivewebs.com/demo-files/mlb-switcher/
http://coffeescripter.com/code/ad-gallery/
thumbnails on bottom and many effects
http://nivo.dev7studios.com/demos/4/
nice looking
http://www.tn3gallery.com/
thumbnails bottom
http://www.brandspankingnew.net/archive/2006/06/doctype_icons_2.html
http://lagoscript.org/jquery/upload?locale=en
Filezilla and EC2
Changing password of EC2
Changing mySQL Password
edit the /etc/apache2/users/username.conf.
Add FollowSymLinks to the Options.
http://abaff.wordpress.com/2008/03/19/problems-with-os-x-leopard-apache-and-symbolic-links/
Their orders got cancelled or they are unable to find touchpads. And takes forever for hp.com to come up with more stock.
Depressing.
Their orders got cancelled or they are unable to find touchpads. And takes forever for hp.com to come up with more stock.
Depressing.
It’s such a POS…. compared to the iphone version.
They should be ashamed to release this stupid version and sell it for so much. It’s unfinished and half baked.
http://forum.xda-developers.com/showthread.php?t=1230912
1. Install WebOS Quick Install on your COMPUTER (Windows/Mac) first by going to http://www.webosbuzz.com/hp-touchpad/633-how-install-preware-onto-hp-touchpad.html
2. Put your Touchpad in developer mode by typing in webos20090606
3. Run WebOS Quick Install on your Mac/Windows and connect your Touchpad
4. UPDATE your Touchpad to the latest SYTEM UPDATES
5. Restart Touchpad
6. Run Preware -> Manage Feeds -> Add New
7. Add Feeds
8. Restart Touchpad
9. Run Preware and go to Kernels -> Experimental
10. Install F15C
11. Restart Touchpad
12. Run Govnah and set profile to 1.5ghz
http://www.minisitegallery.com/blog/simple-ipn.html
http://www.krio.me/paypal-recurring-payments-php-script-free/
http://www.awesomephp.com/?Paypal-Class
https://www.x.com/blogs/Nate/2010/12/06/php-script-for-discount-code-buttons
style=”list-style[^”]*”
https://discussions.apple.com/thread/2210478?start=0&tstart=0
https://www.mylifestages.org/sites/MyLifeStages/health/gluten_intolerence/MyLifeStages_GlutenFreeDietPlan.pdf
Proofs
#1 picking a guy with a mask
#2 picking muay thai boxing for “fun”… she enjoys seeing people get beaten up I guess
#3 Bentley
#4 Bentley
#5 Bentley
What a complete moron.
http://dl.dropbox.com/u/2629908/sandbox/annotations/index.html
http://maestric.com/doc/mac/apache_php_mysql_snow_leopard
Using the word “yellow” to describe cowardice.
And he’s always going on and on about his “friend” Pat Vitucci and how everyone should go to the seminars…
http://forums.macrumors.com/showthread.php?t=779043
http://www.wikihow.com/Make-Thieve’s-Vinegar-to-Help-Prevent-Illness
http://bigteaparty.com/how-to-make-your-own-heral-tea-blends-written-by-elizabeth-fiend/
http://www.erowid.org/experiences/exp.php?ID=56530
http://www.dreamincode.net/forums/topic/217321-is-this-a-good-way-to-sanitize-post-values/
http://www.phpclasses.org/package/2189-PHP-Filter-out-unwanted-PHP-Javascript-HTML-tags-.html
http://www.denhamcoote.com/php-howto-sanitize-database-inputs
http://stackoverflow.com/questions/4861053/php-sanitize-values-of-a-array
http://htmlpurifier.org/docs#toclink2
http://cnedelcu.blogspot.com/2010/05/nginx-php-via-fastcgi-important.html
http://sleepycode.com/tags/wordpress/
This isn’t well documented anywhere for nginx. In fact it is sorta hidden and hard to find. Nginx does support a way for me to disable php from being executed in my uploads directory.
The way I came across actually I am loving, as I am able to control how content is handled actually. This is a plus on the server admins end.
# Only allow images to be viewed. location /wordpress/wp-content/uploads/ { types { image/gif gif; image/jpeg jpeg jpg; image/png png; text/plain txt; } default_type application/octet-stream; location ~ \.php$ { break; } }
Simply put, I setup a location to only run on my uploads directory. Then I change the types and only defined jpg, gif and png. All other files get sent as a download. Finally since I run php as fastcgi, I setup a nested location to run for php files and tell it to stop evaluating rules.
In fact, this is all actually nested in my primary location /. I did it this way as it worked the easiest. Although I am sure I could remove that nesting.