Skip to content

Instantly share code, notes, and snippets.

View ehenry09's full-sized avatar
🎯
Focusing

Elliot Henry ehenry09

🎯
Focusing
View GitHub Profile
@artero
artero / launch_sublime_from_terminal.markdown
Last active September 12, 2024 02:13 — forked from olivierlacan/launch_sublime_from_terminal.markdown
Launch Sublime Text 2 from the Mac OS X Terminal

Launch Sublime Text 2 from the Mac OS X Terminal

Sublime Text 2 ships with a CLI called subl (why not "sublime", go figure). This utility is hidden in the following folder (assuming you installed Sublime in /Applications like normal folk. If this following line opens Sublime Text for you, then bingo, you're ready.

open /Applications/Sublime\ Text\ 2.app/Contents/SharedSupport/bin/subl

You can find more (official) details about subl here: http://www.sublimetext.com/docs/2/osx_command_line.html

Installation

@PurpleBooth
PurpleBooth / README-Template.md
Last active April 27, 2025 06:17
A template to make good README.md

Project Title

One Paragraph of project description goes here

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

@DianaEromosele
DianaEromosele / Change "origin" of your GIT repository
Created August 7, 2016 00:31
Change "origin" of your GIT repository
$ git remote rm origin
$ git remote add origin [email protected]:aplikacjainfo/proj1.git
$ git config master.remote origin
$ git config master.merge refs/heads/master
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@ZaxR
ZaxR / download_google_images.py
Created October 28, 2019 21:48
Download images from Google Images to Google Drive in Collab Notebook
!apt install chromium-chromedriver -q
!pip install google_images_download selenium -q
import sys
from fastai.vision import *
from google.colab import drive, files
from google_images_download import google_images_download
from selenium import webdriver # needed for google_images_download
# https://docs.pytest.org/en/latest/example/parametrize.html#apply-indirect-on-particular-arguments
import pytest
class SomeClass:
def __init__(self, a, b, c):
self.a = a
self.b = b
self.c = c