Permalink
Browse files

Finally got sick of Wordpress B.S

  • Loading branch information...
0 parents commit e1bcc9a8ec6bf993cbe0af0149a2bfd209073493 @pothibo committed Nov 14, 2013
Showing with 3,764 additions and 0 deletions.
  1. BIN .DS_Store
  2. +18 −0 .gitignore
  3. +43 −0 Gemfile
  4. +154 −0 Gemfile.lock
  5. +28 −0 README.rdoc
  6. +6 −0 Rakefile
  7. BIN admin/.DS_Store
  8. +8 −0 admin/.gitignore
  9. +14 −0 admin/Gemfile
  10. +88 −0 admin/Gemfile.lock
  11. +20 −0 admin/MIT-LICENSE
  12. +3 −0 admin/README.rdoc
  13. +34 −0 admin/Rakefile
  14. +22 −0 admin/admin.gemspec
  15. BIN admin/app/.DS_Store
  16. BIN admin/app/assets/.DS_Store
  17. 0 admin/app/assets/images/admin/.keep
  18. +16 −0 admin/app/assets/javascripts/admin/application.js
  19. +45 −0 admin/app/assets/javascripts/admin/editor.coffee
  20. +13 −0 admin/app/assets/stylesheets/admin/application.css
  21. +23 −0 admin/app/assets/stylesheets/admin/base.css.scss
  22. +140 −0 admin/app/assets/stylesheets/admin/editor.css.scss
  23. +6 −0 admin/app/controllers/admin/application_controller.rb
  24. +44 −0 admin/app/controllers/admin/posts_controller.rb
  25. +4 −0 admin/app/helpers/admin/application_helper.rb
  26. BIN admin/app/views/.DS_Store
  27. 0 admin/app/views/admin/posts/edit.html.erb
  28. +7 −0 admin/app/views/admin/posts/index.html.erb
  29. +33 −0 admin/app/views/admin/posts/new.html.erb
  30. +14 −0 admin/app/views/layouts/admin/application.html.erb
  31. +8 −0 admin/bin/rails
  32. +4 −0 admin/config/routes.rb
  33. +4 −0 admin/lib/admin.rb
  34. +5 −0 admin/lib/admin/engine.rb
  35. +3 −0 admin/lib/admin/version.rb
  36. +4 −0 admin/lib/tasks/admin_tasks.rake
  37. +7 −0 admin/test/admin_test.rb
  38. +28 −0 admin/test/dummy/README.rdoc
  39. +6 −0 admin/test/dummy/Rakefile
  40. 0 admin/test/dummy/app/assets/images/.keep
  41. +13 −0 admin/test/dummy/app/assets/javascripts/application.js
  42. +13 −0 admin/test/dummy/app/assets/stylesheets/application.css
  43. +5 −0 admin/test/dummy/app/controllers/application_controller.rb
  44. 0 admin/test/dummy/app/controllers/concerns/.keep
  45. +2 −0 admin/test/dummy/app/helpers/application_helper.rb
  46. 0 admin/test/dummy/app/mailers/.keep
  47. 0 admin/test/dummy/app/models/.keep
  48. 0 admin/test/dummy/app/models/concerns/.keep
  49. +14 −0 admin/test/dummy/app/views/layouts/application.html.erb
  50. +3 −0 admin/test/dummy/bin/bundle
  51. +4 −0 admin/test/dummy/bin/rails
  52. +4 −0 admin/test/dummy/bin/rake
  53. +4 −0 admin/test/dummy/config.ru
  54. +23 −0 admin/test/dummy/config/application.rb
  55. +5 −0 admin/test/dummy/config/boot.rb
  56. +25 −0 admin/test/dummy/config/database.yml
  57. +5 −0 admin/test/dummy/config/environment.rb
  58. +29 −0 admin/test/dummy/config/environments/development.rb
  59. +80 −0 admin/test/dummy/config/environments/production.rb
  60. +36 −0 admin/test/dummy/config/environments/test.rb
  61. +7 −0 admin/test/dummy/config/initializers/backtrace_silencers.rb
  62. +4 −0 admin/test/dummy/config/initializers/filter_parameter_logging.rb
  63. +16 −0 admin/test/dummy/config/initializers/inflections.rb
  64. +5 −0 admin/test/dummy/config/initializers/mime_types.rb
  65. +12 −0 admin/test/dummy/config/initializers/secret_token.rb
  66. +3 −0 admin/test/dummy/config/initializers/session_store.rb
  67. +14 −0 admin/test/dummy/config/initializers/wrap_parameters.rb
  68. +23 −0 admin/test/dummy/config/locales/en.yml
  69. +4 −0 admin/test/dummy/config/routes.rb
  70. 0 admin/test/dummy/lib/assets/.keep
  71. 0 admin/test/dummy/log/.keep
  72. +58 −0 admin/test/dummy/public/404.html
  73. +58 −0 admin/test/dummy/public/422.html
  74. +57 −0 admin/test/dummy/public/500.html
  75. 0 admin/test/dummy/public/favicon.ico
  76. +10 −0 admin/test/integration/navigation_test.rb
  77. +15 −0 admin/test/test_helper.rb
  78. BIN app/.DS_Store
  79. BIN app/assets/.DS_Store
  80. 0 app/assets/images/.keep
  81. BIN app/assets/images/background.png
  82. BIN app/assets/images/comments.png
  83. BIN app/assets/images/github-logo.png
  84. BIN app/assets/images/header-code.png
  85. BIN app/assets/images/header-golang.png
  86. BIN app/assets/images/header-javascript.png
  87. BIN app/assets/images/header-rails.png
  88. BIN app/assets/images/profile.png
  89. BIN app/assets/images/twitter-logo.png
  90. +16 −0 app/assets/javascripts/application.js
  91. +296 −0 app/assets/javascripts/keymaster.js
  92. +60 −0 app/assets/javascripts/keymaster.sequence.js
  93. +2 −0 app/assets/javascripts/login.coffee
  94. +591 −0 app/assets/javascripts/prism.js
  95. +25 −0 app/assets/javascripts/prism/prism.ruby.js
  96. +13 −0 app/assets/stylesheets/application.css
  97. +14 −0 app/assets/stylesheets/base.scss
  98. +98 −0 app/assets/stylesheets/index.scss
  99. +19 −0 app/assets/stylesheets/login.css.scss
  100. +26 −0 app/assets/stylesheets/mobile.scss
  101. 0 app/assets/stylesheets/mobile/index.css.scss
  102. +119 −0 app/assets/stylesheets/post.scss
  103. +160 −0 app/assets/stylesheets/prism.scss
  104. +11 −0 app/assets/stylesheets/prism/ruby.scss
  105. +6 −0 app/assets/stylesheets/responsive/full/index.css.scss
  106. +22 −0 app/controllers/application_controller.rb
  107. 0 app/controllers/concerns/.keep
  108. +19 −0 app/controllers/posts_controller.rb
  109. +12 −0 app/controllers/sessions_controller.rb
  110. +12 −0 app/controllers/unauthenticated_controller.rb
  111. +2 −0 app/helpers/application_helper.rb
  112. 0 app/mailers/.keep
  113. 0 app/models/.keep
  114. 0 app/models/concerns/.keep
  115. +55 −0 app/models/post.rb
  116. +16 −0 app/models/user.rb
  117. +16 −0 app/strategies/password_strategy.rb
  118. +18 −0 app/views/layouts/application.html.erb
  119. +6 −0 app/views/posts/_post.html.erb
  120. +35 −0 app/views/posts/index.html.erb
  121. +45 −0 app/views/posts/show.html.erb
  122. +7 −0 app/views/unauthenticated/_menu.html.erb
  123. +10 −0 app/views/unauthenticated/show.js.erb
  124. +3 −0 bin/bundle
  125. +4 −0 bin/rails
  126. +4 −0 bin/rake
  127. +4 −0 config.ru
  128. +23 −0 config/application.rb
  129. +4 −0 config/boot.rb
  130. +20 −0 config/database.yml
  131. +5 −0 config/environment.rb
  132. +29 −0 config/environments/development.rb
  133. +80 −0 config/environments/production.rb
  134. +36 −0 config/environments/test.rb
  135. +7 −0 config/initializers/backtrace_silencers.rb
  136. +4 −0 config/initializers/filter_parameter_logging.rb
  137. +16 −0 config/initializers/inflections.rb
  138. +5 −0 config/initializers/mime_types.rb
  139. +3 −0 config/initializers/session_store.rb
  140. +14 −0 config/initializers/wrap_parameters.rb
  141. +13 −0 config/locales/en.yml
  142. +10 −0 config/routes.rb
  143. +9 −0 config/settings.yml
  144. +16 −0 db/migrate/20131111222709_create_posts.rb
  145. +12 −0 db/migrate/20131113200949_create_users.rb
  146. +5 −0 db/migrate/20131114205041_add_excerpt_to_post.rb
  147. +41 −0 db/schema.rb
  148. +7 −0 db/seeds.rb
  149. 0 lib/assets/.keep
  150. 0 lib/tasks/.keep
  151. 0 log/.keep
  152. BIN public/.DS_Store
  153. +58 −0 public/404.html
  154. +58 −0 public/422.html
  155. +57 −0 public/500.html
  156. 0 public/favicon.ico
  157. BIN public/fonts/.DS_Store
  158. BIN public/fonts/entypo.woff
  159. +5 −0 public/robots.txt
  160. 0 test/controllers/.keep
  161. 0 test/fixtures/.keep
  162. +12 −0 test/fixtures/posts.yml
  163. +11 −0 test/fixtures/users.yml
  164. 0 test/helpers/.keep
  165. 0 test/integration/.keep
  166. 0 test/mailers/.keep
  167. 0 test/models/.keep
  168. +33 −0 test/models/post_test.rb
  169. +7 −0 test/models/user_test.rb
  170. +15 −0 test/test_helper.rb
  171. 0 vendor/assets/javascripts/.keep
  172. 0 vendor/assets/stylesheets/.keep
BIN .DS_Store
Binary file not shown.
@@ -0,0 +1,18 @@
+# See http://help.github.com/ignore-files/ for more about ignoring files.
+#
+# If you find yourself ignoring temporary files generated by your text editor
+# or operating system, you probably want to add a global ignore instead:
+# git config --global core.excludesfile '~/.gitignore_global'
+
+# Ignore bundler config.
+/.bundle
+
+# Ignore the default SQLite database.
+/db/*.sqlite3
+/db/*.sqlite3-journal
+
+# Ignore all logfiles and tempfiles.
+/log/*.log
+/tmp
+
+settings.local.yml
43 Gemfile
@@ -0,0 +1,43 @@
+source 'https://rubygems.org'
+
+# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
+gem 'rails', '4.0.0'
+
+gem 'choices'
+
+gem 'warden'
+gem 'bcrypt-ruby'
+gem 'admin', path: 'admin'
+
+gem 'pg'
+
+gem 's3'
+
+# Use SCSS for stylesheets
+gem 'sass-rails', '~> 4.0.0'
+
+# Use Uglifier as compressor for JavaScript assets
+gem 'uglifier', '>= 1.3.0'
+
+# Use CoffeeScript for .js.coffee assets and views
+gem 'coffee-rails', '~> 4.0.0'
+
+# Use jquery as the JavaScript library
+gem 'jquery-rails'
+
+# Turbolinks makes following links in your web application faster. Read more: https://github.com/rails/turbolinks
+gem 'turbolinks'
+
+gem 'kaminari'
+gem 'exits'
+
+gem 'nokogiri'
+
+group :development do
+ gem 'debugger'
+end
+
+group :doc do
+ # bundle exec rake doc:rails generates the API under doc/api.
+ gem 'sdoc', require: false
+end
@@ -0,0 +1,154 @@
+PATH
+ remote: admin
+ specs:
+ admin (0.0.1)
+ rails (~> 4.0.0)
+
+GEM
+ remote: https://rubygems.org/
+ specs:
+ actionmailer (4.0.0)
+ actionpack (= 4.0.0)
+ mail (~> 2.5.3)
+ actionpack (4.0.0)
+ activesupport (= 4.0.0)
+ builder (~> 3.1.0)
+ erubis (~> 2.7.0)
+ rack (~> 1.5.2)
+ rack-test (~> 0.6.2)
+ activemodel (4.0.0)
+ activesupport (= 4.0.0)
+ builder (~> 3.1.0)
+ activerecord (4.0.0)
+ activemodel (= 4.0.0)
+ activerecord-deprecated_finders (~> 1.0.2)
+ activesupport (= 4.0.0)
+ arel (~> 4.0.0)
+ activerecord-deprecated_finders (1.0.3)
+ activesupport (4.0.0)
+ i18n (~> 0.6, >= 0.6.4)
+ minitest (~> 4.2)
+ multi_json (~> 1.3)
+ thread_safe (~> 0.1)
+ tzinfo (~> 0.3.37)
+ arel (4.0.1)
+ atomic (1.1.14)
+ bcrypt-ruby (3.1.2)
+ builder (3.1.4)
+ choices (0.3.2)
+ hashie (>= 0.4.0)
+ coffee-rails (4.0.1)
+ coffee-script (>= 2.2.0)
+ railties (>= 4.0.0, < 5.0)
+ coffee-script (2.2.0)
+ coffee-script-source
+ execjs
+ coffee-script-source (1.6.3)
+ columnize (0.3.6)
+ debugger (1.6.2)
+ columnize (>= 0.3.1)
+ debugger-linecache (~> 1.2.0)
+ debugger-ruby_core_source (~> 1.2.3)
+ debugger-linecache (1.2.0)
+ debugger-ruby_core_source (1.2.3)
+ erubis (2.7.0)
+ execjs (2.0.2)
+ exits (0.0.4)
+ activesupport (>= 4.0)
+ hashie (2.0.5)
+ hike (1.2.3)
+ i18n (0.6.5)
+ jquery-rails (3.0.4)
+ railties (>= 3.0, < 5.0)
+ thor (>= 0.14, < 2.0)
+ json (1.8.1)
+ kaminari (0.14.1)
+ actionpack (>= 3.0.0)
+ activesupport (>= 3.0.0)
+ mail (2.5.4)
+ mime-types (~> 1.16)
+ treetop (~> 1.4.8)
+ mime-types (1.25)
+ mini_portile (0.5.1)
+ minitest (4.7.5)
+ multi_json (1.8.2)
+ nokogiri (1.6.0)
+ mini_portile (~> 0.5.0)
+ pg (0.17.0)
+ polyglot (0.3.3)
+ proxies (0.2.1)
+ rack (1.5.2)
+ rack-test (0.6.2)
+ rack (>= 1.0)
+ rails (4.0.0)
+ actionmailer (= 4.0.0)
+ actionpack (= 4.0.0)
+ activerecord (= 4.0.0)
+ activesupport (= 4.0.0)
+ bundler (>= 1.3.0, < 2.0)
+ railties (= 4.0.0)
+ sprockets-rails (~> 2.0.0)
+ railties (4.0.0)
+ actionpack (= 4.0.0)
+ activesupport (= 4.0.0)
+ rake (>= 0.8.7)
+ thor (>= 0.18.1, < 2.0)
+ rake (10.1.0)
+ rdoc (3.12.2)
+ json (~> 1.4)
+ s3 (0.3.17)
+ proxies (~> 0.2.0)
+ sass (3.2.12)
+ sass-rails (4.0.1)
+ railties (>= 4.0.0, < 5.0)
+ sass (>= 3.1.10)
+ sprockets-rails (~> 2.0.0)
+ sdoc (0.3.20)
+ json (>= 1.1.3)
+ rdoc (~> 3.10)
+ sprockets (2.10.0)
+ hike (~> 1.2)
+ multi_json (~> 1.0)
+ rack (~> 1.0)
+ tilt (~> 1.1, != 1.3.0)
+ sprockets-rails (2.0.1)
+ actionpack (>= 3.0)
+ activesupport (>= 3.0)
+ sprockets (~> 2.8)
+ thor (0.18.1)
+ thread_safe (0.1.3)
+ atomic
+ tilt (1.4.1)
+ treetop (1.4.15)
+ polyglot
+ polyglot (>= 0.3.1)
+ turbolinks (1.3.0)
+ coffee-rails
+ tzinfo (0.3.38)
+ uglifier (2.3.1)
+ execjs (>= 0.3.0)
+ json (>= 1.8.0)
+ warden (1.2.3)
+ rack (>= 1.0)
+
+PLATFORMS
+ ruby
+
+DEPENDENCIES
+ admin!
+ bcrypt-ruby
+ choices
+ coffee-rails (~> 4.0.0)
+ debugger
+ exits
+ jquery-rails
+ kaminari
+ nokogiri
+ pg
+ rails (= 4.0.0)
+ s3
+ sass-rails (~> 4.0.0)
+ sdoc
+ turbolinks
+ uglifier (>= 1.3.0)
+ warden
@@ -0,0 +1,28 @@
+== README
+
+This README would normally document whatever steps are necessary to get the
+application up and running.
+
+Things you may want to cover:
+
+* Ruby version
+
+* System dependencies
+
+* Configuration
+
+* Database creation
+
+* Database initialization
+
+* How to run the test suite
+
+* Services (job queues, cache servers, search engines, etc.)
+
+* Deployment instructions
+
+* ...
+
+
+Please feel free to use a different markup language if you do not plan to run
+<tt>rake doc:app</tt>.
@@ -0,0 +1,6 @@
+# Add your own tasks in files placed in lib/tasks ending in .rake,
+# for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.
+
+require File.expand_path('../config/application', __FILE__)
+
+PothiboCom::Application.load_tasks
Binary file not shown.
@@ -0,0 +1,8 @@
+.bundle/
+log/*.log
+pkg/
+test/dummy/db/*.sqlite3
+test/dummy/db/*.sqlite3-journal
+test/dummy/log/*.log
+test/dummy/tmp/
+test/dummy/.sass-cache
@@ -0,0 +1,14 @@
+source "https://rubygems.org"
+
+# Declare your gem's dependencies in admin.gemspec.
+# Bundler will treat runtime dependencies like base dependencies, and
+# development dependencies will be added by default to the :development group.
+gemspec
+
+# Declare any dependencies that are still in development here instead of in
+# your gemspec. These might include edge Rails or gems from your path or
+# Git. Remember to move these dependencies to your gemspec before releasing
+# your gem to rubygems.org.
+
+# To use debugger
+# gem 'debugger'
@@ -0,0 +1,88 @@
+PATH
+ remote: .
+ specs:
+ admin (0.0.1)
+ rails (~> 4.0.0)
+
+GEM
+ remote: https://rubygems.org/
+ specs:
+ actionmailer (4.0.1)
+ actionpack (= 4.0.1)
+ mail (~> 2.5.4)
+ actionpack (4.0.1)
+ activesupport (= 4.0.1)
+ builder (~> 3.1.0)
+ erubis (~> 2.7.0)
+ rack (~> 1.5.2)
+ rack-test (~> 0.6.2)
+ activemodel (4.0.1)
+ activesupport (= 4.0.1)
+ builder (~> 3.1.0)
+ activerecord (4.0.1)
+ activemodel (= 4.0.1)
+ activerecord-deprecated_finders (~> 1.0.2)
+ activesupport (= 4.0.1)
+ arel (~> 4.0.0)
+ activerecord-deprecated_finders (1.0.3)
+ activesupport (4.0.1)
+ i18n (~> 0.6, >= 0.6.4)
+ minitest (~> 4.2)
+ multi_json (~> 1.3)
+ thread_safe (~> 0.1)
+ tzinfo (~> 0.3.37)
+ arel (4.0.1)
+ atomic (1.1.14)
+ builder (3.1.4)
+ erubis (2.7.0)
+ hike (1.2.3)
+ i18n (0.6.5)
+ mail (2.5.4)
+ mime-types (~> 1.16)
+ treetop (~> 1.4.8)
+ mime-types (1.25)
+ minitest (4.7.5)
+ multi_json (1.8.2)
+ polyglot (0.3.3)
+ rack (1.5.2)
+ rack-test (0.6.2)
+ rack (>= 1.0)
+ rails (4.0.1)
+ actionmailer (= 4.0.1)
+ actionpack (= 4.0.1)
+ activerecord (= 4.0.1)
+ activesupport (= 4.0.1)
+ bundler (>= 1.3.0, < 2.0)
+ railties (= 4.0.1)
+ sprockets-rails (~> 2.0.0)
+ railties (4.0.1)
+ actionpack (= 4.0.1)
+ activesupport (= 4.0.1)
+ rake (>= 0.8.7)
+ thor (>= 0.18.1, < 2.0)
+ rake (10.1.0)
+ sprockets (2.10.0)
+ hike (~> 1.2)
+ multi_json (~> 1.0)
+ rack (~> 1.0)
+ tilt (~> 1.1, != 1.3.0)
+ sprockets-rails (2.0.1)
+ actionpack (>= 3.0)
+ activesupport (>= 3.0)
+ sprockets (~> 2.8)
+ sqlite3 (1.3.8)
+ thor (0.18.1)
+ thread_safe (0.1.3)
+ atomic
+ tilt (1.4.1)
+ treetop (1.4.15)
+ polyglot
+ polyglot (>= 0.3.1)
+ tzinfo (0.3.38)
+
+PLATFORMS
+ ruby
+
+DEPENDENCIES
+ admin!
+ sqlite3
@@ -0,0 +1,20 @@
+Copyright 2013 YOURNAME
+
+Permission is hereby granted, free of charge, to any person obtaining
+a copy of this software and associated documentation files (the
+"Software"), to deal in the Software without restriction, including
+without limitation the rights to use, copy, modify, merge, publish,
+distribute, sublicense, and/or sell copies of the Software, and to
+permit persons to whom the Software is furnished to do so, subject to
+the following conditions:
+
+The above copyright notice and this permission notice shall be
+included in all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -0,0 +1,3 @@
+= Admin
+
+This project rocks and uses MIT-LICENSE.
Oops, something went wrong.

2 comments on commit e1bcc9a

Contributor

brodock replied May 7, 2014

Welcome to the jungle

Owner

pothibo replied May 7, 2014

👍

Please sign in to comment.