Skip to content

Instantly share code, notes, and snippets.

View pagkly's full-sized avatar

pagkly

  • Human
  • Earth
View GitHub Profile
@TylerFisher
TylerFisher / hosting-on-github.md
Last active April 12, 2025 19:47
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
@nilbus
nilbus / mosh-cygwin.md
Last active March 19, 2021 09:10
Getting mosh (mobile-shell) working with cygwin

Getting mosh on cygwin to work was a little challenging, so I want to share how I got it.

First, install mosh on the server and the client (with cygwin's setup.exe)

When I tried to connect to a mosh server from a cygwin terminal

mosh my-server.com

I would get these errors:

@sebnilsson
sebnilsson / ConvertWordsToPdfs.cls
Last active August 22, 2020 03:48
VBA: Loop through all files in a directory and convert them to PDF-files
Sub ConvertWordsToPdfs()
Dim directory As String
directory = "C:\Wordup" ' The starting directory
Dim fso, folder, files
Set fso = CreateObject("Scripting.FileSystemObject")
Set folder = fso.GetFolder(directory)
Set files = folder.files