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
# Additional translations at https://github.com/plataformatec/devise/wiki/I18n | |
tr: | |
devise: | |
confirmations: | |
confirmed: "Eposta adresiniz başırılı bir şekilde onaylandı." | |
send_instructions: "Bir kaç dakika içerisinde eposta adresinizi nasıl onaylayacağınız hakkında bir eposta alacaksınız." | |
send_paranoid_instructions: "Eğer eposta adresinizi veritabanımızda kayıtlı ise bir kaç dakika içerisinde eposta adresinizi nasıl onaylayacağınız hakkında bir eposta alacaksınız." | |
failure: | |
already_authenticated: "Zaten giriş yaptınız." |
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
# reference: http://docs.mongodb.org/manual/tutorial/install-mongodb-on-debian/ | |
namespace :mongodb do | |
desc "Install the latest stable release of Mongodb." | |
task :install, roles: :db, only: { primary: true } do | |
run "#{sudo} apt-key adv --keyserver keyserver.ubuntu.com --recv 7F0CEB10" | |
run "#{sudo} touch /etc/apt/sources.list.d/10gen.list" | |
run "#{sudo} echo 'deb http://downloads-distro.mongodb.org/repo/debian-sysvinit dist 10gen' >> /etc/apt/sources.list.d/10gen.list" | |
run "#{sudo} apt-get -y update" | |
run "#{sudo} apt-get -y install mongodb-10gen" | |
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
#!/usr/bin/env bash | |
apt-get -y update | |
apt-get -y install curl | |
apt-get -y install build-essential zlib1g-dev libssl-dev libreadline5-dev libyaml-dev | |
cd /tmp | |
wget ftp://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p327.tar.gz | |
tar -xvzf ruby-1.9.3-p327.tar.gz | |
cd ruby-1.9.3-p327/ | |
./configure --prefix=/usr/local | |
make |
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
class User < ActiveRecord::Base | |
has_many :transactions, as: :transactionable | |
end | |
class Investment < ActiveRecord::Base | |
has_many :transactions, as: :transactionable | |
end | |
# class System ??????? 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
article { | |
font-size: 16px; | |
} | |
article > *:first-child { | |
margin-top:0 !important | |
} | |
article > *:last-child { | |
margin-bottom:0 !important |
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
{ | |
"data": [{ | |
"id": 0, | |
"type": "brands", | |
"attributes": { | |
"brand": "Abshire, Towne and Herzog", | |
"count": 1 | |
} | |
}, { | |
"id": 1, |
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_relative 'config/application' | |
require 'capistrano/setup' | |
require "capistrano/scm/git" | |
require 'capistrano/deploy' | |
require 'capistrano/nginx' | |
require 'capistrano/puma' | |
require 'capistrano/puma/nginx' | |
require "capistrano/chruby" | |
require 'capistrano/rails' | |
require 'capistrano/rails/db' |
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
Google Tag Manager sayfanizda: | |
1. Sol menuden Tetikleyiciler'e tikla | |
a. Yeni'ye tikla | |
1) Acilan sayfanin ustunde tetikleyici adi: Adsız Tetikleyiciyi turbolinksPageView olarak degistirdim. | |
2) Tetikleyici Yapılandırması'na tikla | |
a) Tetikleyici türü seçin: ---->Ozel etkinlik<------ (*) | |
b) Etkinlik adi: turbolinks:load (*) | |
c) Baska bir seye dokunmadan Kaydet diyelim. | |
2. Etiketlere tiklayalim. (*) |
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
gem 'activerecord-postgis-adapter', '~> 5.2' | |
bundle | |
sudo apt-get install postgresql-9.6-postgis-scripts | |
rake db:gis:setup |
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
// Almak istedigimiz degisken 'a' | |
function Vehicle(){ | |
} | |
Vehicle.prototype.go = function(){ | |
var a = "deneme" | |
} | |
// Fonksiyondaki kod calismadan yukle |
OlderNewer