Skip to content

Instantly share code, notes, and snippets.

View Bustami's full-sized avatar
🏠
Working at home

Ismael Gómez Schmidt Bustami

🏠
Working at home
View GitHub Profile
@prise6
prise6 / shiny-gvis-sankey-responsive.R
Last active March 2, 2018 19:47
Quick solution to make a googlevis sankey responsive with Shiny
# ------------------------------
# SANKEY WITH GOOGLE VIS
# PSEUDO RESPONSIVE
# ------------------------------
# librairies
library(googleVis)
library(shiny)
# datas
@TylerFisher
TylerFisher / hosting-on-github.md
Last active November 10, 2024 15:41
Basic steps for hosting on Github

Hey there, apparently people are still using this Gist from 2013! It's out of date! Consult the Github docs.

Steps for Hosting a Website on GitHub

  1. Create a GitHub account on github.com.
  2. Download either [GitHub for Mac][1] or [GitHub for Windows][2], depending on your operating system. Open the app and log in using the account you just created.
  3. (On Mac): After you login, click advanced and make sure that your name and email are correct. Then, click "Install Command Line Tools", just in case you want to start using the command line later in life.
  4. Create a new repository in your GitHub application. Name it your-username.github.io. The name is very important. Note the folder that GitHub is saving the repository to. Make sure the "Push to GitHub?" box is checked.
  5. Move your website's files into the folder that GitHub just created when you made the repository. IMPORTANT: Your homepage HTML file must be called "index.html", and it must exist in the top-level
@yihui
yihui / input.Rnw
Last active June 13, 2021 17:45
use knitr (knit2pdf) to generate a PDF report in a Shiny app
\documentclass{article}
\begin{document}
<<names>>=
input$firstname
input$lastname
@
\end{document}