sourceforge

python gtk 环境

吃可爱长大的小学妹 提交于 2019-11-30 23:32:00
python gtk 环境 为Python添加GTK+库:pygtk(windows下安装pygtk) 一、下载需要的文件 昨天晚上就是所需的文件没有找全,我还以为只需要一个pygtk就够了。 1、下载pygtk需要的文件 到pygtk官方网站的下载页面: http://www.pygtk.org/downloads.html PyCairo PyGObject PyGTK 2、下载gtk+运行库 我们需要GTK+ for Windows Runtime Environment 来sourceforge下载就好了: http://sourceforge.net/projects/gtk-win/ 二、安装 = = 这个貌似没什么可说的嘛…… 总之你下载了这些文件(我发帖时候的最新版本): gtk2-runtime-2.16.6-2010-02-24-ash.exe pycairo-1.8.6.win32-py2.6.exe pygobject-2.20.0.win32-py2.6.exe pygtk-2.16.0.win32-py2.6.exe依次安装就好了。安装程序会自动获取你的python目录。当然你的电脑里必须有python……注意版本必须是2.6的。pygtk不支持python3 三、测试 如果一切顺利的话,安装就完成了。 我们试一下吧,新建一个python文件’test

Migrate from Sourceforge to Github

眉间皱痕 提交于 2019-11-29 23:40:55
I'm thinking about migrating a project from Sourceforge to Github. Besides the svn to git, what about migrating things like the issue tracker? Is there an easy way to do that? I've written a Python script to migrate issues. It's at https://github.com/ttencate/sf2github . Beware: Sunday afternoon software. Use at your own risk, etc. etc. Pull requests welcome! For SVN to GitHub part, this is now the easiest way: https://import.github.com/new But it doesn't import issues. since I just have done this here is my approach create a local git repository from the remote svn repository git svn clone

Hibernate 5 发行组件下载

前提是你 提交于 2019-11-29 18:17:46
Hibernate 项目小组提供了一系列发布组合(bundles),这些发布组合发布在 SourceForge 文件发布系统中。这些发布的包有 TGZ 和ZIP 格式。 每一个发布组合包含有 JAR 文件,文档,源代码和其他一些有用的内容。 你可以选择你需要的格式来下载 Hibernate 的发布版本,有关发布版本的列表,请参考 https://sourceforge.net/projects/hibernate/files/hibernate-orm/ 。发布版本的结构请参考下面的内容: lib/required/ 目录包含有 hibernate-core Jar 和所有需要的依赖。不管你需要使用 Hibernate 的何种功能,所有的这些都需要设置到你的 classpath 路径中。 lib/envers 目录包含有 hibernate-envers Jar 和需要的依赖(这些依赖,不包含在 lib/required/ 和lib/jpa/ 中)。 lib/spatial/ 目录包含有 hibernate-spatial Jar 和需要的依赖(这些依赖,不包含在 lib/required/ 和lib/jpa/ 中)。 lib/osgi/ 目录包含有 hibernate-osgi Jar 和需要的依赖(这些依赖,不包含在 lib/required/ 和lib/jpa/ 中)。

How can I deploy artifacts from a Maven build to the SourceForge File Release System?

旧街凉风 提交于 2019-11-29 12:46:04
问题 I am using SourceForge for some Open Source projects and I want to automate the deployment of releases to the SourceForge File Release System. I use Maven for my builds and the standard SFTP deployment mechanism doesn't seem to work unless you do some manual preparation work. I have come across some old postings on other forums suggesting that the only approach is to write a Wagon specifically for SourceForge. Has anybody had any recent experience with this? 回答1: I'm not able to test this to

Code::Blocks 使用 AStyle 格式化 C/C++ 代码

萝らか妹 提交于 2019-11-29 05:09:43
目录 AStyle Code::Blocks Source code formatter plugin Source code formatter (AStyle) shortcut AStyle A Free, Fast, and Small Automatic Formatter for C, C++, C++/CLI, Objective‑C, C#, and Java Source Code Project Page: http://astyle.sourceforge.net/ SourceForge: http://sourceforge.net/projects/astyle/ Artistic Style is a source code indenter, formatter, and beautifier for the C, C++, C++/CLI, Objective‑C, C# and Java programming languages. Code::Blocks Source code formatter plugin Code::Blocks 的 Source code formatter plugin 使用 AStyle 格式化 C/C++ 代码。 Settings -> Editor -> Source formatter Figure 1:

git fatal error Path with a does not make sense

若如初见. 提交于 2019-11-29 03:43:59
I have existing code on my computer, then I have registerd my account on sourceforge, starting a git project. Now I need to send my local project on sourceforge remote space. On sf there's the instruction page: First time using Git cd miorep-code git init git commit -a -m 'Initial commit' git remote add origin ssh://****/p/miorep/code git push origin master Existing Repository cd miorep-code git remote add origin ssh://****/p/miorep/code git push origin master If I follow the first set of instructions, I have a "Fatal: Paths with -a does not make sense" when I get git commit -a -m 'Initial

实战做项目如何选择开源许可协议(二)- 开放代码

感情迁移 提交于 2019-11-28 15:07:35
下面分别列一下这些平台如何设置开源协议: 1、 googlecode ,google推出的代码托管平台,整体可用还是比较强的,如果不是经常被墙用这个也可以。支持svn、git协议。要在这个上面共享代码, 首先需要注册一个google账号,登录。 在url输入 http://code.google.com/intl/zh-CN/ ,打开网页后,最下方有个 create a new project。 点击创建工程后,可以选择自己工程的开源协议。预定义协议支持不是太多,主要有常见的BSD、GPL、MIT、APACHE、ECLIPSE、MPL。没有包含的可以选择other open source 填写。 2、 github , 这个后期之秀,由于git协议本身的优势这几年也赚足了眼球。更有2011年的 报道 : Github 的提交次数超过了Sourceforge、Google Code和微软的CodePlex。 这么火的代码托管工具我们当然也要在这个上面共享代码, 需要注册一个github账号,登录。 在首页中间有个 create repositories,创建代码工程。 和google code 不同的是,github没有直接选择开源协议这一项。 这篇文章 可以看得出GitHub一族,正在推动开源软件走向无授权时代。如果要在github设置开源协议如何设置呢?其实很简单

实战做项目如何选择开源许可协议(二)- 开放代码

别等时光非礼了梦想. 提交于 2019-11-28 15:07:22
通过 《实战做项目如何选择开源许可协议(一)-了解协议》 大概知道了有哪些开源协议和各个协议的作用和区别。我们准备把代码开放出去时,需要了解各个代码托管平台如何设置开源协议。目前常用的平台有:googlecode、github、sourceforge、codeplex。下面分别列一下这些平台如何设置开源协议: 1、 googlecode ,google推出的代码托管平台,整体可用还是比较强的,如果不是经常被墙用这个也可以。支持svn、git协议。要在这个上面共享代码, 首先需要注册一个google账号,登录。 在url输入 http://code.google.com/intl/zh-CN/ ,打开网页后,最下方有个 create a new project。 点击创建工程后,可以选择自己工程的开源协议。预定义协议支持不是太多,主要有常见的BSD、GPL、MIT、APACHE、ECLIPSE、MPL。没有包含的可以选择other open source 填写。 2、 github , 这个后期之秀,由于git协议本身的优势这几年也赚足了眼球。更有2011年的 报道 : Github 的提交次数超过了Sourceforge、Google Code和微软的CodePlex。 这么火的代码托管工具我们当然也要在这个上面共享代码, 需要注册一个github账号,登录。 在首页中间有个

Another mod_rewrite trailing slash question

Deadly 提交于 2019-11-28 10:36:40
I have the following rewrite rules in my .htaccess file: RewriteEngine on RewriteRule ^news/([0-9]+)/?$ /?action=news&start=$1 [L] RewriteRule ^man/([a-zA-Z0-9_]+)/?$ /?action=man&page=$1 [L] RewriteRule ^([a-zA-Z0-9_]+)/?$ /?action=$1 [L] All of then end with a /? to check for an optional trailing slash. This works - it means I can use either http://www.site.com/news/ or http://www.site.com/news to get to the news page, which is what I want. The problem is that, while http://www.site.com/news/ works fine and redirects silently and all that fun stuff, http://www.site.com/news is visibly

性能测试之nmon对linux服务器的监控

偶尔善良 提交于 2019-11-27 21:43:11
本文转自链接: https://www.cnblogs.com/qgc1995/p/7523786.html 大家都知道在做性能测试的时候,需要监控服务器的资源情况,而大多数服务器是Linux系统,网上资料嘿多,这里汇总介绍下Nmon监控工具: ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 一,Nmon介绍 (这句不用看——Nmon得名于 Nigel 的监控器,是IBM的员工 Nigel Griffiths 为 AIX 和 Linux 系统开发的,使用 Nmon 可以很轻松的监控系统的 CPU、内存、网络、硬盘、文件系统、NFS、高耗进程、资源和 IBM Power 系统的微分区的信息)。 Nmon是一款计算机性能系统监控工具,因为它免费,体积小,安装简单,耗费资源低,广泛应用于AIX和Linux系统。 二,Nmon下载 首先查看Linux系统内核版本(两种方式): 1,cat /proc/version [qgc@localhost nmon16d