Any tool/software in windows for viewing ELF file format? [closed]

readelf and objdump are both excellent utilities if you are on a Unix box. Both are provided by Cygwin. readelf will give you a good overview of the ELF header information, section headers. You can also use it to get relocation and symbol information. Overall, readelf can give greater detail on the contents of an … Read more

How do you set java version in windows git bash?

Let’s say you want to try other Java versions but you don’t want to alter the Windows environment variables. Steps: Go to your home folder. i.e. C:\Users\MyAccountName Edit the .bashrc file and add the following code below. #For example: export JAVA_HOME=’/c/Program Files (x86)/Java/jdk1.8.0_45′ export PATH=$JAVA_HOME/bin:$PATH .bashrc and .bash_profile are files created during the git-bash installation.

What is C++/WinRT exactly?

IInspectable’s answer is factually correct, but a little more context might help as well… C++/CX (a.k.a. the Visual C++ /ZW switch), Windows Runtime Library (WRL), and C++/WinRT all do basically the same thing: Provide a mechanism for calling “Windows Runtime” style APIs & types from C++ and for authoring “Windows Runtime” style APIs & types. … Read more

How to Shorten Git Bash Prompt (Windows)

An alternative answer is to go to C:\Program Files\Git\etc\profile.d and open the git-prompt.sh file. It contains the default configuration/prompt for Git Bash. if test -f /etc/profile.d/git-sdk.sh then TITLEPREFIX=SDK-${MSYSTEM#MINGW} else TITLEPREFIX=$MSYSTEM fi if test -f ~/.config/git/git-prompt.sh then . ~/.config/git/git-prompt.sh else PS1=’\[\033]0;$TITLEPREFIX:$PWD\007\]’ # set window title PS1=”$PS1″‘\n’ # new line PS1=”$PS1″‘\[\033[32m\]’ # change to green # PS1=”$PS1″‘\u@\h … Read more

How to convert the value of %USERNAME% to lowercase within a Windows batch script?

Well, I was browsing for some syntax and stumbled upon this page. I know its old but I thought I’d take a break and give the brain a little kick. Here’s something a little shorter and manageable. This just “brute forces” all uppercase letters to lowercase letters without regards to whether the actual letter exists … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)