The Github doesn't provide country code for Brazil (+55). To add this option, just run the code below in your console. The option Brazil +55
will be the first on the list, already selected:
🇧🇷 [pt-BR]
/* | |
In the node.js intro tutorial (http://nodejs.org/), they show a basic tcp | |
server, but for some reason omit a client connecting to it. I added an | |
example at the bottom. | |
Save the following server in example.js: | |
*/ | |
var net = require('net'); |
Android Emulator usage: emulator [options] [-qemu args] | |
options: | |
-sysdir <dir> search for system disk images in <dir> | |
-system <file> read initial system image from <file> | |
-datadir <dir> write user data into <dir> | |
-kernel <file> use specific emulated kernel | |
-ramdisk <file> ramdisk image (default <system>/ramdisk.img | |
-image <file> obsolete, use -system <file> instead | |
-initdata <file> same as '-init-data <file>' | |
-data <file> data image (default <datadir>/userdata-qemu.img |
public function index(){ | |
$categoryList = Category::all(); | |
return view('category.list')->with('categoryList', $categoryList); | |
} |
The Github doesn't provide country code for Brazil (+55). To add this option, just run the code below in your console. The option Brazil +55
will be the first on the list, already selected:
🇧🇷 [pt-BR]
const electron = require('electron'); | |
const path = require('path'); | |
const fs = require('fs'); | |
class Store { | |
constructor(opts) { | |
// Renderer process has to get `app` module via `remote`, whereas the main process can get it directly | |
// app.getPath('userData') will return a string of the user's app data directory path. | |
const userDataPath = (electron.app || electron.remote.app).getPath('userData'); | |
// We'll use the `configName` property to set the file name and path.join to bring it all together as a string |
<section> | |
<div class="glitch"> | |
<div class="text"> | |
<span>WE ARE NOT LOOKING FOR FOLLOWERS.<br><br>WE ARE LOOKING FOR COLLABORATORS.</span> | |
</div> | |
</div> | |
</section> |
sudo apt-get install libasound-dev portaudio19-dev libportaudio2 libportaudiocpp0
sudo apt-get install ffmpeg libav-tools
sudo pip install pyaudio
import { FieldProps } from 'formik' | |
import React from 'react' | |
import Select, { Option, ReactSelectProps } from 'react-select' | |
export const SelectField: React.SFC<ReactSelectProps & FieldProps> = ({ | |
options, | |
field, | |
form, | |
}) => ( | |
<Select |
import React, { Component } from 'react'; | |
import { Button, Text, View } from 'react-native'; | |
import { RNCamera } from 'react-native-camera'; | |
class ProductScanRNCamera extends Component { | |
constructor(props) { | |
super(props); | |
this.camera = null; | |
this.barcodeCodes = []; |
cd /home/<user>/ | |
sudo apt-get install unzip | |
wget https://dl.google.com/android/repository/sdk-tools-linux-4333796.zip | |
unzip sdk-tools-linux-4333796.zip -d Android | |
rm sdk-tools-linux-4333796.zip | |
sudo apt-get install -y lib32z1 openjdk-8-jdk | |
export JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64 | |
export PATH=$PATH:$JAVA_HOME/bin | |
printf "\n\nexport JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64\nexport PATH=\$PATH:\$JAVA_HOME/bin" >> ~/.bashrc | |
cd Android/tools/bin |