Denis denispeplin

View ember-simple-auth.js
1 2 3 4 5 6 7 8 9
// Version: 0.0.11-11-g134e758
// Last commit: 134e758 (2014-01-02 16:25:13 +0100)
 
 
(function() {
'use strict';
 
/**
The main namespace for Ember.SimpleAuth
View verify_exists.rb
1 2 3 4 5 6 7 8 9
require 'ruby-debug'
 
words = ["akka", "play framework", "sbt", "typesafe"]
tweet = "This is an example tweet talking about scala and sbt."
 
words.any? do |word|
debugger
tweet.include?(word)
end
View graph.html
1 2 3 4 5 6 7 8 9 10
<!-- initializing Angular -->
<html ng-app>
<head>
<!-- setting default value -->
<script language="javascript">
function Ctrl($scope) {
$scope.graph = 'noise_margin';
}
</script>
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.0.5/angular.min.js"></script>
View commands
1 2 3 4 5 6 7 8 9 10
# build esseintails
yum -y install gcc gcc-c++ kernel-devel
 
# make tools
yum -y install gcc automake autoconf libtool make
 
# ruby related stuff
yum -y install libxslt-devel libxml2-devel gdbm-devel libffi-devel zlib-devel openssl-devel readline-devel curl-devel openssl-devel pcre-devel git memcached-devel postgresql-devel ImageMagick-devel ImageMagick
 
# libyaml-devel
View .gitconfig
1 2 3 4 5 6 7 8 9 10
[color]
ui = true
[push]
default = current
[branch]
autosetuprebase = always
autosetupmerge = true
[alias]
st = status
co = checkout
View simple_form_display_filter.rb
1 2 3 4 5 6 7 8 9 10
module SimpleForm
class FormBuilder < ActionView::Helpers::FormBuilder
# tried to monkey patch without copy'n'pasting, broke associations
def input(attribute_name, options={}, &block)
options = @defaults.deep_dup.deep_merge(options) if @defaults
 
chosen =
if name = options[:wrapper]
name.respond_to?(:render) ? name : SimpleForm.wrapper(name)
else
Something went wrong with that request. Please try again.