码迷,mamicode.com
首页 >  
搜索关键字:share print    ( 49564个结果
lua 根据函数名字符串来执行函数
function myfunction(msg) print("this is msg fun " .. msg);endlocal fun =_G["myfunction"];if fun then fun("is ok");end
分类:其他好文   时间:2014-05-09 04:18:05    阅读次数:1155
SAP smartforms之Zebra print control language
因为在做个小标签的时候需要将部分字符旋转180度,在scn上找了很久也发布了自己的提问,不过最终的结果却不尽人意。Rotated text in smartforms need use the PCL to control the printer,But part of our printers w...
分类:其他好文   时间:2014-05-08 22:32:20    阅读次数:471
Ubuntu安装TTF字体
$sudocp *.ttf/usr/share/fonts/truetype/$sudofc-cache-f-v
分类:其他好文   时间:2014-05-08 17:46:12    阅读次数:250
微信订阅号开发笔记(五)
1、用户管理//查询所有分组 publicfunctionqueryGroups(){ $url="https://api.weixin.qq.com/cgi-bin/groups/get?access_token="; $url.=$this->getacctoken(); $result=$this->cget($url); header("Content-type:text/html;charset=utf-8"); print_r($result); } //创建..
分类:微信   时间:2014-05-08 16:45:04    阅读次数:726
Linux常用
使用shell判断系统时区if[[!`grep-aCST-8/etc/localtime`]];then rm-rf/etc/localtime ln-s/usr/share/zoneinfo/Asia/Shanghai/etc/localtime fiNginx日志切割脚本#!/bin/bash logs_path="/alidata/server/log/nginx/" mv${logs_path}access.log${logs_path}access_$(date-d"ye..
分类:系统相关   时间:2014-05-08 16:41:18    阅读次数:403
debug
find . -xtype f -perm +111 -print0 | xargs -0 file | grep "ELF"
分类:其他好文   时间:2014-05-08 14:54:59    阅读次数:254
boost::bind实践2——来自《Beyond the C++ Standard Library ( An Introduction to Boost )》
直接代码:代码段1: 1 #include 2 #include 3 #include 4 5 class some_class 6 { 7 public: 8 typedef void result_type; 9 void print_string(const ...
分类:编程语言   时间:2014-05-08 09:49:53    阅读次数:368
Linux下获得CPU的信息
1、查看物理cpu个数 cat /proc/cupinfo |grep 'physical id'|sort|uniq|wc -l 2、查看一个cpu的物理核数 cat /proc/cupinfo |grep 'core id'|sort|uniq -c|wc -l 或 cat /proc/cupinfo |grep 'cpu cores'|uniq|awk -F ":" '{print...
分类:系统相关   时间:2014-05-08 04:07:55    阅读次数:483
Java语言程序设计基础篇 循环(四)
①打印:***************for(intx=1;x<=5;x++){ for(inty=x;y<=5;y++){ System.out.print("*");//向下一般的格式for(inty=x;y<=5;y++) } System.out.println(); }②打印:***************for(intx=1;x<=5;x++){ for(inty=1;y<=x;y++){ System.out.print("*");//..
分类:编程语言   时间:2014-05-08 03:41:13    阅读次数:295
Ubuntu彻底删除软件及配置文件
1.sudoapt-getpurgeg++nloadgdbmakenginxphp5-fpmphp5-cliphp5-mysqlndphp5-jsonphp5-curlphp5-gdphp5-mcryptmysql-serverspawn-fcgi2.sudoapt-getautoremove3.sudoapt-getautoclean4.sudoapt-getclean5.dpkg-l|grep^rc|awk‘{print$2}‘|sudoxargsdpkg-P参考:http://zhidao.bai..
分类:其他好文   时间:2014-05-08 02:51:54    阅读次数:321
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!