skip to main
|
skip to sidebar
Tips, Tricks and Tools
... and Thoughts
Home
All Posts
Firefox Extensions
JavaScript Compiler and Encoder
Bulk Player for YouTube
Misc Tools
Support
Tuesday, January 28, 2020
Powershell Script: Read input with default value
$defaultVal = 'No'
$inputVal =
Read-Host
-Prompt "Input something? [$defaultVal]"
if ($inputVal -eq '')
{
$inputVal = $defaultVal
}
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
Best of TopTip.ca
BEST TIP
BEST TOOL
Web Image Slideshow
Get it from Google Play
Products
Internet Explorer Extension
Bulk Player Mate for YouTube
Chrome Extensions
Image Viewer
Bulk Player Mate for YouTube
more ...
Thunderbird Extension
Autohide Tabbar
Online Tools
Bulk Player for YouTube
Unit Converter
ASCII <--> EBCDIC Converter
Others
No Captioning
MD5 in Java
Random Posts Widget for Blogger
Share Buttons Bar
Support
Popular Posts
Allow Microsoft Edge to visit self-signed HTTPS websites | Resolve certificate error issues | Microsoft Edge
If the website is using a self-signed certificate or an invalid certificate, Microsoft Edge shows an error page. Unlike Firefox or Google Ch...
How to stop Google Chrome from automatically redirecting to HTTPS
1. In a new browser tab, enter URL: chrome://net-internals/#hsts 2. Scroll down to "Delete domain security policies" and enter the...
Unix Domain Socket with Abstract Socket Address
The socket address is abstract when sun_path[0] is a null byte ('\0'). The rest of sun_path is used to name the socket in the abstra...
Lightbox without jQuery -- soooooooo simple
Lightbox is like a modal dialog which usually pops up to display images. It looks fancy and more websites are now using it. Most of the tuto...
Adding a CA to the trust store for Eclipse
If a Eclipse plugin uses a self-signed updating web site, you may encounter the authentication failure error when updating the plugin. The...
Google Docs - spreadsheet - insert chart on another sheet (updated)
To insert a chart for your spreadsheet data, you can highlight the wanted cells and select menu Insert|Chart. The new chart will be put som...
Porting Firefox extension to Thunderbird
After I published the Autohide Tabbar Firefox extension, some positive comments were received. Thank you! It encourages me to keep improvin...
Linux: Mounting TrueCrypt volume with cryptsetup
To mount: $ sudo cryptsetup --type tcrypt open /path/to/truecrypt-volume mapping-name $ sudo mount -o uid= 1001 /dev/mapper/ mapping-name ...
Java ldd
For a C++ library, we can use command ldd to list the dependencies. There isn't such a official tool for the Java. However, if the sourc...
Spring Boot: escape HTML and non-ASCII characters in Json response
Create an ObjectMapper object and let Spring Boot use our ObjectMapper object with the @Bean and @Primary annotations. In our configuration ...
Random Posts
Random Posts Widget
Followers
Subscribe To
Posts
Atom
Posts
Comments
Atom
Comments
Total Pageviews
Contact
zen (a.t) toptip.ca
>
Tweet
Get This
<
No comments:
Post a Comment