-
Notifications
You must be signed in to change notification settings - Fork 2
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 223ceb4
Showing
121 changed files
with
15,857 additions
and
0 deletions.
There are no files selected for viewing
Empty file.
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 @@ | ||
cmubig.github.io |
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,21 @@ | ||
The MIT License (MIT) | ||
|
||
Copyright (c) 2018 chrisrhymes | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
in the Software without restriction, including without limitation the rights | ||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in | ||
all copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN | ||
THE SOFTWARE. |
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,41 @@ | ||
# Build with Docker | ||
|
||
Assuming you have Docker installed, pull the following image: | ||
|
||
```bash | ||
docker pull jekyll/jekyll:latest | ||
``` | ||
|
||
Run a container: | ||
|
||
```bash | ||
docker compose up | ||
``` | ||
|
||
View the site here: `http://0.0.0.0:4000` | ||
|
||
# Build locally | ||
|
||
First install Jekyll according to [these instructions](https://jekyllrb.com/docs/installation/). | ||
|
||
```bash | ||
git clone https://github.com/cmubig/cmubig.github.io.git | ||
cd cmubig.github.io | ||
bundle install | ||
bundle exec jekyll serve --watch --incremental | ||
``` | ||
|
||
This should start the web server locally, and enables incremental build. | ||
|
||
## Adding your profile | ||
|
||
Adding your profile is very simple. First follow the instructions above and | ||
launch the site. Then add a markdown page in the `_team` folder with your | ||
first name. Edit that file accordingly following the template of the other | ||
files in that folder. Also add your picture (resized to `640x480`) in | ||
the `img/team` folder. Then push those two files to the main branch | ||
of this repository and you're done! | ||
|
||
## Adding your publication | ||
|
||
Edit the `_bibliography/references.bib` file to add your bibtex and commit to `main`. |
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,9 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<browserconfig> | ||
<msapplication> | ||
<tile> | ||
<square150x150logo src="/mstile-150x150.png"/> | ||
<TileColor>#b91d47</TileColor> | ||
</tile> | ||
</msapplication> | ||
</browserconfig> |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
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 @@ | ||
{"name":"","short_name":"","icons":[{"src":"/android-chrome-192x192.png","sizes":"192x192","type":"image/png"},{"src":"/android-chrome-512x512.png","sizes":"512x512","type":"image/png"}],"theme_color":"#ffffff","background_color":"#ffffff","display":"standalone"} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
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,25 @@ | ||
document.addEventListener('DOMContentLoaded', () => { | ||
|
||
// Get all "navbar-burger" elements | ||
const $navbarBurgers = Array.prototype.slice.call(document.querySelectorAll('.navbar-burger'), 0); | ||
|
||
// Check if there are any navbar burgers | ||
if ($navbarBurgers.length > 0) { | ||
|
||
// Add a click event on each of them | ||
$navbarBurgers.forEach( el => { | ||
el.addEventListener('click', () => { | ||
|
||
// Get the target from the "data-target" attribute | ||
const target = el.dataset.target; | ||
const $target = document.getElementById(target); | ||
|
||
// Toggle the "is-active" class on both the "navbar-burger" and the "navbar-menu" | ||
el.classList.toggle('is-active'); | ||
$target.classList.toggle('is-active'); | ||
|
||
}); | ||
}); | ||
} | ||
|
||
}); |
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,262 @@ | ||
/*! | ||
* Simple-Jekyll-Search | ||
* Copyright 2015-2020, Christian Fei | ||
* Licensed under the MIT License. | ||
*/ | ||
|
||
!(function () { | ||
"use strict"; | ||
var f = { | ||
compile: function (r) { | ||
return i.template.replace(i.pattern, function (t, e) { | ||
var n = i.middleware(e, r[e], i.template); | ||
return void 0 !== n ? n : r[e] || t; | ||
}); | ||
}, | ||
setOptions: function (t) { | ||
(i.pattern = t.pattern || i.pattern), | ||
(i.template = t.template || i.template), | ||
"function" == typeof t.middleware && (i.middleware = t.middleware); | ||
}, | ||
}; | ||
const i = { pattern: /\{(.*?)\}/g, template: "", middleware: function () { } }; | ||
var n = function (t, e) { | ||
var n = e.length, | ||
r = t.length; | ||
if (n < r) return !1; | ||
if (r === n) return t === e; | ||
t: for (var i = 0, o = 0; i < r; i++) { | ||
for (var u = t.charCodeAt(i); o < n;) | ||
if (e.charCodeAt(o++) === u) continue t; | ||
return !1; | ||
} | ||
return !0; | ||
}, | ||
e = new (function () { | ||
this.matches = function (t, e) { | ||
return n(e.toLowerCase(), t.toLowerCase()); | ||
}; | ||
})(), | ||
r = new (function () { | ||
this.matches = function (e, t) { | ||
return ( | ||
!!e && | ||
((e = e.trim().toLowerCase()), | ||
(t = t.trim().toLowerCase()).split(" ").filter(function (t) { | ||
return 0 <= e.indexOf(t); | ||
}).length === t.split(" ").length) | ||
); | ||
}; | ||
})(), | ||
d = { | ||
put: function (t) { | ||
if (l(t)) return a(t); | ||
if ( | ||
(function (t) { | ||
return ( | ||
Boolean(t) && | ||
"[object Array]" === Object.prototype.toString.call(t) | ||
); | ||
})(t) | ||
) | ||
return (function (n) { | ||
const r = []; | ||
s(); | ||
for (let t = 0, e = n.length; t < e; t++) | ||
l(n[t]) && r.push(a(n[t])); | ||
return r; | ||
})(t); | ||
return undefined; | ||
}, | ||
clear: s, | ||
search: function (t) { | ||
return t | ||
? (function (e, n, r, i) { | ||
const o = []; | ||
for (let t = 0; t < e.length && o.length < i.limit; t++) { | ||
var u = (function (t, e, n, r) { | ||
for (const i in t) | ||
if ( | ||
!(function (n, r) { | ||
for (let t = 0, e = r.length; t < e; t++) { | ||
var i = r[t]; | ||
if (new RegExp(i).test(n)) return !0; | ||
} | ||
return !1; | ||
})(t[i], r.exclude) && | ||
n.matches(t[i], e) | ||
) | ||
return t; | ||
})(e[t], n, r, i); | ||
u && o.push(u); | ||
} | ||
return o; | ||
})(u, t, c.searchStrategy, c).sort(c.sort) | ||
: []; | ||
}, | ||
setOptions: function (t) { | ||
(c = t || {}), | ||
(c.fuzzy = t.fuzzy || !1), | ||
(c.limit = t.limit || 10), | ||
(c.searchStrategy = t.fuzzy ? e : r), | ||
(c.sort = t.sort || o), | ||
(c.exclude = t.exclude || []); | ||
}, | ||
}; | ||
function o() { | ||
return 0; | ||
} | ||
const u = []; | ||
let c = {}; | ||
function s() { | ||
return (u.length = 0), u; | ||
} | ||
function l(t) { | ||
return ( | ||
Boolean(t) && "[object Object]" === Object.prototype.toString.call(t) | ||
); | ||
} | ||
function a(t) { | ||
return u.push(t), u; | ||
} | ||
(c.fuzzy = !1), | ||
(c.limit = 10), | ||
(c.searchStrategy = c.fuzzy ? e : r), | ||
(c.sort = o), | ||
(c.exclude = []); | ||
var p = { | ||
load: function (t, e) { | ||
const n = window.XMLHttpRequest | ||
? new window.XMLHttpRequest() | ||
: new ActiveXObject("Microsoft.XMLHTTP"); | ||
n.open("GET", t, !0), (n.onreadystatechange = h(n, e)), n.send(); | ||
}, | ||
}; | ||
function h(e, n) { | ||
return function () { | ||
if (4 === e.readyState && 200 === e.status) | ||
try { | ||
n(null, JSON.parse(e.responseText)); | ||
} catch (t) { | ||
n(t, null); | ||
} | ||
}; | ||
} | ||
var m = function y(t) { | ||
if ( | ||
!(e = t) || | ||
!("undefined" != typeof e.required && e.required instanceof Array) | ||
) | ||
throw new Error("-- OptionsValidator: required options missing"); | ||
var e; | ||
if (!(this instanceof y)) return new y(t); | ||
const r = t.required; | ||
(this.getRequiredOptions = function () { | ||
return r; | ||
}), | ||
(this.validate = function (e) { | ||
const n = []; | ||
return ( | ||
r.forEach(function (t) { | ||
"undefined" == typeof e[t] && n.push(t); | ||
}), | ||
n | ||
); | ||
}); | ||
}, | ||
w = { | ||
merge: function (t, e) { | ||
const n = {}; | ||
for (const r in t) | ||
(n[r] = t[r]), "undefined" != typeof e[r] && (n[r] = e[r]); | ||
return n; | ||
}, | ||
isJSON: function (t) { | ||
try { | ||
return t instanceof Object && JSON.parse(JSON.stringify(t)) ? !0 : !1; | ||
} catch (e) { | ||
return !1; | ||
} | ||
}, | ||
}; | ||
!(function (t) { | ||
let i = { | ||
searchInput: null, | ||
resultsContainer: null, | ||
json: [], | ||
success: Function.prototype, | ||
searchResultTemplate: | ||
'<li><a href="{url}"><h1>{title}</h1></li>', | ||
// searchResultTemplate: '<div><a href="{url}"><h1>{title}</h1></a><span>{author}</span></div>', | ||
templateMiddleware: Function.prototype, | ||
sortMiddleware: function () { | ||
return 0; | ||
}, | ||
noResultsText: "No results found", | ||
limit: 10, | ||
fuzzy: !1, | ||
debounceTime: null, | ||
exclude: [], | ||
}, | ||
n; | ||
const e = function (t, e) { | ||
e ? (clearTimeout(n), (n = setTimeout(t, e))) : t.call(); | ||
}; | ||
var r = ["searchInput", "resultsContainer", "json"]; | ||
const o = m({ required: r }); | ||
function u(t) { | ||
d.put(t), | ||
i.searchInput.addEventListener("input", function (t) { | ||
-1 === [13, 16, 20, 37, 38, 39, 40, 91].indexOf(t.which) && | ||
(c(), | ||
e(function () { | ||
l(t.target.value); | ||
}, i.debounceTime)); | ||
}); | ||
} | ||
function c() { | ||
i.resultsContainer.innerHTML = ""; | ||
} | ||
function s(t) { | ||
i.resultsContainer.innerHTML += t; | ||
} | ||
function l(t) { | ||
var e; | ||
(e = t) && | ||
0 < e.length && | ||
(c(), | ||
(function (e, n) { | ||
var r = e.length; | ||
if (0 === r) return s(i.noResultsText); | ||
for (let t = 0; t < r; t++) (e[t].query = n), s(f.compile(e[t])); | ||
})(d.search(t), t)); | ||
} | ||
function a(t) { | ||
throw new Error("SimpleJekyllSearch --- " + t); | ||
} | ||
t.SimpleJekyllSearch = function (t) { | ||
var n; | ||
0 < o.validate(t).length && | ||
a("You must specify the following required options: " + r), | ||
(i = w.merge(i, t)), | ||
f.setOptions({ | ||
template: i.searchResultTemplate, | ||
middleware: i.templateMiddleware, | ||
}), | ||
d.setOptions({ | ||
fuzzy: i.fuzzy, | ||
limit: i.limit, | ||
sort: i.sortMiddleware, | ||
exclude: i.exclude, | ||
}), | ||
w.isJSON(i.json) | ||
? u(i.json) | ||
: ((n = i.json), | ||
p.load(n, function (t, e) { | ||
t && a("failed to get JSON (" + n + ")"), u(e); | ||
})); | ||
t = { search: l }; | ||
return "function" == typeof i.success && i.success.call(t), t; | ||
}; | ||
})(window); | ||
})(); |
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,16 @@ | ||
[ | ||
{% for post in site.posts % | ||
}, | ||
{ | ||
"title": "{{ post.title | escape }}", | ||
"url": "{{ site.baseurl }}{{ post.url }}", | ||
"date": "{{ post.date }}", | ||
"author": "{{ post.author }}" | ||
}, | ||
{% unless forloop.last % | ||
}, | ||
{% endunless % | ||
}, | ||
{% endfor % | ||
} | ||
] |
Oops, something went wrong.