Skip to content

Instantly share code, notes, and snippets.

View ingscjoshua's full-sized avatar
🏠
Working from home

j05h ingscjoshua

🏠
Working from home
View GitHub Profile
#!/bin/bash
function go-home(){
echo "Moviendose al home"
cd /Volumes/B4ckupOSX/Documents
}
function go-web(){
echo "moviendose a home web"
cd /Volumes/B4ckupOSX/Documents/DevelopWeb
}
@ingscjoshua
ingscjoshua / gh-pages-deploy.md
Created July 6, 2020 06:04 — forked from cobyism/gh-pages-deploy.md
Deploy to `gh-pages` from a `dist` folder on the master branch. Useful for use with [yeoman](http://yeoman.io).

Deploying a subfolder to GitHub Pages

Sometimes you want to have a subdirectory on the master branch be the root directory of a repository’s gh-pages branch. This is useful for things like sites developed with Yeoman, or if you have a Jekyll site contained in the master branch alongside the rest of your code.

For the sake of this example, let’s pretend the subfolder containing your site is named dist.

Step 1

Remove the dist directory from the project’s .gitignore file (it’s ignored by default by Yeoman).

# If you come from bash you might have to change your $PATH.
# export PATH=$HOME/bin:/usr/local/bin:$PATH
# Path to your oh-my-zsh installation.
export ZSH="/Users/sp4rt4n-m1n1/.oh-my-zsh"
# Set name of the theme to load --- if set to "random", it will
# load a random theme each time oh-my-zsh is loaded, in which case,
# to know which specific one was loaded, run: echo $RANDOM_THEME
# See https://github.com/robbyrussell/oh-my-zsh/wiki/Themes
@ingscjoshua
ingscjoshua / .vimrc
Last active June 22, 2020 01:52
Configuration for VIM
syntax on
set guicursor=
set noshowmatch
set relativenumber
set nohlsearch
set hidden
set noerrorbells
set tabstop=2 softtabstop=2
set shiftwidth=2
@ingscjoshua
ingscjoshua / cloudSettings
Last active March 19, 2020 03:51 — forked from hery84/sash
{"lastUpload":"2020-03-19T03:51:36.161Z","extensionVersion":"v3.4.3"}
@ingscjoshua
ingscjoshua / Fonts.swift
Created February 13, 2018 17:55 — forked from khanlou/Fonts.swift
Print all fonts in Swift 3
UIFont.familyNames.forEach({ familyName in
let fontNames = UIFont.fontNames(forFamilyName: familyName)
print(familyName, fontNames)
})