Skip to content

Instantly share code, notes, and snippets.

View tayfunoziserikan's full-sized avatar
💭
Simple is perfect

Tayfun (Öziş) Erikan tayfunoziserikan

💭
Simple is perfect
View GitHub Profile

Merhabalar,

lab2023 firması olarak müşterimiz için yapacağımız Facebook oyunu için grafik işlerini outsource etmeye karar verdik. Bu bağlamda aşağıda ön detayları bulunan işi almak isteyen arkadaşlara, firmalara bu ilanı yayınlamanızı rica ederiz.

Gizlilik Sözleşmesi

  • Müşterimizin isteği doğrultusunda gizlilik sözleşmesini indirip imzalayıp taranmasını, info at lab2023.com adresine email, aslınıda Pamukkale Üniversitesi Teknokent Z13 Kınıklı Denizli adresine göndermenizi rica ediyoruz.
@tayfunoziserikan
tayfunoziserikan / linux.sh
Last active December 21, 2015 04:58
Linux Laptop Setup
#!/usr/bin/env zsh
# Common functions
is_successfully() {
$* || (echo "\nfailed" 1>&2 && exit 1)
}
new_line_echo() {
echo "\n$1"
@tayfunoziserikan
tayfunoziserikan / simple_form_bootstrap.rb
Last active December 21, 2015 22:28
Simple Form Twitter Bootstrap 3 Wrapper
# Use this setup block to configure all options available in SimpleForm.
# File Path: RAILS_ROOT/config/initializers/simple_form_bootstrap.rb
SimpleForm.setup do |config|
config.wrappers :bootstrap, tag: 'div', class: 'form-group', error_class: 'error' do |b|
b.use :html5
b.use :placeholder
b.use :label, class: 'control-label'
b.use :input
b.use :error, wrap_with: { tag: 'span', class: 'help-inline' }
b.use :hint, wrap_with: { tag: 'p', class: 'help-block' }
@tayfunoziserikan
tayfunoziserikan / paperclip_settings.rb
Created January 22, 2014 09:49
Paperclip interpolations and attachment styles sample
class Model < ActiveRecord::Base
# Paperclip
has_attached_file :attachment,
:styles => {:large => "640x480#", :thumb => "320x240#"},
:path => "/:class/:attachment/:style/:uniq_file_name.:extension"
validates_attachment_size :attachment, :less_than => 0..512.kilobytes
validates_attachment_content_type :attachment, :content_type => %w(image/jpeg image/jpg image/png application/pdf)
Paperclip.interpolates :uniq_file_name do |attachment, style|
@tayfunoziserikan
tayfunoziserikan / ab2014-terminal-history
Last active August 29, 2015 13:55
AB2014 Terminal History
7640 mkdir ab2014-gitflow
7641 cd ab2014-gitflow
7642 touch README.md
7643 ls
7644 git init
7645 ls -al
7646 git status
7647 git add README.md
7648 git status
7649 git commit -m "first commit"