Archives for Language features, Development Methodologies - Page 5
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 =…
cmd.exe shortcut to open in a specific location
Change the Shortcut’s properties to:%windir%\system32\ /F /K "cd /d D:\whatever\" The /F is for auto file name completion (not needed for the folder location, but very helpful once the cmd…
Forgotten Ubuntu Root Password
From GRUB, choose Ubuntu Repair Menu—> Choose root—> passwd ‘username’ (or just plain passwd) Once updated, type reboot Cmd Line Root Prompt OR – type E (for edit) on the…
Some helpful Node.js Samples
SetTimeout - When I say go – go " setTimeout() setTimeout() can be used to schedule code execution after a designated amount of milliseconds. var count = 0; var t…
Installing Kali Linux (or any Linux Distro) on Oracle VirtualBox
Download the kali .iso file (or whatever distro you are trying to install on VBox) Oracle VBox - Simply create a new Linux VM with debian 64 bit (When you…