This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ diff github.txt gitlab.txt | |
2c2 | |
< href="#this-is-also----------a-header" | |
--- | |
> href="#this-is-also-a-header" | |
5c5 | |
< href="#--lets-try-this-shall-we" | |
--- | |
> href="#-lets-try-this-shall-we" | |
8c8 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
\begin{lstlisting} | |
ChangeId: (Author: Date: Time: Line:) Code: | |
eae564f2 (cpeterson 2015-08-06 13:42:33 172) isRelayed := r.Header.Get(relayHeader) != "" | |
67b67bd0 (mjibson 2015-04-20 19:23:51 173) reader := &passthru{ReadCloser: r.Body} | |
67b67bd0 (mjibson 2015-04-20 19:23:51 174) r.Body = reader | |
67b67bd0 (mjibson 2015-04-20 19:23:51 175) w := &relayWriter{ResponseWriter: responseWriter} | |
ba83ae2e (cpeterson 2015-09-16 14:11:45 176) rp.TSDBProxy.ServeHTTP(w, r) | |
ade02709 (ipeters 2016-02-23 16:12:39 177) if w.code/100 != 2 { | |
ade02709 (ipeters 2016-02-23 16:12:39 178) verbose("got status %d", w.code) | |
67b67bd0 (mjibson 2015-04-20 19:23:51 179) return |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### Keybase proof | |
I hereby claim: | |
* I am tomontime on github. | |
* I am yesthattom (https://keybase.io/yesthattom) on keybase. | |
* I have a public key ASBZCYkVFaEXmnJAFi7_-pDuYt7W1s0SN_IbiQLPmd88wAo | |
To claim this, I am signing this object: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cd ~/gitthings/WEBSITEROOT | |
mkdir -p layouts/partials/plugins/hello_world/ | |
Added these lines to config.toml: | |
``` | |
[params.plugins.hello_world] | |
[params.plugins.hello_world.css] | |
path = "plugins/hello_world/css.css" | |
[params.plugins.hello_world.head] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The error I get is: | |
cannot use New (type func() (*gitHandle, error)) as type vcs.RegistrarInitializer in argument to vcs.Register | |
The signature of New is: | |
type gitHandle struct { | |
} | |
func New() (*gitHandle, error) { | |
The definition of vcs.RegistrarInitializer is: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This works if I include "-ZoneName" and "-Name" on both the Get- and Remove- | |
Get-DnsServerResourceRecord -ZoneName "example.com" -Name "foo" -RRType "NAPTR" | Where-Object {$_.HostName -eq "foo" -and $_.RecordData.Data -eq "010002000155056C6A736466066C6B6A73666400"} | Remove-DnsServerResourceRecord -Confirm:$false -Force -ZoneName "example.com" -Name "foo" |