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 from 'react'; | |
import PropTypes from 'prop-types'; | |
export const BANK_ACCOUNT_FORM_COUNTRY = 'country'; | |
export const BANK_ACCOUNT_FORM_CURRENCY = 'currency'; | |
export const BANK_ACCOUNT_FORM_ROUTING_NUMBER = 'routing_number'; | |
export const BANK_ACCOUNT_FORM_ACCOUNT_NUMBER = 'account_number'; | |
export const BANK_ACCOUNT_FORM_ACCOUNT_HOLDER_NAME = 'account_holder_name'; | |
export const BANK_ACCOUNT_FORM_ACCOUNT_HOLDER_TYPE = 'account_holder_type'; |
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 'whatwg-fetch'; | |
import openSocket from 'socket.io-client'; | |
const socket = openSocket('http://localhost:8000'); | |
class Home extends Component { | |
constructor(props) { | |
super(props); |
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
// Attach to the camera asset | |
using System.Collections; | |
using System.Collections.Generic; | |
using UnityEngine; | |
public class FollowCamera : MonoBehaviour { | |
private int screenWidth; | |
private int screenHeight; | |
public int speed = 5; |
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
{ | |
"if": { | |
"classNames": [ "demo" ] | |
} | |
} |
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
{ | |
"reservedWords": ["default", "index","custom"], | |
"themes": { | |
"default": { | |
"json": "https://gist.githubusercontent.com/keithweaver/6b87e9f0bf559c81d8201f3e4b33b262/raw/230c89c855338aee6ae865bd575d6421923fe25a/default.json", | |
"css": "../themes/default.css" | |
}, | |
"custom": {} | |
} | |
} |
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
const User = require('../../models/User'); | |
const UserSession = require('../../models/UserSession'); | |
module.exports = (app) => { | |
/* | |
* Sign up | |
*/ | |
app.post('/api/account/signup', (req, res, next) => { | |
const { body } = req; |
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
def delete_image(image_object): | |
# TODO | |
print ('delete_image') | |
def process_image(image_object): | |
# TODO | |
print ('process_image') | |
def take_image_from_pi_cam(): | |
print ('insert_take_image') |
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
def delete_image(image_object): | |
# TODO | |
print ('delete_image') | |
def process_image(image_object): | |
# TODO | |
print ('process_image') | |
def get_image_from_path(image_path): | |
print ('get_image_from_path') |
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
# Running: | |
# $ python run-custom-cascade.py | |
# Import OpenCV | |
import cv2 | |
# Image file | |
IMAGE_FILE = './example.png' # Change this to be your image | |
# Cascade file |
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
{ | |
"version": 1, | |
"isLive": true, | |
"message": "The application is still live, check keithweaver.ca" | |
} |