git clone https://github.com/nazar-pc/RTL8814AU.git
cd RTL8814AU
sudo ./dkms-install.sh
sudo modprobe rtl8814au
This file contains 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 React, {Component} from 'react'; | |
import {StyleSheet, Text} from 'react-native'; | |
type Props = { | |
slogan: string | |
}; | |
export default class Title extends Component<Props> { | |
render() { | |
return (<Text style={styles.welcome}> |
This file contains 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 * as firebase from 'firebase'; | |
const config = { | |
apiKey: 'api_secret', | |
authDomain: 'your-project.firebaseapp.com', | |
databaseURL: 'https://your-project.firebaseio.com', | |
projectId: 'your-project', | |
storageBucket: 'your-project.appspot.com', | |
messagingSenderId: '***' | |
}; |
This file contains 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 React, {Component} from 'react'; | |
import {StyleSheet, Text} from 'react-native'; | |
type Props = { | |
slogan: string | |
}; | |
export default class Title extends Component<Props> { | |
render() { | |
return (<Text style={styles.welcome}> |
This file contains 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 React, {Component} from 'react'; | |
import {SafeAreaView, StyleSheet, View} from 'react-native'; | |
// https://medium.com/react-native-training/react-native-iphonex-92ff511282af | |
export default class App extends Component < {} > { | |
render() { | |
return (<SafeAreaView style={styles.safeArea}> | |
<View/> | |
</SafeAreaView>); | |
} |
This file contains 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
-- show running queries (pre 9.2) | |
SELECT procpid, age(query_start, clock_timestamp()), usename, current_query | |
FROM pg_stat_activity | |
WHERE current_query != '<IDLE>' AND current_query NOT ILIKE '%pg_stat_activity%' | |
ORDER BY query_start desc; | |
-- show running queries (9.2) | |
SELECT pid, age(query_start, clock_timestamp()), usename, query | |
FROM pg_stat_activity | |
WHERE query != '<IDLE>' AND query NOT ILIKE '%pg_stat_activity%' |
This file contains 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
bazel build -c opt --copt=-mavx --copt=-mavx2 --copt=-mfma --copt=-mfpmath=both --copt=-msse4.2 --config=cuda -k //tensorflow/tools/pip_package:build_pip_package |
This file contains 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
# List docker images/containers | |
docker images | |
docker ps | |
docker ps -a (include stopped containers) | |
# Remove docker images/containers | |
docker rmi image-sha | |
docker rm container-sha | |
# SSH into container |
This file contains 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
////////////////////////////////////////////////////////// | |
// | |
// Chater 4 - Tim's Era | |
// | |
////////////////////////////////////////////////////////// | |
extension Company { | |
func isBiggerThan(company: Company) -> Bool { | |
if marketCapital == nil || company.marketCapital == nil { |
NewerOlder