$/
artifacts/
build/
docs/
lib/
packages/
samples/
src/
tests/
############################## | |
## Java | |
############################## | |
.mtj.tmp/ | |
*.class | |
*.jar | |
*.war | |
*.ear | |
*.nar | |
hs_err_pid* |
{ | |
"globals" : | |
{ | |
"alwaysShowTabs" : true, | |
"copyOnSelect" : false, | |
"defaultProfile" : "{00000000-0000-0000-ba54-000000000001}", | |
"initialCols" : 120, | |
"initialRows" : 30, | |
"keybindings" : | |
[ |
# | |
# PostgreSQL writes two optional commands to the database schema | |
# file, called db/structure.sql, that can only be run as a root | |
# database user. These are not needed actually, so comment them | |
# out automatically | |
# | |
# CREATE EXTENSION IF NOT EXISTS plpgsql WITH SCHEMA pg_catalog; | |
# COMMENT ON EXTENSION plpgsql IS 'PL/pgSQL procedural language'; | |
# | |
namespace :db do |
function sieveOfAtkin(limit){ | |
var limitSqrt = Math.sqrt(limit); | |
var sieve = []; | |
var n; | |
//prime start from 2, and 3 | |
sieve[2] = true; | |
sieve[3] = true; | |
for (var x = 1; x <= limitSqrt; x++) { |
package com.danielasfregola.tutorial.cat.applicative | |
import com.danielasfregola.tutorial.cat.functor.Functor | |
trait Applicative[Box[_]] extends Functor[Box] { | |
def pure[A](a: A): Box[A] | |
def ap[A, B](boxF: Box[A => B])(boxA: Box[A]): Box[B] |
sudo apt-add-repository -y ppa:atareao/atareao | |
sudo apt-add-repository -y ppa:brightbox/ruby-ng | |
sudo apt-add-repository -y ppa:didrocks/ubuntu-developer-tools-center | |
sudo apt-add-repository -y ppa:git-core/ppa | |
sudo apt-add-repository -y ppa:gns3/ppa | |
sudo apt-add-repository -y ppa:hachre/dart | |
sudo apt-add-repository -y ppa:jerzy-kozera/zeal-ppa | |
sudo apt-add-repository -y ppa:jtaylor/ipython | |
sudo apt-add-repository -y ppa:klaus-vormweg/awesome | |
sudo apt-add-repository -y ppa:libreoffice/ppa |
A checklist for designing and developing internet scale services, inspired by James Hamilton's 2007 paper "On Desgining and Deploying Internet-Scale Services."
- Does the design expect failures to happen regularly and handle them gracefully?
- Have we kept things as simple as possible?
This is a guide for Scala and Java development on Windows, using Windows Subsystem for Linux, although a bunch of it is applicable to a VirtualBox / Vagrant / Docker subsystem environment. This is not complete, but is intended to be as step by step as possible.
Sadly, much of this pertains to Git, GPG, SSH, and Windows all not working, rather than Windows Subsystem for Linux. There is no unified command line experience for native Windows still -- instead, there's a bunch of different conflicting programs which all bring along their own environment and need to be told about each other.
Read the entire Decent Security guide, and follow the instructions, especially:
The latest Paperclip release 5.1.0 has changed a little bit the way to set it up with Amazon S3 service (Amazon Simple Storage Service). Moreover, after googling a lot here and there, we could see many solutions and settings, some of them being outdated, some - often different and did not work well. So I decided to summarize in one replace all the steps needed to set up your Rails application deployed on Heroku and be able to use it with Paperclip 5 and Amazon S3 service.
In case you don't know, Heroku does not allow your Rails application to write and offers read only access. What means that you can't use Paperclip and save your files to Heroku's file system.
So you will have to find a way to upload/store/read your files. As stated in Paperclip documentation, Paperclip ships with 3 storage adapters: