Wiki ▸ [[API Reference]] ▸ Slick.Grid
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
*, *:before, *:after { | |
-webkit-box-sizing: border-box; | |
-moz-box-sizing: border-box; | |
box-sizing: border-box; | |
} | |
body.active_admin { | |
form { | |
#{$all-text-inputs},textarea,select[multiple="multiple"] { | |
border: 1px solid #c9d0d6; @include rounded(3px); font-size: 1em; outline: none; padding: 5px 5px 7px; margin-bottom: 5px; |
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
brew install imagemagick | |
if: checking for wand/MagickWand.h... no | |
then: | |
mdfind MagickWand.h | |
/usr/local/Cellar/imagemagick/•.•.•-•/include/ImageMagick/wand/MagickWand.h | |
C_INCLUDE_PATH=/path gem install rmagick | |
if: pkg-config: command not found | |
then: brew install pkg-config |
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
#settings_tabs { | |
.tabs.table_tools_segmented_control { margin-bottom: 10px; } | |
fieldset.inputs { | |
padding: 0; | |
background: transparent; | |
-webkit-border-radius: 0; | |
-moz-border-radius: 0; | |
border-radius: 0; | |
box-shadow: none; | |
-moz-box-shadow: none; |
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
module CurrencyInWordsHelper | |
ActionView::Helpers::NumberHelper.class_eval do | |
DEFAULT_CURRENCY_IN_WORDS_VALUES = {:currencies=>{:default=>{:unit=>{:one=>'dollar',:many=>'dollars'}, | |
:decimal=>{:one=>'cent',:many=>'cents'}}}, | |
:connector=>', ',:format=>'%n',:negative_format=>'minus %n'} | |
# Formats a +number+ into a currency string (e.g., 'one hundred dollars'). You can customize the | |
# format in the +options+ hash. | |
# |
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
# Want to show hidden files and folders in your TextMate project drawer? Simple, just modify the file and folder patterns in TextMate's preferences. | |
# Instructions: | |
# Go to TextMate > Preferences... | |
# Click Advanced | |
# Select Folder References | |
# Replace the following: | |
# File Pattern |
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
# In your app's root. | |
# Make Pow!! export all the env variables contained in the .env file used by Foreman. | |
export $(cat .env) |
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
= semantic_nested_form_for @gallery, multipart: true do |form| | |
= form.input :file_multiple, as: :file, input_html: { multiple: true } | |
= form.actions do | |
= form.action :submit |
SSH into Root
$ ssh [email protected]
Change Root Password
Create droplet of your liking (ubuntu 12.10 x32)
ssh to root in terminal with your server ip
ssh [email protected]
Add ssh fingerprint and enter password provided in email
OlderNewer