A flexible icon library for When I Work.
This is the template that i usually use when i work with React.
Virtual syntax highlighting for virtual DOMs and non-HTML things
Lightweight, robust, elegant virtual syntax highlighting using Prism
Vite plugin for inlining all JavaScript and CSS resources
React context for MDX
hast utility to transform from a `parse5` AST
hast utility for `querySelector`, `querySelectorAll`, and `matches`
An RxJS map operator that takes an observable of arrays as input and emits arrays where each element represents emissions from the projected observable.
remark plugin to support directives
YAML plugin for the Monaco Editor
unist utility to select nodes with CSS-like selectors
Seamless REST/GraphQL API mocking library for browser and Node.js.
CLI to process markdown with remark
Easy as cake e-mail sending from your Node.js applications
mdast utility to get the plain text content of a node
micromark utility with symbols
micromark factory to parse destinations (found in resources, definitions)
micromark utility normalize identifiers (as found in references, definitions)
micromark factory to parse labels (found in media, definitions)
micromark utility to sanitize urls
micromark utility with a couple of typescript types
micromark factory to parse markdown space (found in lots of places)
unist utility to check if a node passes a test
Lightweight Ruby wrapper around WhenIWork's V2 API
When I Work API v2 Wrapper
Let's write some shit
When I build workers, I want them to be like an army of spongebobs, always stressed and eager to work. sponges helps you build this army of sponges, to control them, and, well, to kill them gracefully. Making them stressed and eager to work is your job. :)
This version is forked from xanthus. As I finished this work when studying in THU, I name this version `thanthus`
Generate HTTP responses for VCR from structures defined by FactoryGirl
This is my own re-write of an earlier version https://github.com/ctran/annotate_models when work on it waned. This work started out as an old-style Rails plugin; I am now re-bundling it as a gem-ified plugin.
Stop re-inventing the wheel. I write this code quite a lot when I'm working with Ruby.
Problem: when tracking time, I don't want to have to start and stop a timer. Trak is a tool that lets me say "I just spent 15 minutes working on email", instead of "I'm starting to email now...whoops! I forgot to tell the computer I stopped." Then later in the day when you spend some more time emailing, you don't have to keep the total time you've spent for the day in your head. When you tell trak to report on your time spent for the day, it tallies each task and gives you a breakdown.
== FEATURES/PROBLEMS: I have written some simple tests of my "local" code, but have not attempted to mock out SmugMug or write a bunch of fragile hard coded tests. On top of that I just put the code together without tests as I was "testing" against the API. So there are a few more rough edges than I like, but it does seem to work :-) So I know there will be bugs, sorry -- please let me know when you find them and I will try and fix them as quickly as possible. == SYNOPSIS:
I sometimes get a little descriptive with my variable names, so when you're doing a lot of work specifically with one object, it gets especially ugly and repetetive, making the code harder to read than it needs to be: @contract_participants_on_drugs.contract_id = params[:contract_id] @contract_participants_on_drugs.participant_name = params[:participant_name] @contract_participants_on_drugs.drug_conviction = DrugConvictions.find(:wtf => 'this is getting ridiculous') ... And so on. It gets ridiculous. Utility Belt implements a with(object) method via a change to Object: class Object #utility belt implementation def with(object, &block) object.instance_eval &block end end Unfortunately, that just executes the block in the context of the object, so there isn't any crossover, nor can you perform assignments with attr_accessors (that I was able to do, anyway). So, here's With.object() to fill the void. With.object(@foo) do a = "wtf" b = "this is not as bad" end In the above example, @foo.a and @foo.b are the variables getting set. If you prefer, you can require 'with_on_object' instead and use the notation with(object) do ... end. The tests in the /test directory offer more examples of what's been implemented and tested so far (except where noted - namely performing assignment to a variable that was declared outside the block, and is not on @foo). Not everything is working yet, but it works for the simplest, most common cases I've run up against. More complex tests are on the way, along with code to make them pass. Special thanks to Reg Braithwaite, for help and ideas along the way.
Tasks to switch your Rails database configuration for a single Rake run. Useful when you're targeting more than one database engine. I use this for Rails, but it should work in any framework that uses a config/database.yml file.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.