Skip to content

Instantly share code, notes, and snippets.

View timgremore's full-sized avatar

Tim Gremore timgremore

View GitHub Profile
@timgremore
timgremore / trainer.livemd
Last active January 17, 2024 20:56
AudioTagger.Trainer

AudioTagger.Trainer

Mix.install([
  {:bumblebee, "~> 0.4.0"},
  {:exla, ">= 0.0.0"},
  {:explorer, "~> 0.7.0"},
  {:kino, "~> 0.11.0"},
@timgremore
timgremore / init.vim
Created November 20, 2017 14:22
neovim config
if &compatible
set nocompatible
endif
set runtimepath+=~/.cache/dein/repos/github.com/Shougo/dein.vim
if dein#load_state(expand('~/.cache'))
call dein#begin(expand('~/.cache'))
call dein#add(expand('~/.cache'))
@timgremore
timgremore / .gitignore
Last active February 25, 2017 22:53
Week-1: Shapes
*.beam
@timgremore
timgremore / jQuery-modal.js.coffee
Last active December 21, 2015 03:58
Simple jQuery modal plugin
# Thanks to https://github.com/codrops/ModalWindowEffects/blob/master/js/modalEffects.js
# for the example
# version 0.1
$.fn.extend
modal: (options) ->
settings =
overlay: "#overlay"
dataAttr: 'modal'
visibleClass: "visible" # class used to show modals
@timgremore
timgremore / index.html.haml
Created January 3, 2012 21:13
Ember.js, document collection and polling...written in CoffeeScript
- title "#{@game.name}"
%h1= yield(:title)
#documents
= form_tag(assessment_game_documents_path(@game)) do
%ul
%script{ type: "text/x-handlebars" }
{{#collection Game.DocumentsCollectionView contentBinding="Game.documentsController"}}
%li {{content.name}}
{{/collection}}