w3hello.com logo
Home PHP C# C++ Android Java Javascript Python IOS SQL HTML Categories
Can I find a similar software as Pageant in Linux?
Use Seahorse for linux http://www.debianadmin.com/ssh-key-authentication-using-seahorse-gui.html Keychain works well too http://pwet.fr/man/linux/commandes/keychain

Categories : Svn

How to install Software Manager (from Linux Mint) in Xubuntu?
You will need to have the latest version of Python installed as this is what actually runs Software Manager then in Synaptic Program Manager look for Software Manager or Software Center and tick for installing an next reboot then apply then submit then reboot and when the system reboots the system should start downloading Software Manager and install it and then you should be able to find it in the start menu.

Categories : Misc

build software from source code and install it in custom folder on Linux
Assuming you want to install a software called 'test'. #!/bin/bash # Set this to where you want to install all the software PREFIX=/usr/oma/sardar/software export CC=/usr/bin/gcc export CXX=/usr/bin/g++ export QTDIR=/usr/lib/qt-4.6 export PKG_CONFIG_PATH=$PREFIX/lib/pkgconfig # Get sources mkdir -p $PREFIX/src/{BUILD,SOURCES} wget -U temp -P $PREFIX/src/SOURCES http://url/test.tar.gz wget -P $PREFIX/src/SOURCES http://url/test.patch # Unpack sources tar xvzf $PREFIX/src/SOURCES/test.tar.gz -C $PREFIX/src/BUILD # Compile Test cd $PREFIX/src/BUILD/test patch < $PREFIX/src/SOURCES/test.patch ( export CFLAGS="-I$PREFIX/include" export LDFLAGS="-L$PREFIX/lib -Wl,-R$PREFIX/lib" ./configure --prefix=$PREFIX ) make make install

Categories : Linux

sed issue on UNIX vs linux
The quantifier syntax {n,m} and capture groups are part of the extended regexp class. By default sed uses only basic regular expression. If you read the man pages on your Linux system you will clearly see what -r does: -r, --regexp-extended use extended regular expressions in the script. Check the man pages for sed on your Unix box and look if there is an equivalent option (possibly -E) or escape the ERE features. See here for difference between BRE and ERE.

Categories : Shell

QOS for UDP on Linux or any other UNIX-like platform
If your network implements DiffServ, then you can use setsockopt() with IP_TOS to set the DiffServ code point (DSCP) on your packets to a suitable value. (Before DiffServ was specified, these bits were interpreted as Type of Service (TOS) and priority fields, hence the name.) Note that the UDP-based transport protocol (uTP) in modern BitTorrent implementations already behaves as if it had lower priority than "normal" traffic, and will back off when it senses congestion.

Categories : Linux

How to implement GetThreadContext in Linux/Unix?
A Linux-specific way of getting thread info is to use get_thread_area(). From the get_thread_area() man page: get_thread_area() returns an entry in the current thread's Thread Local Storage (TLS) array. The index of the entry corresponds to the value of u_info->entry_number, passed in by the user. If the value is in bounds, get_thread_area() copies the corresponding TLS entry into the area pointed to by u_info. But, if you want to read the register value you need to take help of inline assembly. Fox example, to retrieve the value of esp you can use the following inline assembly: unsigned sp; __asm __volatile("movl %%esp, %0" : "=r" (sp)); return sp; In this way, you can extract ebp, eip etc. Hope this will help!

Categories : Linux

What is the equivalent of forwarding DLLs in Linux/Unix?
The Linux equlivalent is rather easy. You can just use a symbolic link. For example, lib4 is the new library version, then you can create the following symbolic link: ln -s lib4 lib3 Now, every time a program will need lib3 will automatically load lib4 as long as the interface exported by the new version is equal to the old version, the program will not notice the difference. I hope this helps. Let me know if you need more info.

Categories : Linux

Connect:Direct From Linux server to Unix
mount the target server shared folder in the source server folder (or vice versa) and copy the files there using cp command. For filesystem mount : http://linux.about.com/od/commands/l/blcmdl8_mount.htm Remote mounting

Categories : Linux

Do jars behave differently in unix and linux?
Linux is a version of Unix. Do you mean Solaris? I suggest you use the latest version of Java, and if you have to, the latest version of Java 5.0. I would also try with Java 6 update 45 or Java 7 update 25 to see if this is a bug which has been fixed.

Categories : Java

How to remove the hashtag #index.html# file in linux/unix?
# is a special character: you must backslash it: rm -f #index.html# This file could appear if this directory is part of a CVS repository and there was a conflict on this file (see the man page of cvs update).

Categories : Linux

Is a difference in the implementation of boost::asio between Unix(AIX, HP-UX) and Linux(RedHat, Ubuntu)?
The platform specific implementation notes describes the supported platforms and how the event demultiplexing is implemented. Newer Linux kernels will use epoll(4) while older versions use select(2). AIX and HP-UX both use select(2). kqueue(2) is used on BSD systems, including Mac OS X and iOS. It is very similar to epoll on Linux. Generally speaking, epoll will perform better than select. When using select, it performs a linear search over the list of n descriptors, this is O(n). Using epoll has the concept of an epoll_event structure when adding descriptors to the epoll descriptor. This means modifying the list of events to wait for is somewhat expensive, but waiting for these events is very fast at O(1).

Categories : Misc

is there software for jar file copy protection, or licensing software
Copy protection can't prevent your file to be copied but you can make it fail when it is run on unlicensed machines. Selection of a copy protection mechanism is a matter of budget and time. There are many companies with many products. You can go with not yet cracked technologies like iLok etc. This is applicable for very high revenue cases. But if your target audience is less than 1000 people then a simple in-house solution might work. Consequence of a complex method is typically many calls to support line and unhappy customers. Things got a lot easier after clients are all connected to internet. You can make some simple parts to run on server which a cracker would never dive into for a replacement. Or the app might download the contents from server after installation. Latter is what I d

Categories : Misc

Linux/Unix - Setting default file/folder permissions using ACL, executable permission not setting?
It's not setting the execute bit because files are only created with execute permission if the application explicitly requests it. Since it makes no sense to make an .html file executable, whatever program created it did not request execute permission to be added, so it has no execute permission. Consequently, execute permission from the default ACL effectively only applies to directories, not to files. As for why the default group is not set to ftp, this is more subtle. The default ACL is just that -- an ACL. It's not a default group ownership. As such it shows up not in ls but in getfacl: # mkdir public # setfacl -R -m u::rwx,g:ftp:rwx,d:g:ftp:rwx,o::rx public/ # getfacl public # file: public # owner: root # group: root user::rwx group::r-x group:ftp:rwx mask::rwx other::r-x defa

Categories : Linux

Get software's information in WiX from software
The WiX.chm documents all the standard binder variables at the bottom of the topic titled Linker (light). It does not appear the those pieces of information are available. However, it might be something you could work with the WiX toolset community with to get the code added.

Categories : Wix

Gathering Unix machine stats in Java or Unix shell
I come with a basic script handling some options. It is not an answer at all, just an approach that is too broad to post in comments: start_day=22 end_day=$1 sar_path="/var/log/sa" start_time=14 end_time=17 echo "start_day = $start_day - end_day = $end_day" echo "start_time = $start_time - end_time = $end_time" if [ $start_day -eq $end_day ]; then echo "sar -i 900 -f $sar_path/sa$start_day -s $start_time:00:00 -e $end_time:00:00" elif [ "$(($start_day + 1))" -eq $end_day ]; then echo "sar -i 900 -f $sar_path/sa$start_day -s $start_time:00:00 -e 23:59" echo "sar -i 900 -f $sar_path/sa$end_day -s 00:00:00 -e $end_time:00:00" elif [ $start_day -gt $end_day ]; then last_day=$(ls -1 $sar_path/sa[0-9]* | tail -1) last_day=$(basename $last_day | grep -o

Categories : Java

Linux users', specifically Apache, permissions settings, [Linux noob :]
usually any daemon will need to access a number of ressources. it is therefore good practice to run each daemon under a special user:group, rather than nobody:nogroup. traditionally (e.g. on Debian systems) apache runs as www-data:www-data. finally, user permissions take precedence over group permissions (which in turn take precedence over other permissions). this means that a directory where the user does not have write perms but the user's group can write is effectively r/o for that user (but not for other members of the group)

Categories : Linux

Exec(Linux). How it functions internally? Linux executable attributes(rlimit)
The RLIMIT_CORE is used to place a limit on the amount of info that coredump is allowed to produce, before it is aborted. Once this limit is hit, no more info is logged and the message Aborting Core is logged to the console. From the man page of core : A process can set its soft RLIMIT_CORE resource limit to place an upper limit on the size of the core dump file that will be produced if it receives a "core dump" signal. Use setrlimit() to configure RLIMIT_CORE to a larger value to obtain complete coredumps. The most common format of executables/shared-objects is ELF. On Linux, the dynamic loading and linking of these shared-objects is performed by ld.so ld.so is loaded in the address space of a newly created process (by exec in this case) and executed first. This is possible as

Categories : Android

Purpose of Curly Brace Usage of C Code found in Linux (include/linux/list.h)?
This is a GNU language extension known as a statement expression; it's not standard C.

Categories : C

How to turn a Linux application in C/C++ into a Desktop Enviroment for a Linux distro?
You either want to create a boot loader, or you want to replace the 'shell'. This would be governed by per-user or global xinit and Xsession files.

Categories : C

What's a good way to set up Closure Compiler on Linux? Or, where should Java .jar's live on a Linux?
If you using the java command directly, then you'll have to provide a path to the jar in question. It's probably easier to place the jar in one place and create a shell script that handles the invocation and jar path.

Categories : Java

Write C++ on Windows but use Linux System calls through a Linux emulator
You've already tagged your question with Cygwin. That seems like the best solution for what you want. Cygwin is basically a collection of programs which emulate a GNU/LInux environment through the use of a DLL (cygwin1.dll) which acts as a Linux API layer providing substantial Linux API functionality. Here's the link to the documentation for its API Edit: Most of the Cygwin source code that I've looked at is written in C++ and makes system calls using MS Windows API to do provide the *nix emulation. The source is well written and very readable (even to to a non-C++ programmer such as myself). I think using Cygwin would be a good transition from programming on Windows to a GNU/Linux environment.

Categories : C++

How can I get all the software link?
Because you only download the first page of content. Just use a loop to donwload all pages: import urllib import urlparse from bs4 import BeautifulSoup for i in xrange(3): url = "http://www.downloadcrew.com/?act=search&page=%d&cat=51" % i pageHtml = urllib.urlopen(url) soup = BeautifulSoup(pageHtml) for a in soup.select("div.productListingTitle a[href]"): try: print (a["href"]).encode("utf-8","replace") except: print "no link" if you do'nt know the count of pages, you can import urllib import urlparse from bs4 import BeautifulSoup i = 0 while 1: url = "http://www.downloadcrew.com/?act=search&page=%d&cat=51" % i pageHtml = urllib.urlopen(url) soup = BeautifulSoup(pageHtml) has_more = 0 for a

Categories : Python

The relationship between SAS software and SID
Both are possible. If your deployment package includes those products, then you might have them installed, even if they are not available per your license (SID file). That depends on what was selected at installation, and when the original deployment package was created. You (or whomever manages installations) could look at the deployment package in SAS Deployment Manager to find out. To answer the question I think you're asking, you could certainly have one deployment package that includes the modules, and use the appropriate SID file to only activate the desired products on the desired machine(s) while still using the same deployment package. You could also install with a SID file that does not contain them and then run a new SID that does contain them later, so long as your deploym

Categories : Sas

Best software installation kit for Mac OS X?
It might be rich, but it is not the OS X "style" - I have not seen any installer do that in ages. If you would like to do a tutorial or orientation, I would launch that after the installation business has been completed. BTW, full screen etc are also discouraged on Windows.

Categories : Osx

Do i need to install mono on every Linux PC to run .NET application on Linux platform?
"can I run a mono application on a machine that doesn't have mono installed": no; the same as you can't run a java application on a machine that doesn't have java installed. And at the same time (to both): yes. There are tools that attempt to make this work, but they tend to be fiddly and a bit unreliable. However, it should also be noted that several (not all, by any means) distros ship with mono by default.

Categories : Dotnet

Can I tell which software generated a PDF file?
You can try opening the file in Adobe Read and look at the properties. You can find this in: File -> Properties in Adobe Reader after you open the pdf file.

Categories : Pdf

Making a software setup for Mac OS
OS X applications are usually distributed as self contained app bundles that don't require an installer. It seems that Mono provides a package maker that help to create .app bundles from Mono projects: http://www.mono-project.com/MonoMacPackager

Categories : Osx

Testing software on windows 8
Use non-OEM version. As a person that is actively involved with development of paravirtualized drivers for Windows VMs and their certification with MS I think your IT department is not doing a good job.

Categories : Testing

Implementing SSE 4.2's CRC32C in software
Here are both software and hardware versions of CRC-32C. The software version is optimized to process eight bytes at a time. The hardware version is optimized to run three crc32q instructions effectively in parallel on a single core, since the throughput of that instruction is one cycle, but the latency is three cycles. /* crc32c.c -- compute CRC-32C using the Intel crc32 instruction * Copyright (C) 2013 Mark Adler * Version 1.1 1 Aug 2013 Mark Adler */ /* This software is provided 'as-is', without any express or implied warranty. In no event will the author be held liable for any damages arising from the use of this software. Permission is granted to anyone to use this software for any purpose, including commercial applications, and to alter it and redistribute it f

Categories : C++

C++ software architecture and design
The inner class in C++ is not like it is in Pascal. It's just paled in the "namespace" of the outer class, but no other thing is changed. It sees only its own members, and the instance is unrelated to the outer one. If you want the relation, you must pass an instance of the outer somehow, say in the constructor. Then you can access members through that pointer or reference.

Categories : C++

WPF 4+ software rendering still an issue?
This list is still accurate. This is covered on MSDN's page regarding Graphics Rendering Tiers. The second labeled as "The following features and capabilities are not hardware accelerated:" lists the specific criteria that can cause non-accellerated rendering in WPF. This includes: TileBrush Content rendered via RenderTargetBitmap Any printed output Surfaces exceeding the graphics hardware's maximum texture size Layered windows on Windows XP.

Categories : Wpf

PhpBB's automod like software for php
The reason that a system doesn't exist outside of phpBB is because it's an incredibly poor way to manage modifications. Your question does not make it clear what you want to gain from this, but since it is your own code, you should definitely not look to copy something so awful. For “patching” code If you want the ability to apply updates to your code, then you should look at handling it through version control. For instance, you could develop and test in a local git repository, and once you are happy, push the changes to the server. You have many options here from a basic update script to a fully-fledged Continuous Integration solution. phpBB have implemented a solution for patching code on your live site via a Web interface, which has many issues with security, verifiability and m

Categories : PHP

UDK Learning Help For A Software Engineer‏
In Unreal Development Kit as a Software Engineer you should know C++ , UnrealScript and Kismet. UDK Videos: Intro: UDK.com 3D Buzz Video Tutorials. UDK Kismet : 3dbuzz.com/training/view/unreal-development-kit/kismet. UnrealScript: 3dbuzz.com (unreal-tournament-2003-2004 unrealscript ). Books in Order of Importance 2013 : UnrealScript: Unreal Development Kit Programming with UnrealScript (Must Read Books)(Reading Order 4° ). UnrealScript: Unreal Development Kit Programming Cookbook (Reading Order 3° ). UDK Kismet : Mastering UDK Game Development (Reading Order 2° ). UDK Kismet : Unreal Development Kit Programming Game Design Cookbook (Reading Order 1° ). Documentation : UDK.com General programming with native code and UnrealScript. Total time 1 or 2 Year.

Categories : Misc

PLC Program Reference Software
I was wondering, because ages ago I developed PLC software and even then (end of the 80s) our programming software had a pretty decent cross reference generator on board, so with access to whatever programming console your PLC vendor uses you can probably generate cross reference listings and annotated versions of the software. But especially with older machines the quest for a programming console can be nearly impossible. As a plan B option, but one that still beats " unstructured" digitizing, and if the code is really basic ladder, without too much " function blocks" as our PLC vendor calls them, the Soapbox Snap open source ladder editor might be a tool you could use to document your code? As it's open source written in a popular up to date language (C#) it can probably even be exten

Categories : Misc

Internationalizing java software
Have a read of this trail as it should answer most of your questions. For web applications we use the standard facilities offered by JavaEE. That essentially means passing a message bundle into a JSF page and then using mark up that looks like this #{msg.hello} in the page. "msg" is the name of the message bundle and "hello" is the key that will be used to look up the translated string. The translations are all held in properties files which have a standardized format and naming convention. The process works in much the same way for client applications although I don't feel it's quite as smooth As I understand it professional translators have software that will load properties files and assist them in producing the translations. Adding comments to your properties files is useful so th

Categories : Java

Card emulation via software NFC
2) Card emulation by software should definitely be possible, but not exposed in current Android APIs. You will have to dig deeper into the libnfc-nxp (and possibly below). This might be a difficult one though. This feature is offered on Inside Secure's chips, as shown in their OpenNFC reference implementation. The only question is whether it requires a CLF firmware change. If not, then you can hack it into a software image. The caveats are, however, that you will lack the following features : - security (an Android app is not as secure as a smartcard) - fast and predictable response times (well, depends how you code it probably) - card emulation running when phone is off I believe SEOS is based on ISO14443-4 and not Mifare. This means you would need a secure element to run it. 1) Not

Categories : Android

Blogging software using Bootstrap on .NET?
Have you had a look at Orchard? It's a great .NET CMS, written in ASP.NET MVC 4. The development is active and the community is growing. It's also very pleasant to work with as far as theming goes. I authored a basic blog theme based on Bootstrap myself which you can download for free in the Orchard Gallery. There is also a plain Bootstrap Theme, which got updated just 12 days ago. I have never worked with BlogEngine.NET, but having worked with SharePoint for quite a while, I try to avoid WebForms at all cost.

Categories : Dotnet

tfs preview and software licenses
I'm going to assume you're using the hosted build controller. If so, you can't install software on those machines as they use standard base images and are reset after each build. Any builds where you want/need custom software installed are best done using your own build server, either with an on premise machine or an IAAS VM in Azure. For reference the software included on the hosted build servers is listed here.

Categories : Tfs

Software sales errors
You need to declare the variable Sales. For example: int Sales = 99; The loss-of-precision errors are because you are assigning float values to int variables. While this is sometimes treated as a warning, it usually indicates an error and requires either declaring the proper variable types or using an explicit cast. Possibly you should declare the variables to be float. Alternatively, do all the calculations in integer cent values and avoid potential round-off errors. Not that you asked about this, but Java naming conventions are for variables to be camel case and start with a lower-case letter: sales instead of Sales (and totalSales instead of TotalSales, if you had such a variable name).

Categories : Java

Installing a software using Makefile
You need to compile to an object file using the -c switch for gcc. This performs compilation but does not link your program, meaning that you can have a reference (such as the someFunctionDefinedInX) which is not yet resolved. Later, when you need to perform final compilation and link in that reference, use gcc myFirstUnlinkedObj.o mySecondUnlinkedObj.o. This will look at all of the object files, find all of the undefined references, and look them up in the other object (or source, if any) files. It then links them all together in your final executable. You can find a good explanation of what an object file is in this question. A makefile which could perform these steps for you could look like this (minus your install target): x-as-func.o: gcc -c x-as-func.c my-exe-file: x-as-fu

Categories : C



© Copyright 2017 w3hello.com Publishing Limited. All rights reserved.