This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| https://computingforgeeks.com/installing-rabbitmq-on-centos-6-centos-7/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import 'dart:async'; | |
| import 'dart:math' show cos, sqrt, asin; | |
| import 'package:flutter/material.dart'; | |
| import 'package:geolocator/geolocator.dart' as geo; | |
| import 'package:google_maps_flutter/google_maps_flutter.dart'; | |
| import 'package:location/location.dart'; | |
| import 'package:wakulima/requests/google_maps_requests.dart'; | |
| class Maps extends StatefulWidget { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| sudo apt-get install openjdk-8-jdk | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <script> | |
| mapboxgl.accessToken = 'pk.eyJ1IjoiaWFtcGF0byIsImEiOiJja2g0aTBtZWwwNWh6MnhscHphazdxYjJmIn0.YTbOQsa6x1IJ3nLjyAoQ1w'; | |
| var mapboxClient = mapboxSdk({ accessToken: mapboxgl.accessToken }); | |
| mapboxClient.geocoding | |
| .forwardGeocode({ | |
| query: 'Wellington, New Zealand', | |
| autocomplete: false, | |
| limit: 1 | |
| }) | |
| .send() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package main | |
| import ( | |
| "bufio" | |
| "encoding/json" | |
| "fmt" | |
| "io" | |
| "io/ioutil" | |
| "net/http" | |
| "strings" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package main | |
| import ( | |
| "fmt" | |
| "io/ioutil" | |
| "log" | |
| "strings" | |
| "os/exec" | |
| ) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| type User struct { | |
| ID primitive.ObjectID `json:"id,omitempty" bson:"_id,omitempty"` | |
| FirstName string `json:"first_name" bson:"first_name" ` | |
| LastName string `json:"last_name" bson:"last_name" ` | |
| EmailAddress string `json:"email_address" bson:"email_address" ` | |
| Password string `json:"password" bson:"password" ` | |
| CreatedAt time.Time `json:"created_at" bson:"created_at" ` | |
| UpdatedAt time.Time `json:"updated_at" bson:"updated_at" ` | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| *977# | |
| option 1 | |
| select 2 | |
| enter meter no |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| part of '_repository.dart'; | |
| class UserRepository { | |
| // Params | |
| HttpNetworkUtil _networkUtil; | |
| // Setup a singleton | |
| static final UserRepository _userRepository = UserRepository._internal(); | |
| factory UserRepository({HttpNetworkUtil networkUtil}) { | |
| _userRepository._networkUtil = networkUtil; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| sudo update-java-alternatives --list | |
| sudo update-java-alternatives --set /usr/lib/jvm/java-1.8.0-openjdk-amd64 |