- gazay - 4 commits
- igas - 20 commits
- igas - 24 commits
{ | |
"bold_folder_labels": true, | |
"caret_style": "smooth", | |
"close_windows_when_empty": true, | |
"color_scheme": "Packages/Dracula Color Scheme/Dracula.tmTheme", | |
"create_window_at_startup": false, | |
"default_line_ending": "unix", | |
"detect_slow_plugins": false, | |
"drag_text": false, | |
"draw_minimap_border": true, |
Условия
Участники конкурса присылают свои open source работы за сентябрь (и оставшуюся до подведения итогов конкурса часть октября) нам в редакцию. Нужно прислать ссылки на свои коммиты или pull requestы, желательно с описанием или со ссылкой на статью в блоге с описанием — нам в комментарий к Gist и по почте [email protected]. В письме не забудьте указать, как быстрее всего с вами связаться (почта и телефон, например).
Мы рассматриваем работы на Ruby (улучшения/патчи/PR в Rails, популярные гемы, или ваши собственные новые проекты) и работы по фронтенд-части (тут спектр уже — нас интересуют только улучшения PostCSS, а еще лучше — собственные разработки на базе PostCSS; про него слушайте в подкасте).
Единственный победитель будет выбран ведущими подкаста и брейнвошингов. Крайний срок подачи работ — 6 октября 2014 года (чтобы вы за неделю до первого брейнвошинга еще успели спланировать время и попасть на курс). Победитель может выбрать один из брейнвошингов для бесплатного
# I'm running OS X and I need to develop and test Vagrant features | |
# which are specific to Linux-only, i.e. I need "physical" Linux machine. | |
# I've finally stuck with creating DigitalOcean VM and installing | |
# everything necessary for development there. It's magical | |
# Vagrant-powered Vagrant-development Vagrantfile. | |
# | |
# First, start the VM which will be the host: | |
# $ vagrant up host --provider=digital_ocean | |
# | |
# Now, you can start VM in VM which will be used for Vagrant testing: |
# | |
# Returns outer (inner + element itself) HTML code of element. | |
# | |
# @example | |
# browser.div(:id => "foo").html | |
# #=> "<div id=\"foo\"><a>Click</a></div>" | |
# | |
# @return [String] | |
# | |
def outer_html |
Введение
Начать стоит отсюда. Не пугайтесь то, что это книга по незнакомой OS, эти термины практически везде одинаковые и здесь они изложены в понятной для начинающих форме.
http://www.qnx.com/developers/docs/6.4.1/neutrino/getting_started/s1_procs.html
Прочесть нужно треть главы до подраздела "Starting a process", если С не пугает, читайте полностью. После прочтения вы будете понимать, что такое process, thread, mutex, priorites, semaphores, scheduler, contex-switch, kernel states.
Ruby
cd config; find . -name "*.yml.sample" -exec sh -c 'cp $0 `basename "$0" .yml.sample`.yml' '{}' \; |
class Merchant < ActiveRecord::Base | |
# Include default devise modules | |
devise :database_authenticatable, :registerable, :token_authenticatable, :confirmable, | |
:recoverable, :rememberable, :trackable, :validatable, :timeoutable, :two_factor_authenticatable | |
# Setup accessible (or protected) attributes for your model | |
attr_accessible :email, :password, :password_confirmation, :remember_me, :callback_url, | |
:name, :surname, :phone_number, :address_zip, :address_city, :address, | |
:balance_btc, :two_factor_authentication | |
require 'active_support/all' | |
class A | |
cattr_accessor :id | |
end | |
B = Class.new(A) | |
B.id = 'b' | |
C = Class.new(A) | |
C.id = 'c' |
# encoding: utf-8 | |
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
Vagrant.configure("2") do |config| | |
config.vm.box = "precise64" | |
config.vm.box_url = "http://files.vagrantup.com/precise64.box" | |
config.vm.provision :shell, :inline => "curl -L https://www.opscode.com/chef/install.sh | bash" |