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
require 'action_controller/test_process' | |
# Paperclip attachments in factories, made easy based on technicalpickles | |
Factory.class_eval do | |
def attach(name, path, content_type = nil) | |
if content_type | |
add_attribute name, ActionController::TestUploadedFile.new("#{RAILS_ROOT}/#{path}", content_type) | |
else | |
add_attribute name, ActionController::TestUploadedFile.new("#{RAILS_ROOT}/#{path}") | |
end |
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
�PNG | |
��� | |
IHDR���@���@����iq���� pHYs����������IDATx�[�eE��O��ř7�!H�`�$+��*�%���J颈�KX]FKV��0n)ò�����$q��̼y9�xR��u��������{}:�����>�:�� l���ey���2ϑ�3;3��9�4wI�sPE�C�����)H%�����8�$QH�J�f��t�S+�J=���^���p�:�'2�=5��O٢ | |
��#����p������C�FM���k?I�u7ܾM��[%ܵ����]�H��Y�" >E�iTM���A(�KĕXi��l訟%�}���օt���|S���w�|�鿯?��������. �UqS���-��7��N��4"il�,��0��-��Q5�$�Ҩ�4�Z��J�n�#��HG�;=�Le�v�ZAu�*�C�E���Z��7;z���o||e�$�q\ʮ�@�6(�蠭x���_�t���ScI!"m�L�&'��f�WI��0��x�P,�W��0����e�zyF?X� | |
J)�.r,&83\��;G~��g����H | |
�{��&��a�k&)K3��_/˾�}�<��T{D��a5���������l L�0�%. �Ւ��C#$A��R��v�4䓟��W����J�P����-���?�~�o~��+���{�c�+���k*�E�3���I�cP | |
$}o?E��t����4jA��6c�OH��g^GH=E/.�y�N+�] | |
����Q�����������[�S�zE����g�`�:��X�L���H#��,=g�Kr�> j����Q�K�@bM��Sm�A�0��L�PFP\ϥ��?m��ߜ��J�Y�Ʀϯ]���EE4j���L.��t��7Li/��D��>�$���_�S��u�}C�\��\up�b7_�I�f@�Z�����#f������ƄnI��i����������X��;߆ZBA�F�H�-+�'���[���~�zH���3a�I�]y��+ |
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
#!/bin/sh | |
defaults write com.apple.dashboard mcx-disabled -boolean YES | |
killall Dock |