Custom recipe to get OS X 10.11 El Capitan running from scratch with useful applications and Node.js Developer environment. I use this gist to keep track of the important software and steps required to have a functioning system after fresh install.
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 Objective | |
#request | |
def locked? | |
locked_by.present? && | |
[LOCK_STATUSES[:uploading], LOCK_STATUSES[:locked]].include?(lock_status) | |
end | |
#command | |
def release_lock | |
assign_attributes( |
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 FindingAction | |
belongs_to :creator | |
def notify_creator(updater) | |
FindingActionNotifier.send_creator_notification(self) if should_notify_creator?(updater) | |
end | |
private | |
def should_notify_creator?(updater) |
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 CipherKey | |
ALPHABET = %w(а б в г д е ё ж з и й к л м н о п р с т у ф х ц ч ш щ ъ ы ь э ю я) | |
def initialize() | |
end | |
def create_table | |
table = ALPHABET << " " | |
new_table = table.shuffle |
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
This instruction will allow you to get keys from Google Authenticator via terminal. | |
1) Download oathtool | |
brew install oathtool | |
http://www.nongnu.org/oath-toolkit/oathtool.1.html | |
2) Get your 2-Factor authentication secret key. | |
For example, instead of capturing barcode, ask Google 2-factor auth to enter code manually. | |
And google 2-factor auth will provide you your secret key. |
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
# плохой пример | |
RSpec.describe Alarm do | |
describe "#snooze" do | |
subject { described_class.new(at: time) } | |
it { expect { subject.snooze }.to change { subject.at }.by(9.minutes) | |
end | |
end | |
# вариант 1 |
Source - http://goo.gl/9Paijf
- Unfortunately you need a Windows 10/8 (prefer) or virtual machine running windows
- Mac (obviously)
- USB 3 HDD/Flash Drive (SSD Drive recommended)
A list of rails development and deployment setup
- Learn the IFTTT dash development env
- Setup the services like db, nginx and others using docker with vagrant or docker-machine then develop rails/nodejs localy to gain development effeciency to avoid docker build every time
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
## | |
# The IncludedResourceParams class is responsible for parsing a string containing | |
# a comma separated list of associated resources to include with a request. See | |
# http://jsonapi.org/format/#fetching-includes for additional details although | |
# this is not required knowledge for the task at hand. | |
# | |
# Our API requires specific inclusion of related resourses - that is we do NOT | |
# want to support wildcard inclusion (e.g. `foo.*`) | |
# | |
# The IncludedResourceParams class has three public methods making up its API. |
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
1. http://diplomba.ru/work/111512 | |
Анализ клинико-психологической характеристики тревожно-депрессивного синдрома | |
Базовые вещи, напрямую относится к депрессии, стоит почитать. | |
2. http://elibrary.ru/item.asp?id=20781383& | |
ПОДСИСТЕМА ОПРЕДЕЛЕНИЯ ПСИХОЭМОЦИОНАЛЬНОГО СОСТОЯНИЯ ЧЕЛОВЕКА | |
Интересно, в статье психоэмоциональное состояние описывается как вероятностный автомат(P-система). | |
Есть вероятность, что по статьям этого автора можно будет создать базовое ТЗ системы с технической стороны . | |
3. http://elibrary.ru/item.asp?id=20523641 |
OlderNewer