Skip to content

Instantly share code, notes, and snippets.

View Edddy's full-sized avatar

Eduardo Molteni Edddy

View GitHub Profile
@Edddy
Edddy / hosting-on-github.md
Last active November 15, 2022 19:02 — forked from TylerFisher/hosting-on-github.md
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
@Edddy
Edddy / transpose_table.js
Last active December 10, 2015 00:38 — forked from pgaertig/transpose_table.js
This fork Transpose th also
$(function() {
var t = $('#thetable tbody').eq(0);
var r = t.find('tr');
var cols= r.length;
var rows= r.eq(0).find('td, th').length;
var cell, next, tem, i = 0;
var tb= $('<tbody></tbody>');
while(i<rows){
cell= 0;
@Edddy
Edddy / MVC3-to-MVC4
Created August 31, 2012 22:57
This program will transform an ASP.net MVC3 project to MVC4
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace mvc3_to_mvc4 {
class Program {