big bug ban

兴趣 创新 践行

oh..my school

 

看天使艾美丽的时候
突然想起我的母校….具体怎么的我也不太清楚
然后翻出仓库
ps了一张
虽然不是很好
但个人感觉还可以
至少很怀念~~

我一定会回来看你的~~~
时间再说…


关键字:

Written by princehaku

四月 25th, 2009 at 11:03 上午

124 views

Posted in things goes by

without comments

某天…某晚…

 

心情说不出来,有很多事。该发生的依然发生着,我依然只存在于在我的时间线上。期待于你再次相遇的那刻。虽明知那已不再可能。

黄黄,在天国还好么?我想你了,那天我又差点哭了,不过没有,我答应你我不再哭泣的,即使以失去笑容为代价。我也遵守约定。

ps:yellow is my dear pet…


关键字:

Written by princehaku

四月 21st, 2009 at 11:15 上午

106 views

Posted in things goes by

without comments

党建网.啊.党建网

 

很久很久以前..
接到个任务…做党建网
后台非常顺利的就搞定了..只用了不到一天多主体就
然后就是前台了..

弄死人啊…..

我和另个学长搞了两个多星期…拿去给老师看..

被打回

然后又改了一个多星期..总算过了…

然后把网站挂上去吧…要去找管理域名的那个老师

老师说的…."::这么丑!!!专业点嘛…这网站一看就不专业…你们拿去再改改吧…

于是直到现在都没搞定域名的事情….还就挂着这ip在做…哎..

今天把图片上传部分的后台写好了,…整个就算完工了…
界面也在学长的指导下换了下…现在差不多;了

找个时间吧域名得到吧…然后收工…..

perfect!!!!

万恶的党建网…..


关键字:

Written by princehaku

四月 20th, 2009 at 11:18 上午

102 views

Posted in technology

without comments

神奇的黑基~~~

 

黑基–黑客基地
以前在那里看了几个月
发了些东东
还申请了个blog..
最近回去看的时候发现流量超级恐怖..

现在我也不去黑基了,..当黑客也莫多大意思得
这blog就当中转站吧~~~嘿嘿


关键字:

Written by princehaku

四月 19th, 2009 at 11:58 上午

117 views

Posted in technology

without comments

我不想长大!!!

 

真的…我不想长大..

长大带给我的除了忧伤还有什么呢?
不知道..我真的不知道

或许长大了,懂事了
能明白了许多问题,
能理性的看待人生
明白了有的事情并不是就我可以该变的
心里面多装了些别人..少了些自己
多了些坚韧…少了些懦弱

但我确还想在心里多装点自己

我还想有人疼我
有人关心我

但已经失去温暖….


还想再能开心地笑笑

或者能痛快的哭一次

前几天又看了次千与千寻
又想再次回到那个纯真的年代

路..还很长
很长…

哎…

小时候总想着长大..
长大了确又不想长大…

窗外…
又下起了雨

未停…


关键字:

Written by princehaku

四月 17th, 2009 at 11:30 上午

114 views

Posted in things goes by

without comments

飞信炸弹v1.0做好咯~~(20090621修正V2.0)

 

现在时间…凌晨2:34
刚花了半个小时做了个这个东东~~
名曰飞信炸弹…其实也可以通用qq啊什么的

先简单的上几个图

图标….(网上找的)

简单的界面

下载地址(如果不能运行…请先装net framework2.0)

备用下载地址1(只有在我电脑打开的时候才能下)

(20090621path—2.0–输入法bug修正)
说明在文件夹里面

最后附上源代码~~~

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using System.IO;

namespace FetionBOBM
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}

private void button1_Click(object sender, EventArgs e)
{
if (this.richTextBox1.Text.ToString() == “”)
{
MessageBox.Show(“对不起..请输入要发送的话”);
}
else
{
//预处理vbs
setfile();
//将数据放入剪贴板
Clipboard.SetText(this.richTextBox1.Text.ToString());
//提示信息
MessageBox.Show(“按下确认键10秒后即开始发送~~\r\n在此时间内把光标移动到对话框内\r\n”);
//开始
startsend();
}
}
public int setfile()
{
//建立新文件
FileStream File=new FileStream(Application.StartupPath + “/temp.vbs”, FileMode.Create);
File.Close();
StreamWriter Wfile= new StreamWriter(Application.StartupPath + “/temp.vbs”);
//初始化
Wfile.WriteLine(“Dim WshShell\r\nSet WshShell=WScript.CreateObject(\”WScript.Shell\”)”);
//设定
Wfile.WriteLine(“WScript.Sleep 10000″);
Wfile.WriteLine(“for i=1 to ” + this.textBox1.Text.ToString());
Wfile.WriteLine(“WshShell.SendKeys \”^v\”");
Wfile.WriteLine(“WScript.Sleep ” + this.textBox2.Text.ToString());

Wfile.WriteLine(“WshShell.SendKeys \”{ENTER}\”");

Wfile.WriteLine(“WshShell.SendKeys \”^{ENTER}\”");

Wfile.WriteLine(“next”);
Wfile.Close();
return 1;
}
void startsend()
{
//调用此vbs
System.Diagnostics.Process.Start(Application.StartupPath + “/temp.vbs”);

}

private void linkLabel1_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
{
System.Diagnostics.Process.Start(“http://hi.baidu.com/baizhongwei”);

}
}
}

很短….也很简单….


关键字:

Written by princehaku

四月 16th, 2009 at 2:34 上午

129 views

Posted in technology

without comments

oh~~~no..

 

昏暗的天色
昏暗的心情

最近思绪有点混乱都不知道要做些什么好了=.=

哎…

或许我就不改编程的说…
越编感觉越孤独..

记得当初学编程就是因为孤独的说
还跑切参加比赛
三等奖….就三个人参加…

哎….


关键字:

Written by princehaku

四月 11th, 2009 at 7:49 上午

120 views

Posted in things goes by

without comments

c++课程设计..终于完成

 

下载地址::

WEGmanager.zip
这ftp貌似有点点问题…

就这几个..,,,图标还没换…改天多…

readfile.dll那个动态连接库是自己写的..
以前一直觉得写那个很麻烦..
….其实也不麻烦嘛….呵呵
启动截图
密码的加密是md6(原创哦~~~…其实就是3次md5加乱序….)
主界面
下面可以直接查询(ps:   access 的sql太麻烦咯….)
随便点个
网络查询主界面(相当陋….能用则行)(用浏览器打开)
结果的显示(更陋……)
第二次用c#写程序……也感觉学到了很多很多
终于觉得为什么vb简单了….是因为我熟练了….
等哪天有空再考虑转行c++咯…..
ps:网络模块被提出来,重新改了个,原程序内的也可继续使用,新的用于系统服务\
附录:源代码(部分)
主界面源码
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using System.Security.Cryptography;
using Readfile;
namespace My_project
{
     public partial class MainForm : Form
     {
         Readfile.Readfile rf = new Readfile.Readfile();
         public MainForm()
         {
             InitializeComponent();
         }
         public struct cell
         {
             public static int ColumnIndex;
             public static int RowIndex;
             public static string usertype;
         }
         private void userBindingNavigatorSaveItem_Click(object sender, EventArgs e)
         {
             //保存并重置数据单元
             this.Validate();
             this.userBindingSource.EndEdit();
             this.tableAdapterManager.UpdateAll(this.dataDataSet);
             this.LoadData();
         }
         //数据加密
         public static string GetMd6Str(string ConvertString)
         {
             MD5CryptoServiceProvider md5 = new MD5CryptoServiceProvider();
             string t2 = BitConverter.ToString(md5.ComputeHash(UTF8Encoding.Default.GetBytes(ConvertString)), 4, 8).Replace("-", "B");
             t2 += BitConverter.ToString(md5.ComputeHash(UTF8Encoding.Default.GetBytes(ConvertString)), 4, 8).Replace("-", "Z");
             t2 += BitConverter.ToString(md5.ComputeHash(UTF8Encoding.Default.GetBytes(ConvertString)), 4, 8).Replace("-", "W");
             return t2;
         }
         //填充数据库
         public void LoadData()
         {
             this.userTableAdapter.Fill (this.dataDataSet.user);
         }
         private void 删除ToolStripMenuItem_Click(object sender, EventArgs e)
         {
             foreach (DataGridViewCell c in userDataGridView.SelectedCells)
             {
                 if (c.RowIndex>=0) { this.userDataGridView.Rows.RemoveAt(c.RowIndex); }
             }
            
         }
         //设定当前单元格
         private void userDataGridView_CellMouseDown(object sender, DataGridViewCellMouseEventArgs e)
         {
             if (userDataGridView.SelectedCells.Count == 1 & e.ColumnIndex >= 0 & e.RowIndex >= 0 & e.Button==MouseButtons .Right)
             {
                 userDataGridView.CurrentCell = userDataGridView[e.ColumnIndex, e.RowIndex];
                
             }
         }
         private void 关于本程序ToolStripMenuItem_Click(object sender, EventArgs e)
         {
             AboutBox newabout= new AboutBox ();
             newabout.Show();
         }
         private void fwToolStripMenuItem_Click(object sender, EventArgs e)
         {
             groupBox3.Visible = true;
         }
         private void MainForm_FormClosed(object sender, FormClosedEventArgs e)
         {
             //终止所有线程并结束程序
             Application.Exit();
         }
         private void hideall()
         {
             //隐藏所有可能出现的窗体
             groupBox2.Visible = false;
             button1.Visible = false;
             groupBox1.Visible = false;
         }
         private void userDataGridView_CellDoubleClick(object sender, DataGridViewCellEventArgs e)
         {
             string[] data=new string[0];
             hideall();
             switch (e.ColumnIndex)
             {
                 //配额  
                 case 5:
                     groupBox1.Text = "用户配额";
                     //读取数据
                     data = userDataGridView.CurrentCell.Value.ToString().Split(‘|’);
                     if (data[0] != "")
                     {
                         water.Text = data[0];
                         elec.Text = data[1];
                         gas.Text = data[2];
                     }
                     else
                     {
                         water.Text = "0";
                         elec.Text = "0";
                         gas.Text = "0";
                     }
                     cell.ColumnIndex = e.ColumnIndex;
                     cell.RowIndex = e.RowIndex;
                     groupBox1.Visible = true;
                     button1.Visible=true;
                     //用户类型
                     cell.usertype = userDataGridView[e.ColumnIndex - 1, e.RowIndex].Value.ToString();
                     break;
                 //单价
                 case 6:
                     groupBox1.Text = "单价";
                     //读取数据
                     data = userDataGridView.CurrentCell.Value.ToString().Split(‘|’);
                     if (data[0] != "")
                     {
                         water.Text = data[0];
                         elec.Text = data[1];
                         gas.Text = data[2];
                     }
                     else
                     {
                         water.Text = "0";
                         elec.Text = "0";
                         gas.Text = "0";
                     }
                     cell.ColumnIndex = e.ColumnIndex;
                     cell.RowIndex = e.RowIndex;
                     groupBox1.Visible = true;
                     button1.Visible = true;
                     //用户类型
                     cell.usertype = userDataGridView[e.ColumnIndex - 2, e.RowIndex].Value.ToString();
                     break;
                 //使用
                 case 7:
                     groupBox1.Text = "已经使用";
                     //读取数据
                     data = userDataGridView.CurrentCell.Value.ToString().Split(‘|’);
                     if (data[0] != "")
                     {
                         water.Text = data[0];
                         elec.Text = data[1];
                         gas.Text = data[2];
                     }
                     else
                     {
                         water.Text = "0";
                         elec.Text = "0";

啊……..文章过长……..


关键字:

Written by princehaku

四月 10th, 2009 at 8:12 上午

222 views

Posted in c/c++

without comments

20081221-发布了!!

 

耗时一周的东西终于出来了…虽然还有一些bug…但是简单的应用没有问题了
这个东西就是!!!!!!!!!_———-web服务器————–!!!!!!!!!!!!!!
目前可以支持视频,音频,图片,文字,,,,,可以通过它建立你自己的web站点(html的)
而且加入了cgi支持…你可以使用他写php动态网页   程序里面有个例子

下载后点启动服务.然后在浏览器输入你的ip地址(开始-运行-cmd-ipconfig   就可以看到了)就可以访问…..也可输http://localhost访问本地…当然..如果你是外网ip..你可以把ip地址给你的朋友..让他们也可以看到你的网站

程序使用vb.NET 2005 建造 编译
源码就不放出了…应该没人需要吧……
在xpsp2和vista64下调试…目前已知bug如下:::::以后修复
1 ..xp下php无法连接至mysql
2 ..gd库产生的图像无法被正确识别(多了个数据头….如果清理了就可以了)
3 ..一些环境变量未写入…比如$_SERVER..基本都不能用…
4 ..如果同时传递post和get数据.将只有post输出
5 ..服务器的速度还有点慢.占系统资源还有点多.

bug好像有点多………讲究了——以后有时间再修补

最后是下载连接
http://www.rayfile.com/files/6c5af8a8-ceba-11dd-a7ae-0014221b798a/

(经确认还能下载….)

如果启动程序时显示错误…请先安装.NET frameWork2.0
下载地址http://www.microsoft.com/downloads/details.aspx?FamilyID=0856EACB-4362-4B0D-8EDD-AAB15C5E04F5&displaylang=zh-cn

最最后::::::::::::谨以此程序纪念逝去的18岁
最最最最后::::::::祝自己19岁快乐


关键字:

Written by princehaku

三月 12th, 2009 at 7:47 上午

119 views

Posted in technology

without comments

20090213–screendot发布!!!

 

今天在那儿做网站
想直接套用一个网站的横幅
然后捏
就需要他的宽和高..
虽然可以用photoshop或者qq测量…
但觉得有点麻烦
于是决定自己做个程序(虽然有这种程序了,但想练习下编程) 来测量屏幕上两点的距离
于是开始做….终于在53分钟25秒后搞定了主程序部分..然后做了下修改

使用说明:
1.运行它…..(它会在后台运行…你看不到滴)
2.然后按下ctrl和F3键….主界面出现
3.点击鼠标左键选取A点…然后再点击鼠标右键选取B点……A点可以重复选取..但只保留最后那个
4.然后你会发现结果已经出来了

再点下就可以复制到剪贴板咯
要重新开始的话就再按次ctrl+F3就可以了

下载地址:
已经挂了…..

ps:请不要乱动我的ftp……’_’


关键字:

Written by princehaku

三月 12th, 2009 at 7:45 上午

99 views

Posted in technology

without comments

Pages: Prev 1 2 3 ...11 12 13 14 15 16 17 18 19 20 21 Next