Jan 7 2014

jquery know user view the element

using 3rd party plugin (same concept as calculating the offset)

https://github.com/teamdf/jquery-visible

concept:

http://www.jquery4u.com/dom-modification/jquery-check-element-view/


Oct 10 2013

[magento] the only way that can getimageurl from categroy

http://www.magentocommerce.com/boards/v/viewthread/273234/#t382241


Sep 27 2013

[magento] catalog product widget

magento\app\design\frontend\base\default\template\catalog\product\widget\new\content


Sep 25 2013

[magento] some important file

read the following file can know more about the route and flow

store/app/code/core/Mage/Core/Controller/Varien/Front.php <== front controller
store/app/code/core/Mage/Core/Model/App.php <== (Main) App Model (Object)

about REFERENCE : 即係跳 block 專用技

Diagram 3

is used to make reference to another block. By making a reference to another block, the updates inside will apply to the it correlates to (see diagram 3).

In order to make the reference, you must target the reference to a block by using the ‘name’ attribute. This attribute targets the tag’s ‘name’ attribute. So if you were to make a reference by , you’re targeting the block called .


Sep 20 2013

[magento] debugging ? open css hint

need some tricks:

http://www.redlightblinking.com/blog/magento-debugging-how-to-debug-template-paths-logging-and-display-errors

MAGENTO DEBUGGING – HOW TO DEBUG TEMPLATE PATHS, LOGGING AND DISPLAY ERRORS
Categories: Blog, Magento
Developing in Magento without these debugging tips can be challenging! Here is how you can debug magento:

Turn on Template Path Hints
Turn on error/system logging
Turn on SQL logging
Display PHP errors

Turn on Template Path Hints

Would you like to see the path of the file that is producing the HTML for each block on the page?

1. Log into the admin

2. Goto -> System ->Configuration, and on the bottom of the list select “Developer”

3. click on Debug – you will only see “Profiler”. Here is the trick – you have to switch the “Current Configuration Scope:” [in the upper left] to a website instead of default. Select “Main Website”.

4. Now you will see the selection for Template Path Hints – check yes. This will display the path of the template for each block of the page so you can find stuff! You can also choose to “Add Block Names to Hints” to see the corresponding model class for the block.

Turn on error/system logging

1. In the admin Goto -> System ->Configuration, and on the bottom of the list select “Developer”

2. Select the Log Settings tab and put Enabled = Yes

3. *to avoid any permissions issues, create folder/file

/var/log/system.log

Turn on SQL logging

To enable SQL Debugging find the file

/lib/Varien/Db/Adapter/Pdo/Mysql.php

change line 45
protected $_debug = false;

to
protected $_debug = true;

It will then generate the file var/debug/sql.txt.

*If you have any issues create this file manually first…

Display PHP errors

Frustrated you can’t see your PHP errors? This is how you turn them on – for development use only, don’t do this on a production site!

In Index.php change

Mage::setIsDeveloperMode(true);

ini_set(‘display_errors’, 1);


Jun 19 2013

multiple domain to subfolder htaccess rewrite


RewriteEngine On
RewriteBase /

# —————————————
# BEGIN Domain to folder mapping

# pointing so9sad.com to folder_1
ReWriteCond %{HTTP_HOST} so9sad.com
ReWriteCond %{REQUEST_URI} !so9sad/
ReWriteRule ^(.*)$ so9sad/$1 [L]

# pointing youtube9loop.com to folder_2
ReWriteCond %{HTTP_HOST} youtube9loop.com
ReWriteCond %{REQUEST_URI} !youtube9loop/
ReWriteRule ^(.*)$ youtube9loop/$1 [L]

# END Domain to folder mapping
# —————————————

# —————————————
# BEGIN htaccess pretection


order allow,deny
deny from all

# END htaccess pretection
# —————————————

With wordpress:

RewriteEngine On
RewriteBase /

# —————————————
# BEGIN Domain to folder mapping

# pointing domain_1.com to folder_1
ReWriteCond %{HTTP_HOST} domain_1.com
ReWriteCond %{REQUEST_URI} !folder_1/
ReWriteRule ^(.*)$ folder_1/$1 [L]

# pointing domain_2.com to folder_2
ReWriteCond %{HTTP_HOST} domain_2.com
ReWriteCond %{REQUEST_URI} !folder_2/
ReWriteRule ^(.*)$ folder_2/$1 [L]

# END Domain to folder mapping
# —————————————

# —————————————
# BEGIN WordPress

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]

# END WordPress
# —————————————

# —————————————
# BEGIN htaccess pretection


order allow,deny
deny from all

# END htaccess pretection
# —————————————

ref: http://wordpress.org/support/topic/success-mapping-multiple-domains-to-different-folders-with-htaccess


Jun 19 2013

Twitter User Search Document

https://dev.twitter.com/docs/using-search


Jun 17 2013

抄到佢仆街 電擊文庫 layout

http://dengekibunko.dengeki.com/20th/?rf=bunkoOFFICIAL


Jun 5 2013

gaplo 推薦 素材網

http://www.ashinari.com/


May 31 2013

free music loop (chris recommend)

http://www.partnersinrhyme.com/pir/free_music_loops.shtml


May 30 2013

footer stick to height

http://ryanfait.com/sticky-footer/


Mar 27 2013

jquery template

http://www.websanova.com/tutorials/jquery/jquery-plugin-development-boilerplate#.UVHbVVvN9TB


Mar 25 2013

a jQuery dynamic layout plugin

http://www.gougouzian.fr/projects/jquery/dylay/


Mar 21 2013

整 drop down menu 必看

http://www.inside.com.tw/2013/03/21/amazon-web-pull-down-menus?utm_source=feedburner&utm_medium=feed&utm_campaign=Feed%3A+inside-blog-taiwan+%28%E7%B6%B2%E8%B7%AF%E8%B6%A8%E5%8B%A2%E8%A1%8C%E9%8A%B7%E8%88%87%E9%96%8B%E7%99%BC%29


Mar 19 2013

Mobile browser detection for WordPress – embedded is_mobile() function

http://www.dannyherran.com/2012/03/mobile-browser-detection-for-wordpress-embedded-is_mobile-function/


Mar 13 2013

[靚] Brands Icons And Color Style Guides

http://www.smashingmagazine.com/2013/03/10/free-brand-icons-color-style-guides-icons/


Feb 19 2013

回帶睇完又睇, php 30 common tips (u always forget)

http://net.tutsplus.com/tutorials/php/30-php-best-practices-for-beginners/


Feb 19 2013

Using Dynamic Font with canvas using Typeface.js

http://typeface.neocracy.org/


Feb 4 2013

Dynamic loading of Facebook Comments Plugin throwing JS error in IE 6/7/8

http://stackoverflow.com/questions/5516549/dynamic-loading-of-facebook-comments-plugin-throwing-js-error-in-ie-6-7-8


Jan 30 2013

php and mysql time conversion

http://www.richardlord.net/blog/dates-in-php-and-mysql


Jan 24 2013

fb logout by php

http://cacovsky.wordpress.com/2011/05/17/login-with-facebook-php-sdk-a-tutorial/


Jan 16 2013

cscart php hook advance using (like adding search field before SQL)

http://forum.cs-cart.com/topic/20279-php-controller-4-creating-php-hooks/


Jan 9 2013

how to override a skin / template

http://forum.cs-cart.com/topic/13317-template-to-override-not-a-hook/


Jan 8 2013

Hiding Product tabs in Admin

http://forum.cs-cart.com/topic/26409-hiding-product-tabs-in-admin/


Dec 17 2012

apache rewriteCond 的小知識

http://www.skygq.com/2011/02/21/apache%E4%B8%ADrewritecond%E8%A7%84%E5%88%99%E5%8F%82%E6%95%B0%E4%BB%8B%E7%BB%8D%E8%BD%AC/


Nov 22 2012

Swipe for mobile

https://github.com/bradbirdsall/Swipe


Nov 8 2012

http://hk.streetvoice.com/ d layout

function enhance
http://documentcloud.github.com/underscore/#

layout framework
http://isotope.metafizzy.co/docs/introduction.html


Nov 4 2012

so9sad

http://www.catswhocode.com/blog/create-your-own-private-twitter-site-using-wordpress


Oct 18 2012

活用 CI log to know a model is loaded

You can use the log_message() function and put it in the constructor, so it will be executed when it initiated

Put this in your model’s constructor (parent::Model())

log_message (“debug”, “Yourmodel is loaded”);
don’t forget to set the log config to debug mode, see the config.php file

$config['log_threshold'] = 2;
And set the system/logs directory permission to writable (by default CI will create the log files here)

or set the logs directory in another dir

$config['log_path'] = ‘another/directory/logs/’;
CI will then create the log file in the directory. monitor the log files as you like. You can get the debug message to see if your model is already loaded or not in the log files.

src : http://codeigniter.com/forums/viewthread/180787/


Oct 11 2012

wp solve break line problem

http://rubayathasan.com/reviews/enabling-line-break-in-wordpress/


Oct 10 2012

codeigniter x fb connect

http://www.dannyherran.com/2011/02/facebook-php-sdk-and-codeigniter-for-basic-user-authentication/


Oct 8 2012

mobile native app wrapper for js and html

http://www.lis186.com/?p=2030


Oct 8 2012

take html for wp content

http://wordpress.org/support/topic/get-a-post-content-with-proper-html-tags


Oct 5 2012

safe-characters-for-friendly-url

http://stackoverflow.com/questions/695438/safe-characters-for-friendly-url


Oct 5 2012

%2F 係 browser url 到照當 “/”

http://www.jampmark.com/web-scripting/5-solutions-to-url-encoded-slashes-problem-in-apache.html


Oct 3 2012

jquery wheel [good]

http://anthonyterrien.com/knob/


Sep 25 2012

going to extend the controller in CI

http://stackoverflow.com/questions/8342232/extending-the-controller-class-in-codeigniter


Sep 24 2012

simple login of CI

http://www.codefactorycr.com/login-with-codeigniter-php.html


Sep 21 2012

加點點落d 圖到,low res 都唔驚

http://jsfiddle.net/weissraum/yF3Zx/


Aug 9 2012

ie9 web font …

http://paulirish.com/2009/bulletproof-font-face-implementation-syntax/


Aug 5 2012

quite good example of mvc

http://maestric.com/doc/java/spring/mvc


Jul 24 2012

右 click 之 menu

http://www.class.pm/files/jquery/jquery.contextmenu/demo/#Item3


Jul 6 2012

[codeigniter] load model , want parameter

http://codeigniter.com/forums/viewthread/115681/


Jun 20 2012

Learning JavaScript Design Patterns ( a good book should read )

http://addyosmani.com/resources/essentialjsdesignpatterns/book/


Jun 13 2012

MIME does not mean anything … just check the stupid extension …

http://stackoverflow.com/questions/8028184/mime-type-spoofing


Jun 11 2012

use gettext to set the language of php

http://stackoverflow.com/questions/1192665/adding-support-for-i18n-in-php-with-gettext

command “locale -a” to check the lang code set
rmb zh-HK , 細階細階-大階大階


Jun 7 2012

click input file for firefox

$(“#uploadImg”).click(function(e) {
$(“#fileUpload”).trigger(“click”);
});

but it may fail for IE


Jun 7 2012

Check browser can drop and drop files

http://stackoverflow.com/questions/5290861/determine-if-browser-is-drag-and-drop-capable


May 31 2012

JS public private static

http://stackoverflow.com/questions/1535631/static-variables-in-javascript


May 15 2012

web font to css

http://www.howtoplaza.com/how-to-use-custom-fonts-on-your-website-with-css


May 11 2012

save me time ! solve BeanCreationException for TilesConfigurer

org.springframework.beans.factory.BeanCreationException: Error creating bean with name ’tilesConfigurer’ defined in ServletContext resource [/WEB-INF/spring/appServlet/servlet-context.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.springframework.web.servlet.view.tiles2.TilesConfigurer]: Constructor threw exception;

http://richardbarabe.wordpress.com/2009/02/23/apache-tiles-2-integration-with-spring-mvc/

Update:

add this dependencies to solve :

		<dependency>
			<groupId>org.apache.tiles</groupId>
			<artifactId>tiles-el</artifactId>
			<version>2.2.2</version>
		</dependency>
		<dependency>
			<groupId>org.apache.tiles</groupId>
			<artifactId>tiles-template</artifactId>
			<version>2.2.2</version>
		</dependency>

May 11 2012

Using tile to define layout

http://viralpatel.net/blogs/2010/07/spring-3-mvc-tiles-plugin-tutorial-example-eclipse.html


May 9 2012

a good tutorial to start spring web mvc

http://blog.springsource.org/2011/01/04/green-beans-getting-started-with-spring-mvc/


Apr 27 2012

cloudflare , suggest server service

http://www.cloudflare.com


Apr 9 2012

[素材] many icons

http://css-tricks.com/flat-icons-icon-fonts/


Apr 4 2012

good psd for web design

http://www.designerhk.com/blog/8/15-beautiful-and-useful-free-psd-files


Mar 5 2012

Using JavaScript’s Prototype with MVC

http://net.tutsplus.com/tutorials/javascript-ajax/using-javascripts-prototype-with-mvc/


Feb 17 2012

js object and js function class

var yung = { variable : xxx, add: function () { } }

they are all accessible by other

yung.Class = function(someSetting) {

var privateVar
this.publicVar
function privateFunction
function publicFunction

//public function
$.extend(this, {
publicFunction: publicFunction
});

yung.obj = new yung.Class(someSettings);

}

scope:

(function(object1, jquery, window, settings) {

code….

})(object1, jquery, window, settings);


Feb 3 2012

seems very good play:Set up a home file server using FreeNAS

http://www.engadget.com/2012/02/01/how-to-set-up-a-home-file-server-using-freenas/


Jan 31 2012

Prestashop, a eshop framework

http://www.prestashop.com/


Jan 30 2012

zend form tutorial

the tutorial is a bit old, may not suit yr need , but can do ref

http://akrabat.com/zend-framework/simple-zend_form-example/
http://akrabat.com/zend-framework/simple-zend_layout-example/


Jan 22 2012

zend : view helper for js and css

http://devzone.zend.com/1651/managing-css-and-javascript-files-within-a-zend-framework-app/


Jan 18 2012

cron job 既朋友 for windows

http://jenkins-ci.org/


Jan 17 2012

iframe jquery (no cross domain by browser … )

http://blog.roodo.com/thinkingmore/archives/9657289.html


Jan 13 2012

actually wt i want project

http://society6.com/

http://www.storenvy.com/


Jan 13 2012

quick start of zend framework

http://framework.zend.com/manual/en/learning.quickstart.create-project.html


Jan 5 2012

js 放係 head,speed up 個 load .js 既 process

http://headjs.com


Jan 3 2012

regular expression tester

http://www.gskinner.com/RegExr/


Jan 2 2012

ref of fdpayforme

look and feel, font
http://www.pixelbaecker.de/#anker-s6


Jan 2 2012

start up js and css framework

http://getskeleton.com/#whatAndWhy


Dec 22 2011

Good Grid design for frontend

https://www.aupeo.com/


Dec 20 2011

alchemy IJG investiage

http://segfaultlabs.com/devlogs/alchemy-asynchronous-jpeg-encoding-2

http://savagelook.com/blog/actionscript3/adobe-alchemy

http://forums.adobe.com/message/987186#987186

- find find wt is beginEncodeJpegFileToPixsense, Pixsense encode …. ummm


Dec 20 2011

js design pattern for beginner

http://addyosmani.com/resources/essentialjsdesignpatterns/book/


Dec 18 2011

gordon recommend CSS engine

http://sass-lang.com/


Dec 15 2011

flash is suck in urlStream or fileRef.upload

urlStream is always good, it trigger the browser request to server, but very raw and cannot detect the upload progress (no progress event fire during upload) ( cal the speed and use Timer to pretend the progress bar )

but fileRef.upload is really poor, it use its user agent, so it is independent to browser, so no session can be save, it make a new session i think

judge yourself use which class then :)


Dec 15 2011

css framework (but ruby :( )

http://compass-style.org/


Dec 14 2011

skype development ref

@ww_boy6 roy:
wwboy: http://skype.sourceforge.jp/index.php?Skype%20API%20For%20Java%20(English)
roy:
this can help ?
roy:
actually they think so 麻煩 becoz they want to do VOIP
roy:
but we only need msg
roy:
wwboy: https://imo.im/
roy:
u see this web app can do skype
roy:

http://developer.skype.com/skypekit/reference/java/html/com/skype/api/Message.html

roy:
for ww


Dec 13 2011

Freeware multi-platform file splitters

http://www.hjsplit.org/


Dec 13 2011

read this post for shopping cart in Zend, can use library or write yr own

http://stackoverflow.com/questions/4032782/best-e-commerce-shopping-carts-for-zend-framework-developer


Dec 5 2011

wordpress localization step 1

http://www.poedit.net/


Dec 3 2011

supreme strong image processing class present by alchemy

http://www.websector.de/blog/2009/06/21/speed-up-jpeg-encoding-using-alchemy/


Dec 1 2011

html5 and music

http://www.baroque.me/
http://www.mta.me/


Dec 1 2011

study this uploader!

http://www.aurigma.com/
http://www.snapfish.com/


Dec 1 2011

jquery ui bridge tutorial

http://www.erichynds.com/jquery/using-jquery-ui-widget-factory-bridge/


Nov 29 2011

let’s try to write Jquery UI widget

http://wiki.jqueryui.com/w/page/12138135/Widget-factory

Ok, this one is better

https://github.com/scottgonzalez/widget-factory-docs/


Nov 28 2011

jquery .add

.add is a function tht “add” the selector into jquery object list. This add is not mean append.


Nov 28 2011

ext core, try this js framework

http://www.sencha.com/products/extcore/


Nov 21 2011

basic knowledge to VBscript

ms tech note
——————
http://technet.microsoft.com/en-us/library/ee198896.aspx

return is a object
——————
http://stackoverflow.com/questions/140002/vbscript-how-to-utiliize-a-dictionary-object-returned-from-a-function


Nov 21 2011

[plupload] about resize and upload

BitmapDataUnlimited

http://blog.formatlos.de/2008/05/28/bitmapdataunlimited/

 

SWF size limit

http://kb2.adobe.com/cps/496/cpsid_49662.html


Nov 16 2011

在 ASP.NET中使用 Include語法

http://blog.xuite.net/sugopili/computerblog/36468651


Nov 14 2011

[mysql] 複製一個 db

http://dev.mysql.com/doc/refman/5.6/en/replication-howto.html


Nov 7 2011

share box

http://www.ruhanirabin.com/how-to-add-facebook-like-button-to-wordpress-posts/

https://dev.twitter.com/docs/tweet-button

http://diythemes.com/thesis/rtfm/add-google-plus-1-share-button/

http://ottopress.com/2011/adding-googles-1-button-to-wordpress-sites/

ajax:
http://forum.developers.facebook.net/viewtopic.php?id=68635


Nov 7 2011

wp 必讀

language : http://codex.wordpress.org/I18n_for_WordPress_Developers

writing plugin:
o岩o岩開波d format : http://codex.wordpress.org/Plugin_API
action/filter default hook:
http://codex.wordpress.org/Plugin_API/Hooks_2.0.x

hook list with src:
http://adambrown.info/p/wp_hooks/version/3.2


Oct 26 2011

[jquery] xxx.fn.funtionName() {} is prototype

Prototype

All objects have a prototype property. Whenever the interpreter looks for a property, it also checks the prototype. jQuery uses that extensively to add methods to jQuery instances.

var form = $(“#myform”);
form.clearForm; // undefined
form.fn.clearForm = function() {
return this.find(“:input”).each(function() {
this.value = “”;
}).end();
};
form.clearForm() // works for all instances of jQuery objects, because the new method was added to the prototype

(This example needs clarification: how does it modify the prototype when the word “prototype” doesn’t appear anywhere? The implication is that form.fn is simply an alias for form.prototype, but if that’s the case then it should be explained. :-? )

In javascript:the definitive guide 5 edition,dont add attibute to Object.prototype


Oct 25 2011

super strong html5 photobook editor

http://www.fujidirekt.de


Oct 25 2011

check empty string? if(strValue) is already enough

http://stackoverflow.com/questions/154059/what-is-the-best-way-to-check-for-an-empty-string-in-javascript


Oct 25 2011

jquery onlyInt validation

http://stackoverflow.com/questions/995183/how-to-allow-only-numeric-0-9-in-html-inputbox-using-jquery


Oct 25 2011

disable the auto complete of browser (so annoying sometime u click on a input field and pop sth out)

http://stackoverflow.com/questions/2530/how-do-you-disable-browser-autocomplete-on-web-form-field-input-tag


Oct 25 2011

cookies, using php or js?

use js pls
php setCookies cant trigger by user if he press “BACK” button


Oct 24 2011

[js] quick revise js

http://javascript.infogami.com/Javascript_in_Ten_Minutes


Oct 24 2011

read this, web developer

http://taligarsiel.com/Projects/howbrowserswork1.htm


Oct 24 2011

[js][php] language solution

http://stackoverflow.com/questions/4762763/change-language-from-dynamically-content-using-javascript


Oct 24 2011

Javascript null, undefined and default value?

http://stackoverflow.com/questions/2559318/how-to-check-for-undefined-or-null-variable-in-javascript

example:

var option = para || {};
option.color = option.color || “#B0B0B0″ ;
option.height = option.height || 1;


Oct 24 2011

old jquery dun hv parseXML function, add it yrself

http://baris.aydinoglu.info/javascript/parsing-xml-with-jquery-parsexml-method


Oct 21 2011

ignore enter submit form by ie and other browser

http://stackoverflow.com/questions/1000597/event-preventdefault-function-not-working-in-ie-any-help

event.preventDefault ? event.preventDefault() : event.returnValue = false;

event.preventDefault = many browser
event.returnValue = ie :)


Oct 21 2011

[js] read The Infamous Loop Problem to know more about always get the last element when event trigger and can learn more abt scoping too!

http://robertnyman.com/2008/10/09/explaining-javascript-scope-and-closures/


Oct 21 2011

[js] a quite good tutorial for js beginner

http://www.quirksmode.org/js/contents.html


Oct 20 2011

batch rename and thumbnail

batch edit image:
infraview

batch rename program:
CKrename


Oct 20 2011

amfphp, zend php [client <-> server]

http://www.silexlabs.org/amfphp/
http://www.zend.com/en/


Oct 19 2011

[js] always need to advise : how to make object in js

http://www.phpied.com/3-ways-to-define-a-javascript-class/


Oct 19 2011

html word wrap attribute for diff browser

white-space: pre-wrap; /* CSS3 */
white-space: -moz-pre-wrap; /* Firefox */
white-space: -pre-wrap; /* Opera <7 */
white-space: -o-pre-wrap; /* Opera 7 */
word-wrap: break-word; /* IE */
white-space: normal !important; /* IE 7*/

ref:
http://stackoverflow.com/questions/1638223/is-there-a-way-to-word-wrap-text-in-a-div

http://stackoverflow.com/questions/3553353/problem-with-word-wrap-in-ie7


Oct 19 2011

jquery plugin template

quite good jquery plugin template

http://www.whatheaven.com/fileupload/upload/jquery_slideshow.js

Continue reading


Oct 17 2011

[jquery] very good to modify this to combo box

http://do-web.com/jdropdown/overview


Oct 16 2011

[wp] related post

http://wp.tutsplus.com/tutorials/display-style-related-posts-for-your-wordpress-site/


Oct 15 2011

jquery bubble tip

http://www.vegabit.com/jquery_bubble_popup_v2/#examples


Oct 15 2011

[jquery] combobox, and can type yr own text too

http://flexbox.codeplex.com/


Oct 14 2011

wordpress change upload file config

http://chrismeller.com/2007/07/modifying-allowed-upload-types-in-wordpress

http://www.wprecipes.com/wordpress-tip-allow-upload-of-more-file-types


Oct 13 2011

[jquery] read this if u want to write plugin

diff pattern for plugin

http://coding.smashingmagazine.com/2011/10/11/essential-jquery-plugin-patterns/

defaults and settings/option

http://www.learningjquery.com/2009/03/making-a-jquery-plugin-truly-customizable

http://blog.jeremymartin.name/2008/02/building-your-first-jquery-plugin-that.html


Oct 3 2011

[webdesign][PS] learn some photoshop effect for your web design

http://designinstruct.com/web-design/create-a-light-textured-web-design-in-photoshop/


Sep 30 2011

[css] clear: both, very useful!

when u r making some layout float:left ….
then u want next component dun want float anymore =.=
use CLEAR attribute!!!


Sep 27 2011

ulikela ref site

main style:
http://bentrovatoblog.com/

comment style:
http://ddgoodi.es/


Sep 25 2011

blog tool – related post widget.

http://www.linkwithin.com/


Sep 24 2011

learn code Ignitor X jquery

http://net.tutsplus.com/tutorials/javascript-ajax/build-ajax-data-grids-with-codeigniter-and-jquery-2/?utm_source=feedburner&utm_medium=feed&utm_campaign=Feed%3A+nettuts+%28Nettuts%2B%29


Sep 12 2011

[blog] a good blog for css learning

http://css-tricks.com/


Sep 9 2011

[php] a blog always talk php.

http://www.gen-x-design.com/
呢個 blog 都無咩 update ,不過d 舊文都 ok 有用


Sep 7 2011

CSS button , hv a nice try

http://www.red-team-design.com/just-another-awesome-css3-buttons


Sep 6 2011

[nodejs][php] long polling n related concepts

nodjs:
http://www.josephj.com/entry.php?id=358

php
http://www.perfgeeks.com/?p=139


Sep 6 2011

[wp] you are doing on comments, right ?

http://net.tutsplus.com/tutorials/wordpress/unraveling-the-secrets-of-wordpress-commentsphp-file/


Sep 6 2011

[wp] learn it first, beginner

http://net.tutsplus.com/articles/web-roundups/top-50-wordpress-tutorials/


Sep 1 2011

[wp] I think u can learn fm them

http://sixrevisions.com/contests/giveaway-premium-wordpress-themes-wpzoom/


Aug 30 2011

[apache][phpmyadmin] change phpmyadmin to 443 using default phpmyadmin package

idea: rewrite engine to make http => https

1. go to .htaccess in /usr/share/phpmyadmin

add
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}

2. activate the rewrite engine by a2enmod rewrite , then restart apache2

3. make SSL cert, some command like the following
#openssl req $@ -new -x509 -days 365 -nodes -out /etc/apache2/apache.pem -keyout /etc/apache2/apache.pem

details: http://www.debianadmin.com/install-and-configure-apache2-with-php5-and-ssl-support-in-debian-etch.html

4. permission for the cerf : #chmod 600 /etc/apache2/apache.pem

5. Listen 443 in ports.conf

6. Set the phpmyadmin conf in sites-available:

# phpMyAdmin default Apache configuration
Alias /phpmyadmin /usr/share/phpmyadmin

DocumentRoot /usr/share/phpmyadmin
SSLEngine on
SSLCertificateFile “/etc/apache2/apache.pem”

Options Indexes FollowSymLinks
AllowOverride All
DirectoryIndex index.php


AddType application/x-httpd-php .php

php_flag magic_quotes_gpc Off
php_flag track_vars On
php_flag register_globals Off
php_value include_path .

# Authorize for setup


AuthType Basic
AuthName “phpMyAdmin Setup”
AuthUserFile /etc/phpmyadmin/htpasswd.setup

Require valid-user

# Disallow web access to directories that don’t need it

Order Deny,Allow
Deny from All


Order Deny,Allow
Deny from All

7. Finish.


Aug 27 2011

[webdesign][template] some free webpage template, can borrow some graphics component to use

http://slodive.com/freebies/web-design-templates/?utm_source=feedburner&utm_medium=feed&utm_campaign=Feed%3A+Slodive+%28SloDive+-+Design+Resources+and+Inspiration%29


Aug 24 2011

[WP] Learn WP beginner!

http://themeshaper.com/2009/06/22/wordpress-themes-templates-tutorial/

Advance:
theme option page
http://wp.tutsplus.com/tutorials/using-the-settings-api-part-1-create-a-theme-options-page/


Jul 31 2011

[js] image slider, ok 好用

http://slidesjs.com/


Jul 27 2011

nav 升升降降……係我想要既野了…. nggggggg

http://www.kirkas.ch/ascensor/


Jul 18 2011

素材!

http://iconify.it/free-stuff/plastique-icons-full-set/
http://ddgoodi.es/2011/08/10/ddicons-65-png-psd-icons/


Jul 15 2011

dropkick for HTML dropping list

http://jamielottering.github.com/DropKick/


Jul 10 2011

learn jquery la!

http://learn.appendto.com/


Jul 6 2011

強~用css 做 tab style

http://net.tutsplus.com/tutorials/html-css-techniques/how-to-create-diagonal-lines-with-css/


Jul 4 2011

read this first when u go REST

http://blog.steveklabnik.com/2011/07/03/nobody-understands-rest-or-http.html


Jul 4 2011

first html5 game tutorial with box2d

http://net.tutsplus.com/tutorials/html-css-techniques/build-your-first-game-with-html5/


Jun 10 2011

Useful HTML-, CSS- and JavaScript Tools and Libraries,堅得。

http://coding.smashingmagazine.com/2011/06/10/useful-html-css-and-javascript-tools-and-libraries/


May 31 2011

Quick Test JS 用

http://jconsole.com/


May 31 2011

js secret

http://www.smashingmagazine.com/2011/05/30/10-oddities-and-secrets-about-javascript/


May 31 2011

htaccess cookbook

http://www.catswhocode.com/blog/10-useful-htaccess-snippets-to-have-in-your-toolbox


May 10 2011

[UX] Mock Up software 紹介 … (即係 layout design)

http://balsamiq.com/


May 10 2011

[UX] Tools for UX

http://www.kissmetrics.com/ (web analytic)

http://mixpanel.com/ (web analytic)

http://www.usabilla.com/ (micro usability tests)


May 6 2011

ebook framework~

http://www.lakercompendium.com/


May 4 2011

[rest] kaze 話

restful + spring + freemaker

可以玩下 rest 野,try try try


May 4 2011

em…browser 字

原來……中文個d 係無腳字……Sans-serif


May 3 2011

[web] flv movieplayer for web

http://flowplayer.org/
http://www.longtailvideo.com/players/jw-flv-player/


May 3 2011

素材,好野,web 或者 software 用

http://aipotudeng.deviantart.com/art/comMonochromatic-Iconset-2-203677686


May 2 2011

JavaScript Tricks And Good Programming Style

http://alexander.kirk.at/2006/08/09/javascript-tricks-and-good-programming-style/


Apr 29 2011

又有素材, social media 野

http://sixrevisions.com/freebies/icons/socialmate-free/


Apr 27 2011

[web][js] fancybox 靚過 lightbox 咁囉

http://fancybox.net/


Apr 18 2011

Keith Peters 用的 Host

http://www.dreamhost.com/


Apr 8 2011

[wp] 好靚,wordpress 改裝 QC system

http://getqualitycontrol.com/


Apr 6 2011

[web] Comment management social community

http://disqus.com/


Apr 5 2011

[mysql/php] Using MySQL Stored Procedures with PHP mysql/mysqli/pdo

http://preetul.wordpress.com/2009/06/26/using-mysql-stored-procedures-with-php-mysqlmysqlipdo/


Mar 24 2011

[IDE][Cloud] Cloud 9 , a JS IDE for JS

http://c9.io/


Mar 24 2011

[素材] Social Icons 1.0 既圖

http://www.alexpeattie.com/projects/justvector_icons/


Mar 12 2011

[web][js] 3 ways to define a JS Class

http://www.phpied.com/3-ways-to-define-a-javascript-class/


Mar 8 2011

[wordpress] 整 wordpress theme 用 framework

http://whiteboardframework.com/


Mar 8 2011

[webdesign] 興! 極速做 3D banner for web

http://www.css3d.net/ribbon-generator/


Mar 3 2011

[AS3][JQuery] jotaquery, as3 直 call jquery 既 script

http://code.google.com/p/jotaquery/


Mar 1 2011

[web][design] Japan sample site

http://io3000.com/
http://www.dailywebdesign.com/
http://midashi-design.com/
http://www.designlinkdatabase.net/
http://bm.straightline.jp/
http://www.goodeza.net/
http://web-selection.com/


Feb 24 2011

[web font] web font concept

http://www.dlocc.com/articles/modern-web-font-options-for-web-designers/


Feb 21 2011

[web][font] typekit, a company provide web fonts

http://typekit.com/


Feb 11 2011

[Web]How to Build an RSS Reader with jQuery Mobile

http://net.tutsplus.com/tutorials/javascript-ajax/how-to-build-an-rss-reader-with-jquery-mobile-2/


Feb 11 2011

[JS] 其實好 OK, js Magazine style framework

http://treesaverjs.com/


Feb 5 2011

[jquery][plugin] 好多正野,學野無妨

http://www.myjqueryplugins.com/


Feb 5 2011

[webdesign][css] gradient 靚靚 menu bar

http://www.webdesignerwall.com/tutorials/cross-browser-css-gradient/


Jan 28 2011

[wordpress]Theme 抄下參下

http://designinstruct.com/articles/resources/10-free-wordpress-themes-for-portfolio-sites/?utm_source=feedburner&utm_medium=feed&utm_campaign=Feed:+designinstruct+(Design+Instruct)


Jan 13 2011

[web] Modernizr

http://www.modernizr.com/

Modernizr is a small and simple JavaScript library that helps you take advantage of emerging web technologies (CSS3, HTML 5) while still maintaining a fine level of control over older browsers that may not yet support these new technologies.


Jan 13 2011

[web] wunderlist 其實 open src ,學野啦~

https://github.com/6wunderkinder/wunderlist


Nov 22 2010

[WebDesign] CSS Font-Size: em vs. px vs. pt vs. percent

http://kyleschaeffer.com/best-practices/css-font-size-em-vs-px-vs-pt-vs/


Nov 18 2010

[JS] 新既圓型 concept photo slider

http://www.baijs.nl/tinycircleslider/


Nov 2 2010

[RoR]Ruby on Rails Guides

http://guides.rubyonrails.org/


Nov 1 2010

[WebDesign] 素材!

ICON

http://lab.simurai.com/css/buttons/#material

http://greepit.com/open-source-icons-gcons/

http://www.fullcreative.com/2010/09/switch-a-set-of-54-minimalist-vector-icons-part-1/

http://www.webdesignerdepot.com/2010/07/200-exclusive-free-icons-reflection/

http://somerandomdude.com/projects/iconic/

http://www.wpzoom.com/wpzoom/new-freebie-wpzoom-developer-icon-set-154-free-icons/

TILE BKG

http://tileabl.es/


Oct 22 2010

[html5] 超勁 canvas 既 function api reference!

http://www.html5.jp/canvas/ref.html


Oct 22 2010

[JS] 靚靚 progress bar

http://www.catswhocode.com/blog/how-to-create-a-kick-ass-css3-progress-bar


Oct 21 2010

[JS] Canvas Framework

http://processingjs.org/

作者 = jquery 作者