windows-7

Merge two pngs via command line tool in windows?

喜欢而已 提交于 2019-12-06 03:42:12
I'm looking for a tool I can use via command line (windows 7) to merge two equally sized pngs. I'm not having much luck with search so far as most tools I've seen are pretty heavy applications which don't seem to target simple manipulations. I want to overwrite the bits in the opaque base image with the non-transparent pixels in the overlay image. I have photoshop CS4 as well, but haven't had much luck in finding the relevant command line arguments. ImageMagick has a command line tool called composite which will do what you want. Distributions available for Windows, Mac, Linux etc. I've just

Windows 7 TextureBrush..ctor() error

不想你离开。 提交于 2019-12-06 03:15:03
问题 I have a .NET 2.0 app that runs just fine on XP and Vista, but on Windows 7 RC (x64) it crashes with the following error: Exception Information Exception Type: System.OutOfMemoryException Message: Out of memory. Data: System.Collections.ListDictionaryInternal TargetSite: Void .ctor(System.Drawing.Image, System.Drawing.Drawing2D.WrapMode) HelpLink: NULL Source: System.Drawing StackTrace Information at System.Drawing.TextureBrush..ctor(Image image, WrapMode wrapMode) at System.Windows.Forms

Don't see Entity Framework Template after Visual Studio 2010 install on Windows 7 64 bits

a 夏天 提交于 2019-12-06 02:34:47
问题 I just install Visual Studio 2010 on a 64 bit VM with Windows 7 64 bit. The VM is on an ESXi Hypervisor. When I tried to create my first project I don't see the Entity Framework template (ADO .NET Entity Framework). Am I missing a step here? Any and all help is appreciated. 回答1: @Will thanks for all the help. I was able to solve this problem by using the following steps: Reinstall Visual Studio 2010 Professional a. Select Add New Components b. Click until you get to the comnponents selection

Ruby on Rails: How do I install json on Windows 7?

懵懂的女人 提交于 2019-12-06 02:25:04
问题 I installed Ruby on Rails using the Windows installer at http://railsinstaller.org. The installation went without any errors. However, when I tried: rails new blog I got the following error: Installing json (1.6.5) with native extensions Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension. C:/opt/Ruby_on_Rails/RailsInstaller/Ruby1.9.2/bin/ruby.exe extconf.rb An error occured while installing json (1.6.5), and Bundler cannot continue. Make sure that gem install

jdk7 32 bit windows version to download

こ雲淡風輕ζ 提交于 2019-12-06 02:08:08
问题 I am just trying to download JDK 7 , 32-bit version for windows 7 . The system requirement for the JDK on Oracle says it supports a 32-bit version, but it is not listed on the download page. How can I download the 32-bit version? 回答1: Go to the download page and download the Windows x86 version with filename jdk-7-windows-i586.exe . 回答2: As detailed in the Oracle Java SE Support Roadmap After April 2015, Oracle will no longer post updates of Java SE 7 to its public download sites. Existing

Why is deleted memory unable to be reused

霸气de小男生 提交于 2019-12-06 01:37:11
问题 I am using C++ on Windows 7 with MSVC 9.0, and have also been able to test and reproduce on Windows XP SP3 with MSVC 9.0. If I allocate 1 GB of 0.5 MB sized objects, when I delete them, everything is ok and behaves as expected. However if I allocate 1 GB of 0.25 MB sized objects when I delete them, the memory remains reserved (yellow in Address Space Monitor) and from then on will only be able to be used for allocations smaller than 0.25 MB. This simple code will let you test both scenarios

How to check available memory (RAM) via batch script?

雨燕双飞 提交于 2019-12-06 01:32:16
I would like to know that how we can check the available memory in batch script? Is there any method already available? If it is not possible in batch script then is there any other way by which we can get the memory available? OS: Windows XP / Windows 7 This site has a sample VBScript that retrieves the total amount of memory: http://www.computerperformance.co.uk/vbscript/wmi_memory.htm It can be adapted to report the available amount of memory: ' Memory.vbs ' Sample VBScript to discover how much RAM in computer ' Author Guy Thomas http://computerperformance.co.uk/ ' Version 1.3 - August 2010

Bonobo Git Server SMTP Settings

你。 提交于 2019-12-06 00:57:19
I have Bonobo Git Server version 3.6 installed on my Win 7 PC. Today, I tried on forgotten password, but it popup error message saying Unable to send email. Validate SMTP settings. . How & where can I set the SMTP settings? Bonobo uses standard .NET smtp settings. These can be specified in the web.config for your Bonobo-installation. You can read the details here , but basically you should add a <mailSettings> group under configuration\system.net The following is a working albeit simple example. It is possible to use any smtp server and as you can read in the link, it is also possible to

powershell as gvim(vim) :shell

Deadly 提交于 2019-12-06 00:56:46
问题 i'm on a Windows 7 machine and i've installed Gvim(win32 version not MinGW or something alike), i've written in my _vimrc set shell=powershell.exe Now when i type :shell command it must open a new buffer with powershell in it but instead it opens powershell in a new window. Question : Is there a way to set Gvim ( configuration or plugin ) to open PowerShell in a buffer (like bash)? 回答1: Reread documentation for :shell and design-not . Quote from design-not: Vim is not a shell or an Operating

Making an app/service such that trying to end/kill its process in Task Manager would result in “Unable to Terminate Process”

戏子无情 提交于 2019-12-06 00:47:47
I have an Avast antivirus and it has a process "AvastSvc.exe". If I try to end/kill that process in Windows Task Manager, then a windows with the following messages appears: "Unable to Terminate Process", "The operation could not be completed.", "Access is denied". Trying to end some system Windows processes (like winlogon.exe) may feature the same behaviour (although once I managed to kill winlogon.exe and got my machine hanged!). I want my application (possibly, converted to a service) behave in the same way. How can I do this? Disable Windows Task Manager so he cant kill my process is a