Skip to content

Instantly share code, notes, and snippets.

View alichay's full-sized avatar

Allison Pierson alichay

View GitHub Profile
@alichay
alichay / bluesky.css
Last active July 3, 2023 06:01
Arc boost for Bluesky
*[aria-label="Compose\ post"] {
background-color: var(--arc-palette-foregroundPrimary) !important;
> div, > div > svg {
color: var(--arc-palette-backgroundExtra) !important;
}
}
[style*="background-color: rgb(0, 0, 0)"],
/* Bar at bottom, mobile */
#root>div>div>.css-175oi2r {
@alichay
alichay / Dockerfile
Created February 22, 2023 19:00
My standard flyctl test image :)
FROM nginxdemos/hello:latest
RUN rm /etc/nginx/conf.d/hello.conf
ADD hello.conf /etc/nginx/conf.d/
@alichay
alichay / time_converter_week.html
Created March 5, 2019 19:38
It's not pretty, but it works.
<!DOCTYPE html>
<html>
<head>
<!-- By Zachary Pierson -->
<meta charset='utf-8'>
<title>Time conversion</title>
<style>
html {
font-size: .9em;
}
This file has been truncated, but you can view the full file.
// The Module object: Our interface to the outside world. We import
// and export values on it, and do the work to get that through
// closure compiler if necessary. There are various ways Module can be used:
// 1. Not defined. We create it here
// 2. A function parameter, function(Module) { ..generated code.. }
// 3. pre-run appended it, var Module = {}; ..generated code..
// 4. External script tag defines var Module.
// We need to do an eval in order to handle the closure compiler
// case, where this code here is minified but Module was defined
// elsewhere (e.g. case 4 above). We also need to check if Module
@alichay
alichay / CMakeLists.txt
Created February 18, 2017 21:16
Simple CMakeLists.txt
cmake_minimum_required(VERSION 3.1)
project(YOURPROJECTNAME)
set(CMAKE_CXX_STANDARD 11) # Use C++11
#FIND_PACKAGE(Boost REQUIRED filesystem)
#INCLUDE_DIRECTORIES( ${Boost_INCLUDE_DIR})
set(CMAKE_BUILD_TYPE "Debug")