| name | description | allowed-tools | ||||
|---|---|---|---|---|---|---|
trmnl-image-generator |
Generates TRMNL-compatible e-ink display images. Use when creating images for TRMNL devices, converting images to 1-bit format, or uploading content to e-ink displays. Triggers on "TRMNL", "e-ink", "e-paper", "terminal display". |
|
| //## Moment.JS Holiday Plugin | |
| // | |
| //Usage: | |
| // Call .holiday() from any moment object. If date is a US Federal Holiday, name of the holiday will be returned. | |
| // Otherwise, return nothing. | |
| // | |
| // Example: | |
| // `moment('12/25/2013').holiday()` will return "Christmas Day" | |
| // | |
| //Holidays: |
| Original header used now: | |
| ### File managed with puppet ### | |
| ## Served by: '<%= scope.lookupvar('::servername') %>' | |
| ## Module: '<%= scope.to_hash['module_name'] %>' | |
| ## Template source: 'MODULES<%= template_source.gsub(Regexp.new("^#{Puppet::Node::Environment.current[:modulepath].gsub(':','|')}"),"") %>' | |
| Problem: When using puppet apply with relative modulepath, the information can be wrong or messy. | |
| Alternative 1: |
If you are using vagrant, you probably-statistically are using git. Make sure you have its binary folder on your path, because that path contains 'ssh.exe'.
Now, modify C:\vagrant\vagrant\embedded\lib\ruby\gems\1.9.1\gems\vagrant-1.0.3\lib\vagrant\ssh.rb to comment out the faulty Windows check and add a real SSH check:
# if Util::Platform.windows?
# raise Errors::SSHUnavailableWindows, :host => ssh_info[:host],
# :port => ssh_info[:port],
# :username => ssh_info[:username],
# :key_path => ssh_info[:private_key_path]I spent a lot of time trying to find a pretty optimal (for me) setup for Clojure… at the same time I was trying to dive in and learn it. This is never optimal; you shouldn't be fighting the environment while trying to learn something.
I feel like I went through a lot of pain searching Google, StackOverflow, blogs, and other sites for random tidbits of information and instructions.
This is a comprehensive "what I learned and what I ended up doing" that will hopefully be of use to others and act as a journal for myself if I ever have to do it again. I want to be very step-by-step and explain what's happening (and why) at each step.