在github上搜索“awesome 开发语言”,例如“awesome Java”,就可以看到Java资源汇总的项目,类似的可以搜索“awesome JavaScript”、“awesome Swift”等等。这样,对于初学一门语言的人,省去了很多找资源的时间,也能初步了解现在有哪些轮子。https://github.com/jnv/lists https://github.com/bayandi
基于Electron框架开发桌面应用时,如果使用了jquery,就会有冲突:jQuery is not defined。解决方法有好几种,下面的这种方法是通过修改jquery文件来规避冲突:打开jquery.js,在文件的开头加上:if (typeof module === 'object') {window.module =
非常棒的Electron入门文章:https://medium.com/developers-writing/building-a-desktop-application-with-electron-204203eeb658
基于Electron,用Angular2开发桌面应用的示例和代码:http://onehungrymind.com/electron-angular-2-things/ https://github.com/onehungrymind/electrogram
全栈增长工程师指南http://growth.phodal.com 全栈增长工程师实战 http://growth-in-action.phodal.com/全栈增长工程师的练手项目集https://github.com/phodal/ideabook
1. 创建证书文件bash-3.2$ bash-3.2$ mkdir sslbash-3.2$ cd sslbash-3.2$ openssl genrsa -out key.pem 1024Generating RSA private key, 1024 bit long modulus....................................++++++........
MySQL删除数据库中所有表的方法:-- 切换到要删除表的数据库 USE REPLACE_WITH_DATABASE_NAME_YOU_WANT_TO_DELETE; -- 删除所有表 SET FOREIGN_KEY_CHECKS = 0; SET GROUP_CONCAT_MAX_LEN=32768; SET @ta
反汇编时的指令参考,可以从Interl官网下载:Intel Architecture Instruction Set Extensions Programming Referencehttp://www.intel.cn/content/www/cn/zh/processors/architectures-software-developer-manuals.html
8位无符号整型:0 -> 25511111111 255...10000000 12801111111 127...00000000 08位有符号整型:-128 -> 12
静态链接FreeImage的方法类似下面帖子:http://h2appy.blog.51cto.com/609721/1408087主要注意的是:1. 下载FreeImage,用vs2010打开solution。编译FreeImageLib这个项目。FreeImageLib项目中编译好的freep_w_picpathd.lib就是要使用的库文件。2. 添加预编译参数:FREEIMAGE_LIB3.
一、Debug模式下的设置:设置Include Directories和Library Directories:设置Runtime library,Debug模式下用MTd设置Additional DependenciesDebug模式下加入的lib二、Release模式下的设置设置Include Directories和Library Directories:设置Runtime library,
今天编译了一个程序,一个Windows Service卸载命令写错了,导致这个程序不能正常卸载。只好手动卸载这个Windows Service,之后再卸载程序,依然不能卸载。最后只好使用MSICUU2.exe,即windows installer清理实用工具。顺利卸载。=====================================windows installer清理实用工具 &nbs
有时候需要将文件名按照数字大小排序,而不是按照字母顺序排序,例如:Traditional SortAlphanum1000X Radonius Maximus 10X Radonius 200X Radonius 20X Radonius 20X Radonius Prime 30X Radonius 40X Radonius Allegia 50 Clasteron Allegia 500 Cl
2种方法实现数字字符串的左补齐0 int n = 3; string s = n.ToString().PadLeft(4, '0'); //
private void tsbFullWindow_Click(object sender, EventArgs e) { if (tsbFullWindow.Text == "全屏") &nbs
在CentOS上创建目录:/usr/share/fonts/truetype/ 把Windows系统中c:\windows\fonts\下面的以sim开头的字体文件,拷贝到/usr/share/fonts/truetype/ 进入eGroupware的Admin - ProjectManager - Site configuration,设置 Font为Simsun(Chinese) Fo
Windows 7 x64下,在visual studio 2010中使用ScintillaNET时,拖拽scintilla控件到界面视出错: cannot load the 'SciLexer.dll' module into memory... 如果是在x86系统下,直接把SciLexer.dll拷贝到C:\Windows\System32下就行了。在64位windows下,拷贝到syste
libgcrypt使用举例1,计算输入字符串的sha-1值: #include <gcrypt.h> #include <stdio.h> #include <stdlib.h> // compile with: // // g
MingW下安装FreeTDS: $ tar -xvzf /c/mingw/download/freetds-stable.tgz $ cd freetds-0.91 $ ./configure --disable-libiconv --with-tdsver=7.1 --enable-msdblib --disable-shared --enable-static $ make
// 应该设置下面属性,防止行号被掩盖 // dataGridView1.RowHeadersWidthSizeMode = DataGridViewRowHeadersWidthSizeMode.AutoSizeToDisplayedHeaders; void dataGridView1_RowsRemoved(object&
判断到哪里结束应该是Excel VBA最常见的操作之一,下面代码能实现这个功能: Function LastColumn() As Long Dim ix As Long  
需要进行简体繁体和半角全角相互转换的功能,所以写了个小程序,.net 2.0环境下运行,有同样需求的可以从附件中下载使用。
摘自论坛: declare @pwdsave varbinary(256) set @pwdsave=pwdencrypt( 'abc ') -- 设置密码(加密) if pwdco
C#程序安装Windows服务过程中会弹出一个“设置服务登录”对话框,要求输入用户名和密码。此时用户名和密码的形式必须以域用户的形式输入,如果没有加入域,用户名要用下面形式: .\username 否则会提示错误
ILMerge的下载地址: http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=17630 参看: http://research.microsoft.com/en-us/people/mbarnett/ILMerge.aspx Overview ILMerge is a utility that
通过C#捕捉进程开始和结束事件,禁止notepad.exe运行。这比用钩子的代码少多了。但我测试时,偶尔有事件被漏掉的情况。要求不太苛刻的地方,还是可以用用的。 using System; using System.Management; class Process { &nbs
PGresult *PQexec(PGconn *conn, const char *command); PQexec接受const char *为参数,可是如果SQL中有中文等字符怎么办? 解决方法: 把含有中文的字符串转换成utf8编码的char *即可。
用GCC编译如下代码时出错: wxString msg(_T("中华人民共和国")); error:converting to execution character set: Illegal byte sequence 解决方法: 1、把这个cpp文件存成utf8的文件,再编译就可以了。 2、也有人通过设置编译选项:-finput-charset=GBK解决问题。不
Copyright © 2005-2025 51CTO.COM 版权所有 京ICP证060544号