export type LearningTimeInfo = $ReadOnly<{|
// The number of seconds offset from the learner UTC time to their
// local time, to allow for in/out school detection.
localTimeOffsetSeconds: {offsetSeconds: number},
// The full URL. Intended for debugging/human-readability. Code
// should not be analyzing this field to do things! -- instead we
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
def hide_code(): | |
from IPython.display import HTML | |
from IPython.display import display | |
# Taken from https://stackoverflow.com/questions/31517194/how-to-hide-one-specific-cell-input-or-output-in-ipython-notebook | |
tag = HTML('''<script> | |
code_show=true; | |
function code_toggle() { | |
if (code_show){ | |
$('div.cell.code_cell.rendered.selected div.input').hide(); |
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
/** | |
* Script to extract dependency graph from a codebase with an entry point. | |
*/ | |
import { | |
createCLICommand, | |
startIfMain, | |
runCommand, | |
createFlagMap, | |
t, |
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
<style id="jsbin-css"> | |
:root { | |
--color-dark: #333030; | |
--color-dark-grey: #9e9e9e; | |
--color-grey: #bec6ce; | |
--color-red: #f7b9b9; | |
--color-purple: #e0c6f4; | |
--color-blue: #bae2f4; | |
--color-yellow: #fcf8a4; | |
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
\documentclass{article} | |
\usepackage[utf8]{inputenc} | |
\usepackage[margin=1in,top=1.25in,headsep=0.25in]{geometry} | |
\usepackage{fancyhdr} | |
\title{Final Project Prospectus, HUM 325} | |
\author{Sarah Lim} | |
\date{February 2017} | |
\makeatletter |
Reformatted from original source: https://code.google.com/archive/p/puz/wikis/FileFormat.wiki
Define a short to be a little-endian two byte integer. The file header is then described in the following table.
Component | Offset | End | Length | Type | Description |
---|
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
// make a bookmarklet here: https://mrcoles.com/bookmarklet/ | |
const listener = ({key, ctrlKey}) => { | |
if (ctrlKey && key === 'p') { | |
$r.store.dispatch({ | |
type: 'TOGGLE_PENCIL_MODE', | |
}); | |
} | |
}; |
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
[ -f ~/.fzf.bash ] && source ~/.fzf.bash | |
## Aliases | |
alias ..='cd ..' | |
alias ...='cd ../..' | |
alias lsa='ls -a' | |
alias ll='ls -la' | |
alias gs='git status' |
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
"######################################## | |
"######################################## | |
" Rainbow Contrast (rainglow) | |
" | |
" https://github.com/rainglow/vim | |
" | |
" Copyright (c) Dayle Rees. | |
"######################################## | |
"######################################## |
NewerOlder