Skip to content

Instantly share code, notes, and snippets.

View charlesvardeman's full-sized avatar

Charles Vardeman charlesvardeman

  • University of Notre Dame
  • South Bend, Indiana
View GitHub Profile
@charlesvardeman
charlesvardeman / hyprland.conf
Created July 24, 2025 13:51 — forked from alansikora/hyprland.conf
Hyprland Workspace Manager
#!/bin/bash
# Workspaces - Dynamic configuration
source = ~/.config/hypr/workspaces.conf
# Run workspace manager on startup and monitor changes
exec-once = ~/.config/hypr/workspace-manager.sh
exec-once = socat -u UNIX-CONNECT:/tmp/hypr/$HYPRLAND_INSTANCE_SIGNATURE/.socket2.sock - | \
while read line; do \
[[ "$line" =~ ^monitor ]] && ~/.config/hypr/workspace-manager.sh; \
@charlesvardeman
charlesvardeman / polya.md
Created November 26, 2024 15:32 — forked from jph00/polya.md
Summary of Polya's "How To Solve It With Code"

A guide to George Polya's "How to Solve It"

Introduction

George Polya (1887-1985) was a Hungarian mathematician and educator who revolutionized our understanding of problem-solving and teaching. While he made significant contributions to mathematics, his most enduring legacy is his insights into how people learn and solve problems. His 1945 book "How to Solve It" has influenced educators across numerous fields, extending far beyond mathematics.

Polya's Teaching Philosophy

Polya's approach centered on three key principles. First, he championed active learning, believing students learn best by discovering solutions themselves rather than being told answers. Second, he emphasized heuristic thinking - the art of guided discovery and learning from experience, viewing problem-solving as a skill that can be developed through practice. Third, he developed sophisticated questionin

@charlesvardeman
charlesvardeman / pull-all.sh
Created September 25, 2022 15:42 — forked from jph00/pull-all.sh
Update in parallel all repos listed in ~/git/repos, and print status of any that are dirty
#!/usr/bin/env bash
for f in $(<~/git/repos); do
cd ~/git/$f
git pull > /dev/null &
cd - > /dev/null
done
wait < <(jobs -p)
for f in $(<~/git/repos); do
@charlesvardeman
charlesvardeman / graph-response.graph.ttl
Last active May 19, 2021 15:04
Linked Data Platform TOAST Sample Graph
# Drone Response based on Linked Data Platform Standard
# Best resouce for learning Linked Data Platform is the Primer
# https://www.w3.org/TR/ldp-primer/
# and the Linked Data Platform Best Practices and Guidelines
# https://www.w3.org/TR/ldp-bp/
# Linked Data Platform Paging
# https://www.w3.org/TR/ldp-paging/
# SOLID Implimentation References for Linked Data Platform
# https://solid.github.io/specification/
@charlesvardeman
charlesvardeman / data.csv
Created April 2, 2021 13:42 — forked from jaw111/data.csv
Tarql federation example
id name
1 SPARQL
2 SQL
3 XQuery
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@charlesvardeman
charlesvardeman / metadata_schema_org_request.js
Created January 18, 2019 15:49 — forked from kjgarza/metadata_schema_org_request.js
JavaScript script to enable Content-Negotiation call for DataCite metadata in schema.org format
$(document).ready(function() {
var identifier = $("meta[name='DC.identifier']").attr("content");
if (identifier === undefined) {
return;
}
var doi = new URL(identifier);
var url = $('#site-title').attr('data-conneg');
url += '/application/vnd.schemaorg.ld+json/' + doi.pathname;
$.ajax({
@charlesvardeman
charlesvardeman / neo4j-kakfa-demo.md
Created November 30, 2018 17:39 — forked from graphadvantage/ neo4j-kakfa-demo.md
Neo4j GraphGist: Enterprise Architectures - Real-time Neo4j Graph Updates using Kafka Messaging

##Neo4j GraphGist - Enterprise Architectures: Real-time Graph Updates using Kafka Messaging

Neo4j Use Case: Low Latency Graph Analytics & OLTP - Update 1M Nodes in 90 secs with Kafka and Neo4j Bolt

Introduction

A recent Neo4j whitepaper describes how Monsanto is performing real-time updates on a 600M node Neo4j graph using Kafka to consume data extracted from a large Oracle Exadata instance.

This modern data architecture combines a fast, scalable messaging platform (Kafka) for low latency data provisioning and an enterprise graph database (Neo4j) for high performance, in-memory analytics & OLTP - creating new and powerful real-time graph analytics capabilities for your enterprise applications.

Arch Linux on a MacBookPro 11,3

Read The Arch Way, fall in.

Still Todo

I can’t believe how smoothly this went…

  • suspend - seems to work after installing gnome, pm-suspend works too… I have my eye on you. <.<
    • systemctl suspend works, but doesn’t wake properly.
  • power management
  • trackpad