adb devices
adb shell
{ | |
"name": "NOBI", | |
"website": "https://usenobi.com", | |
"description": "NOBI", | |
"logo": "https://usenobi.com/wp-content/uploads/2023/03/Logo-Nobi-01-1.png", | |
"twitter": "https://twitter.com/usenobi" | |
} |
version: "3" | |
services: | |
webserver: | |
image: nginx:latest | |
ports: | |
- 8080:80 | |
volumes: | |
- ./docker/nginx/default.conf:/etc/nginx/conf.d/default.conf | |
- ./:/var/www/html |
error_reporting=E_ALL |
FROM php:7.4-fpm | |
RUN pecl install xdebug \ | |
&& docker-php-ext-enable xdebug |
server { | |
server_name ace3; | |
# Set the port to listen on and the server name | |
listen 80 default_server; | |
# Set the document root of the project | |
root /var/www/html/public; | |
# Set the directory index files |
To setup push to multiple remote with single git push
, you need to do this:
git remote set-url --add --push origin [email protected]:[username]/[repository]
git remote set-url --add --push origin [email protected]:[username]/[repository]
.gitignore
file.node_modules/
line to .gitignore
filegit rm -r --cached . && git add . && git commit -m "remove gitignore files" && git push
import { Dimensions, Platform, StatusBar } from 'react-native'; | |
const X_WIDTH = 375; | |
const X_HEIGHT = 812; | |
const XSMAX_WIDTH = 414; | |
const XSMAX_HEIGHT = 896; | |
const { height: W_HEIGHT, width: W_WIDTH } = Dimensions.get('window'); |
# Disable the newline at the start of the prompt | |
add_newline = false | |
# Wait 10 milliseconds for starship to check files under the current directory. | |
scan_timeout = 10 | |
[battery] | |
full_symbol = "🔋" | |
charging_symbol = "⚡️" | |
discharging_symbol = "💀" |