Archives for Language features, Development Methodologies - Page 5
Helpful Powershell Commands
More samples at Call a local exe -- use the call operator & Set-Location $composefolder & 'C:\Program Files\docker\' "up" Call another PS script Invoke-Expression ".\" Show all env vars Get-ChildItem…
dockerfile MULTIPLE commands or entrypoints–Powershell and IIS as ENTRYPOINTS in Docker Compose
Typically, dockerfiles require a single entrypoint or single command. In fact, multiple CMD instructions are ignored and only the final CMD is executed. By now, you should know that entrypoint…
Twitter policy against defamation
Day 1 - A twitter handle named @sanden came out and personally attacked my name. They made up the following tweet: Tweet ID 1045547615318880257 @TudorFan2 @VarmaAnuj @TerryK59 @David_Bossie @DonaldJTrumpJr @realDonaldTrump…
git basics
Repos versus Branches – A repo can have as many ; And you can have multiple REPOS (typically one per product). Branching Best Practices Master (Prod Branch) ---> Dev…
Add ics file in web outlook
Save your .ICS event form the email it was sent from to somewhere you can access it Go to O365/OWA ; Select Add Calendar from menu Select option "From File"…
Abstract Factory Pattern vs. Dependency Injection
This is a frequent misunderstanding – Why use Dependency Injection when you can ask a factory for your object and have it returned to you? The answer is that DI…
Quick start to compiling and deploying solidity contracts
Write the contract in Sublime Text Editor. Make sure you have installed the Ethereum packages for Sublime. Copy the contract code into RemixIDE and work through the ; Once compiled,…
geth attach to local geth node issue
The Problem geth attach Fatal: Unable to attach to remote geth: no known transport for URL scheme "c" Try the following (on Windows, we need to specify the IPC path)…
Package Control in Sublime Text, Setting up for Solidity Development
1. For Sublime Text 3 , View—> Show Console – Paste the following and hit ENTER (For Sublime , see here) import ,os,hashlib; h = '6f4c264a24d933ce70df5dedcf1dcaee' + 'ebe013ee18cced0ef93d5f746d80ef60'; pf =…