Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View seleregb's full-sized avatar
🎯
Focusing

Gbenro Selere seleregb

🎯
Focusing
  • Halifax, NS, Canada
View GitHub Profile

1. Clone your fork:

git clone git@github.com:YOUR-USERNAME/YOUR-FORKED-REPO.git

2. Add remote from original repository in your forked repository:

cd into/cloned/fork-repo
git remote add upstream git://github.com/ORIGINAL-DEV-USERNAME/REPO-YOU-FORKED-FROM.git
git fetch upstream
@seleregb
seleregb / post csv to solr with curl.sh
Created February 14, 2018 12:49 — forked from nz/post csv to solr with curl.sh
An example of how to POST CSV data to Solr with curl
curl http://index.websolr.com/solr/yourindex/update/csv --data-binary @mydata.csv -H 'Content-type:text/plain; charset=utf-8'
@seleregb
seleregb / server.R
Last active August 29, 2015 14:26 — forked from trestletech/server.R
Sample Shiny application demonstrating usage of Shiny Server Pro's authentication feature to customize the app according to the privileges of the logged-in user.
library(shiny)
library(ggplot2)
# Get the current day of the month
dom <- 25
# Define the target for salespeople in our organization.
salesTarget <- 15000
# Set the seed so we always get the same data.