// create file:
sudo vim /usr/share/applications/intellij.desktop
// add the following
Version=13.0
Type=Application
Terminal=false
Icon[en_US]=/home/rob/.intellij-13/bin/idea.png
Name[en_US]=IntelliJ
/** | |
* AUTHOR: PAUL OBUNGA <[email protected] | |
* BUS SEAT GENERATOR | |
* TODO: Take care of odd seat numbers | |
* | |
*/ | |
let busOptions = { | |
license: "UBA 100L", | |
capacity: 72, | |
columns: 3, |
// create file:
sudo vim /usr/share/applications/intellij.desktop
// add the following
Version=13.0
Type=Application
Terminal=false
Icon[en_US]=/home/rob/.intellij-13/bin/idea.png
Name[en_US]=IntelliJ
Checkout
git checkout --orphan latest_branch
Add all the files
git add -A
Commit the changes
const express = require("express"); | |
const multer = require("multer"); | |
const fs = require("fs"); | |
const path = require("path"); | |
const port = process.env.PORT || 3000; | |
const app = express(); | |
const upload = multer({ | |
dest: "./uploads", | |
}); |
sudo chown -R $USER:$USER /the/directory/here | |
sudo chmod -R 777 /the/directory/here |
const AssetSchema = new Schema({ | |
assetTag: { type: String, required: true }, | |
assetName: { type: String, required: true }, | |
assetDescription: { type: String, required: true }, | |
assetCatNo: { type: String, required: true }, | |
assetStatus: { type: String }, | |
storageLatitude: { type: String }, | |
storageLongitude: { type: String}, | |
assetSerialNumber: { type: String}, | |
assetType: { type: String }, |
@ECHO OFF | |
set /P project_name="Enter project name: " | |
IF [%project_name%] != [] ( | |
npx react-native init %PROJECT_NAME% --template @ui-kitten/template-ts | |
cd %project_name% | |
yarn add @react-navigation/native | |
yarn add react-native-reanimated react-native-gesture-handler react-native-screens react-native-safe-area-context @react-native-community/masked-view | |
yarn add @react-navigation/stack |
rsync -avzhe -e "ssh -i KEY_LOCATION_PEM" LOCAL_DIR SERVER_USER@SERVER_IP:SERVER_DIR |
{ | |
"name": "node_api", | |
"version": "1.0.0", | |
"description": "", | |
"main": "index.js", | |
"scripts": { | |
"start": "node index", | |
"start:dev": "nodemon index" | |
}, | |
"keywords": [], |