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 cv2 | |
import pytesseract | |
import urllib | |
import numpy as np | |
import re | |
# Installs: https://www.learnopencv.com/deep-learning-based-text-recognition-ocr-using-tesseract-and-opencv/ | |
if __name__ == '__main__': | |
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
prettier --list-different --write --config ../.prettierrc "{,!(node_modules)/**/}*.js" |
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 { SF_OAUTH_URL, REMOTE_ACCESS_CONSUMER_KEY } from 'react-native-dotenv'; | |
import { AsyncStorage, Button, View, Text } from 'react-native'; | |
import { AuthSession } from 'expo'; | |
import { globalStyles } from '../constants/Styles'; | |
import ScreenKeys from '../constants/ScreenKeys'; | |
export default class SignInScreen extends Component { | |
static navigationOptions = { | |
title: 'Please sign in', |
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
#!/bin/sh | |
git update-index -g |
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
#!/bin/sh | |
# ------------------------------------------------------------------------------------# | |
# Console log check | |
# ------------------------------------------------------------------------------------# | |
# Redirect output to stderr. | |
exec 1>&2 | |
# Enable user input | |
# exec < /dev/tty | |
# Updated regexp to only look at the addition of console.log's on the current branch HEAD |
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 {HttpClient} from '@angular/common/http'; | |
import {TranslateLoader} from '@ngx-translate/core'; | |
import {Observable} from 'rxjs/Observable'; | |
import 'rxjs/add/observable/forkJoin'; | |
export function translateLoader(http: HttpClient) { | |
return new MultiTranslateHttpLoader(http, [ | |
{prefix: './assets/i18n/', suffix: '.json'}, | |
{prefix: './assets/i18n/countries-', suffix: '.json'} |
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
#!/bin/sh | |
# ------------------------------------------------------------------------------------# | |
# Console log check | |
# ------------------------------------------------------------------------------------# | |
# Redirect output to stderr. | |
exec 1>&2 | |
# Enable user input | |
exec < /dev/tty | |
# Updated regexp to only look at the addition of console.log's on the current branch HEAD |