Skip to content

Instantly share code, notes, and snippets.

View Kr00lIX's full-sized avatar
💭
Glory to Ukraine! 💙💛

Anatolii Kovalchuk Kr00lIX

💭
Glory to Ukraine! 💙💛
View GitHub Profile
############## plugin commands #################
#plugin 'rspec', :git => "git://github.com/dchelimsky/rspec.git"
#plugin 'rspec-rails', :git => "git://github.com/dchelimsky/rspec-rails.git"
#plugin 'cucumber', :git => "git://github.com/aslakhellesoy/cucumber.git"
plugin 'paperclip', :git => "git://github.com/thoughtbot/paperclip.git"
plugin 'rails_indexes', :git => 'git://github.com/eladmeidar/rails_indexes.git'
plugin 'inherited_resources', :git => 'git://github.com/josevalim/inherited_resources.git'
plugin 'formtastic', :git => 'git://github.com/justinfrench/formtastic.git'
plugin 'scrooge', :git => 'git://github.com/methodmissing/scrooge.git'
@Kr00lIX
Kr00lIX / 0_README.md
Created September 4, 2011 09:42 — forked from netzpirat/0_README.md
Continuous CoffeeScript testing with Guard and Jasmine

Continuous CoffeeScript testing with Guard and Jasmine

This Gist shows how to set up a Rails project to practice BDD with CoffeeScript, Guard and Jasmine. You can see this setup in action on Vimeo

  • Install Gems with Bundler with bundle install
  • Define your guards with mate Guardfile
  • Initialize Jasmine with bundle exec jasmine init
  • Configure Jasmine with mate spec/support/yasmine.ym
  • Start Guard with bundle exec guard
@Kr00lIX
Kr00lIX / circle.yml
Last active July 12, 2016 05:13
CircleCI building Elixir Phoenix project with phantomjs
# add mix.exs deps
# {:junit_formatter, "~> 1.1.0", only: :test},
#
# .tool-versions file with content
# erlang 18.3
# elixir 1.3.0
# nodejs 5.5.0
#
machine:
node:
@Kr00lIX
Kr00lIX / deploy.rb
Last active June 2, 2017 08:48
Deploy Phoenix Elixir by mina
require 'mina/bundler'
require 'mina/git'
require 'mina/rbenv'
set :domain, 'your_domain.com'
set :deploy_to, '/home/deployer/app_name'
set :repository, '[email protected]:user_name/app_name'
set :branch, ENV["brunch"] || 'master'
set :app_name, "app_name"
@Kr00lIX
Kr00lIX / .profile
Created July 7, 2017 08:45 — forked from sindresorhus/.profile
Automatic Git commit signing with GPG on OSX
# In order for gpg to find gpg-agent, gpg-agent must be running, and there must be an env
# variable pointing GPG to the gpg-agent socket. This little script, which must be sourced
# in your shell's init script (ie, .bash_profile, .zshrc, whatever), will either start
# gpg-agent or set up the GPG_AGENT_INFO variable if it's already running.
# Add the following to your shell init to set up gpg-agent automatically for every shell
if [ -f ~/.gnupg/.gpg-agent-info ] && [ -n "$(pgrep gpg-agent)" ]; then
source ~/.gnupg/.gpg-agent-info
export GPG_AGENT_INFO
else
@Kr00lIX
Kr00lIX / minimal-arq-aws-policy.json
Created March 1, 2024 14:49 — forked from leighmcculloch/minimal-arq-aws-policy.json
Minimal AWS IAM policy for ARQ.
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "0",
"Effect": "Allow",
"Action": ["s3:ListAllMyBuckets", "s3:ListObjects"],
"Resource": "*"
},
{