Random Posts

Blog

Online free creat QR API – support http and https

支持http的: http://b.bshare.cn/barCode?site=weixin&url=http://www.calf.one http://s.jiathis.com/qrcode.php?url=http://www.calf.one http://qr.liantu.com/api.php?text=www.calf.one http://api.k780.com:88/?app=qr.get&data=www.calf.one&level=L&size=6 百度云盘:http://pan.baidu.com/share/qrcode?w=150&h=150&url=www.calf.one 支持https的: 国外:https://api.qrserver.com/v1/create-qr-code/?size=150×150&data=www.calf.one #虽说是国外的,速度也很快! 百度云盘:https://pan.baidu.com/share/qrcode?w=150&h=150&url=www.calf.one 请将网址www.calf.one换成自己的。

Blog

Pellentesque Cursus Venenatis Sit

Donec sed odio dui. Duis mollis, est non commodo luctus, nisi erat porttitor ligula, eget lacinia odio sem nec elit. Sed posuere consectetur est at lobortis. Nulla vitae elit libero, a pharetra augue. Donec ullamcorper nulla non metus auctor fringilla. Donec id elit non mi porta gravida at eget metus. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus.Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam porta sem malesuada magna mollis euismod. Aenean eu leo quam. Donec id elit non mi porta gravida at eget metus. Aenean lacinia bibendum nulla sed…

Politics

HTC One X great review from anandtech

Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Nam cursus. Morbi ut mi. Nullam enim leo, egestas id, condimentum at, laoreet mattis, massa. Sed eleifend nonummy diam. Praesent mauris ante, elementum et, bibendum at, posuere sit amet, nibh. Duis tincidunt lectus quis dui viverra vestibulum. Suspendisse vulputate aliquam dui. Nulla elementum dui ut augue. Aliquam vehicula mi at mauris. Maecenas placerat, nisl at consequat rhoncus, sem nunc gravida justo, quis eleifend arcu velit quis lacus. Morbi magna magna, tincidunt a, mattis non, imperdiet vitae, tellus. Sed odio est, auctor ac, sollicitudin in, consequat vitae, orci. Fusce id felis. Vivamus sollicitudin…

Blog

亚马逊AWS Ubuntu架设VPN

更新源 sudo apt-get update 安装PPTP sudo apt-get install pptpd 修改配置文件 sudo vi  /etc/pptpd.conf 修改localiph和remoteip 编辑DNS sudo vi /etc/ppp/pptpd-option 建立VPN 用户名和密码 sudo vi /etc/ppp/chap-secrets 加入一行(格式为:用户名 服务器名 密码 IP) user * password * 重启服务 sudo /init.d/pptpd restart 修改ipv4转发 sudo vi /etc/sysctl.conf 去掉 net.ipv4.ip_forward=1这行前面的注释符号“#”。 使配置生效: sudo sysctl -p 安装iptables (默认一般已经安装 ) sudo apt-get install iptables 修改 /etc/rc.local文件, 在exit 0之前添加以下语句: iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE 最后重启下服务器 sudo reboot 等重启的空档,设置一个VPN连接 连接成功,ping一下Google等网站,那流畅,那酸爽!   最后是EC2里面的防火墙设置(安全组):

Blog

WordPress plugin Qtranslate usage

Call language switch button: use below codes for call a language switch button to website any site: <?php echo qtrans_generateLanguageSelectCode(‘both’); ?> WP site title multi-language: change title: ⌈:zh⌋站点标题⌈:en⌋Sitename //use [] replace ⌈⌋ 2. modify header.php, find bloginfo( ‘name’ ); change to echo _e(apply_filters(‘ ‘, bloginfo( ‘name’ ))); WP custom sub-domain multi-language <?php echo get_post_meta(get_the_ID(), “price”, true);?> change to <?php echo _e(apply_filters(‘ ‘, _(get_post_meta($post->ID, ‘price’, true)))); ?> WP home menu multi-language <ul><li><a href=”<?php bloginfo(‘url’);?>”><?php _e(“<!–:zh–>首页<!–:–><!–:en–>Home<!–:–>”);?></a></li></ul> WP LOGO multi-language Codes: <?php if(qtrans_getLanguage()==’zh’): ?> 中文内容 <?php endif; ?> <?php if(qtrans_getLanguage()==’en’): ?> 英文内容 <?php endif; ?> From: http://www.xuewangzhan.net/cj/6739.html

Blog

Fermentum Tortor Magna

Donec sed odio dui. Duis mollis, est non commodo luctus, nisi erat porttitor ligula, eget lacinia odio sem nec elit. Sed posuere consectetur est at lobortis. Nulla vitae elit libero, a pharetra augue. Donec ullamcorper nulla non metus auctor fringilla. Donec id elit non mi porta gravida at eget metus. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus.Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam porta sem malesuada magna mollis euismod. Aenean eu leo quam. Donec id elit non mi porta gravida at eget metus. Aenean lacinia bibendum nulla sed…

Gadget reviews

Nokia Lumia 800 & 710, Windows Phones Announced

Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Nam cursus. Morbi ut mi. Nullam enim leo, egestas id, condimentum at, laoreet mattis, massa. Sed eleifend nonummy diam. Praesent mauris ante, elementum et, bibendum at, posuere sit amet, nibh. Duis tincidunt lectus quis dui viverra vestibulum. Suspendisse vulputate aliquam dui. Nulla elementum dui ut augue. Aliquam vehicula mi at mauris. Maecenas placerat, nisl at consequat rhoncus, sem nunc gravida justo, quis eleifend arcu velit quis lacus. Morbi magna magna, tincidunt a, mattis non, imperdiet vitae, tellus. Sed odio est, auctor ac, sollicitudin in, consequat vitae, orci. Fusce id felis. Vivamus sollicitudin…

Gadget reviews

The Clover Trail (Atom Z2760) Review: Acer’s W510 Tested

Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Nam cursus. Morbi ut mi. Nullam enim leo, egestas id, condimentum at, laoreet mattis, massa. Sed eleifend nonummy diam. Praesent mauris ante, elementum et, bibendum at, posuere sit amet, nibh. Duis tincidunt lectus quis dui viverra vestibulum. Suspendisse vulputate aliquam dui. Nulla elementum dui ut augue. Aliquam vehicula mi at mauris. Maecenas placerat, nisl at consequat rhoncus, sem nunc gravida justo, quis eleifend arcu velit quis lacus. Morbi magna magna, tincidunt a, mattis non, imperdiet vitae, tellus. Sed odio est, auctor ac, sollicitudin in, consequat vitae, orci. Fusce id felis. Vivamus sollicitudin…

Blog

修改小工具中’功能’的内容

编辑wordpress目录下(从根目录开始依次展开)wp-includes//widgets/class-wp-widget-meta.php文件,修改类WP_Widget_Meta 的widget()方法。假如想在列表项中添加站点地图的链接: 原始内容: <?php wp_register(); ?>  <li><?php wp_loginout(); ?></li>  <li><a href=“<?php echo esc_url(‘/xmlsitemap.xml’); ?>” target=“_blank”>站点地图</a></li>  <li><a href=“<?php echo esc_url( get_bloginfo( ‘rss2_url’ ) ); ?>”><?php _e(‘Entries <abbr title=”Really Simple Syndication”>RSS</abbr>’); ?></a> </li>  <li><a href=“<?php echo esc_url( get_bloginfo( ‘comments_rss2_url’ ) ); ?>”><?php _e(‘Comments <abbr title=”Really Simple Syndication”>RSS</abbr> ‘); ?></a></li> 添加此行内容:  <li><a href=“<?php echo esc_url(‘/xmlsitemap.xml’); ?>” target=“_blank”>站点地图</a></li> 修改后:  <?php wp_register(); ?>  <li><?php wp_loginout(); ?></li>  <li><a href=“<?php echo esc_url(‘/xmlsitemap.xml’); ?>” target=“_blank”>站点地图</a></li> //添加的内容  <li><a href=“<?php echo esc_url( get_bloginfo( ‘rss2_url’ ) ); ?>”><?php _e(‘Entries <abbr title=”Really Simple Syndication”>RSS</abbr>’); ?></a> </li>  <li><a href=“<?php echo esc_url( get_bloginfo( ‘comments_rss2_url’ ) ); ?>”><?php _e(‘Comments <abbr title=”Really Simple Syndication”>RSS</abbr> ‘); ?></a></li>

Blog

This is Just a Single Clean Post

Donec sed odio dui. Duis mollis, est non commodo luctus, nisi erat porttitor ligula, eget lacinia odio sem nec elit. Sed posuere consectetur est at lobortis. Nulla vitae elit libero, a pharetra augue. Donec ullamcorper nulla non metus auctor fringilla. Donec id elit non mi porta gravida at eget metus. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus.Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam porta sem malesuada magna mollis euismod. Aenean eu leo quam. Donec id elit non mi porta gravida at eget metus. Aenean lacinia bibendum nulla sed…

About games

Google Nexus 7 and Android 4.1 – Mini Review

Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Nam cursus. Morbi ut mi. Nullam enim leo, egestas id, condimentum at, laoreet mattis, massa. Sed eleifend nonummy diam. Praesent mauris ante, elementum et, bibendum at, posuere sit amet, nibh. Duis tincidunt lectus quis dui viverra vestibulum. Suspendisse vulputate aliquam dui. Nulla elementum dui ut augue. Aliquam vehicula mi at mauris. Maecenas placerat, nisl at consequat rhoncus, sem nunc gravida justo, quis eleifend arcu velit quis lacus. Morbi magna magna, tincidunt a, mattis non, imperdiet vitae, tellus. Sed odio est, auctor ac, sollicitudin in, consequat vitae, orci. Fusce id felis. Vivamus sollicitudin…

Gadget reviews

Acer W510 Hands On and review

Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Nam cursus. Morbi ut mi. Nullam enim leo, egestas id, condimentum at, laoreet mattis, massa. Sed eleifend nonummy diam. Praesent mauris ante, elementum et, bibendum at, posuere sit amet, nibh. Duis tincidunt lectus quis dui viverra vestibulum. Suspendisse vulputate aliquam dui. Nulla elementum dui ut augue. Aliquam vehicula mi at mauris. Maecenas placerat, nisl at consequat rhoncus, sem nunc gravida justo, quis eleifend arcu velit quis lacus. Morbi magna magna, tincidunt a, mattis non, imperdiet vitae, tellus. Sed odio est, auctor ac, sollicitudin in, consequat vitae, orci. Fusce id felis. Vivamus sollicitudin…

calf-blog-top