Skip to content

Instantly share code, notes, and snippets.

View bpmarkowitz's full-sized avatar

Ben Markowitz bpmarkowitz

View GitHub Profile
@bpmarkowitz
bpmarkowitz / ContentView.swift
Created April 3, 2024 16:09
Simple Swift UI Video Player
//
// ContentView.swift
//
// Created by Ben Markowitz
//
import SwiftUI
import AVKit
struct ContentView: View {
@bpmarkowitz
bpmarkowitz / custom_safari_stylesheet.css
Last active April 6, 2023 17:41
Custom Safari Stylesheet to hide the Twitter Trends + the DM Drawer
/* Twitter Custom CSS */
/* By Ben Markowitz */
/* bpmarkowitz.com */
/* hide trending topics */
[aria-label="Trending"] > div > div{
display: none !important;
}
/* show the search box & add some padding */
@bpmarkowitz
bpmarkowitz / index.html
Created September 5, 2019 14:53
bpmarkowitz.com
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Ben Markowitz</title>
<style>
html, body {
box-sizing: border-box;
height: 100%;
@bpmarkowitz
bpmarkowitz / gist:9942816
Created April 2, 2014 20:47
Colored bullet sans image or span
li:before {
content: "•";
color: pink;
}
@bpmarkowitz
bpmarkowitz / gist:9923927
Created April 1, 2014 21:55
Webclip Folder
~/Library/Application Support/iPhone Simulator/[simulator iOS version]/Library/WebClips
input[type="text"]:focus, input[type="password"],
textarea:focus, select:focus {
font-size: 16px;
}
@bpmarkowitz
bpmarkowitz / index.html
Created February 25, 2013 15:57
A CodePen by Ben Markowitz. Stately
<div id="buttons">
<a id="toggle" class="button">Toggle Styles</a>
<a id="stately" class="button" href="http://intridea.github.com/stately" target="_blank">Stately on GitHub</a>
<a id="intridea" class="button" href="http://www.intridea.com/" target="_blank">Intridea</a>
</div> <!--buttons-->
<div id="container">
<div id="inner">
<ul class="stately" id="intrideans">
<h3>States With Intrideans</h3>