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
token = token_top | |
#='/home/user/path/to/cert/certificate_file.crt' | |
import gitlab | |
import numpy as np | |
import regex | |
import datetime | |
gl = gitlab.Gitlab('https://personal.gitlab.com/', private_token=token,ssl_verify=False) | |
gl_epochs = gitlab.Gitlab('https://personal.gitlab.com/', private_token=token_top,ssl_verify=False) |
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
class ViewZoom { | |
project: paper.Project; | |
factor = 1.25; | |
private _minZoom: number; | |
private _maxZoom: number; | |
private mouseNativeStart: paper.Point; | |
private viewCenterStart: paper.Point; |
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
<!-- | |
This code displays the dropdown for the options to sort from. | |
Adapted from https://gist.github.com/carolineschnapp/11352987 | |
It will be inserted on every collections page. Probably in a snippet called something like collection-sorting.liquid | |
--> | |
<div class="form-horizontal"> | |
<label for="SortBy" class="uppercase">{{ 'collections.sorting.title' | t }} </label> | |
<select name="SortBy" id="SortBy"> |
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
set progress description to "A simple progress indicator" | |
set progress additional description to "Preparing…" | |
set progress total steps to -1 | |
delay 5 | |
set progress total steps to 100 | |
repeat with i from 1 to 100 | |
try | |
set progress additional description to "I am on step " & i |
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
license: gpl-3.0 | |
redirect: https://beta.observablehq.com/@mbostock/d3-azimuthal-equal-area |