Skip to content

Instantly share code, notes, and snippets.

$(function () {
$('#fileupload').fileupload({
dropzone: $("#fileupload"),
dataType: 'json',
add: function (e, data) {
data.context = $('<p/>').html(""+
"<div class='upload_item'> "+
" <div class='progress' style='margin-bottom:5px;'>"+
" <div class='bar' style='width: 0%'></div>"+
" </div>"+
This file has been truncated, but you can view the full file.
2017-05-29 15:51:12 connection from 205.251.85.157:39634 dropped (banned)
2017-05-29 15:51:12 connection from 205.251.85.157:43262 dropped (banned)
2017-05-29 15:51:12 connection from 205.251.85.157:40096 dropped (banned)
2017-05-29 15:51:12 connection from 205.251.85.157:46076 dropped (banned)
2017-05-29 15:51:12 connection from 205.251.85.157:40560 dropped (banned)
2017-05-29 15:51:12 connection from 205.251.85.157:48832 dropped (banned)
2017-05-29 15:51:12 connection from 205.251.85.157:40728 dropped (banned)
2017-05-29 15:51:12 connection from 205.251.85.157:51654 dropped (banned)
2017-05-29 15:51:12 connection from 205.251.85.157:41166 dropped (banned)
2017-05-29 15:51:13 connection from 205.251.85.157:54440 dropped (banned)
# -*- mode: ruby -*-
Vagrant.configure(2) do |config|
config.vm.box = "precise64"
config.vm.hostname = "minion1"
config.vm.network :private_network, ip: "192.168.33.10"
config.vm.provider "virtualbox" do |vb|
vb.memory = "2048"
vb.customize ["modifyvm", :id, "--natdnshostresolver1", "on"]
vb.customize ["modifyvm", :id, "--natdnsproxy1", "on"]
end
# salt --versions-report
Salt: 2015.2.0rc2-203-g0407892
Python: 2.7.9 (default, Jan 7 2015, 11:50:42)
Jinja2: 2.7.3
M2Crypto: 0.22
msgpack-python: 0.4.6
msgpack-pure: 0.1.3
pycrypto: 2.6.1
libnacl: Not Installed
PyYAML: 3.11
@h0jeZvgoxFepBQ2C
h0jeZvgoxFepBQ2C / gist:9475757
Last active August 29, 2015 13:57
My .vimrc
set nocompatible " be iMproved, required
"filetype off " required
" set the runtime path to include Vundle and initialize
set rtp+=~/.vim/bundle/vundle/
call vundle#rc()
" alternatively, pass a path where Vundle should install bundles
"let path = '~/some/path/here'
"call vundle#rc(path)
@h0jeZvgoxFepBQ2C
h0jeZvgoxFepBQ2C / gist:5625967
Last active December 17, 2015 14:39
segmentation fault celluloid or mysql2 adapter
✘ ⮀ ~/coding/project-v3 ⮀ ⭠ master-sidekiq ● ⮀ bundle exec sidekiq RAILS_ENV=development
DEPRECATION WARNING: You have Rails 2.3-style plugins in vendor/plugins! Support for these plugins will be removed in Rails 4.0. Move them out and bundle them in your Gemfile, or fold them in to your app as lib/myplugin/* and config/initializers/myplugin.rb. See the release notes for more on this: http://weblog.rubyonrails.org/2012/1/4/rails-3-2-0-rc2-has-been-released. (called from <top (required)> at /Users/coder/coding/project-v3/config/environment.rb:5)
/Users/coder/.rvm/gems/ruby-1.9.3-p392/gems/actionpack-3.2.13/lib/action_dispatch/http/mime_type.rb:102: warning: already initialized constant PDF
/Users/coder/.rvm/gems/ruby-1.9.3-p392/gems/actionpack-3.2.13/lib/action_dispatch/http/mime_type.rb:102: warning: already initialized constant PDF
2013-05-22T07:58:31Z 68831 TID-ox77kn8bc INFO: Booting Sidekiq 2.11.2 using redis://localhost:6379/0 with options {}
2013-05-22T07:58:31Z 68831 TID-ox77kn8bc INFO: Running in rub