STEP 1: First Install HomeBrew, download it from http://brew.sh
$ ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
STEP 2: Install Hadoop
$ brew search hadoop
$ brew install hadoop
import 'package:jaguar/jaguar.dart'; | |
import 'package:jaguar_hotreload/jaguar_hotreload.dart'; | |
import 'package:jaguar_reflect/jaguar_reflect.dart'; | |
import 'dart:io'; | |
import 'dart:isolate'; | |
main() async { | |
final reloader = new HotReloader( | |
debounceInterval: const Duration(seconds: 2) | |
); |
STEP 1: First Install HomeBrew, download it from http://brew.sh
$ ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
STEP 2: Install Hadoop
$ brew search hadoop
$ brew install hadoop
Should we setup go environment var manually? Read this
brew install go
mkdir -p $HOME/.go/{bin,src,pkg}
package main | |
import ( | |
"fmt" | |
"math" | |
"strconv" | |
) | |
var ( | |
sizeInMB float64 = 999 // This is in megabytes |
mysql.server stop
or brew services stop mysql
/Users/iambudi/reset_pass.txt
and write this one liner sql to the file:ALTER USER 'root'@'localhost' IDENTIFIED BY 'ReplaceNewPassHere';
mysqld --init-file=/Users/iambudi/reset_pass.txt
When things goes okay, delete the reset_pass.txt
, stop and start mysql again.
package logging | |
import ( | |
"github.com/rs/zerolog" | |
"github.com/rs/zerolog/log" | |
"gopkg.in/natefinch/lumberjack.v2" | |
"os" | |
"path" | |
"io" | |
) |