随笔分类 -  开发相关

上一页 1 2 3 下一页
主要是各种开发语言遇到的问题
学习vue第一天--我的第一个vue页面
摘要:原型来自 https://www.runoob.com/try/try-cdnjs.php?filename=vue2-hw 扒到了本地,文件名firstvue.html,内容如下 <!DOCTYPE html><html><head><meta charset="utf-8"><title>myf 阅读全文
posted @ 2020-04-28 16:29 子虚乌有 阅读(511) 评论(0) 推荐(0)
关于excel发送邮件的VBA
摘要:财务希望excel自动发送邮件,从网上找的一些初始代码,做了如下修改: 1.表头和表内容采用动态获取 2.用的是腾讯企业邮箱 3不需要SMTP服务器密码,只需要邮箱密码即可 代码如下,邮箱地址请自己填写 Private Sub CommandButton1_Click() Dim CDOMail A 阅读全文
posted @ 2020-01-17 15:13 子虚乌有 阅读(1113) 评论(0) 推荐(0)
python打印自我
摘要:第一种方法取巧 import sysf_name = sys.argv[0]with open(f_name,'r',encoding='utf-8') as f: content = f.read() print(content) 直接读原文件 第二种,经典方法,利用字符串 p = "p = %c 阅读全文
posted @ 2019-09-04 15:01 子虚乌有 阅读(331) 评论(0) 推荐(0)
使用Django初步
摘要:使用Django初步1.下载python https://www.python.org/downloadsdjango https://djangoproject.com/download从https://pypi.org/project 可以下载依赖的包2.安装安装的时候提示缺少什么包,就从htt 阅读全文
posted @ 2019-08-27 15:24 子虚乌有 阅读(2585) 评论(0) 推荐(0)
Consistent HASH(自己读后理解)
摘要:一致性HASH, 作用在于当有服务器实效的情况下,保持CACHE的一致性.避免引起大量读CACHE失效. 假设服务部分的架构如下: appServer(10台) servicesServer(3台) Database(2台 master,slave) servicesServer有相关用户数据的CA 阅读全文
posted @ 2014-02-19 16:17 子虚乌有 阅读(384) 评论(0) 推荐(0)
Execute CMD in the C# program
摘要:public static bool TestComand(string command, ref string outmessage) { string mypath = System.AppDomain.CurrentDomain.BaseDirectory; string parameter = " -help"; ... 阅读全文
posted @ 2013-11-12 19:33 子虚乌有 阅读(364) 评论(0) 推荐(0)
A simple control and client
摘要:clietn : socket class : config : 阅读全文
posted @ 2013-08-12 14:54 子虚乌有 阅读(193) 评论(0) 推荐(0)
perl --Recursion find folder and file
摘要:1 c:\Perl\bin\perl.exe findfile.pl #!/usr/perl/bin/perl ##C:\\MIG-WORK\\Research\\SPOOL\\main open(OFH, ">C:\\MIG-WORK\\Research\\SPOOL\\result.txt") || die("cna't open the file\n"); open(SOFH, ">C:... 阅读全文
posted @ 2013-04-11 13:40 子虚乌有 阅读(2124) 评论(0) 推荐(0)
Average Time Perl
摘要:#!/usr/perl/bin/perl open(FHD, "C:\\wflogs\\WorkflowServerLog.txt") || die("can't open the file\n"); open(OFH, ">c:\\wflogs\\AverageTimeLog.txt") || d 阅读全文
posted @ 2012-12-25 14:11 子虚乌有 阅读(315) 评论(0) 推荐(0)
TestHashStruct for windows Perl
摘要:#!/usr/perl/bin/perl#open(FHD, "c:\\test\\test.txt") || die("cna't open the file\n"); my %hash; $hash{1} = {name=> 'mm1', age=> 18, sex=>'female'}; $h 阅读全文
posted @ 2012-12-25 14:06 子虚乌有 阅读(115) 评论(0) 推荐(0)
System.decimal precision
摘要:About Decimal value and precision:Decimal number Decimal System. Decimal 16bytes valus:-79228162514264337593543950335to 79228162514264337593543950335  阅读全文
posted @ 2012-08-30 09:40 子虚乌有 阅读(534) 评论(0) 推荐(0)
Delphi2 : learn procedure
摘要://for delphi security install package[Fatal Error] Required package 'madSecurity_' not foundhttp://www.madshi.net/olddlp7.htm learn procedure procedur 阅读全文
posted @ 2012-05-29 14:29 子虚乌有 阅读(184) 评论(0) 推荐(0)
Learn Delphi 1(record and function)
摘要:program Project2;{$APPTYPE CONSOLE}uses SysUtils;type weekname = record chname:string; enname:string; end;const chnamearray: array[1..7]of string =('c 阅读全文
posted @ 2012-05-29 09:49 子虚乌有 阅读(165) 评论(0) 推荐(0)
Temp for RSA
摘要:sorry for in #include "bigint.h" #include "prime.h" #include "rsa.h" #include void ShowBigInt(gBigInt *num); int main() { gBigInt n,e,d; //gGenerateKe 阅读全文
posted @ 2012-03-07 16:03 子虚乌有 阅读(198) 评论(0) 推荐(0)
Init DropList and Multi-level interaction
摘要:DropDownList dl = sender as DropDownList;string GroupID = dl.SelectedValue; about multi-level interaction ,we may add some cache, not every time selec 阅读全文
posted @ 2012-03-06 15:33 子虚乌有 阅读(285) 评论(0) 推荐(0)
Simple connect to sql server
摘要:using System;using System.Collections.Generic;using System.Web;using System.Data;using System.Data.SqlClient; /// <summary>/// Summary description for 阅读全文
posted @ 2012-03-06 15:25 子虚乌有 阅读(236) 评论(0) 推荐(0)
Call function with wrong order parameters
摘要:Today, i made a mistake, when i call a function, pass the wrong order of the parameters, such as ShowReport(GroupID, ClassID,ProcessID);but when i use 阅读全文
posted @ 2012-03-06 14:45 子虚乌有 阅读(176) 评论(0) 推荐(0)
Give a simple result about crystal report
摘要:since learn crystal report three weeks,i meet some problem1. first was always show one row data, because i put feilds wrong area, not details but page 阅读全文
posted @ 2012-02-27 17:18 子虚乌有 阅读(194) 评论(0) 推荐(0)
Records for semicolon & licenses in oracle excute
摘要:not set semicolon in the end, error: ORA-00911: invalid character add licenses.licx for devart, platform must x86 , if use any cpu, the oci.dll path w 阅读全文
posted @ 2012-02-09 17:02 子虚乌有 阅读(306) 评论(0) 推荐(0)
Copy a DataRow in old DataTable to a new DataTable
摘要:DataTable dataTable = CommonCode.GetCheckData(); DataTable nds = new DataTable(); for (int index = 0; index < dataTable.Rows.Count; index++) { if ((In 阅读全文
posted @ 2012-02-09 13:14 子虚乌有 阅读(303) 评论(0) 推荐(0)

上一页 1 2 3 下一页