rewrite2 add litenull's branch in so i an remove things as they're
merged. move derby stuff to archive/. update readme
38
README.md
|
|
@ -1,17 +1,33 @@
|
|||
#[HabitRPG](http://habitrpg.com/)
|
||||
HabitRPG Rewrite
|
||||
===============
|
||||
|
||||
HabitRPG is a habit building program which treats your life like a Role Playing Game. Level up as you succeed, lose HP as you fail, earn money to buy weapons and armor.
|
||||
HabitRPG Rewrite under development. Built using Angular, Express, Mongoose, Jade, Stylus, Coffeescript.
|
||||
|
||||
[Read more](https://habitrpg.com/static/about)
|
||||
**Note: This branch is under development, and these instructions may fall out of date. They were accurate as of August 5, 2013.** Should you encounter this, join #habitrpg on IRC (Freenode) and talk to litenull.
|
||||
|
||||

|
||||
The general steps are:
|
||||
|
||||
##License
|
||||
Code is licensed under GNU GPL v3. Content is licensed under CC-BY-SA 3.0.
|
||||
See the LICENSE file for details.
|
||||
1. Clone the repo
|
||||
1. Install all dependencies
|
||||
1. Run the client
|
||||
|
||||
##Credits
|
||||
Content comes from Mozilla's [BrowserQuest](http://browserquest.mozilla.org/)
|
||||
Or, expressed in commands on the command line:
|
||||
|
||||
* [Mozilla](http://mozilla.org)
|
||||
* [Little Workshop](http://www.littleworkshop.fr)
|
||||
1. `git clone --recursive -b angular_rewrite https://github.com/lefnire/habitrpg.git`
|
||||
1. `cd habirpg && npm install`
|
||||
1. `npm start`
|
||||
|
||||
To access the site, open http://localhost:3000 in your browser.
|
||||
|
||||
# Technologies
|
||||
|
||||
1. Angular, Express, Mongoose. Awesome, tried technologies. Read up on them.
|
||||
1. CoffeeScript, Stylus, Jade - big debate.
|
||||
1. Jade. We need a server-side templating language so we can inject variables (`res.locals` from Express). Jade is great
|
||||
because the "significant whitespace" paradigm protects you from HTML errors such as missing or mal-matched close tags,
|
||||
which has been a pretty common error from multiple contribs on Habit. However, it's not very HTML-y, and makes people mad.
|
||||
We'll re-visit this conversation after the rewrite is done.
|
||||
1. Stylus. We're either staying here or moving to LESS, but vanilla CSS isn't cutting it for our app.
|
||||
1. CoffeeScript. This is the hottest debate. I'm using it to rewrite, and Habit was written originally on CS. It's a
|
||||
fantastic language, but it's a barrier-to-entry for potential contribs who don't know it. Will also revisit right after
|
||||
the rewrite.
|
||||
8
archive/README.md
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
# What's This?
|
||||
|
||||
I'm consolidating @litenull's rewrite branch with the old code, and removing files from both sources once they've been
|
||||
successfully merged into the new platform. While @litenull's "from scratch" approach was really clean, it will take
|
||||
us longer to implemente all the original features. This approach will (1) let us leverage code we already have, (2) merge
|
||||
in litenull's hard work from the last few weeks.
|
||||
|
||||
Once this archive/ directory is completely empty, we should be fully merged and ready to deploy the rewrite!
|
||||
|
|
@ -2,7 +2,7 @@ derby = require 'derby'
|
|||
|
||||
# Include library components
|
||||
derby.use require('derby-ui-boot'), {styles: []}
|
||||
derby.use require '../'
|
||||
derby.use require '../.'
|
||||
derby.use require 'derby-auth/components'
|
||||
|
||||
# Init app & reference its functions
|
||||
|
|
@ -113,7 +113,7 @@ ready (model) ->
|
|||
require('./debug').app(exports, model) if model.flags.nodeEnv != 'production'
|
||||
browser.app(exports, model, app)
|
||||
require('./unlock').app(exports, model)
|
||||
require('./filters').app(exports, model)
|
||||
require('./../.').app(exports, model)
|
||||
require('./challenges').app(exports, model)
|
||||
|
||||
# used for things like remove website, chat, etc
|
||||
5
archive/litenull_rewrite/.afignore
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
.DS_Store
|
||||
public/gen/
|
||||
#lib/
|
||||
*.swp
|
||||
.idea/
|
||||
3
archive/litenull_rewrite/.bowerrc
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
"directory": "app/bower_components"
|
||||
}
|
||||
9
archive/litenull_rewrite/.gitignore
vendored
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
.DS_Store
|
||||
public/gen
|
||||
node_modules
|
||||
#lib/
|
||||
*.swp
|
||||
.idea*
|
||||
config.json
|
||||
npm-debug.log
|
||||
app/bower_components
|
||||
22
archive/litenull_rewrite/README.md
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
HabitRPG Rewrite
|
||||
===============
|
||||
|
||||
HabitRPG Rewrite under development. Built using Angular.
|
||||
|
||||
**Note: This branch is under development, and these instructions may fall out of date. They were accurate as of August 5, 2013.** Should you encounter this, join #habitrpg on IRC (Freenode) and talk to litenull.
|
||||
|
||||
The general steps are:
|
||||
|
||||
1. Set up and run the [server](https://github.com/lefnire/habitrpg/wiki/Running-Locally-%28Server%29)
|
||||
1. Clone the repo
|
||||
1. Install all dependencies
|
||||
1. Run the client
|
||||
|
||||
Or, expressed in commands on the command line:
|
||||
|
||||
1. `git clone --branch angular_rewrite git://github.com/lefnire/habitrpg habitrpg-angular`
|
||||
1. `npm install`
|
||||
1. `bower install` (if you don't have `bower`, do `npm install -g bower` — might need `sudo`)
|
||||
1. `node server.js`
|
||||
|
||||
To access the site, open http://localhost:3003 in your browser.
|
||||
1
archive/litenull_rewrite/app/.buildignore
Normal file
|
|
@ -0,0 +1 @@
|
|||
*.coffee
|
||||
553
archive/litenull_rewrite/app/.htaccess
Normal file
|
|
@ -0,0 +1,553 @@
|
|||
# Apache configuration file
|
||||
# httpd.apache.org/docs/2.2/mod/quickreference.html
|
||||
|
||||
# Note .htaccess files are an overhead, this logic should be in your Apache
|
||||
# config if possible: httpd.apache.org/docs/2.2/howto/htaccess.html
|
||||
|
||||
# Techniques in here adapted from all over, including:
|
||||
# Kroc Camen: camendesign.com/.htaccess
|
||||
# perishablepress.com/press/2006/01/10/stupid-htaccess-tricks/
|
||||
# Sample .htaccess file of CMS MODx: modxcms.com
|
||||
|
||||
|
||||
# ----------------------------------------------------------------------
|
||||
# Better website experience for IE users
|
||||
# ----------------------------------------------------------------------
|
||||
|
||||
# Force the latest IE version, in various cases when it may fall back to IE7 mode
|
||||
# github.com/rails/rails/commit/123eb25#commitcomment-118920
|
||||
# Use ChromeFrame if it's installed for a better experience for the poor IE folk
|
||||
|
||||
<IfModule mod_headers.c>
|
||||
Header set X-UA-Compatible "IE=Edge,chrome=1"
|
||||
# mod_headers can't match by content-type, but we don't want to send this header on *everything*...
|
||||
<FilesMatch "\.(js|css|gif|png|jpe?g|pdf|xml|oga|ogg|m4a|ogv|mp4|m4v|webm|svg|svgz|eot|ttf|otf|woff|ico|webp|appcache|manifest|htc|crx|oex|xpi|safariextz|vcf)$" >
|
||||
Header unset X-UA-Compatible
|
||||
</FilesMatch>
|
||||
</IfModule>
|
||||
|
||||
|
||||
# ----------------------------------------------------------------------
|
||||
# Cross-domain AJAX requests
|
||||
# ----------------------------------------------------------------------
|
||||
|
||||
# Serve cross-domain Ajax requests, disabled by default.
|
||||
# enable-cors.org
|
||||
# code.google.com/p/html5security/wiki/CrossOriginRequestSecurity
|
||||
|
||||
# <IfModule mod_headers.c>
|
||||
# Header set Access-Control-Allow-Origin "*"
|
||||
# </IfModule>
|
||||
|
||||
|
||||
# ----------------------------------------------------------------------
|
||||
# CORS-enabled images (@crossorigin)
|
||||
# ----------------------------------------------------------------------
|
||||
|
||||
# Send CORS headers if browsers request them; enabled by default for images.
|
||||
# developer.mozilla.org/en/CORS_Enabled_Image
|
||||
# blog.chromium.org/2011/07/using-cross-domain-images-in-webgl-and.html
|
||||
# hacks.mozilla.org/2011/11/using-cors-to-load-webgl-textures-from-cross-domain-images/
|
||||
# wiki.mozilla.org/Security/Reviews/crossoriginAttribute
|
||||
|
||||
<IfModule mod_setenvif.c>
|
||||
<IfModule mod_headers.c>
|
||||
# mod_headers, y u no match by Content-Type?!
|
||||
<FilesMatch "\.(gif|png|jpe?g|svg|svgz|ico|webp)$">
|
||||
SetEnvIf Origin ":" IS_CORS
|
||||
Header set Access-Control-Allow-Origin "*" env=IS_CORS
|
||||
</FilesMatch>
|
||||
</IfModule>
|
||||
</IfModule>
|
||||
|
||||
|
||||
# ----------------------------------------------------------------------
|
||||
# Webfont access
|
||||
# ----------------------------------------------------------------------
|
||||
|
||||
# Allow access from all domains for webfonts.
|
||||
# Alternatively you could only whitelist your
|
||||
# subdomains like "subdomain.example.com".
|
||||
|
||||
<IfModule mod_headers.c>
|
||||
<FilesMatch "\.(ttf|ttc|otf|eot|woff|font.css)$">
|
||||
Header set Access-Control-Allow-Origin "*"
|
||||
</FilesMatch>
|
||||
</IfModule>
|
||||
|
||||
|
||||
# ----------------------------------------------------------------------
|
||||
# Proper MIME type for all files
|
||||
# ----------------------------------------------------------------------
|
||||
|
||||
# JavaScript
|
||||
# Normalize to standard type (it's sniffed in IE anyways)
|
||||
# tools.ietf.org/html/rfc4329#section-7.2
|
||||
AddType application/javascript js jsonp
|
||||
AddType application/json json
|
||||
|
||||
# Audio
|
||||
AddType audio/ogg oga ogg
|
||||
AddType audio/mp4 m4a f4a f4b
|
||||
|
||||
# Video
|
||||
AddType video/ogg ogv
|
||||
AddType video/mp4 mp4 m4v f4v f4p
|
||||
AddType video/webm webm
|
||||
AddType video/x-flv flv
|
||||
|
||||
# SVG
|
||||
# Required for svg webfonts on iPad
|
||||
# twitter.com/FontSquirrel/status/14855840545
|
||||
AddType image/svg+xml svg svgz
|
||||
AddEncoding gzip svgz
|
||||
|
||||
# Webfonts
|
||||
AddType application/vnd.ms-fontobject eot
|
||||
AddType application/x-font-ttf ttf ttc
|
||||
AddType font/opentype otf
|
||||
AddType application/x-font-woff woff
|
||||
|
||||
# Assorted types
|
||||
AddType image/x-icon ico
|
||||
AddType image/webp webp
|
||||
AddType text/cache-manifest appcache manifest
|
||||
AddType text/x-component htc
|
||||
AddType application/xml rss atom xml rdf
|
||||
AddType application/x-chrome-extension crx
|
||||
AddType application/x-opera-extension oex
|
||||
AddType application/x-xpinstall xpi
|
||||
AddType application/octet-stream safariextz
|
||||
AddType application/x-web-app-manifest+json webapp
|
||||
AddType text/x-vcard vcf
|
||||
AddType application/x-shockwave-flash swf
|
||||
AddType text/vtt vtt
|
||||
|
||||
|
||||
# ----------------------------------------------------------------------
|
||||
# Allow concatenation from within specific js and css files
|
||||
# ----------------------------------------------------------------------
|
||||
|
||||
# e.g. Inside of script.combined.js you could have
|
||||
# <!--#include file="libs/jquery-1.5.0.min.js" -->
|
||||
# <!--#include file="plugins/jquery.idletimer.js" -->
|
||||
# and they would be included into this single file.
|
||||
|
||||
# This is not in use in the boilerplate as it stands. You may
|
||||
# choose to use this technique if you do not have a build process.
|
||||
|
||||
#<FilesMatch "\.combined\.js$">
|
||||
# Options +Includes
|
||||
# AddOutputFilterByType INCLUDES application/javascript application/json
|
||||
# SetOutputFilter INCLUDES
|
||||
#</FilesMatch>
|
||||
|
||||
#<FilesMatch "\.combined\.css$">
|
||||
# Options +Includes
|
||||
# AddOutputFilterByType INCLUDES text/css
|
||||
# SetOutputFilter INCLUDES
|
||||
#</FilesMatch>
|
||||
|
||||
|
||||
# ----------------------------------------------------------------------
|
||||
# Gzip compression
|
||||
# ----------------------------------------------------------------------
|
||||
|
||||
<IfModule mod_deflate.c>
|
||||
|
||||
# Force deflate for mangled headers developer.yahoo.com/blogs/ydn/posts/2010/12/pushing-beyond-gzipping/
|
||||
<IfModule mod_setenvif.c>
|
||||
<IfModule mod_headers.c>
|
||||
SetEnvIfNoCase ^(Accept-EncodXng|X-cept-Encoding|X{15}|~{15}|-{15})$ ^((gzip|deflate)\s*,?\s*)+|[X~-]{4,13}$ HAVE_Accept-Encoding
|
||||
RequestHeader append Accept-Encoding "gzip,deflate" env=HAVE_Accept-Encoding
|
||||
</IfModule>
|
||||
</IfModule>
|
||||
|
||||
# HTML, TXT, CSS, JavaScript, JSON, XML, HTC:
|
||||
<IfModule filter_module>
|
||||
FilterDeclare COMPRESS
|
||||
FilterProvider COMPRESS DEFLATE resp=Content-Type $text/html
|
||||
FilterProvider COMPRESS DEFLATE resp=Content-Type $text/css
|
||||
FilterProvider COMPRESS DEFLATE resp=Content-Type $text/plain
|
||||
FilterProvider COMPRESS DEFLATE resp=Content-Type $text/xml
|
||||
FilterProvider COMPRESS DEFLATE resp=Content-Type $text/x-component
|
||||
FilterProvider COMPRESS DEFLATE resp=Content-Type $application/javascript
|
||||
FilterProvider COMPRESS DEFLATE resp=Content-Type $application/json
|
||||
FilterProvider COMPRESS DEFLATE resp=Content-Type $application/xml
|
||||
FilterProvider COMPRESS DEFLATE resp=Content-Type $application/xhtml+xml
|
||||
FilterProvider COMPRESS DEFLATE resp=Content-Type $application/rss+xml
|
||||
FilterProvider COMPRESS DEFLATE resp=Content-Type $application/atom+xml
|
||||
FilterProvider COMPRESS DEFLATE resp=Content-Type $application/vnd.ms-fontobject
|
||||
FilterProvider COMPRESS DEFLATE resp=Content-Type $image/svg+xml
|
||||
FilterProvider COMPRESS DEFLATE resp=Content-Type $image/x-icon
|
||||
FilterProvider COMPRESS DEFLATE resp=Content-Type $application/x-font-ttf
|
||||
FilterProvider COMPRESS DEFLATE resp=Content-Type $font/opentype
|
||||
FilterChain COMPRESS
|
||||
FilterProtocol COMPRESS DEFLATE change=yes;byteranges=no
|
||||
</IfModule>
|
||||
|
||||
<IfModule !mod_filter.c>
|
||||
# Legacy versions of Apache
|
||||
AddOutputFilterByType DEFLATE text/html text/plain text/css application/json
|
||||
AddOutputFilterByType DEFLATE application/javascript
|
||||
AddOutputFilterByType DEFLATE text/xml application/xml text/x-component
|
||||
AddOutputFilterByType DEFLATE application/xhtml+xml application/rss+xml application/atom+xml
|
||||
AddOutputFilterByType DEFLATE image/x-icon image/svg+xml application/vnd.ms-fontobject application/x-font-ttf font/opentype
|
||||
</IfModule>
|
||||
|
||||
</IfModule>
|
||||
|
||||
|
||||
# ----------------------------------------------------------------------
|
||||
# Expires headers (for better cache control)
|
||||
# ----------------------------------------------------------------------
|
||||
|
||||
# These are pretty far-future expires headers.
|
||||
# They assume you control versioning with filename-based cache busting
|
||||
# Additionally, consider that outdated proxies may miscache
|
||||
# www.stevesouders.com/blog/2008/08/23/revving-filenames-dont-use-querystring/
|
||||
|
||||
# If you don't use filenames to version, lower the CSS and JS to something like
|
||||
# "access plus 1 week".
|
||||
|
||||
<IfModule mod_expires.c>
|
||||
ExpiresActive on
|
||||
|
||||
# Perhaps better to whitelist expires rules? Perhaps.
|
||||
ExpiresDefault "access plus 1 month"
|
||||
|
||||
# cache.appcache needs re-requests in FF 3.6 (thanks Remy ~Introducing HTML5)
|
||||
ExpiresByType text/cache-manifest "access plus 0 seconds"
|
||||
|
||||
# Your document html
|
||||
ExpiresByType text/html "access plus 0 seconds"
|
||||
|
||||
# Data
|
||||
ExpiresByType text/xml "access plus 0 seconds"
|
||||
ExpiresByType application/xml "access plus 0 seconds"
|
||||
ExpiresByType application/json "access plus 0 seconds"
|
||||
|
||||
# Feed
|
||||
ExpiresByType application/rss+xml "access plus 1 hour"
|
||||
ExpiresByType application/atom+xml "access plus 1 hour"
|
||||
|
||||
# Favicon (cannot be renamed)
|
||||
ExpiresByType image/x-icon "access plus 1 week"
|
||||
|
||||
# Media: images, video, audio
|
||||
ExpiresByType image/gif "access plus 1 month"
|
||||
ExpiresByType image/png "access plus 1 month"
|
||||
ExpiresByType image/jpeg "access plus 1 month"
|
||||
ExpiresByType video/ogg "access plus 1 month"
|
||||
ExpiresByType audio/ogg "access plus 1 month"
|
||||
ExpiresByType video/mp4 "access plus 1 month"
|
||||
ExpiresByType video/webm "access plus 1 month"
|
||||
|
||||
# HTC files (css3pie)
|
||||
ExpiresByType text/x-component "access plus 1 month"
|
||||
|
||||
# Webfonts
|
||||
ExpiresByType application/x-font-ttf "access plus 1 month"
|
||||
ExpiresByType font/opentype "access plus 1 month"
|
||||
ExpiresByType application/x-font-woff "access plus 1 month"
|
||||
ExpiresByType image/svg+xml "access plus 1 month"
|
||||
ExpiresByType application/vnd.ms-fontobject "access plus 1 month"
|
||||
|
||||
# CSS and JavaScript
|
||||
ExpiresByType text/css "access plus 1 year"
|
||||
ExpiresByType application/javascript "access plus 1 year"
|
||||
|
||||
</IfModule>
|
||||
|
||||
|
||||
# ----------------------------------------------------------------------
|
||||
# Prevent mobile network providers from modifying your site
|
||||
# ----------------------------------------------------------------------
|
||||
|
||||
# The following header prevents modification of your code over 3G on some
|
||||
# European providers.
|
||||
# This is the official 'bypass' suggested by O2 in the UK.
|
||||
|
||||
# <IfModule mod_headers.c>
|
||||
# Header set Cache-Control "no-transform"
|
||||
# </IfModule>
|
||||
|
||||
|
||||
# ----------------------------------------------------------------------
|
||||
# ETag removal
|
||||
# ----------------------------------------------------------------------
|
||||
|
||||
# FileETag None is not enough for every server.
|
||||
<IfModule mod_headers.c>
|
||||
Header unset ETag
|
||||
</IfModule>
|
||||
|
||||
# Since we're sending far-future expires, we don't need ETags for
|
||||
# static content.
|
||||
# developer.yahoo.com/performance/rules.html#etags
|
||||
FileETag None
|
||||
|
||||
|
||||
# ----------------------------------------------------------------------
|
||||
# Stop screen flicker in IE on CSS rollovers
|
||||
# ----------------------------------------------------------------------
|
||||
|
||||
# The following directives stop screen flicker in IE on CSS rollovers - in
|
||||
# combination with the "ExpiresByType" rules for images (see above).
|
||||
|
||||
# BrowserMatch "MSIE" brokenvary=1
|
||||
# BrowserMatch "Mozilla/4.[0-9]{2}" brokenvary=1
|
||||
# BrowserMatch "Opera" !brokenvary
|
||||
# SetEnvIf brokenvary 1 force-no-vary
|
||||
|
||||
|
||||
# ----------------------------------------------------------------------
|
||||
# Set Keep-Alive Header
|
||||
# ----------------------------------------------------------------------
|
||||
|
||||
# Keep-Alive allows the server to send multiple requests through one
|
||||
# TCP-connection. Be aware of possible disadvantages of this setting. Turn on
|
||||
# if you serve a lot of static content.
|
||||
|
||||
# <IfModule mod_headers.c>
|
||||
# Header set Connection Keep-Alive
|
||||
# </IfModule>
|
||||
|
||||
|
||||
# ----------------------------------------------------------------------
|
||||
# Cookie setting from iframes
|
||||
# ----------------------------------------------------------------------
|
||||
|
||||
# Allow cookies to be set from iframes (for IE only)
|
||||
# If needed, specify a path or regex in the Location directive.
|
||||
|
||||
# <IfModule mod_headers.c>
|
||||
# Header set P3P "policyref=\"/w3c/p3p.xml\", CP=\"IDC DSP COR ADM DEVi TAIi PSA PSD IVAi IVDi CONi HIS OUR IND CNT\""
|
||||
# </IfModule>
|
||||
|
||||
|
||||
# ----------------------------------------------------------------------
|
||||
# Start rewrite engine
|
||||
# ----------------------------------------------------------------------
|
||||
|
||||
# Turning on the rewrite engine is necessary for the following rules and
|
||||
# features. FollowSymLinks must be enabled for this to work.
|
||||
|
||||
# Some cloud hosting services require RewriteBase to be set: goo.gl/HOcPN
|
||||
# If using the h5bp in a subdirectory, use `RewriteBase /foo` instead where
|
||||
# 'foo' is your directory.
|
||||
|
||||
# If your web host doesn't allow the FollowSymlinks option, you may need to
|
||||
# comment it out and use `Options +SymLinksOfOwnerMatch`, but be aware of the
|
||||
# performance impact: http://goo.gl/Mluzd
|
||||
|
||||
<IfModule mod_rewrite.c>
|
||||
Options +FollowSymlinks
|
||||
# Options +SymLinksIfOwnerMatch
|
||||
Options +FollowSymlinks
|
||||
RewriteEngine On
|
||||
# RewriteBase /
|
||||
</IfModule>
|
||||
|
||||
|
||||
# ----------------------------------------------------------------------
|
||||
# Suppress or force the "www." at the beginning of URLs
|
||||
# ----------------------------------------------------------------------
|
||||
|
||||
# The same content should never be available under two different URLs -
|
||||
# especially not with and without "www." at the beginning, since this can cause
|
||||
# SEO problems (duplicate content). That's why you should choose one of the
|
||||
# alternatives and redirect the other one.
|
||||
|
||||
# By default option 1 (no "www.") is activated.
|
||||
# no-www.org/faq.php?q=class_b
|
||||
|
||||
# If you'd prefer to use option 2, just comment out all option 1 lines
|
||||
# and uncomment option 2.
|
||||
|
||||
# IMPORTANT: NEVER USE BOTH RULES AT THE SAME TIME!
|
||||
|
||||
# ----------------------------------------------------------------------
|
||||
|
||||
# Option 1:
|
||||
# Rewrite "www.example.com -> example.com".
|
||||
|
||||
<IfModule mod_rewrite.c>
|
||||
RewriteCond %{HTTPS} !=on
|
||||
RewriteCond %{HTTP_HOST} ^www\.(.+)$ [NC]
|
||||
RewriteRule ^ http://%1%{REQUEST_URI} [R=301,L]
|
||||
</IfModule>
|
||||
|
||||
# ----------------------------------------------------------------------
|
||||
|
||||
# Option 2:
|
||||
# Rewrite "example.com -> www.example.com".
|
||||
# Be aware that the following rule might not be a good idea if you use "real"
|
||||
# subdomains for certain parts of your website.
|
||||
|
||||
# <IfModule mod_rewrite.c>
|
||||
# RewriteCond %{HTTPS} !=on
|
||||
# RewriteCond %{HTTP_HOST} !^www\..+$ [NC]
|
||||
# RewriteRule ^ http://www.%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
|
||||
# </IfModule>
|
||||
|
||||
|
||||
# ----------------------------------------------------------------------
|
||||
# Built-in filename-based cache busting
|
||||
# ----------------------------------------------------------------------
|
||||
|
||||
# If you're not using the build script to manage your filename version revving,
|
||||
# you might want to consider enabling this, which will route requests for
|
||||
# /css/style.20110203.css to /css/style.css
|
||||
|
||||
# To understand why this is important and a better idea than all.css?v1231,
|
||||
# read: github.com/h5bp/html5-boilerplate/wiki/cachebusting
|
||||
|
||||
# <IfModule mod_rewrite.c>
|
||||
# RewriteCond %{REQUEST_FILENAME} !-f
|
||||
# RewriteCond %{REQUEST_FILENAME} !-d
|
||||
# RewriteRule ^(.+)\.(\d+)\.(js|css|png|jpg|gif)$ $1.$3 [L]
|
||||
# </IfModule>
|
||||
|
||||
|
||||
# ----------------------------------------------------------------------
|
||||
# Prevent SSL cert warnings
|
||||
# ----------------------------------------------------------------------
|
||||
|
||||
# Rewrite secure requests properly to prevent SSL cert warnings, e.g. prevent
|
||||
# https://www.example.com when your cert only allows https://secure.example.com
|
||||
|
||||
# <IfModule mod_rewrite.c>
|
||||
# RewriteCond %{SERVER_PORT} !^443
|
||||
# RewriteRule ^ https://example-domain-please-change-me.com%{REQUEST_URI} [R=301,L]
|
||||
# </IfModule>
|
||||
|
||||
|
||||
# ----------------------------------------------------------------------
|
||||
# Prevent 404 errors for non-existing redirected folders
|
||||
# ----------------------------------------------------------------------
|
||||
|
||||
# without -MultiViews, Apache will give a 404 for a rewrite if a folder of the
|
||||
# same name does not exist.
|
||||
# webmasterworld.com/apache/3808792.htm
|
||||
|
||||
Options -MultiViews
|
||||
|
||||
|
||||
# ----------------------------------------------------------------------
|
||||
# Custom 404 page
|
||||
# ----------------------------------------------------------------------
|
||||
|
||||
# You can add custom pages to handle 500 or 403 pretty easily, if you like.
|
||||
# If you are hosting your site in subdirectory, adjust this accordingly
|
||||
# e.g. ErrorDocument 404 /subdir/404.html
|
||||
ErrorDocument 404 /404.html
|
||||
|
||||
|
||||
# ----------------------------------------------------------------------
|
||||
# UTF-8 encoding
|
||||
# ----------------------------------------------------------------------
|
||||
|
||||
# Use UTF-8 encoding for anything served text/plain or text/html
|
||||
AddDefaultCharset utf-8
|
||||
|
||||
# Force UTF-8 for a number of file formats
|
||||
AddCharset utf-8 .atom .css .js .json .rss .vtt .xml
|
||||
|
||||
|
||||
# ----------------------------------------------------------------------
|
||||
# A little more security
|
||||
# ----------------------------------------------------------------------
|
||||
|
||||
# To avoid displaying the exact version number of Apache being used, add the
|
||||
# following to httpd.conf (it will not work in .htaccess):
|
||||
# ServerTokens Prod
|
||||
|
||||
# "-Indexes" will have Apache block users from browsing folders without a
|
||||
# default document Usually you should leave this activated, because you
|
||||
# shouldn't allow everybody to surf through every folder on your server (which
|
||||
# includes rather private places like CMS system folders).
|
||||
<IfModule mod_autoindex.c>
|
||||
Options -Indexes
|
||||
</IfModule>
|
||||
|
||||
# Block access to "hidden" directories or files whose names begin with a
|
||||
# period. This includes directories used by version control systems such as
|
||||
# Subversion or Git.
|
||||
<IfModule mod_rewrite.c>
|
||||
RewriteCond %{SCRIPT_FILENAME} -d [OR]
|
||||
RewriteCond %{SCRIPT_FILENAME} -f
|
||||
RewriteRule "(^|/)\." - [F]
|
||||
</IfModule>
|
||||
|
||||
# Block access to backup and source files. These files may be left by some
|
||||
# text/html editors and pose a great security danger, when anyone can access
|
||||
# them.
|
||||
<FilesMatch "(\.(bak|config|sql|fla|psd|ini|log|sh|inc|swp|dist)|~)$">
|
||||
Order allow,deny
|
||||
Deny from all
|
||||
Satisfy All
|
||||
</FilesMatch>
|
||||
|
||||
# If your server is not already configured as such, the following directive
|
||||
# should be uncommented in order to set PHP's register_globals option to OFF.
|
||||
# This closes a major security hole that is abused by most XSS (cross-site
|
||||
# scripting) attacks. For more information: http://php.net/register_globals
|
||||
#
|
||||
# IF REGISTER_GLOBALS DIRECTIVE CAUSES 500 INTERNAL SERVER ERRORS:
|
||||
#
|
||||
# Your server does not allow PHP directives to be set via .htaccess. In that
|
||||
# case you must make this change in your php.ini file instead. If you are
|
||||
# using a commercial web host, contact the administrators for assistance in
|
||||
# doing this. Not all servers allow local php.ini files, and they should
|
||||
# include all PHP configurations (not just this one), or you will effectively
|
||||
# reset everything to PHP defaults. Consult www.php.net for more detailed
|
||||
# information about setting PHP directives.
|
||||
|
||||
# php_flag register_globals Off
|
||||
|
||||
# Rename session cookie to something else, than PHPSESSID
|
||||
# php_value session.name sid
|
||||
|
||||
# Disable magic quotes (This feature has been DEPRECATED as of PHP 5.3.0 and REMOVED as of PHP 5.4.0.)
|
||||
# php_flag magic_quotes_gpc Off
|
||||
|
||||
# Do not show you are using PHP
|
||||
# Note: Move this line to php.ini since it won't work in .htaccess
|
||||
# php_flag expose_php Off
|
||||
|
||||
# Level of log detail - log all errors
|
||||
# php_value error_reporting -1
|
||||
|
||||
# Write errors to log file
|
||||
# php_flag log_errors On
|
||||
|
||||
# Do not display errors in browser (production - Off, development - On)
|
||||
# php_flag display_errors Off
|
||||
|
||||
# Do not display startup errors (production - Off, development - On)
|
||||
# php_flag display_startup_errors Off
|
||||
|
||||
# Format errors in plain text
|
||||
# Note: Leave this setting 'On' for xdebug's var_dump() output
|
||||
# php_flag html_errors Off
|
||||
|
||||
# Show multiple occurrence of error
|
||||
# php_flag ignore_repeated_errors Off
|
||||
|
||||
# Show same errors from different sources
|
||||
# php_flag ignore_repeated_source Off
|
||||
|
||||
# Size limit for error messages
|
||||
# php_value log_errors_max_len 1024
|
||||
|
||||
# Don't precede error with string (doesn't accept empty string, use whitespace if you need)
|
||||
# php_value error_prepend_string " "
|
||||
|
||||
# Don't prepend to error (doesn't accept empty string, use whitespace if you need)
|
||||
# php_value error_append_string " "
|
||||
|
||||
# Increase cookie security
|
||||
<IfModule php5_module>
|
||||
php_value session.cookie_httponly true
|
||||
</IfModule>
|
||||
157
archive/litenull_rewrite/app/404.html
Normal file
|
|
@ -0,0 +1,157 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Page Not Found :(</title>
|
||||
<style>
|
||||
::-moz-selection {
|
||||
background: #b3d4fc;
|
||||
text-shadow: none;
|
||||
}
|
||||
|
||||
::selection {
|
||||
background: #b3d4fc;
|
||||
text-shadow: none;
|
||||
}
|
||||
|
||||
html {
|
||||
padding: 30px 10px;
|
||||
font-size: 20px;
|
||||
line-height: 1.4;
|
||||
color: #737373;
|
||||
background: #f0f0f0;
|
||||
-webkit-text-size-adjust: 100%;
|
||||
-ms-text-size-adjust: 100%;
|
||||
}
|
||||
|
||||
html,
|
||||
input {
|
||||
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
|
||||
}
|
||||
|
||||
body {
|
||||
max-width: 500px;
|
||||
_width: 500px;
|
||||
padding: 30px 20px 50px;
|
||||
border: 1px solid #b3b3b3;
|
||||
border-radius: 4px;
|
||||
margin: 0 auto;
|
||||
box-shadow: 0 1px 10px #a7a7a7, inset 0 1px 0 #fff;
|
||||
background: #fcfcfc;
|
||||
}
|
||||
|
||||
h1 {
|
||||
margin: 0 10px;
|
||||
font-size: 50px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
h1 span {
|
||||
color: #bbb;
|
||||
}
|
||||
|
||||
h3 {
|
||||
margin: 1.5em 0 0.5em;
|
||||
}
|
||||
|
||||
p {
|
||||
margin: 1em 0;
|
||||
}
|
||||
|
||||
ul {
|
||||
padding: 0 0 0 40px;
|
||||
margin: 1em 0;
|
||||
}
|
||||
|
||||
.container {
|
||||
max-width: 380px;
|
||||
_width: 380px;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
/* google search */
|
||||
|
||||
#goog-fixurl ul {
|
||||
list-style: none;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
#goog-fixurl form {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
#goog-wm-qt,
|
||||
#goog-wm-sb {
|
||||
border: 1px solid #bbb;
|
||||
font-size: 16px;
|
||||
line-height: normal;
|
||||
vertical-align: top;
|
||||
color: #444;
|
||||
border-radius: 2px;
|
||||
}
|
||||
|
||||
#goog-wm-qt {
|
||||
width: 220px;
|
||||
height: 20px;
|
||||
padding: 5px;
|
||||
margin: 5px 10px 0 0;
|
||||
box-shadow: inset 0 1px 1px #ccc;
|
||||
}
|
||||
|
||||
#goog-wm-sb {
|
||||
display: inline-block;
|
||||
height: 32px;
|
||||
padding: 0 10px;
|
||||
margin: 5px 0 0;
|
||||
white-space: nowrap;
|
||||
cursor: pointer;
|
||||
background-color: #f5f5f5;
|
||||
background-image: -webkit-linear-gradient(rgba(255,255,255,0), #f1f1f1);
|
||||
background-image: -moz-linear-gradient(rgba(255,255,255,0), #f1f1f1);
|
||||
background-image: -ms-linear-gradient(rgba(255,255,255,0), #f1f1f1);
|
||||
background-image: -o-linear-gradient(rgba(255,255,255,0), #f1f1f1);
|
||||
-webkit-appearance: none;
|
||||
-moz-appearance: none;
|
||||
appearance: none;
|
||||
*overflow: visible;
|
||||
*display: inline;
|
||||
*zoom: 1;
|
||||
}
|
||||
|
||||
#goog-wm-sb:hover,
|
||||
#goog-wm-sb:focus {
|
||||
border-color: #aaa;
|
||||
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
|
||||
background-color: #f8f8f8;
|
||||
}
|
||||
|
||||
#goog-wm-qt:hover,
|
||||
#goog-wm-qt:focus {
|
||||
border-color: #105cb6;
|
||||
outline: 0;
|
||||
color: #222;
|
||||
}
|
||||
|
||||
input::-moz-focus-inner {
|
||||
padding: 0;
|
||||
border: 0;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="container">
|
||||
<h1>Not found <span>:(</span></h1>
|
||||
<p>Sorry, but the page you were trying to view does not exist.</p>
|
||||
<p>It looks like this was the result of either:</p>
|
||||
<ul>
|
||||
<li>a mistyped address</li>
|
||||
<li>an out-of-date link</li>
|
||||
</ul>
|
||||
<script>
|
||||
var GOOG_FIXURL_LANG = (navigator.language || '').slice(0,2),GOOG_FIXURL_SITE = location.host;
|
||||
</script>
|
||||
<script src="http://linkhelp.clients.google.com/tbproxy/lh/wm/fixurl.js"></script>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
BIN
archive/litenull_rewrite/app/assets/background.png
Normal file
|
After Width: | Height: | Size: 84 KiB |
6125
archive/litenull_rewrite/app/assets/background.svg
Normal file
|
After Width: | Height: | Size: 501 KiB |
BIN
archive/litenull_rewrite/app/assets/bg.png
Normal file
|
After Width: | Height: | Size: 38 KiB |
BIN
archive/litenull_rewrite/app/assets/contacts.png
Normal file
|
After Width: | Height: | Size: 200 B |
BIN
archive/litenull_rewrite/app/assets/explorer.png
Normal file
|
After Width: | Height: | Size: 188 B |
BIN
archive/litenull_rewrite/app/assets/grey_diag.png
Executable file
|
After Width: | Height: | Size: 116 KiB |
BIN
archive/litenull_rewrite/app/assets/home-login-click.png
Normal file
|
After Width: | Height: | Size: 6.6 KiB |
BIN
archive/litenull_rewrite/app/assets/home-login.png
Normal file
|
After Width: | Height: | Size: 5.6 KiB |
BIN
archive/litenull_rewrite/app/assets/home-logo.png
Normal file
|
After Width: | Height: | Size: 34 KiB |
BIN
archive/litenull_rewrite/app/assets/home-scroll.png
Normal file
|
After Width: | Height: | Size: 116 KiB |
BIN
archive/litenull_rewrite/app/assets/home-signup-click.png
Normal file
|
After Width: | Height: | Size: 7 KiB |
BIN
archive/litenull_rewrite/app/assets/home-signup.png
Normal file
|
After Width: | Height: | Size: 6.1 KiB |
BIN
archive/litenull_rewrite/app/assets/icon.png
Normal file
|
After Width: | Height: | Size: 3.9 KiB |
BIN
archive/litenull_rewrite/app/assets/logo.png
Normal file
|
After Width: | Height: | Size: 16 KiB |
BIN
archive/litenull_rewrite/app/assets/mail.png
Normal file
|
After Width: | Height: | Size: 46 KiB |
BIN
archive/litenull_rewrite/app/assets/main-banner.png
Normal file
|
After Width: | Height: | Size: 44 KiB |
BIN
archive/litenull_rewrite/app/assets/main-home.png
Normal file
|
After Width: | Height: | Size: 4 KiB |
BIN
archive/litenull_rewrite/app/assets/main-menu.png
Normal file
|
After Width: | Height: | Size: 3.6 KiB |
BIN
archive/litenull_rewrite/app/assets/mini-player.png
Normal file
|
After Width: | Height: | Size: 6.6 KiB |
BIN
archive/litenull_rewrite/app/assets/sidebar-block.png
Normal file
|
After Width: | Height: | Size: 25 KiB |
BIN
archive/litenull_rewrite/app/assets/sidebar-icon-armory.png
Normal file
|
After Width: | Height: | Size: 3.6 KiB |
BIN
archive/litenull_rewrite/app/assets/sidebar-icon-daily.png
Normal file
|
After Width: | Height: | Size: 3.4 KiB |
BIN
archive/litenull_rewrite/app/assets/sidebar-icon-habits.png
Normal file
|
After Width: | Height: | Size: 3.3 KiB |
BIN
archive/litenull_rewrite/app/assets/sidebar-icon-market.png
Normal file
|
After Width: | Height: | Size: 3.8 KiB |
BIN
archive/litenull_rewrite/app/assets/sidebar-icon-party.png
Normal file
|
After Width: | Height: | Size: 3.5 KiB |
BIN
archive/litenull_rewrite/app/assets/sidebar-icon-quest.png
Normal file
|
After Width: | Height: | Size: 3.2 KiB |
BIN
archive/litenull_rewrite/app/assets/sidebar-icon-settings.png
Normal file
|
After Width: | Height: | Size: 3.4 KiB |
BIN
archive/litenull_rewrite/app/assets/sidebar-icon-stables.png
Normal file
|
After Width: | Height: | Size: 4.7 KiB |
BIN
archive/litenull_rewrite/app/assets/sidebar-icon-task.png
Normal file
|
After Width: | Height: | Size: 3.4 KiB |
BIN
archive/litenull_rewrite/app/assets/sidebar-number-box.png
Normal file
|
After Width: | Height: | Size: 3.9 KiB |
BIN
archive/litenull_rewrite/app/assets/sidebar-title-grind.png
Normal file
|
After Width: | Height: | Size: 17 KiB |
BIN
archive/litenull_rewrite/app/assets/sidebar-title-reward.png
Normal file
|
After Width: | Height: | Size: 18 KiB |
BIN
archive/litenull_rewrite/app/assets/sidebar-title-settings.png
Normal file
|
After Width: | Height: | Size: 17 KiB |
BIN
archive/litenull_rewrite/app/assets/text.png
Normal file
|
After Width: | Height: | Size: 17 KiB |
BIN
archive/litenull_rewrite/app/assets/todo.png
Normal file
|
After Width: | Height: | Size: 190 B |
BIN
archive/litenull_rewrite/app/assets/wood-bg.png
Normal file
|
After Width: | Height: | Size: 293 KiB |
16
archive/litenull_rewrite/app/config.xml
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<widget xmlns = "http://habitrpg.com"
|
||||
xmlns:gap = "http://phonegap.com/ns/2.2.0"
|
||||
id = "com.phonegap.habitrpg"
|
||||
version = "1.0.0">
|
||||
|
||||
<name>HabitRPG</name>
|
||||
|
||||
<description>
|
||||
Habit tracking which treats your goals like a Role Playing Game. Level up as you succeed, lose HP as you fail, earn money to buy weapons and armor.
|
||||
</description>
|
||||
|
||||
<gap:plugin name="FacebookConnect">
|
||||
<param name="APP_ID" value="149438691882945" />
|
||||
</gap:plugin>
|
||||
</widget>
|
||||
BIN
archive/litenull_rewrite/app/fonts/android-icons.ttf
Normal file
25
archive/litenull_rewrite/app/fonts/icomoon.dev.svg
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
<?xml version="1.0" standalone="no"?>
|
||||
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" >
|
||||
<svg xmlns="http://www.w3.org/2000/svg">
|
||||
<metadata>
|
||||
This is a custom SVG font generated by IcoMoon.
|
||||
<iconset grid="16"></iconset>
|
||||
</metadata>
|
||||
<defs>
|
||||
<font id="icomoon" horiz-adv-x="512" >
|
||||
<font-face units-per-em="512" ascent="480" descent="-32" />
|
||||
<missing-glyph horiz-adv-x="512" />
|
||||
<glyph class="hidden" unicode="" d="M0,480L 512 -32L0 -32 z" horiz-adv-x="0" />
|
||||
<glyph unicode="↻" d="M 437.011,405.010C 390.685,451.338, 326.693,480, 256,480C 146.256,480, 52.655,410.936, 16.251,313.906l 59.938-22.477
|
||||
C 103.491,364.202, 173.692,416, 256,416c 53.020,0, 101.010-21.5, 135.753-56.247L 320,288l 192,0 L 512,480 L 437.011,405.010zM 256,32c-53.020,0-101.013,21.496-135.756,56.244L 192,160L0,160 l0-192 l 74.997,74.997C 121.32-3.334, 185.306-32, 256-32
|
||||
c 109.745,0, 203.346,69.064, 239.75,166.094l-59.938,22.477C 408.51,83.798, 338.309,32, 256,32z" data-tags="loop, repeat, reload, refresh, update, upgrade, synchronize, media control, arrows" />
|
||||
<glyph unicode="☑" d="M0,480l0-512 l 512,0 L 512,480 L0,480 z M 480,0L 32,0 L 32,448 l 448,0 L 480,0 z M 384,368L 224,208l-96,96l-64-64l 160-160l 224,224L 384,368z" data-tags="checkbox-checked, tick, checked, selected" />
|
||||
<glyph unicode="☐" d="M0,480l0-512 l 512,0 L 512,480 L0,480 z M 480,0L 32,0 L 32,448 l 448,0 L 480,0 z" data-tags="checkbox-unchecked, unchecked, square" />
|
||||
<glyph unicode="⚙" d="M 512,192.496l0,64 l-76.496,31.872c-2.128,6-4.368,11.808-7.12,17.504l 30.88,76.88L 414,428
|
||||
l-76.192-31.376c-5.808,2.816-11.744,5.184-17.872,7.376L 287.504,480l-64,0 l-31.632-75.744c-6.368-2.256-12.496-4.624-18.56-7.504l-76.064,30.56
|
||||
L 52,382.064l 31.008-75.376C 80,300.496, 77.568,294.192, 75.248,287.68L0,255.504l0-64 l 75.312-31.376c 2.32-6.496, 4.816-12.816, 7.808-19.008
|
||||
l-30.432-75.872l 45.248-45.248l 75.568,31.12c 6.064-2.88, 12.256-5.184, 18.624-7.376L 224.496-32l 64,0 l 31.68,76.128
|
||||
c 6.064,2.256, 12.064,4.624, 17.808,7.376l 76.752-30.752l 45.248,45.248l-31.504,76.368c 2.688,5.744, 4.88,11.568, 7.008,17.504L 512,192.496z
|
||||
M 255.504,128c-52.992,0-96,43.008-96,96s 43.008,96, 96,96s 96-43.008, 96-96S 308.496,128, 255.504,128z" data-tags="cog, gear, settings, options, generate" />
|
||||
<glyph unicode=" " horiz-adv-x="256" />
|
||||
</font></defs></svg>
|
||||
|
After Width: | Height: | Size: 2.3 KiB |
BIN
archive/litenull_rewrite/app/fonts/icomoon.eot
Normal file
25
archive/litenull_rewrite/app/fonts/icomoon.svg
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
<?xml version="1.0" standalone="no"?>
|
||||
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" >
|
||||
<svg xmlns="http://www.w3.org/2000/svg">
|
||||
<metadata>
|
||||
This is a custom SVG font generated by IcoMoon.
|
||||
<iconset grid="16"></iconset>
|
||||
</metadata>
|
||||
<defs>
|
||||
<font id="icomoon" horiz-adv-x="512" >
|
||||
<font-face units-per-em="512" ascent="480" descent="-32" />
|
||||
<missing-glyph horiz-adv-x="512" />
|
||||
<glyph class="hidden" unicode="" d="M0,480L 512 -32L0 -32 z" horiz-adv-x="0" />
|
||||
<glyph unicode="↻" d="M 437.011,405.010C 390.685,451.338, 326.693,480, 256,480C 146.256,480, 52.655,410.936, 16.251,313.906l 59.938-22.477
|
||||
C 103.491,364.202, 173.692,416, 256,416c 53.020,0, 101.010-21.5, 135.753-56.247L 320,288l 192,0 L 512,480 L 437.011,405.010zM 256,32c-53.020,0-101.013,21.496-135.756,56.244L 192,160L0,160 l0-192 l 74.997,74.997C 121.32-3.334, 185.306-32, 256-32
|
||||
c 109.745,0, 203.346,69.064, 239.75,166.094l-59.938,22.477C 408.51,83.798, 338.309,32, 256,32z" />
|
||||
<glyph unicode="☑" d="M0,480l0-512 l 512,0 L 512,480 L0,480 z M 480,0L 32,0 L 32,448 l 448,0 L 480,0 z M 384,368L 224,208l-96,96l-64-64l 160-160l 224,224L 384,368z" />
|
||||
<glyph unicode="☐" d="M0,480l0-512 l 512,0 L 512,480 L0,480 z M 480,0L 32,0 L 32,448 l 448,0 L 480,0 z" />
|
||||
<glyph unicode="⚙" d="M 512,192.496l0,64 l-76.496,31.872c-2.128,6-4.368,11.808-7.12,17.504l 30.88,76.88L 414,428
|
||||
l-76.192-31.376c-5.808,2.816-11.744,5.184-17.872,7.376L 287.504,480l-64,0 l-31.632-75.744c-6.368-2.256-12.496-4.624-18.56-7.504l-76.064,30.56
|
||||
L 52,382.064l 31.008-75.376C 80,300.496, 77.568,294.192, 75.248,287.68L0,255.504l0-64 l 75.312-31.376c 2.32-6.496, 4.816-12.816, 7.808-19.008
|
||||
l-30.432-75.872l 45.248-45.248l 75.568,31.12c 6.064-2.88, 12.256-5.184, 18.624-7.376L 224.496-32l 64,0 l 31.68,76.128
|
||||
c 6.064,2.256, 12.064,4.624, 17.808,7.376l 76.752-30.752l 45.248,45.248l-31.504,76.368c 2.688,5.744, 4.88,11.568, 7.008,17.504L 512,192.496z
|
||||
M 255.504,128c-52.992,0-96,43.008-96,96s 43.008,96, 96,96s 96-43.008, 96-96S 308.496,128, 255.504,128z" />
|
||||
<glyph unicode=" " horiz-adv-x="256" />
|
||||
</font></defs></svg>
|
||||
|
After Width: | Height: | Size: 2.1 KiB |
BIN
archive/litenull_rewrite/app/fonts/icomoon.ttf
Normal file
BIN
archive/litenull_rewrite/app/fonts/icomoon.woff
Normal file
BIN
archive/litenull_rewrite/app/img/add.png
Normal file
|
After Width: | Height: | Size: 2 KiB |
BIN
archive/litenull_rewrite/app/img/calendar_google.png
Normal file
|
After Width: | Height: | Size: 387 B |
BIN
archive/litenull_rewrite/app/img/calendar_ical.png
Normal file
|
After Width: | Height: | Size: 729 B |
BIN
archive/litenull_rewrite/app/img/coin_single_gold.png
Normal file
|
After Width: | Height: | Size: 1.4 KiB |
BIN
archive/litenull_rewrite/app/img/coin_single_silver.png
Normal file
|
After Width: | Height: | Size: 1.3 KiB |
BIN
archive/litenull_rewrite/app/img/facebook-login-register.jpeg
Normal file
|
After Width: | Height: | Size: 9.4 KiB |
BIN
archive/litenull_rewrite/app/img/glyphicons-halflings-white.png
Normal file
|
After Width: | Height: | Size: 8.6 KiB |
BIN
archive/litenull_rewrite/app/img/glyphicons-halflings.png
Normal file
|
After Width: | Height: | Size: 14 KiB |
BIN
archive/litenull_rewrite/app/img/hatching_powder.png
Normal file
|
After Width: | Height: | Size: 3.3 KiB |
BIN
archive/litenull_rewrite/app/img/logo/habitrpg.jpg
Normal file
|
After Width: | Height: | Size: 28 KiB |
BIN
archive/litenull_rewrite/app/img/logo/habitrpg_pixel.png
Normal file
|
After Width: | Height: | Size: 7.2 KiB |
BIN
archive/litenull_rewrite/app/img/original_user.png
Normal file
|
After Width: | Height: | Size: 1.7 KiB |
BIN
archive/litenull_rewrite/app/img/party-unlocked.png
Normal file
|
After Width: | Height: | Size: 7.6 KiB |
BIN
archive/litenull_rewrite/app/img/play_screenshot.jpeg
Normal file
|
After Width: | Height: | Size: 194 KiB |
BIN
archive/litenull_rewrite/app/img/remove.png
Normal file
|
After Width: | Height: | Size: 2.1 KiB |
BIN
archive/litenull_rewrite/app/img/screenshot.jpeg
Normal file
|
After Width: | Height: | Size: 189 KiB |
BIN
archive/litenull_rewrite/app/img/sprites/Armor6_m.xcf
Normal file
BIN
archive/litenull_rewrite/app/img/sprites/Armor7_m.xcf
Normal file
BIN
archive/litenull_rewrite/app/img/sprites/Armor8_m.xcf
Normal file
BIN
archive/litenull_rewrite/app/img/sprites/Egg_Sprite_Sheet.png
Normal file
|
After Width: | Height: | Size: 7.3 KiB |
BIN
archive/litenull_rewrite/app/img/sprites/Mount-SpriteSheet.png
Normal file
|
After Width: | Height: | Size: 8.1 KiB |
13
archive/litenull_rewrite/app/img/sprites/Mounts.css
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
.Mount_Head_Lion, .Mount_Body_Lion, .Mount_Head_PolarBear, .Mount_Body_PolarBear, .Mount_Head_Panda, .Mount_Body_Panda, .Mount_Head_Tiger, .Mount_Body_Tiger, .Mount_Head_Bear, .Mount_Body_Bear, .Mount_Head_EtherealLion, .Mount_Body_EtherealLion {background: url(Mount-SpriteSheet.png) no-repeat}
|
||||
.Mount_Head_Lion {background-position: 0 0; width: 105px; height: 123px}
|
||||
.Mount_Body_Lion {background-position: -105 0; width: 105px; height: 123px}
|
||||
.Mount_Head_PolarBear {background-position: -210 0; width: 105px; height: 123px}
|
||||
.Mount_Body_PolarBear {background-position: -315 0; width: 105px; height: 123px}
|
||||
.Mount_Head_Panda {background-position: -420 0; width: 105px; height: 123px}
|
||||
.Mount_Body_Panda {background-position: -525 0; width: 105px; height: 123px}
|
||||
.Mount_Head_Tiger {background-position: -630 0; width: 105px; height: 123px}
|
||||
.Mount_Body_Tiger {background-position: -735 0; width: 105px; height: 123px}
|
||||
.Mount_Head_Bear {background-position: -840 0; width: 105px; height: 123px}
|
||||
.Mount_Body_Bear {background-position: -945 0; width: 105px; height: 123px}
|
||||
.Mount_Head_EtherealLion {background-position: -1050 0; width: 105px; height: 123px}
|
||||
.Mount_Body_EtherealLion {background-position: -1155 0; width: 105px; height: 123px}
|
||||
26
archive/litenull_rewrite/app/img/sprites/PetEggs.css
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
.Pet_Egg_Wolf, .Pet_Egg_TigerCub, .Pet_Egg_PolarBear, .Pet_Egg_PandaCub, .Pet_Egg_LionCub, .Pet_Egg_Fox, .Pet_Egg_FlyingPig, .Pet_Egg_Dragon, .Pet_Egg_Cactus, .Pet_Egg_BearCub, .Pet_HatchingPotion_Base, .Pet_HatchingPotion_White, .Pet_HatchingPotion_Desert, .Pet_HatchingPotion_Red, .Pet_HatchingPotion_Shade, .Pet_HatchingPotion_Skeleton, .Pet_HatchingPotion_Zombie, .Pet_HatchingPotion_CottonCandyPink, .Pet_HatchingPotion_CottonCandyBlue, .Pet_HatchingPotion_Golden, .Pet_Currency_Gem, .Pet_Currency_Gem2x, .Pet_Currency_Gem1x {background: url("/img/sprites/Egg_Sprite_Sheet.png") no-repeat}
|
||||
.Pet_Egg_Wolf {background-position: 0px 0px; width: 48px; height: 51px}
|
||||
.Pet_Egg_TigerCub {background-position: 0px -51px; width: 48px; height: 51px}
|
||||
.Pet_Egg_PolarBear {background-position: 0px -102px; width: 48px; height: 51px}
|
||||
.Pet_Egg_PandaCub {background-position: 0px -153px; width: 48px; height: 51px}
|
||||
.Pet_Egg_LionCub {background-position: 0px -204px; width: 48px; height: 51px}
|
||||
.Pet_Egg_Fox {background-position: 0px -255px; width: 48px; height: 51px}
|
||||
.Pet_Egg_FlyingPig {background-position: 0px -306px; width: 48px; height: 51px}
|
||||
.Pet_Egg_Dragon {background-position: 0px -357px; width: 48px; height: 51px}
|
||||
.Pet_Egg_Cactus {background-position: 0px -408px; width: 48px; height: 51px}
|
||||
.Pet_Egg_BearCub {background-position: 0px -459px; width: 48px; height: 51px}
|
||||
|
||||
.Pet_HatchingPotion_Base {background-position: -48px -0px; width: 48px; height: 51px}
|
||||
.Pet_HatchingPotion_White {background-position: -48px -51px; width: 48px; height: 51px}
|
||||
.Pet_HatchingPotion_Desert {background-position: -48px -102px; width: 48px; height: 51px}
|
||||
.Pet_HatchingPotion_Red {background-position: -48px -153px; width: 48px; height: 51px}
|
||||
.Pet_HatchingPotion_Shade {background-position: -48px -204px; width: 48px; height: 51px}
|
||||
.Pet_HatchingPotion_Skeleton {background-position: -48px -255px; width: 48px; height: 51px}
|
||||
.Pet_HatchingPotion_Zombie {background-position: -48px -306px; width: 48px; height: 51px}
|
||||
.Pet_HatchingPotion_CottonCandyPink {background-position: -48px -357px; width: 48px; height: 51px}
|
||||
.Pet_HatchingPotion_CottonCandyBlue {background-position: -48px -408px; width: 48px; height: 51px}
|
||||
.Pet_HatchingPotion_Golden {background-position: -48px -459px; width: 48px; height: 54px} /* This sprite was a bit taller than everything else, will affect the math of anything inserted below it */
|
||||
|
||||
.Pet_Currency_Gem {background-position: 0px -510px; width: 51px; height: 45px} /* Not an egg or potion so has a different size */
|
||||
.Pet_Currency_Gem2x {background-position: -55px -513px; width: 34px; height: 30px}
|
||||
.Pet_Currency_Gem1x {background-position: -63px -542px; width: 19px; height: 17px}
|
||||
BIN
archive/litenull_rewrite/app/img/sprites/css_sprite.png
Normal file
|
After Width: | Height: | Size: 14 KiB |
BIN
archive/litenull_rewrite/app/img/sprites/dead.png
Normal file
|
After Width: | Height: | Size: 2 KiB |
BIN
archive/litenull_rewrite/app/img/sprites/development.xcf
Normal file
BIN
archive/litenull_rewrite/app/img/sprites/favicon.png
Normal file
|
After Width: | Height: | Size: 398 B |
BIN
archive/litenull_rewrite/app/img/sprites/female.xcf
Normal file
39
archive/litenull_rewrite/app/img/sprites/female_sprites
Normal file
|
|
@ -0,0 +1,39 @@
|
|||
weapon_6, weapon_5, weapon_4, weapon_3, weapon_2, weapon_1, weapon_0, shield_5, shield_4, shield_3, shield_2, shield_1, head_5_v2, head_5_v1, head_4_v2, head_4_v1, head_3_v2, head_3_v1, head_2_v2, head_2_v1, head_1, head_0, hair_white, hair_brown, hair_black, hair_blond, armor_5, armor_4, armor_3, armor_2, armor_1, armor_0_v2, armor_0_v1, skin_dead, skin_orc, skin_asian, skin_black, skin_white {background: url(female_sprites.png) no-repeat}
|
||||
weapon_6 {background-position: 0 0; width: 90px; height: 90px}
|
||||
weapon_5 {background-position: -90px 0; width: 90px; height: 90px}
|
||||
weapon_4 {background-position: -180px 0; width: 90px; height: 90px}
|
||||
weapon_3 {background-position: -270px 0; width: 90px; height: 90px}
|
||||
weapon_2 {background-position: -360px 0; width: 90px; height: 90px}
|
||||
weapon_1 {background-position: -450px 0; width: 90px; height: 90px}
|
||||
weapon_0 {background-position: -540px 0; width: 90px; height: 90px}
|
||||
shield_5 {background-position: -630px 0; width: 90px; height: 90px}
|
||||
shield_4 {background-position: -720px 0; width: 90px; height: 90px}
|
||||
shield_3 {background-position: -810px 0; width: 90px; height: 90px}
|
||||
shield_2 {background-position: -900px 0; width: 90px; height: 90px}
|
||||
shield_1 {background-position: -990px 0; width: 90px; height: 90px}
|
||||
head_5_v2 {background-position: -1080px 0; width: 90px; height: 90px}
|
||||
head_5_v1 {background-position: -1170px 0; width: 90px; height: 90px}
|
||||
head_4_v2 {background-position: -1260px 0; width: 90px; height: 90px}
|
||||
head_4_v1 {background-position: -1350px 0; width: 90px; height: 90px}
|
||||
head_3_v2 {background-position: -1440px 0; width: 90px; height: 90px}
|
||||
head_3_v1 {background-position: -1530px 0; width: 90px; height: 90px}
|
||||
head_2_v2 {background-position: -1620px 0; width: 90px; height: 90px}
|
||||
head_2_v1 {background-position: -1710px 0; width: 90px; height: 90px}
|
||||
head_1 {background-position: -1800px 0; width: 90px; height: 90px}
|
||||
head_0 {background-position: -1890px 0; width: 90px; height: 90px}
|
||||
hair_white {background-position: -1980px 0; width: 90px; height: 90px}
|
||||
hair_brown {background-position: -2070px 0; width: 90px; height: 90px}
|
||||
hair_black {background-position: -2160px 0; width: 90px; height: 90px}
|
||||
hair_blond {background-position: -2250px 0; width: 90px; height: 90px}
|
||||
armor_5 {background-position: -2340px 0; width: 90px; height: 90px}
|
||||
armor_4 {background-position: -2430px 0; width: 90px; height: 90px}
|
||||
armor_3 {background-position: -2520px 0; width: 90px; height: 90px}
|
||||
armor_2 {background-position: -2610px 0; width: 90px; height: 90px}
|
||||
armor_1 {background-position: -2700px 0; width: 90px; height: 90px}
|
||||
armor_0_v2 {background-position: -2790px 0; width: 90px; height: 90px}
|
||||
armor_0_v1 {background-position: -2880px 0; width: 90px; height: 90px}
|
||||
skin_dead {background-position: -2970px 0; width: 90px; height: 90px}
|
||||
skin_orc {background-position: -3060px 0; width: 90px; height: 90px}
|
||||
skin_asian {background-position: -3150px 0; width: 90px; height: 90px}
|
||||
skin_black {background-position: -3240px 0; width: 90px; height: 90px}
|
||||
skin_white {background-position: -3330px 0; width: 90px; height: 90px}
|
||||
BIN
archive/litenull_rewrite/app/img/sprites/female_sprites.png
Normal file
|
After Width: | Height: | Size: 10 KiB |
BIN
archive/litenull_rewrite/app/img/sprites/full.xcf
Normal file
BIN
archive/litenull_rewrite/app/img/sprites/male.xcf
Normal file
34
archive/litenull_rewrite/app/img/sprites/male_sprites.css
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
weapon_6, weapon_5, weapon_4, weapon_3, weapon_2, weapon_1, weapon_0, shield_5, shield_4, shield_3, shield_2, shield_1, head_5, head_4, head_3, head_2, head_1, head_0, hair blond, hair black, hair brown, hair white, armor_5, armor_4, armor_3, armor_2, armor_1, armor_0, skin_dead, skin_orc, skin_asian, skin_black, skin_white {background: url(male_sprites.png) no-repeat}
|
||||
weapon_6 {background-position: 0 0; width: 90px; height: 90px}
|
||||
weapon_5 {background-position: -90px 0; width: 90px; height: 90px}
|
||||
weapon_4 {background-position: -180px 0; width: 90px; height: 90px}
|
||||
weapon_3 {background-position: -270px 0; width: 90px; height: 90px}
|
||||
weapon_2 {background-position: -360px 0; width: 90px; height: 90px}
|
||||
weapon_1 {background-position: -450px 0; width: 90px; height: 90px}
|
||||
weapon_0 {background-position: -540px 0; width: 90px; height: 90px}
|
||||
shield_5 {background-position: -630px 0; width: 90px; height: 90px}
|
||||
shield_4 {background-position: -720px 0; width: 90px; height: 90px}
|
||||
shield_3 {background-position: -810px 0; width: 90px; height: 90px}
|
||||
shield_2 {background-position: -900px 0; width: 90px; height: 90px}
|
||||
shield_1 {background-position: -990px 0; width: 90px; height: 90px}
|
||||
head_5 {background-position: -1080px 0; width: 90px; height: 90px}
|
||||
head_4 {background-position: -1170px 0; width: 90px; height: 90px}
|
||||
head_3 {background-position: -1260px 0; width: 90px; height: 90px}
|
||||
head_2 {background-position: -1350px 0; width: 90px; height: 90px}
|
||||
head_1 {background-position: -1440px 0; width: 90px; height: 90px}
|
||||
head_0 {background-position: -1530px 0; width: 90px; height: 90px}
|
||||
hair blond {background-position: -1620px 0; width: 90px; height: 90px}
|
||||
hair black {background-position: -1710px 0; width: 90px; height: 90px}
|
||||
hair brown {background-position: -1800px 0; width: 90px; height: 90px}
|
||||
hair white {background-position: -1890px 0; width: 90px; height: 90px}
|
||||
armor_5 {background-position: -1980px 0; width: 90px; height: 90px}
|
||||
armor_4 {background-position: -2070px 0; width: 90px; height: 90px}
|
||||
armor_3 {background-position: -2160px 0; width: 90px; height: 90px}
|
||||
armor_2 {background-position: -2250px 0; width: 90px; height: 90px}
|
||||
armor_1 {background-position: -2340px 0; width: 90px; height: 90px}
|
||||
armor_0 {background-position: -2430px 0; width: 90px; height: 90px}
|
||||
skin_dead {background-position: -2520px 0; width: 90px; height: 90px}
|
||||
skin_orc {background-position: -2610px 0; width: 90px; height: 90px}
|
||||
skin_asian {background-position: -2700px 0; width: 90px; height: 90px}
|
||||
skin_black {background-position: -2790px 0; width: 90px; height: 90px}
|
||||
skin_white {background-position: -2880px 0; width: 90px; height: 90px}
|
||||
BIN
archive/litenull_rewrite/app/img/sprites/male_sprites.png
Normal file
|
After Width: | Height: | Size: 9.3 KiB |