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
| { | |
| "title": "University of California Brand Colors", | |
| "date": "2026-09-15", | |
| "subtitle": "Primary blue and yellow/gold from each campus's official brand guidelines", | |
| "columns": [ | |
| "Campus", | |
| "Blue", | |
| "Yellow / Gold" | |
| ], | |
| "campuses": [ |
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
| import math | |
| def val(x): | |
| """Value function V(x).""" | |
| if x == 0 or x == 1: | |
| return 0 | |
| return (1 - 2 * x) * math.log((1 - x) / x) | |
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
| import re | |
| import openai | |
| import os | |
| openai.api_key = "YOUR_OPENAI_API_KEY" | |
| # Load the text (replace with your actual file path) | |
| with open("pg14833.txt", "r", encoding="utf-8") as f: | |
| text = f.read() |
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
| pacstrap -K -c /var/lib/machines/homebridge base systemd dbus nodejs-lts-iron npm make gcc net-tools sudo which run-parts |
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
| # %% | |
| import csv | |
| import networkx as nx | |
| from networkx.drawing.nx_agraph import write_dot | |
| # %% | |
| # Create a directed graph | |
| G = nx.DiGraph() | |
| # Open and read the TSV file |
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
| # %% | |
| import pandas as pd | |
| import numpy as np | |
| from sklearn.decomposition import PCA | |
| import matplotlib.pyplot as plt | |
| import umap | |
| # %% | |
| # specify the file path |
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
| #!/bin/bash | |
| for f in Default/*.tif; do | |
| convert "$f" -auto-level -depth 8 "8bit/$(basename "$f")" | |
| done |
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
| --- /etc/pam.d/sudo 2023-03-31 09:17:20.230708973 -0700 | |
| +++ sudo 2023-03-31 09:14:05.772051938 -0700 | |
| @@ -1,4 +1,6 @@ | |
| # sudo: auth account password session | |
| +auth optional /opt/homebrew/lib/pam/pam_reattach.so ignore_ssh | |
| +auth sufficient pam_tid.so | |
| auth sufficient pam_smartcard.so | |
| auth required pam_opendirectory.so | |
| account required pam_permit.so |
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
| library(tidyverse) | |
| library(asteRisk) | |
| library(ggmap) | |
| library(lubridate) | |
| getLatestSpaceData() | |
| iss_tle <- read_file( | |
| "https://celestrak.com/NORAD/elements/gp.php?CATNR=25544&FORMAT=tle" | |
| ) %>% |
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
| can_build = (b) => { | |
| c = gamePage.bld.getPrices(b).map( | |
| (p) => { | |
| if (!gamePage.resPool.get(p.name).unlocked) { | |
| return false | |
| } | |
| if (gamePage.resPool.get(p.name).maxValue === 0) { | |
| if (gamePage.bld.get(b).val < 200) { | |
| return true | |
| } |
NewerOlder