Related Posts
Sample /etc/fstab entry for EBS volume
gid= and uid= are not valid for XFS, pass “grpid=” to your fstab entry. /dev/xvdf /media/ebs/data xfs defaults,auto,noatime,noexec,grpid=1000 0 0
NSIS: How to check if the default browser is Chrome
Reading the registry key won’t cut it. This does. [code] ; isDefaultBrowserChrome !define isDefaultBrowserChrome "!insertmacro isDefaultBrowserChrome" !macro isDefaultBrowserChrome Result FileOpen $0 "$PLUGINSDIR\browser_detect.htm" "w" FileClose $0 System::Call "Shell32::FindExecutable(t ‘$PLUGINSDIR\browser_detect.htm’, i 0, t .r1)" ${StrLoc} $0 $1 "chrome.exe" ">" ${If} $0 != "" StrCpy ${Result} "1" ${Else} StrCpy ${Result} "0" ${EndIf} !macroend [/code]
How to use environment variables in your Eclipse project Run Configuration
Say you have some environment variables that you’d love to use as arguments of an executable in your project. 1. Go to “Run Configurations” 2. Click on the “Environment” tab. 3. Click the “Select” button. 4. A list with all of your environment variables will be shown. Choose the environment variables you need for this […]