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
// Snake interface for onemillioncheckboxes.com | |
// with love from jonny | |
var direction; | |
var current_box; | |
var check_time = +new Date(); | |
var scroll_debounce = false; | |
const SPACE_MULTIPLIER = 3; | |
const spacing = 35; |
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
from pathlib import Path | |
from typing import Iterable, List | |
from textual.app import App, ComposeResult | |
from textual.widgets import DirectoryTree, Header | |
from textual import events | |
from rich.text import Text, TextType | |
from textual.containers import Container | |
class MultiSelectDirectoryTree(DirectoryTree): |
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
from pathlib import Path | |
from typing import Optional, List | |
from PySide6.QtWidgets import ( | |
QApplication, | |
QFileDialog, | |
QListView, | |
QAbstractItemView, | |
QTreeView, | |
QFileSystemModel |
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
<!doctype html> | |
<html> | |
<head> | |
<script src="https://cdn.jsdelivr.net/pyodide/v0.25.0/full/pyodide.js"></script> | |
<link rel="stylesheet" href="https://unpkg.com/@highlightjs/[email protected]/styles/default.min.css"> | |
<script src="https://unpkg.com/@highlightjs/[email protected]/highlight.min.js"></script> | |
<!-- and it's easy to individually load additional languages --> | |
<script src="https://unpkg.com/@highlightjs/[email protected]/languages/python.min.js"></script> | |
<script src="https://unpkg.com/@highlightjs/[email protected]/languages/yaml.min.js"></script> |
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
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0//EN"> | |
<html><head> | |
<meta http-equiv="content-type" content="text/html; charset=UTF-8"> | |
<title>.</title> | |
</head> | |
<body bgcolor="ffffff"> | |
<font size="1"> | |
<pre> |b | |
This is fun... || | |
||, |
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
<!DOCTYPE html> | |
<html lang="en-US"> | |
<head> | |
<link rel="stylesheet" href="styles.css"> | |
</head> | |
<body> | |
<div class="container"> | |
<div class="query"> | |
<h2>Query Crossref Why Dont Ya</h2> |
We can't make this file beautiful and searchable because it's too large.
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
University,Department,Overall Pay,Academic Year,Program Year,Comments | |
,Electrical Engineering,"$23,700",2021-2022,1st, | |
Iowa State University (ISU),Electrical Engineering,"$23,700",2021-2022,1st, | |
Drexel University (DU),Computer Science,"$32,000",2021-2022,5th, | |
Case Western Reserve University,Macromolecular Science and Engineering/Phd,"$27,600",2022-2023,3rd, | |
University of Missouri (MU),Computer Science,"$30,000",2022-2023,1st, | |
Emory University,French,,2022-2023,1st, | |
Rutgers the State University of New Jersey - New Brunswick,French,,2022-2023,1st, | |
Rutgers the State University of New Jersey - New Brunswick,comparative literature,,2022-2023,1st, |
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
library(ggplot2) | |
data <- data.frame( | |
months=c("jan", 'feb', 'mar', 'apr', 'may', 'june', 'july', 'august', 'sept', 'oct', 'nov', 'dec'), | |
days=c(31,28,31,30,31,30,31,31,30,31,30,31), | |
values=seq(12) | |
) | |
g.pie <- ggplot(data, aes(x='', y=days, fill=values)) + | |
geom_col()+ |
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
/************************************************* | |
* Wowchemy | |
* https://github.com/wowchemy/wowchemy-hugo-themes | |
* | |
* Core JS functions and initialization. | |
**************************************************/ | |
import mediumZoom from './_vendor/medium-zoom.esm'; | |
import {hugoEnvironment, codeHighlighting, searchEnabled} from '@params'; | |
import {scrollParentToChild} from './wowchemy-utils'; |
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
function multiFilter(e){ | |
// get isotope instance and filter buttons | |
let iso = Isotope.data('.projects-container'); | |
let filterButtons = document.querySelectorAll('.project-filters a'); | |
// iterate through buttons... | |
filterButtons.forEach((button) => { | |
// remove existing event listeners |
NewerOlder