这个小工具的目的是将淘宝卖家的店铺网址、出售的商品网址自动转换为二维码,并提供方便易用的分享工具,将二维码分享到各个流行的社交网络平台上,提升店铺或商品的流量,达到提升销量的目的。
- 店铺网址二维码
- 店铺名片vcard格式二维码
- 在售商品网址二维码
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width"> | |
<script src="https://code.jquery.com/jquery-2.2.4.js"></script> | |
<script src="https://npmcdn.com/parse/dist/parse.js"></script> | |
<title>JS Bin</title> | |
</head> | |
<body> |
#!/bin/bash | |
mkdir -p out | |
for img in `grep image $1| sed -e 's/^.*image\: //g'`; | |
do | |
cleanname=${img/\//-} | |
tag=`docker images | grep $img | awk '{print $2}'` | |
echo "Exporting image: $img, tag:$tag ($cleanname)..." | |
docker save $img -o out/$cleanname.tar |
#!/bin/bash | |
# | |
# Carries out a full mysqldump, calls percona-xtrabackup and then | |
# copies the sql dump, the percona backup and your mysql bin logs | |
# to S3 using s3cmd http://s3tools.org/s3cmd | |
# | |
# TODO: extract out the S3 backup stuff to make it optional, and so | |
# other s3 programs can replace the s3cmd call. | |
# TODO: the if [ $? == 0 ] alert blocks should be a function | |
# TODO: make the if [ $? == 0 ] if [ $? != 0 ] more consistent - test |
" copy all this into a vim buffer, save it, then... | |
" source the file by typing :so % | |
" Now the vim buffer acts like a specialized application for mastering vim | |
" There are two queues, Study and Known. Depending how confident you feel | |
" about the item you are currently learning, you can move it down several | |
" positions, all the way to the end of the Study queue, or to the Known | |
" queue. | |
" type ,, (that's comma comma) |
#!/bin/sh | |
# | |
# gunicorn_sr Startup script for gunicorn for sr | |
# | |
# chkconfig: - 86 14 | |
# processname: gunicorn | |
# pidfile: | |
# description: Python application server in ubuntu | |
# | |
### BEGIN INIT INFO |
#!/bin/sh | |
# Ref: http://ubuntuforums.org/showthread.php?t=1751455 | |
# Uninstall PIL | |
# sudo pip uninstall PIL -q | |
# Install required libs | |
yes | apt-get install build-essential python-dev zlib1g-dev liblcms1-dev libjpeg8 libjpeg62-dev libfreetype6 libfreetype6-dev | |
# Link to correct location |
这个小工具的目的是将淘宝卖家的店铺网址、出售的商品网址自动转换为二维码,并提供方便易用的分享工具,将二维码分享到各个流行的社交网络平台上,提升店铺或商品的流量,达到提升销量的目的。
- 店铺网址二维码
- 店铺名片vcard格式二维码
- 在售商品网址二维码
adduser lmis
passwd lmis