- Related Setup: https://gist.github.com/hofmannsven/6814278
- Related Pro Tips: https://ochronus.com/git-tips-from-the-trenches/
- Interactive Beginners Tutorial: http://try.github.io/
- Git Cheatsheet by GitHub: https://services.github.com/on-demand/downloads/github-git-cheat-sheet/
####Rets Rabbit http://www.retsrabbit.com
Rets Rabbit removes the nightmare of importing thousands of real estate listings and photos from RETS or ListHub and gives you an easy to use import and Web API server so you can focus on building your listing search powered website or app.
There are many Git workflows out there, I heavily suggest also reading the atlassian.com [Git Workflow][article] article as there is more detail then presented here.
The two prevailing workflows are [Gitflow][gitflow] and [feature branches][feature]. IMHO, being more of a subscriber to continuous integration, I feel that the feature branch workflow is better suited.
When using Bash in the command line, it leaves a bit to be desired when it comes to awareness of state. I would suggest following these instructions on [setting up GIT Bash autocompletion][git-auto].
When working with a centralized workflow the concepts are simple, master represented the official history and is always deployable. With each now scope of work, aka feature, the developer is to create a new branch. For clarity, make sure to use descriptive names like transaction-fail-message or github-oauth for your branches.
| require('dotenv').config() | |
| const cors = require('cors') | |
| const bodyParser = require('body-parser') | |
| const express = require('express') | |
| const expressJwt = require('express-jwt') | |
| const cookieSession = require('cookie-session') | |
| const jwt = require('jsonwebtoken') | |
| const passport = require('passport') | |
| const GoogleStrategy = require('passport-google-oauth20').Strategy | |
| const jwtSecret = Buffer.from('Zn8Q5tyZ/G1MHltc4F/gTkVJMlrbKiZt', 'base64') |
| require('dotenv').config() | |
| const express = require('express') | |
| const jwt = require('jsonwebtoken') | |
| const passport = require('passport') | |
| const GoogleStrategy = require('passport-google-oauth20').Strategy | |
| const fs = require('fs') | |
| const publicKey = fs.readFileSync('jwtRS256.key.pub', 'utf8') | |
| const privateKey = fs.readFileSync('jwtRS256.key', 'utf8') | |
| var knex = require('knex')({ | |
| client: 'pg', |
| import * as Sentry from "@sentry/node"; | |
| import imagemin from "imagemin"; | |
| import mozjpeg from "imagemin-mozjpeg"; | |
| import sharp from "sharp"; | |
| import isJpg from "is-jpg"; | |
| import * as aws from "aws-sdk"; | |
| import { Upload } from "../../types/graphqlUtils"; | |
| import { generateFilename } from "./generateFilename"; | |
| export const s3 = new aws.S3({ |
| version: "3.4" | |
| services: | |
| pgAdmin: | |
| restart: always | |
| image: dpage/pgadmin4 | |
| ports: | |
| - "8000:80" | |
| environment: | |
| PGADMIN_DEFAULT_EMAIL: 1234@admin.com |
These notes are pretty much the same steps as the two extensions list, it's just that I had to collate them together because neither seems to list it fully in the proper order.
-
Install Synthwave ’84/Synthwave + Fluoromachine theme on VS Code (I used the Fluoromachine one)
-
Install Custom CSS and JS Loader
-
Command + Shift + P to open command palette > "Preferences: Open settings (JSON)"
| // MIT License | |
| // Copyright (c) 2020 Szabolcs Gelencsér | |
| // Permission is hereby granted, free of charge, to any person obtaining a copy | |
| // of this software and associated documentation files (the "Software"), to deal | |
| // in the Software without restriction, including without limitation the rights | |
| // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
| // copies of the Software, and to permit persons to whom the Software is | |
| // furnished to do so, subject to the following conditions: |
| Video tutorial of this gist file : https://www.youtube.com/watch?v=kmT-z2lqEPQ | |
| Used commit hash id: a9eef1fbb1dcdce4f0eb0b8e0f79dcd4c96713e1 | |
| git checkout a9eef1fbb1dcdce4f0eb0b8e0f79dcd4c96713e1 | |
| git checkout master | |
| video frame extract command |