Skip to content

Instantly share code, notes, and snippets.

@Paldom
Paldom / gfonts.ps1
Created December 28, 2015 13:44
Batch font installation from subfolders. Specially for easier Google Font sync.
## gfonts.ps1 ##
<#
.SYNOPSIS
Script that installs ttf fonts from subfolders recursively, e.g. for batch Google Font install
.NOTES
File Name: gfonts.ps1
Author: Domonkos Pal - [email protected]
License: MIT
#>
@Paldom
Paldom / Vagrantfile
Created December 16, 2015 10:02
Homestead/Vagrant initializer that opens config files and share your default site on your local IP.
require 'json'
require 'yaml'
VAGRANTFILE_API_VERSION = "2"
confDir = $confDir ||= File.expand_path("~/.homestead")
homesteadYamlPath = confDir + "/Homestead.yaml"
homesteadJsonPath = confDir + "/Homestead.json"
afterScriptPath = confDir + "/after.sh"
aliasesPath = confDir + "/aliases"