posted @ 2016-12-24 16:47
夜歌乘年少
阅读(1)
推荐(0)
posted @ 2016-12-19 16:48
夜歌乘年少
阅读(1)
推荐(0)
摘要:
compizconfig-settings-manager http://blog.csdn.net/wdjhzw/article/details/39136057
阅读全文
posted @ 2016-12-17 23:52
夜歌乘年少
阅读(1407)
推荐(0)
摘要:
apt-get install qemu-kvm ubuntu-vm-builder bridge-utils http://www.linuxidc.com/Linux/2016-06/132188.htm http://www.cnblogs.com/ccskun/p/5527014.html
阅读全文
posted @ 2016-12-17 22:08
夜歌乘年少
阅读(528)
推荐(0)
posted @ 2016-12-17 15:06
夜歌乘年少
阅读(1)
推荐(0)
摘要:
http://zydhacker.blog.163.com/blog/static/211795073201447337920/
阅读全文
posted @ 2016-12-17 13:59
夜歌乘年少
阅读(126)
推荐(0)
posted @ 2016-12-16 15:12
夜歌乘年少
阅读(1)
推荐(0)
posted @ 2016-12-15 20:27
夜歌乘年少
阅读(1)
推荐(0)
摘要:
tuple([iterable]) Return a tuple whose items are the same and in the same order as iterable‘s items. iterable may be a sequence, a container that supp
阅读全文
posted @ 2016-12-14 17:59
夜歌乘年少
阅读(755)
推荐(0)
摘要:
Return a list of the words of the string s. If the optional second argument sep is absent or None, the words are separated by arbitrary strings of whi
阅读全文
posted @ 2016-12-14 17:52
夜歌乘年少
阅读(641)
推荐(0)
摘要:
control /name Microsoft.Personalization /page pageWallpaper // 该功能在WIN8中存在,但是微软在WIN10中取消了它(取消了双屏单独设置墻纸) 如果按照楼上复制粘贴的方法,唯一的结果就是把墻纸设置成幻灯片模式,两个屏幕一会儿就换一张墻纸
阅读全文
posted @ 2016-12-07 19:59
夜歌乘年少
阅读(1536)
推荐(0)
摘要:
http://www.h3c.com.cn/Solution/Smart_Network/SDN/ http://network.51cto.com/network/content2013/SDNkepu/ 51CTO
阅读全文
posted @ 2016-09-26 11:59
夜歌乘年少
阅读(152)
推荐(0)
摘要:
色域(CIE1931)=ABS(RC[-6]*RC[-3]+RC[-4]*RC[-1]+RC[-2]*RC[-5]-RC[-6]*RC[-1]-RC[-4]*RC[-5]-RC[-2]*RC[-3])/2
阅读全文
posted @ 2016-09-25 22:10
夜歌乘年少
阅读(12334)
推荐(0)
摘要:
http://jingyan.baidu.com/article/922554468a3466851648f419.html
阅读全文
posted @ 2015-06-13 21:55
夜歌乘年少
阅读(684)
推荐(0)
摘要:
杨一笑,号凌虚子,又号一瓢道人。生卒年不详,宋神宗时期人氏,自云春分时所生。其人高逸不凡,狷狂放达,学识博杂,行事怪僻,每多奇谈异论。时人以之为异,是以为作传以记之。[杨一笑传]杨一笑者,不详其姓字,亦不知其何许人也。其人常蓬头垢面,衣若悬鹑而怡然自得于市井之间,人异之而求其名,但自称杨一笑也。 尝...
阅读全文
posted @ 2015-06-07 13:37
夜歌乘年少
阅读(5203)
推荐(0)
摘要:
//key is -3#includeint main(){ char s[]="wklv phvvdjh lv qrw wrr kdug wr"; for(int j=0;j<26;j++) { for(int i =0;;i++) { char c=s[i]; if(c=='\0')...
阅读全文
posted @ 2015-05-19 20:21
夜歌乘年少
阅读(594)
推荐(0)
摘要:
//添加appinstallagent无效的方法http://jingyan.baidu.com/article/e52e3615a2b38f40c60c51d3.html
阅读全文
posted @ 2015-05-08 09:23
夜歌乘年少
阅读(163)
推荐(0)
摘要:
今天手贱startx然后虚拟机就卡死了,再开输过密码就无限跳到登陆界面,其他账户可用。怀疑/home未挂载。解决方法:(alf改成你的用户名)$ cd ~$ sudo chown alf:alf.Xauthority然后再次输入:ls .Xauthority -l成功后显示如下:-rw-------...
阅读全文
posted @ 2015-05-06 18:35
夜歌乘年少
阅读(1787)
推荐(0)
摘要:
//先导入gson到lib,add build path//2015年5月5日22:02:37package com.alfredsun.thread;import com.google.gson.JsonObject;public class test { public static void ...
阅读全文
posted @ 2015-05-05 22:03
夜歌乘年少
阅读(315)
推荐(0)
摘要:
//2015年5月5日16:55:00//Mainpackage com.alfredsun.thread;public class Main { public static void main(String[] args) { // TODO Auto-generated method stub...
阅读全文
posted @ 2015-05-05 16:56
夜歌乘年少
阅读(276)
推荐(0)
摘要:
//2015年5月2日19:40:02alf@alf-virtual-machine:~/Git/repository$ vim readme.txtalf@alf-virtual-machine:~/Git/repository$ git add readme.txtalf@alf-virtual...
阅读全文
posted @ 2015-05-02 19:44
夜歌乘年少
阅读(273)
推荐(0)
摘要:
//文件操作//2015年4月30日15:40:21package com.alfredsun.first.main;import java.io.File;import java.io.IOException;public class test { public static void main(...
阅读全文
posted @ 2015-04-30 15:41
夜歌乘年少
阅读(185)
推荐(0)
摘要:
//东软实训前,要把java 看完。//2015年4月29日21:44:13//list01package com.alfredsun.first.main;import java.util.ArrayList;import java.util.List;public class test { pu...
阅读全文
posted @ 2015-04-29 21:22
夜歌乘年少
阅读(203)
推荐(0)
摘要:
using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;u...
阅读全文
posted @ 2015-04-28 11:41
夜歌乘年少
阅读(293)
推荐(0)
摘要:
using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;using System.IO;namespace 文件转换{ clas...
阅读全文
posted @ 2015-04-22 21:18
夜歌乘年少
阅读(246)
推荐(0)
摘要:
using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;u...
阅读全文
posted @ 2015-04-21 15:19
夜歌乘年少
阅读(230)
推荐(0)
摘要:
using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;namespace 课本习题{ public class Animal ...
阅读全文
posted @ 2015-04-21 12:31
夜歌乘年少
阅读(215)
推荐(0)
摘要:
原文地址:http://blog.csdn.net/sky___ice/article/details/11533321Form1.Designer.cs:////Form1// this.MouseDown += new System.Windows.Forms.MouseE...
阅读全文
posted @ 2015-04-17 19:27
夜歌乘年少
阅读(1260)
推荐(0)
摘要:
//加入的拖拽属性失败,dropenter声明方法待查。using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using Sys...
阅读全文
posted @ 2015-04-14 14:58
夜歌乘年少
阅读(317)
推荐(0)
摘要:
#include#include#include#include using namespace std;class CShape{public: virtual double Area() = 0;//pure virtual fun virtual void PrintInfo()= 0;};c...
阅读全文
posted @ 2015-04-13 20:48
夜歌乘年少
阅读(200)
推荐(0)
摘要:
#includeusing namespace std;class Base{ public: int n; Base(int i):n(i) { cout<<"Base "<<n<<" constructed"<<endl; } ~Base(){ cout<<"Base "<<n...
阅读全文
posted @ 2015-04-13 14:35
夜歌乘年少
阅读(220)
推荐(0)
摘要:
//人狗关系#includeusing namespace std;class Cmaster;class Cdog{ Cmaster *pm;};class Cmaster{ Cdog *dogs[10]; };int main(){ Cmaster alf;}
阅读全文
posted @ 2015-04-13 11:33
夜歌乘年少
阅读(177)
推荐(0)
摘要:
//CanBaoYan。。//考虑到明年还要水蓝桥杯,还是学学c++把#includeusing namespace std;class CStudent{ private: string sName; int nAge; public: bool IsThreeGood(){cou...
阅读全文
posted @ 2015-04-11 22:30
夜歌乘年少
阅读(168)
推荐(0)
摘要:
没做完,先搞答题了#include #include#includeint comp(const void *a,const void *b){ return *(int*)a-*(int*)b;}int main(){ //----part1 for(int i=100;i1000&&sumi...
阅读全文
posted @ 2015-04-10 20:24
夜歌乘年少
阅读(577)
推荐(0)
摘要:
//主要是要找到f(n)=2*f(n-1)-1的规律.#include #include int f(int n){ if(n==0) return 2; else return 2*f(n-1)-1;}int main(){ printf("%d",f(10));}
阅读全文
posted @ 2015-04-10 17:33
夜歌乘年少
阅读(281)
推荐(0)
摘要:
//迭代公式不是很理解,写出来算了。。#include #include int main(){ double x0,x1; int a; scanf("%d",&a); x0=a/2; x1=(x0+a/x0)/2; while(fabs(x0-x1)>=1e-...
阅读全文
posted @ 2015-04-10 17:12
夜歌乘年少
阅读(377)
推荐(0)
摘要:
//C代码简直难看到家,求大神知道如何写出复用性好的,维护性强的代码。。。//格式错误了好几次,最后发现是are和数字之间多了个空格。。。。。。本来一直以为是最后的换行多了,费劲搞掉了。#include#includeint main(){ int n,temp; scanf("%d",&n); f...
阅读全文
posted @ 2015-04-10 16:51
夜歌乘年少
阅读(331)
推荐(0)
摘要:
之前没做对的一道题,今天集中清理一下。//-------------------很水的题,主要是 %.2lf不能四舍五入,需要仅保留两位小数,用了丑陋的强制类型转换。。。//------------------#include#define PI 3.14int main(){ double r,h...
阅读全文
posted @ 2015-04-10 16:15
夜歌乘年少
阅读(673)
推荐(0)
摘要:
在c#中有两种方式可以输出多个字符其中的一种:static void Main() { string c=Console.ReadLine(); string d=Console.ReadLine(); Console.WriteLine(c+","+d); //用“+”连接符 }那么你说这样写很容...
阅读全文
posted @ 2015-03-24 20:55
夜歌乘年少
阅读(981)
推荐(0)
摘要:
/*你看哪里有个小鸡呦1你看那里他有小鸡哟小鸡哔哔-bi-哟小鸡哔哔哔哔-bi-哟小鸡哔哔-bi-哟小鸡哔哔哔哔-bi-哟小鸡哔哔-bi-哟小鸡哔哔哔哔-bi-哟//---------------------------你看那里又有母鸡哟2你看那里又有母鸡哟母鸡咯咯咯咯咯咯-go-小鸡哔哔哔哔-bi...
阅读全文
posted @ 2015-02-08 23:04
夜歌乘年少
阅读(310)
推荐(0)