- open mongod.conf
cd /etc/mongod.conf
- Comment security
#security:
# authroization: "enabled"
List out the partitions | |
Use the fdisk command to list of all partitions | |
$ sudo fdisk -l | |
Here is what the ouput would look like | |
Disk /dev/sda: 500.1 GB, 500107862016 bytes | |
255 heads, 63 sectors/track, 60801 cylinders | |
Units = cylinders of 16065 * 512 = 8225280 bytes |
FROM node:10.16.3-alpine | |
# Golang From: https://github.com/docker-library/golang/blob/master/1.12/alpine3.10/Dockerfile | |
RUN apk add --no-cache \ | |
ca-certificates | |
# set up nsswitch.conf for Go's "netgo" implementation | |
# - https://github.com/golang/go/blob/go1.9.1/src/net/conf.go#L194-L275 | |
# - docker run --rm debian:stretch grep '^hosts:' /etc/nsswitch.conf | |
RUN [ ! -e /etc/nsswitch.conf ] && echo 'hosts: files dns' > /etc/nsswitch.conf |
cd /etc/mongod.conf
#security:
# authroization: "enabled"
void main() async { | |
WidgetsFlutterBinding.ensureInitialized(); | |
final container = ProviderContainer(); | |
final routerDelegate = createDelegate(container.read); | |
final routeInformationParser = BeamerParser(); | |
F.appFlavor = Flavor.DEV; | |
await Firebase.initializeApp(); |
/*********************************************************************** | |
* Project : Arduino_ESP32_MOTOR_PWM | |
* Description : ควบคุมความเร็วของมอเตอร์โดยกับปรับ VR1 และ VR2 | |
* เพื่อควบคุมความกว้างของ Pulse Width Mod(PWM) | |
* Author : Tenergy Innovation Co., Ltd. | |
* Date : 14 Nov 2018 | |
* Revision : 1.1 | |
* Rev1.0 : Original | |
* Rev1.1 : Edit define pin and some variable | |
* website : http://www.tenergyinnovation.co.th |
#include <stdint.h> | |
#include <avr/interrupt.h> | |
#include <avr/wdt.h> | |
byte sample = 0; | |
boolean sample_waiting = false; | |
byte current_bit = 0; | |
byte result = 0; | |
void setup() { |
Below is the list of modern JS frameworks and almost frameworks – Angular, Ember and React.
All files were downloaded from https://cdnjs.com and named accordingly.
Output from ls
command is stripped out (irrelevant stuff)
$ ls -lhS
566K Jan 4 22:03 angular2.min.js
./start (on *nix) You might need to grant execution permissions via chmod +x ./start | |
# Install Java, Supervisor, and unzip | |
apt-get install software-properties-common | |
sudo add-apt-repository ppa:webupd8team/java -y | |
sudo apt-get update | |
sudo apt-get install oracle-java8-installer unzip supervisor | |
# Add baasbox user and set up directories | |
sudo adduser baasbox |
sudo find / -name 'directoryname' -type d |
https://codelatte.wordpress.com/2015/01/27/installing-the-android-sdk-on-ubuntu-14-04/ |