Welcome To Snipplr
Everyone's Recent Snippets
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
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
1366
posted 11 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
1544
posted 11 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
1505
posted 11 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
1276
posted 11 years ago by Adrianlynch
`mysql-dev.ini` can be used in a developing environment and put it in the Mysql Home dir
0
3600
posted 11 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
3458
posted 11 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
3612
posted 11 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
3556
posted 11 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
3733
posted 11 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
1449
posted 11 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
6310
posted 11 years ago by blackthorne
A simple function in Matlat to add the first k elements in an array
0
3727
posted 11 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
1260
posted 11 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
1201
posted 11 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
1670
posted 11 years ago by FlashBuddy
考虑到Fibonacci数列增长速度之快,返回值用long类型;如果long类型还ä¸å¤Ÿï¼Œä¸‹ä¸€æ¥è€ƒè™‘使用BigInteger类。
----
//TODO
* è¡¥å……ä¸¤ç§æ–¹æ³•的大O分æžå’Œæ€§èƒ½æµ‹è¯•
0
3370
posted 11 years ago by jacktan
Make a simple XHR Request:
get(url, function(resp)(){ window.alert(resp); });
Source is minified.
0
2310
posted 11 years ago by geneticcode
API Controller for Azure Mobile Services with DocumentDB as the backend.
0
2317
posted 11 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
2815
posted 11 years ago by Igeco
Please visit http://pantuts.com/2014/09/21/quicknote-jquery-plugin/ for other included files and demos. Thanks
0
1457
posted 11 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
3404
posted 11 years ago by jacktan
If you want to enable GII in your live server in YII you can do by following small steps.
0
1251
posted 11 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
2563
posted 11 years ago by Igeco
N'autorise que les chiffres (avec , ou . ou négatifs) dans un input
0
2469
posted 11 years ago by sebabarre
Using a combination of background and padding styles to modify the way list image styles are applied.
0
2375
posted 11 years ago by bcounts
List of websites I should follow to keep an eye on Javascript development.
0
1049
posted 11 years ago by bboydflo