Here's an experiment to work locally on a Mac using Git and my editor of choice -- while integrating well with Microsoft TFS which houses company-wide code.
If you want to work completely in Windows see:
| # first you'll want to create a gist then `git clone` the private url | |
| # second you'll want to run this script in the gist's directory | |
| loop do | |
| `git commit -a -m save && git push origin master` | |
| sleep 60 * 4 | |
| end |
| // Provides a device_scale class on iOS devices for scaling user | |
| // interface elements relative to the current zoom factor. | |
| // | |
| // http://37signals.com/svn/posts/2407-device-scale-user-interface-elements-in-ios-mobile-safari | |
| // Copyright (c) 2010 37signals. | |
| // | |
| // Permission is hereby granted, free of charge, to any person obtaining a copy | |
| // of this software and associated documentation files (the "Software"), to deal | |
| // in the Software without restriction, including without limitation the rights | |
| // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell |
| /* =IE7 & IE8 hax | |
| ---------------------------------------------- */ | |
| #heroku-header { | |
| min-width/*\**/: 991px\9; | |
| } | |
| /* ------------------------------------------- */ |
| <?xml version="1.0" encoding="UTF-8"?> | |
| <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
| <plist version="1.0"> | |
| <dict> | |
| <key>DVTConsoleDebuggerInputTextColor</key> | |
| <string>0.811765 0.796078 0.564706 1</string> | |
| <key>DVTConsoleDebuggerInputTextFont</key> | |
| <string>Inconsolata - 16.0</string> | |
| <key>DVTConsoleDebuggerOutputTextColor</key> | |
| <string>1 1 1 1</string> |
Here's an experiment to work locally on a Mac using Git and my editor of choice -- while integrating well with Microsoft TFS which houses company-wide code.
If you want to work completely in Windows see:
| obj | |
| bin | |
| *.user | |
| *.suo | |
| *.cache | |
| *.scc | |
| *.vssscc | |
| *.vspcc | |
| *.bak | |
| *.log |
| // Placeholder @mixin for Sass | |
| // | |
| // A mixin to style placeholders in HTML5 form elements. | |
| // Includes also a .placeholder class to be used with a polyfill e.g. | |
| // https://github.com/mathiasbynens/jquery-placeholder | |
| // Requires Sass 3.2. | |
| // | |
| // Example usage (.scss): | |
| // | |
| // input { |
| # -*- mode: ruby -*- | |
| # vi: set ft=ruby : | |
| BOX_NAME = ENV['BOX_NAME'] || "Centos6.5.1" | |
| BOX_URI = ENV['BOX_URI'] || "https://github.com/2creatives/vagrant-centos/releases/download/v6.5.1/centos65-x86_64-20131205.box" | |
| # Vagrantfile API/syntax version. Don't touch unless you know what you're doing! | |
| VAGRANTFILE_API_VERSION = "2" | |
| Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| |
This simple script will take a picture of a whiteboard and use parts of the ImageMagick library with sane defaults to clean it up tremendously.
The script is here:
#!/bin/bash
convert "$1" -morphology Convolve DoG:15,100,0 -negate -normalize -blur 0x1 -channel RBG -level 60%,91%,0.1 "$2"
| #!/usr/bin/env python3 | |
| """ | |
| Claude Code token usage analyzer. | |
| Analyzes ~/.claude/projects/ JSONL files for token usage patterns. | |
| """ | |
| import json | |
| import os | |
| import sys | |
| from pathlib import Path |