You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using Sprockets 2 in Rails 3.0.x with CoffeeScript & SASS
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This creates a 560mb ramdisk. Adjust the size accordingly. I think the number at the end of the command is the number of disk blocks. They are 2kb in size for me.
Restarting postgres is not necessary; you can create the ramdisk and tablespace while postgres is running.
You will lose all data in the ramdisk tablespace when you shut your machine down
$ diskutil erasevolume HFS+ "postgres_ramdisk" `hdiutil attach -nomount ram://1165430`
Started erase on disk1
Unmounting disk
Erasing
Initialized /dev/rdisk1 as a 569 MB HFS Plus volume
This fork adds a custom horizontal form wrapper and merges append/prepend in a 'group' wrapper
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
AWS Elastic BeansTalk configuration to run Sidekiq after each deployment
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
A working example of nested forms just using Reform.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Elixir Phoenix Postgresql migration to add triggers for pubsub to run on every CRUD operation on every table. If a new table is added, it'll automatically add a trigger to that table too.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Lots of our commonly-used OSX development tools have been updated to support Apple's new bespoke silicon, but a few remain incompatible, and it's challenging to work around them individually. In my recent experience several approaches were attempted to work around this - below is the approach we found most consistently successful.
The terminal-based, full emulation approach
Apple provides a tool called Rosetta2 which provides a full emulation layer for any Intel code you might want to run on their new architecture. It's awkward to run each tool we use under emulation individually, though - our approach here is to start our top level process (a terminal app) under emulation, and run all our tools and processes subordinate to that.