This file contains hidden or 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
{ config, lib, pkgs, ... }: | |
let | |
baseconfig = { allowUnfree = true; }; | |
unstable = import <nixos-unstable> { config = baseconfig; }; | |
in { | |
imports = |
This file contains hidden or 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
{ | |
/************************* | |
Go | |
*************************/ | |
"go.useLanguageServer": true, | |
"[go]": { | |
"editor.formatOnSave": true, | |
"editor.codeActionsOnSave": { | |
"source.organizeImports": true, | |
}, |
This file contains hidden or 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
// Sometimes it's necessary to do a bit of clean-up | |
Array.prototype.forEach.call(document.querySelectorAll('.js-comment-delete button'), function(el, i) { | |
el.removeAttribute('data-confirm'); | |
el.click(); | |
}); |
This file contains hidden or 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
package play | |
var _ = Buddy(&someBuddy{}) | |
type someBuddy struct{} | |
func (s *someBuddy) Name() string { | |
return "somebuddy" | |
} |
This file contains hidden or 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
apiVersion: apiextensions.k8s.io/v1 | |
kind: CustomResourceDefinition | |
metadata: | |
creationTimestamp: "2021-01-07T15:25:19Z" | |
generation: 1 | |
name: backendconfigs.cloud.google.com | |
resourceVersion: "993" | |
selfLink: /apis/apiextensions.k8s.io/v1/customresourcedefinitions/backendconfigs.cloud.google.com | |
uid: 04022ede-4398-4ca9-9c23-c5f5e659c819 | |
spec: |
This file contains hidden or 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
passwd: | |
users: | |
- name: core | |
ssh_authorized_keys: | |
- ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIBSWf+pMgyV7gCuYvYh0ySizmKLhCCZCRw4trVqLeqol |
This file contains hidden or 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
foo |
This file contains hidden or 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
https://gist.github.com/epk/b4dc7793d2a09e0ae8e7533d6f1196d4 |
This file contains hidden or 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
curl -v --interface utun2 172.217.1.174 | |
* Trying 172.217.1.174... | |
* TCP_NODELAY set | |
* Local Interface utun2 is ip 100.114.40.4 using address family 2 | |
* Local port: 0 | |
^C | |
✘ ~ ping 100.83.104.46 | |
PING 100.83.104.46 (100.83.104.46): 56 data bytes | |
64 bytes from 100.83.104.46: icmp_seq=0 ttl=64 time=32.706 ms | |
64 bytes from 100.83.104.46: icmp_seq=1 ttl=64 time=36.212 ms |
This file contains hidden or 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
curl -v --interface utun2 google.com | |
* Trying 172.217.164.206... | |
* TCP_NODELAY set | |
* Local Interface utun2 is ip 100.114.40.4 using address family 2 | |
* Local port: 0 | |
* Trying 2607:f8b0:400b:800::200e... | |
* TCP_NODELAY set | |
* Trying 2607:f8b0:400b:800::200e... | |
* TCP_NODELAY set | |
* Trying 2607:f8b0:400b:800::200e... |