All configuration options can be found on the MongoDB Docs
Was
production:
sessions:
// XORCipher - Super simple encryption using XOR and Base64 | |
// | |
// Depends on [Underscore](http://underscorejs.org/). | |
// | |
// As a warning, this is **not** a secure encryption algorythm. It uses a very | |
// simplistic keystore and will be easy to crack. | |
// | |
// The Base64 algorythm is a modification of the one used in phpjs.org | |
// * http://phpjs.org/functions/base64_encode/ | |
// * http://phpjs.org/functions/base64_decode/ |
All configuration options can be found on the MongoDB Docs
Was
production:
sessions:
RYAML = <<-BASH | |
function ryaml { | |
ruby -ryaml -e 'puts ARGV[1..-1].inject(YAML.load(File.read(ARGV[0]))) {|acc, key| acc[key] }' "$@" | |
}; | |
BASH | |
namespace :sync do | |
task :db do | |
isolate do | |
invoke :environment |
/* Colors */ | |
.red {color:#A3293D!important} | |
.pink{color:#FD9FC1!important} | |
.salmon{color:rgba(253, 160, 150, 1)!important} | |
.lgreen{color:#A9D12B!important} | |
.green{color:#748A30!important} | |
.teal {color:#07AB8F!important} | |
.sky {color:#76C6F3!important} | |
.skyblue {color:#43A4EF!important} |
# lib/tasks/db.rake | |
namespace :db do | |
desc "Dumps the database to db/APP_NAME.dump" | |
task :dump => :environment do | |
cmd = nil | |
with_config do |app, host, db, user| | |
cmd = "pg_dump --host #{host} --username #{user} --verbose --clean --no-owner --no-acl --format=c #{db} > #{Rails.root}/db/#{app}.dump" | |
end | |
puts cmd |
Requires creative mode or operator power on a multiplayer server. On a single player game (survival or hardcore), you will need "cheats" enabled to move into creative mode. Don't forget to leave creative mode when done.
These items might be stupid. Be prepared to repair the country-side.
Hello software developers,
Please check your code to ensure you're not making one of the following mistakes related to cryptography.
I hereby claim:
To claim this, I am signing this object:
self.addEventListener('fetch', async (event) => { | |
const response = await fetch(event.request); | |
const cache = await caches.open('cache-v1'); | |
if (response.ok === true) { | |
cache.put(event.request, response); | |
event.respondWith(response); | |
} else { | |
event.respondWith(cache.match(event.request)); |