Skip to content

Instantly share code, notes, and snippets.

View zacharyc's full-sized avatar
Working from home

Zachary Cohen zacharyc

Working from home
View GitHub Profile
@zacharyc
zacharyc / gist:10929388
Created April 16, 2014 20:25
additional action or testing parameters in rake files
desc 'create a test file to see if cron is working'
task :create_test_file, [:push] do |t, args|
if(args.push)
puts "push provided"
end
File.open("out.txt", 'w') {|f| f.write("This is a test file") }
end
@zacharyc
zacharyc / MoviesSeen.md
Last active September 1, 2015 18:16
Movies Kelsey Needs To See
  1. Mission Impossible
  2. Pitch Perfect
@zacharyc
zacharyc / email.html
Created November 18, 2021 23:34
Just an email Template for HTML Email
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<title>Lime Insurance</title>
<style type="text/css">
body{
-webkit-text-size-adjust:none;
-ms-text-size-adjust:none;
@zacharyc
zacharyc / better.tsx
Created November 19, 2021 22:05
How do I do this better
const openApiList = [
{
swagger: "2.0",
info: {
description: "Test API",
version: "1.0.0",
title: "Request Catcher Testing API",
},
host: "kyung.requestcatcher.com",
basePath: "/root",