-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathslug.go
More file actions
91 lines (90 loc) · 2.66 KB
/
slug.go
File metadata and controls
91 lines (90 loc) · 2.66 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
package main
func IsValidSlug(slug string) bool {
switch slug {
case
"2012-retrospective",
"analysis-and-comment-why-point-sale-pos",
"answered-network-design",
"appearance-can-be-deceptive",
"bored-engineer",
"building-and-scaling-pdftribute",
"building-dkms-package-latest-intel-e1000e-driver",
"building-updated-packages-sun-java6-6u30",
"change-one-thing",
"chip-pin-password-securecode-challenge-auth",
"cloud-backup-strategy",
"coming-out-my-story",
"cost-forward-thinking",
"cots-series-endpoint-antivirusantimalware",
"cots-series-enterprise-patch-management",
"dedicated-dedicated",
"deeply-concerning",
"dennis-nedry-and-human-single-point-failure",
"desktops-servers",
"dmg-ate-my-system-preferences",
"drabble",
"ebuyer-black-monday",
"fakeraid-and-virtualisation",
"freeswitch-raspberry-pi",
"getting-started-ansible",
"gwan-snakeoil-beware",
"hacking-initrdgz-ubuntu-netboot-installer",
"how-i-broke-aws-opsworks",
"how-to-find-rogue-dhcp-server-your-network",
"identity-theft",
"interesting-thing-network-motifs",
"isc-dhcp-and-powerdns",
"is-disconnected-info",
"it-gets-better",
"jenkins-job-dispatch-engine",
"legacies",
"lightning-post-dumping-ms-dns-bind",
"low-level-infrastructure-puppet-dns-and-dhcp",
"manifest-agile-devops",
"migrating-the-blog",
"mod-rewrite-killing-social-media",
"monitoring-munin",
"monitoring-systems-monitor-weather-telegraf",
"monitoring-weather-influxdb-and-grafana-and-bunch-arduinos",
"my-battle-commvault",
"mysterious-tiles",
"name-game",
"not-storing-files-database",
"n-story",
"one-size-does-not-fit-all",
"on-interviews",
"part-2-deploying-applications-ansible",
"part-3-ansible-and-amazon-web-services",
"part-4-ansible-tower",
"part-5-ansible-galaxy",
"postgres-replication-91",
"proposal-increasing-facebook-security",
"puppet-apt-and-our-very-own-thundering-herd",
"raid-is-not-backup",
"renewing-ssl-certificate-osx-server",
"retrospective-unlock-london-hackathon",
"sensible-java-build-tool",
"seriously-what",
"simple-2-factor-authentication-linux-or-unix-duo",
"smokeping-nginx",
"so-you-wanna-be-sysadmin",
"step-by-step-aws-ec2-tutorial",
"technology-empires",
"thanksgiving-2012",
"the-wiki-problem",
"things-concern-me-unified-threat-management-utm",
"transferrable-skill-higher-education",
"true-age-test",
"twitter-and-their-rest-blunder",
"uncrackable-passwords",
"velleman-8055-drivers",
"vpn-technologies-primer",
"when-should-i-use-eval",
"where-are-your-eggs-stored",
"why-do-corners-get-cut",
"wiki-problem",
"zen-and-art-speccing-servers":
return true
}
return false
}