Postgres on .bashprofile
PATH="/Applications/<app_name>.app/Contents/MacOS/bin:$PATH"
The app_name can be Postgres93 or Postgres
Misplaced Lens Cap
Xuebing Du
taylor price

Kiana Khansmith

Product Placement
Jules of Nature
Fai_Ryy
art blog(derogatory)
todays bird

Love Begins

Janaina Medeiros
2025 on Tumblr: Trends That Defined the Year
sheepfilms
DEAR READER
Sweet Seals For You, Always
One Nice Bug Per Day
wallacepolsom
Claire Keane
Noah Kahan

tannertan36
seen from United States

seen from United States

seen from Türkiye

seen from Estonia

seen from Brazil

seen from Türkiye

seen from United States

seen from Nigeria

seen from United States

seen from United States

seen from Türkiye
seen from United States

seen from United Kingdom

seen from United States
seen from United States
seen from United States
seen from United States
seen from United States

seen from United States
seen from United States
@fernandodev
Postgres on .bashprofile
PATH="/Applications/<app_name>.app/Contents/MacOS/bin:$PATH"
The app_name can be Postgres93 or Postgres
Enable Rspec Colors
It's simple! Create a .rspec file on ....
Local: ./.rspec-local (i.e. in the project's root directory, can be gitignored)
OR
Project: ./.rspec (i.e. in the project's root directory, usually checked into the project)
OR
Global: ~/.rspec (i.e. in the user's home directory)
And put
--color
Inside your .rspec file
For more information, look at:
https://www.relishapp.com/rspec/rspec-core/docs/configuration/read-command-line-configuration-options-from-files
Fix Android Studio 0.3.6 Import Gradle Error
Recently I've upgraded my Android Studio to 0.3.6
When I imported a project the following error appeared
Unsupported method: GradleProject.getBuildScript()
How to fix?
That's simple!
Go to your project's folder and in /gradle/gradle-wrapper.properties, fix this line:
distributionUrl=http\://services.gradle.org/distributions/gradle-1.8-bin.zip
Now you need to change your build.gradle for:
classpath 'com.android.tools.build:gradle:0.6.+'
instead of 0.5.+
Downcase Non English Characteres
In my project I need to put some pt-br strings in downcase mode but with the default downcase method, strings like:
"VOCÊ QuEr MESMO POR iStO em InglÊS?"
results on
"vocÊ quer mesmo por isto em inglÊs?"
Bad result I know!
So to solve it! Use:
See doc for more information
Convert Array To String With Specific Separator
The quick way to format an array to string:
Adjust Window Arrangement on Ubuntu 12.04
First, install Compiz to do the job ;)
Second, setup you key bindings on Window Management/Grid
Be happy =P
Create a Custom Filter for ActiveAdmin
My model has a relationship with another model, like that:
class User
belongs_to :enterprise
end
And I want to create a custom filter for User that filters by enterprise but the activeadmin shows the default filter by memory address of enterprise like:
#<Enterprise:0x007fc6f8e06868>
To fix it, do it: