View github.js
// to run this use: https://jscomplete.com/repl | |
import React from 'react'; | |
import { render } from 'react-dom'; | |
const Card = (props) => { | |
return ( | |
<div style={{margin: '1em'}}> | |
<img width="75" src={props.avatar_url} /> | |
<div style={{display: 'inline-block', marginLeft: 10}}> | |
<div style={{fontSize: '1.25em', fontWieght: 'bold'}}> |
View detect_barcode.py
# Detecting Barcodes in Images with Python and OpenCV | |
# OpenCV 3.0 | |
# http://www.pyimagesearch.com/2014/11/24/detecting-barcodes-images-python-opencv/ | |
import numpy as np | |
import argparse | |
import cv2 | |
ap = argparse.ArgumentParser() | |
ap.add_argument("-i","--image", required = True, help="path to image file") |
View Protobuf_CyclicIssue.cs
using System; | |
using System.Collections.Generic; | |
using System.Diagnostics; | |
using System.IO; | |
using System.Linq; | |
using System.Text; | |
using System.Threading.Tasks; | |
using ProtoBuf; | |
namespace TestProtoBufSerialization |
View .bash_profile
# Add the alias below to ~/.bash_profile on a Mac | |
# Save the file and run: source ~/.bash_profile | |
# ASP.NET and Visual Studio Code on OS X | |
source dnvm.sh | |
export MONO_MANAGED_WATCHER=disabled | |
alias code='open $@ -a "Visual Studio Code"' |
View flat-colors.css
/* Flat Colors */ | |
/* Greens */ | |
.color-turquoise | |
{ | |
color: turquoise; | |
} | |
.color-green-sea | |
{ |
View PDFExtractor.cs
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
using iTextSharp.text.pdf; | |
namespace PDFExtract | |
{ | |
public class PDFExtractor | |
{ |