|
|
Line 52: |
Line 52: |
| !macroend</highlight-nsis> | | !macroend</highlight-nsis> |
| [[Category:Compile-Time Macros]] | | [[Category:Compile-Time Macros]] |
|
| |
| == 15 Things You Should Give Up To Be Happy ==
| |
|
| |
| Here is a list of 15 things which, if you give up on them, will make your life a lot easier and much, much happier. We hold on to so many things that cause us a great deal of pain, stress and suffering and instead of letting them all go, instead of allowing ourselves to be stress free and happy we cling on to them. Not anymore. Starting today we will give up on all those things that no longer serve us, and we will embrace change. Ready? Here we go:
| |
|
| |
| [[http://goodvillenews.com/15-Things-You-Should-Give-Up-To-Be-Happy-r1EA1L.html 15 Things You Should Give Up To Be Happy]]
| |
|
| |
| [[http://goodvillenews.com/wk.html GoodvilleNews.com - good, positive news, inspirational stories, articles]]
| |
|
| |
| == Not Your Usual Panhandler ==
| |
|
| |
| Doug Eaton wanted to celebrate his birthday on June 11 in a big way, so he turned to his friends for ideas -- ended up marking the day with random acts of kindness, including handing out free money to people passing by.
| |
|
| |
| [[http://goodvillenews.com/Not-Your-Usual-Panhandler-6kQtGi.html Not Your Usual Panhandler]]
| |
|
| |
| [[http://goodvillenews.com/wk.html GoodvilleNews.com - good, positive news, inspirational stories, articles]]
| |
|
| |
| == A Savior At the Grocery Store ==
| |
|
| |
| Numbly, I left my husband, Marty, at the hospital where I had been visiting two of my children and headed for the grocery store. Since it was eleven p.m., I drove to the only store I knew was open twenty-four hours a day. I turned my car motor off and rested my head against the seat.
| |
|
| |
| [[http://goodvillenews.com/A-Savior-At-the-Grocery-Store-XTmcwi.html A Savior At the Grocery Store]]
| |
|
| |
| [[http://goodvillenews.com/wk.html GoodvilleNews.com - good, positive news, inspirational stories, articles]]
| |
|
| |
| == Three Qualifications for the New Politician ==
| |
|
| |
| There are plenty of politicians who genuinely desire to serve their communities and nations with humility and integrity, dedicating their lives to the cultivation of a wisdom that will benefit society at large; sadly, they are a minority.
| |
|
| |
| [[http://goodvillenews.com/Three-Qualifications-for-the-New-Politician-227DZ2.html Three Qualifications for the New Politician]]
| |
|
| |
| [[http://goodvillenews.com/wk.html GoodvilleNews.com - good, positive news, inspirational stories, articles]]
| |
|
| |
| == Rats Walking Again After Spinal Cord Injury ==
| |
|
| |
| Scientists in Switzerland have restored full movement to rats paralyzed by spinal cord injuries in a study that spurs hope that the techniques may hold promise for someday treating people with similar injuries.
| |
|
| |
| [[http://goodvillenews.com/Rats-Walking-Again-After-Spinal-Cord-Injury-nBLFSB.html Rats Walking Again After Spinal Cord Injury]]
| |
|
| |
| [[http://goodvillenews.com/wk.html GoodvilleNews.com - good, positive news, inspirational stories, articles]]
| |
About
Macro to check for existence of file at compile time.
Example
${!IfNExist} "${__FILE__}"
!error "File is Missing! How is that possible!"
!else
!echo "File Exists!"
InitPluginsDir
SetOutPath $PLUGINSDIR\SourceCode
file "${__FILE__}"
!endif
${!IfExist} "Config\Special.ini"
!warning "Using Config data from external file."
## TODO Inport Config Data
!else
!warning "Using Config data from source file."
## TODO Add Config Data
!endif
Macro
/* ${!IfExist}
----------------------------------------------------------------------
${!IfExist} "C:\SomeFile.txt"
!Error "File Exists!"
!else
!Error "File is Missing!"
!endif */
!define !IfExist `!insertmacro _!IfExist ""`
/* ${!IfNExist}
----------------------------------------------------------------------
${!IfNExist} "C:\SomeFile.txt"
!Error "File is Missing!"
!else
!Error "File Exists!"
!endif */
!define !IfNExist `!insertmacro _!IfExist "n"`
!macro _!IfExist _OP _FilePath
!ifdef !IfExistIsTrue
!undef !IfExistIsTrue
!endif
!tempfile "!IfExistTmp"
!system `IF EXIST "${_FilePath}" Echo !define "!IfExistIsTrue" > "${!IfExistTmp}"`
!include /NONFATAL "${!IfExistTmp}"
!delfile /NONFATAL "${!IfExistTmp}"
!undef !IfExistTmp
!if${_OP}def !IfExistIsTrue
!macroend