Attention: the list was moved to
https://github.com/dypsilon/frontend-dev-bookmarks
This page is not maintained anymore, please update your bookmarks.
| #!/usr/bin/env python3 | |
| import requests # for getting URL | |
| import json # for parsing json | |
| from datetime import datetime # datetime parsing | |
| import pytz # timezone adjusting | |
| import csv # for making csv files | |
| import os | |
| ################################################################# |
| require 'sidekiq/api' | |
| # 1. Clear retry set | |
| Sidekiq::RetrySet.new.clear | |
| # 2. Clear scheduled jobs | |
| Sidekiq::ScheduledSet.new.clear |
| # Rakefile | |
| # Add Rainbow to the app dependencies. That's optional, but the result is worth it. | |
| require 'rainbow' | |
| # ... | |
| # Validate an API against its API blueprint | |
| # | |
| # The API blueprints are expected to be stored in `doc/` and |
| { | |
| "name": "laravel/laravel", | |
| "description": "The Laravel Framework.", | |
| "keywords": ["framework", "laravel"], | |
| "license": "MIT", | |
| "require": { | |
| "laravel/framework": "4.1.*", | |
| "way/generators": "dev-master", | |
| "cartalyst/sentry": "2.0.*", | |
| "jasonlewis/basset": "dev-master", |
| FROM ubuntu:12.04 | |
| RUN DEBIAN_FRONTEND=noninteractive apt-get install -y openjdk-6-jdk curl git-core build-essential bzr | |
| RUN mkdir -p /tmp/downloads | |
| # install go | |
| RUN curl -sf -o /tmp/downloads/go1.1.1.linux-amd64.tar.gz -L https://go.googlecode.com/files/go1.1.1.linux-amd64.tar.gz | |
| RUN mkdir -p /opt && cd /opt && tar xfz /tmp/downloads/go1.1.1.linux-amd64.tar.gz | |
| # install jenkins | |
| RUN curl -sf -o /opt/jenkins-1.523.war -L http://mirrors.jenkins-ci.org/war/1.523/jenkins.war |
Attention: the list was moved to
https://github.com/dypsilon/frontend-dev-bookmarks
This page is not maintained anymore, please update your bookmarks.
| after "deploy:stop", "clockwork:stop" | |
| after "deploy:start", "clockwork:start" | |
| after "deploy:restart", "clockwork:restart" | |
| set :clockwork_roles, :blabla | |
| set :cw_log_file, "#{current_path}/log/clockwork.log" | |
| set :cw_pid_file, "#{current_path}/tmp/pids/clockwork.pid" | |
| set :rails_env, ENV['rails_env'] || '' | |
| namespace :clockwork do |
| ARCHFLAGS="-arch x86_64" gem install mysql2 -- –with-mysql-config=/usr/local/bin/mysql_config |
| from fabric.api import * | |
| import os | |
| def dev_server(): | |
| print """ | |
| This setup assumes: | |
| * Your SPRINTLY_HOME environment variable is set to the location of the sprint.ly git checkout. | |
| * The Sprint.ly chef setup is checked out to "$SPRINTLY_HOME/../chef" | |
| """ | |
| # is Vagrant installed? |
| #!/usr/bin/env sh | |
| ## | |
| # This is script with usefull tips taken from: | |
| # https://github.com/mathiasbynens/dotfiles/blob/master/.osx | |
| # | |
| # install it: | |
| # curl -sL https://raw.github.com/gist/2108403/hack.sh | sh | |
| # |