Skip to content

Instantly share code, notes, and snippets.

View studioromeo's full-sized avatar
Kerchow

Robert Rhoades studioromeo

Kerchow
View GitHub Profile
@studioromeo
studioromeo / play.vue
Created June 11, 2025 20:00
Vue.js (2.x) example
<template>
<button @click="toggle">
<svg xmlns="http://www.w3.org/2000/svg" style="display: none;">
<symbol id="play" viewBox="0 0 24 24">
<path d="M0 0h24v24H0z" fill="none"/>
<path d="M8 5v14l11-7z"/>
</symbol>
<symbol id="pause" viewBox="0 0 24 24">
<path d="M0 0h24v24H0z" fill="none"/>
<path d="M6 19h4V5H6v14zm8-14v14h4V5h-4z"/>
@studioromeo
studioromeo / Dependency.php
Last active August 29, 2015 13:57
PHPSpec
<?php
namespace Acme;
use Acme\SubDependency;
class Dependency
{
protected $subDep;
@studioromeo
studioromeo / generator
Created February 4, 2014 13:38
Codename Generator
<!DOCTYPE html>
<html>
<head>
<title></title>
<style>
body {
text-align: center;
font-family: sans-serif;
}
@studioromeo
studioromeo / app.sh
Last active December 16, 2015 15:19
A small script that helps reduce eyestrain by periodically dimming the display.
#!/bin/sh
# Get the original brightness
BRIGHTNESS=`/rest/brightness -l`;
# Dim the screen to it's lowest setting
`/rest/brightness 0`
# Stop for 5 minutes
sleep 300