Welcome To Snipplr
Everyone's Recent Snippets
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
Facebook Comment is a free Magento Extension which allows customers’ comments on your site and products’ information to be posted to customers’ Facebook Walls
<p>_ Leave comments in product pages</p>
<p>_ A pop-up allows directly logging-in w...
0
1002
posted 10 years ago by magestore
Product Instant Search is a free Magento search extension that enables automatically searching right after typing a character and shows the first search result with an “add to cart†form.
<p>_ Show other search results in product’s thumbnail i...
0
984
posted 10 years ago by magestore
Product Questions is a free Magento extension which enables customers’ feedback left on product pages to be sent to mailboxes of configured recipients (admin, store-owners).
<p>_ Allow sending emails to multiple recipients</p>
<p>_ Manage feedbac...
0
929
posted 10 years ago by magestore
Magento Banner Slider grabs your customers' first attention by most eye-catching images right on your store. You can flexibly select 1 among 36 slider positions, set images, orders, effects, etc. and then easily track clicks and impressions of each b...
0
971
posted 10 years ago by magestore
Magento store locator extension develop to help store owners in listing their physical store, outlet, franchise and dealer locations using Googlemaps. The customers can find nearest stores and get direction as this extension automatically detects cur...
0
881
posted 10 years ago by Adrianlynch
`mysql-dev.ini` can be used in a developing environment and put it in the Mysql Home dir
0
1161
posted 10 years ago by jacktan
**Vars** to to specify
+ ${EnvSet_Bash}
**Demo**
vars specified like
+ ${EnvSet_Bash}=[set-mysqlRT-Env](http://www.snipplr.com/view/80407/an-example-bash-file-for-set-temporary-path/ "set-mysqlRT-Env.bat")
pluss other bash commond
*...
0
1062
posted 10 years ago by jacktan
Run `mysqladmin` to shutdown msyql server with a specified option file.
**Vars** to to specify
+ ${EnvSet_Bash}
**Demo**
vars specified like
+ ${EnvSet_Bash}=[set-mysqlRT-Env](http://www.snipplr.com/view/80407/an-example-bash-file-for-...
0
1124
posted 10 years ago by jacktan
Run a Mysql server using command line with a specified option file.
**Vars** to to specify
+ ${EnvSet_Bash}
**Demo**
vars specified like
+ ${EnvSet_Bash}=[set-mysqlRT-Env](http://www.snipplr.com/view/80407/an-example-bash-file-for-set-...
0
1090
posted 10 years ago by jacktan
set-mysqlRT-Env.bat
before you run other commands like mysql, call this bat for temporary PATH and other environment variables。
**Vars** to specify
+ ${STH_HOME}
+ ${homeValue}
**Demo**
Vars specified like
+ ${STH_HOME}=MYSQL_HOM...
0
1203
posted 10 years ago by jacktan
Getting alexa rank is simple, a data link provide by alexa only needs the domain name and then it return xml data including the rank we want, so I make a php function to do this task.
0
995
posted 10 years ago by codingforever99
this can obviously be easily adapted to any other device names. Some commands in here are redundant but all together are more likely to work.
1
5439
posted 10 years ago by blackthorne
A simple function in Matlat to add the first k elements in an array
0
1251
posted 10 years ago by eiger_824
saveToStorage("objectName", {javascript:"object"});
To get the object use getFromStorage("objectName");
If the object does not exist, the function returns new empty object;
0
848
posted 10 years ago by burnandbass
This method will use the request)uri to create breadcrumbs
add this where you what crumb to show up echo breadcrumbs();
0
788
posted 10 years ago by blantonious
Jump start effort required to create a simple order form. Form collects product/service info, shipping details, payment details and customer billing/shipping details.
1
1216
posted 10 years ago by FlashBuddy
考虑到Fibonacci数列增长速度之快,返回值用long类型;如果long类型还ä¸å¤Ÿï¼Œä¸‹ä¸€æ¥è€ƒè™‘使用BigInteger类。
----
//TODO
* 补充两ç§æ–¹æ³•çš„大O分æžå’Œæ€§èƒ½æµ‹è¯•
0
1009
posted 10 years ago by jacktan
Make a simple XHR Request:
get(url, function(resp)(){ window.alert(resp); });
Source is minified.
0
966
posted 10 years ago by geneticcode
API Controller for Azure Mobile Services with DocumentDB as the backend.
0
954
posted 10 years ago by giventocode
Permet de préremplir des champs avec le premier et le dernier jour du mois courant au format jj/mm/aaaa
0
1179
posted 10 years ago by Igeco
Please visit http://pantuts.com/2014/09/21/quicknote-jquery-plugin/ for other included files and demos. Thanks
0
1020
posted 10 years ago by pantuts
This quick-start xhtml is fixed with
* `content`: zh-CN(simplified chinese)
* `charset`: utf8
**Strongly recommend**
Codes typed into a text file encoding with utf8
Before you applied xhtml codes, all you need to do is to repla...
1
1052
posted 10 years ago by jacktan
If you want to enable GII in your live server in YII you can do by following small steps.
0
757
posted 10 years ago by adesara_jaydeep
Méthode n'autorisant que les nombres (positifs/négatifs/décimaux avec virgules ou points) dans un champ
0
1034
posted 10 years ago by Igeco
N'autorise que les chiffres (avec , ou . ou négatifs) dans un input
0
971
posted 10 years ago by sebabarre
Using a combination of background and padding styles to modify the way list image styles are applied.
0
986
posted 10 years ago by bcounts