forked from NLNOG/nlnogbook
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit c4873ff
Showing
4 changed files
with
230 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,148 @@ | ||
|
||
# Created by https://www.gitignore.io/api/vim,linux,macos,windows,phpstorm | ||
# Edit at https://www.gitignore.io/?templates=vim,linux,macos,windows,phpstorm | ||
|
||
### Linux ### | ||
*~ | ||
|
||
# temporary files which can be created if a process still has a handle open of a deleted file | ||
.fuse_hidden* | ||
|
||
# KDE directory preferences | ||
.directory | ||
|
||
# Linux trash folder which might appear on any partition or disk | ||
.Trash-* | ||
|
||
# .nfs files are created when an open file is removed but is still being accessed | ||
.nfs* | ||
|
||
### macOS ### | ||
# General | ||
.DS_Store | ||
.AppleDouble | ||
.LSOverride | ||
|
||
# Icon must end with two \r | ||
Icon | ||
|
||
# Thumbnails | ||
._* | ||
|
||
# Files that might appear in the root of a volume | ||
.DocumentRevisions-V100 | ||
.fseventsd | ||
.Spotlight-V100 | ||
.TemporaryItems | ||
.Trashes | ||
.VolumeIcon.icns | ||
.com.apple.timemachine.donotpresent | ||
|
||
# Directories potentially created on remote AFP share | ||
.AppleDB | ||
.AppleDesktop | ||
Network Trash Folder | ||
Temporary Items | ||
.apdisk | ||
|
||
### PhpStorm ### | ||
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio and WebStorm | ||
# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839 | ||
|
||
# User-specific stuff | ||
.idea/ | ||
|
||
# CMake | ||
cmake-build-*/ | ||
|
||
# File-based project format | ||
*.iws | ||
|
||
# IntelliJ | ||
out/ | ||
|
||
# mpeltonen/sbt-idea plugin | ||
.idea_modules/ | ||
|
||
# JIRA plugin | ||
atlassian-ide-plugin.xml | ||
|
||
# Cursive Clojure plugin | ||
.idea/replstate.xml | ||
|
||
# Crashlytics plugin (for Android Studio and IntelliJ) | ||
com_crashlytics_export_strings.xml | ||
crashlytics.properties | ||
crashlytics-build.properties | ||
fabric.properties | ||
|
||
# Editor-based Rest Client | ||
.idea/httpRequests | ||
|
||
# Android studio 3.1+ serialized cache file | ||
.idea/caches/build_file_checksums.ser | ||
|
||
### PhpStorm Patch ### | ||
# Comment Reason: https://github.com/joeblau/gitignore.io/issues/186#issuecomment-215987721 | ||
|
||
# *.iml | ||
# modules.xml | ||
# .idea/misc.xml | ||
# *.ipr | ||
|
||
# Sonarlint plugin | ||
.idea/**/sonarlint/ | ||
|
||
# SonarQube Plugin | ||
.idea/**/sonarIssues.xml | ||
|
||
# Markdown Navigator plugin | ||
.idea/**/markdown-navigator.xml | ||
.idea/**/markdown-navigator/ | ||
|
||
### Vim ### | ||
# Swap | ||
[._]*.s[a-v][a-z] | ||
[._]*.sw[a-p] | ||
[._]s[a-rt-v][a-z] | ||
[._]ss[a-gi-z] | ||
[._]sw[a-p] | ||
|
||
# Session | ||
Session.vim | ||
Sessionx.vim | ||
|
||
# Temporary | ||
.netrwhist | ||
# Auto-generated tag files | ||
tags | ||
# Persistent undo | ||
[._]*.un~ | ||
|
||
### Windows ### | ||
# Windows thumbnail cache files | ||
Thumbs.db | ||
Thumbs.db:encryptable | ||
ehthumbs.db | ||
ehthumbs_vista.db | ||
|
||
# Dump file | ||
*.stackdump | ||
|
||
# Folder config file | ||
[Dd]esktop.ini | ||
|
||
# Recycle Bin used on file shares | ||
$RECYCLE.BIN/ | ||
|
||
# Windows Installer files | ||
*.cab | ||
*.msi | ||
*.msix | ||
*.msm | ||
*.msp | ||
|
||
# Windows shortcuts | ||
*.lnk | ||
|
||
# End of https://www.gitignore.io/api/vim,linux,macos,windows,phpstorm |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
--- | ||
breedband: | ||
name: Breedband B.V. | ||
asn: 5524 |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
casdr: | ||
full_name: Cas de Reuver | ||
country: nl | ||
companies: | ||
- breedband |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,72 @@ | ||
<html> | ||
<head> | ||
<title>NLNOGbook</title> | ||
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css" | ||
integrity="sha384-Vkoo8x4CGsO3+Hhxv8T/Q5PaXtkKtu6ug5TOeNV6gBiFeWPGFN9MuhOf23Q9Ifjh" crossorigin="anonymous"> | ||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/css/flag-icon.min.css"> | ||
</head> | ||
<body> | ||
<div class="container"> | ||
<h1 class="page-header">NLNOGbook</h1> | ||
<p>This page was created to keep track of the members in the <a href="https://nlnog.net/" target="_blank">NLNOG</a> community.</p> | ||
<p>You can add yourself to the list by creating a Pull Request on <a href="https://github.com/casdr/nlnogbook" target="_blank">GitHub</a></p> | ||
<table class="table table-sm table-striped"> | ||
<thead> | ||
<tr> | ||
<th>Nick</th> | ||
<th>Full name</th> | ||
<th>Company</th> | ||
<th>Country</th> | ||
</tr> | ||
</thead> | ||
<tbody id="list"></tbody> | ||
</table> | ||
<hr /> | ||
<p>Created by <a href="http://reuver.co/~cas">Cas de Reuver</a>. This page is not affiliated with Stichting NLNOG.</p> | ||
</div> | ||
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/jquery.min.js"></script> | ||
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js-yaml.min.js"></script> | ||
<script> | ||
var defaults = {full_name: '', companies: [], country: ''}; | ||
$(document).ready(function () { | ||
$.get('data/companies.yml?' + (new Date()).getTime(), function (companies_yml) { | ||
var companies = jsyaml.load(companies_yml); | ||
$.get('data/users.yml?' + (new Date()).getTime(), function (users_yml) { | ||
var users = jsyaml.load(users_yml); | ||
for (var name in users) { | ||
var newUser = $('<tr />'); | ||
var user = users[name]; | ||
for (var key in defaults) { | ||
if (!user.hasOwnProperty(key)) { | ||
user[key] = defaults[key]; | ||
} | ||
} | ||
|
||
newUser.append('<td>' + name + '</td>'); | ||
newUser.append('<td>' + user.full_name + '</td>'); | ||
|
||
var companyStr = $('<td />'); | ||
for (var comp in user.companies) { | ||
var company = companies[user.companies[comp]]; | ||
if(company) { | ||
companyStr.append(company.name + ' (<a href="https://apps.db.ripe.net/db-web-ui/lookup?source=ripe&key=AS' + company.asn + '&type=aut-num" target="_blank">AS' + company.asn + '</a>)<br />'); | ||
} else { | ||
companyStr.append(user.companies[comp] + '<br />'); | ||
} | ||
} | ||
newUser.append(companyStr); | ||
|
||
var flag = $('<td />'); | ||
if (user.country) { | ||
flag.append('<span class="flag-icon flag-icon-' + user.country + '" title="' + user.country + '"></span>'); | ||
} | ||
newUser.append(flag); | ||
|
||
$('#list').append(newUser); | ||
} | ||
}); | ||
}) | ||
}); | ||
</script> | ||
</body> | ||
</html> |