解决办法(不完美,至少比每次开机手工调亮度好。):
1.
代码:
sudo apt-get install xbacklight
2.
代码:
gnome-session-properties
3.
附件:
参考:http://www.maketecheasier.com/configure-screen-brightness-in-ubuntu/
...
分类:
系统相关 时间:
2015-08-18 22:55:49
阅读次数:
189
HttpClient的使用方法
实例解析:HttpClient的get,post的数据传输package com.example.httpclient;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.net.URLEncoder;
...
分类:
移动开发 时间:
2015-08-18 22:54:29
阅读次数:
175
// 第一部分为实体类 ,放属性及set,get方法
public class Book {
private String No;
private String name;
private String author;
private String pubDate;
private double price;
private int num; ...
分类:
其他好文 时间:
2015-08-18 21:25:59
阅读次数:
117
实例1.登录网易邮箱#coding=utf-8 fromseleniumimportwebdriver fromselenium.webdriver.common.keysimportKeys importtime driverr=webdriver.Firefox() driverr.get("w...
分类:
编程语言 时间:
2015-08-18 21:11:18
阅读次数:
180
jsonp下 跨域只能使用get 方式,这里不设置 默认为get $.ajax({
????url?:?‘http://xxx.xx.37.247‘,
????dataType?:?‘jsonp‘,
????jsonpCallback?:?‘myfn‘,?//请求成功后立即执行的方法
???...
分类:
Web程序 时间:
2015-08-18 19:54:36
阅读次数:
106
//force to show overflow menu in actionbar for android 4.4 belowprivate void getOverflowMenu() {try {ViewConfiguration config = ViewConfiguration.get(...
分类:
移动开发 时间:
2015-08-18 19:11:17
阅读次数:
141
php程序效率优化的一些策略小结1.在可以用file_get_contents替代file、fopen、feof、fgets等系列方法的情况下,尽量用 file_get_contents,因为他的效率高得多!但是要注意file_get_contents在打开一个URL文件时候的PHP版本问题;2.尽...
分类:
Web程序 时间:
2015-08-18 19:09:31
阅读次数:
133
#coding=utf-8from selenium import webdriverfrom selenium.webdriver.common.keys import Keysimport time#打开网址driver=webdriver.Firefox()driver.get("http:/...
分类:
编程语言 时间:
2015-08-18 18:42:08
阅读次数:
758
转自:http://www.cnblogs.com/bluefrog/archive/2012/03/01/2374922.htmlwget http://pecl.php.net/get/xhprof-0.9.2.tgztar zxf xhprof-0.9.2.tgzcd xhprof-0.9.2...
分类:
其他好文 时间:
2015-08-18 18:36:43
阅读次数:
132
// 发送模板消息function send_template_message($data,$appId,$appSecret){ $access_token = get_access_token($appId,$appSecret); $url = 'https://api.weixin....
分类:
微信 时间:
2015-08-18 18:34:58
阅读次数:
259