A list of the most common functionalities in Jekyll (Liquid). You can use Jekyll with GitHub Pages, just make sure you are using the proper version.
Running a local server for testing purposes:
| function Get-InstalledSoftware { | |
| <# | |
| .SYNOPSIS | |
| Get all installed from the Uninstall keys in the registry. | |
| .DESCRIPTION | |
| Read a list of installed software from each Uninstall key. | |
| This function provides an alternative to using Win32_Product. | |
| .EXAMPLE | |
| Get-InstalledSoftware |
| #requires -version 4.0 | |
| #requires -module Pester | |
| Function New-Project { | |
| <# | |
| .SYNOPSIS | |
| Create a PowerShell project folder. | |
| .DESCRIPTION | |
| Use this command to create a new PowerShell project folder. You specify a top level folder and the name of a project. The command will create a Tests sub-folder, a Pester script outline and set the project up in Git. The command will also create a Docs folder and a culture-specific folder for localized help. |
A list of the most common functionalities in Jekyll (Liquid). You can use Jekyll with GitHub Pages, just make sure you are using the proper version.
Running a local server for testing purposes:
| package main | |
| import( | |
| "log" | |
| "net/url" | |
| "net/http" | |
| "net/http/httputil" | |
| ) | |
| func main() { |
Locate the section for your github remote in the .git/config file. It looks like this:
[remote "origin"]
fetch = +refs/heads/*:refs/remotes/origin/*
url = [email protected]:joyent/node.git
Now add the line fetch = +refs/pull/*/head:refs/remotes/origin/pr/* to this section. Obviously, change the github url to match your project's URL. It ends up looking like this: