Skip to content

Instantly share code, notes, and snippets.

View langheran's full-sized avatar
🎧
Automation Ninja 🐱‍👓

Nisim Hurst-Tarrab langheran

🎧
Automation Ninja 🐱‍👓
View GitHub Profile
@Randommood
Randommood / opencv_v3.0.0_install_c++_project_.travis.yml
Created January 14, 2016 00:30 — forked from cgddrd/opencv_v3.0.0_install_c++_project_.travis.yml
Travis CI configuration file to install OpenCV v3.0.0 (beta) for use with C++ projects. Modified for v3.0.0 from original scripts available at: https://github.com/jayrambhia/Install-OpenCV.
language:
- cpp
compiler:
- gcc
before_install:
- sudo apt-get update
install:
@fernandoc1
fernandoc1 / Makefile
Created January 25, 2017 14:00
Example for using serializing and deserializing map with DLIB
all:
g++ main.cpp -ldlib -o Test
@joshbuchea
joshbuchea / semantic-commit-messages.md
Last active May 11, 2025 11:33
Semantic Commit Messages

Semantic Commit Messages

See how a minor change to your commit message style can make you a better programmer.

Format: <type>(<scope>): <subject>

<scope> is optional

Example

@svmotha
svmotha / createTable.py
Created June 11, 2017 05:36
Check if DynamoDB table already exists and create one if it doesn't
import boto3
class tableCreate(object):
def __init__(self, **kwargs):
self.__dict__.update(kwargs)
# Query client and list_tables to see if table exists or not
def queryCreate(self):
# Instantiate your dynamo client object
client = boto3.client('dynamodb')
@santisbon
santisbon / Search my gists.md
Last active May 5, 2025 21:07
How to search gists.

Enter this in the search box along with your search terms:

Get all gists from the user santisbon.
user:santisbon

Find all gists with a .yml extension.
extension:yml

Find all gists with HTML files.
language:html

@duhaime
duhaime / .gitignore
Last active July 6, 2022 15:23
Minimal Heroku / Flask App
*.pyc
__pycache__
@naveenrajm7
naveenrajm7 / student_model.ipynb
Created June 21, 2018 22:13
PgmPy Model for Student Example
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@kaze
kaze / selenium-install
Last active May 17, 2024 12:12 — forked from xiaol825/install.txt
How to install Chrome, ChromeDriver and Selenium on CentOS. Plus a sample scraping script.
#!/usr/bin/env bash
# https://developers.supportbee.com/blog/setting-up-cucumber-to-run-with-Chrome-on-Linux/
# https://gist.github.com/curtismcmullan/7be1a8c1c841a9d8db2c
# http://stackoverflow.com/questions/10792403/how-do-i-get-chrome-working-with-selenium-using-php-webdriver
# http://stackoverflow.com/questions/26133486/how-to-specify-binary-path-for-remote-chromedriver-in-codeception
# http://stackoverflow.com/questions/40262682/how-to-run-selenium-3-x-with-chrome-driver-through-terminal
# http://askubuntu.com/questions/760085/how-do-you-install-google-chrome-on-ubuntu-16-04
# Versions
CHROME_DRIVER_VERSION=`curl -sS chromedriver.storage.googleapis.com/LATEST_RELEASE`
@artificialsoph
artificialsoph / jupyter_ngrok.md
Last active March 23, 2025 15:36
Quickest way to get Jupyter notebook running on a remote server.

Log into your server with ssh, something like

ssh -i "my_secret.pem" [email protected]

If it's a new server, you'll need to install a few things.

Install conda with