The popular open-source contract for web professionals by Stuff & Nonsense
- Originally published: 23rd December 2008
- Revised date: March 15th 2016
- Original post
AllCops: | |
RunRailsCops: true | |
DisplayCopNames: true | |
DisplayStyleGuide: false | |
ExtraDetails: false | |
UseCache: false | |
Exclude: | |
- bin/**/* | |
- db/schema.rb | |
- db/seeds.rb |
module Api exposing (..) | |
import Json.Decode as Json | |
type Event | |
= ChatEvent | |
| StateEvent | |
" ftplugin/haskell.vim | |
set tags=tags;/,codex.tags;/ | |
" Disable haskell-vim omnifunc | |
let g:haskellmode_completion_ghc = 0 | |
autocmd FileType haskell setlocal omnifunc=necoghc#omnifunc | |
autocmd FileType haskell nnoremap <buffer> <F1> :HdevtoolsType<CR> |
# also you need to uncomment next line in Capfile | |
# require 'capistrano/rails/assets' | |
namespace :deploy do | |
namespace :assets do | |
Rake::Task['deploy:assets:precompile'].clear_actions | |
desc 'Precompile assets locally and upload to servers' | |
task :precompile do |
2014-12-05 12:49:21 | |
Full thread dump OpenJDK 64-Bit Server VM (23.7-b01 mixed mode): | |
"Attach Listener" daemon prio=10 tid=0x00007fa4c420e000 nid=0xb20 runnable [0x0000000000000000] | |
java.lang.Thread.State: RUNNABLE | |
"elasticsearch[heisenberg][search][T#3]" daemon prio=10 tid=0x00007fa4d009b800 nid=0xa48 waiting on condition [0x00007fa4c99ce000] | |
java.lang.Thread.State: WAITING (parking) | |
at sun.misc.Unsafe.park(Native Method) | |
- parking to wait for <0x00000000bbe98d98> (a java.util.concurrent.LinkedTransferQueue) |
<?xml version="1.0" encoding="utf-8"?> | |
<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format"> | |
<fo:layout-master-set> | |
<fo:simple-page-master master-name="labels" margin="0.5in 0 0.5in 0.1875in" page-width="8.5in" page-height="11in"> | |
<fo:region-body/> | |
</fo:simple-page-master> | |
</fo:layout-master-set> | |
<fo:page-sequence master-reference="labels"> | |
<fo:flow flow-name="xsl-region-body"> |
require 'term/ansicolor' | |
SMALL_MAZE = """ | |
||||||||| | |
|S | | |
| ||| ||| | |
| | | |
| || || | | |
| | | |
| || |||| |
I hereby claim:
To claim this, I am signing this object:
# Create ES index | |
curl -XPUT 'http://search.foo.com:9200/api_master13/' -d ' | |
{ | |
"settings" : { | |
"number_of_shards" : 5, | |
"number_of_replicas" : 0 | |
}, | |
"mappings": { | |
"event": { | |
"properties": { |