This is the full version of the thread for opencart#1286, archived from notification emails.
The discussion has since been deleted almost entirely by OpenCart's developer.
Everyone who posted in it has also been blocked from the OpenCart repo.
tl;dr: how about a virtual global flat LAN that maps static IPs to onion addresses?
[We all know the story][1]. Random feature gets unintentionally picked up as the main reason for buying/using a certain product, despite the creator's intention being different or more general. (PC: spreadsheets; Internet: porn; smartphones: messaging.)
# | |
# Credit to http://jimhoskins.com/2013/07/27/remove-untagged-docker-images.html | |
# | |
# Add this to your bash profile. | |
# | |
clean_docker () { | |
# Remove stopped containers | |
docker rm $(docker ps -a -q); | |
# Remove untagged images |
# ... | |
config.vm.provider :virtualbox do |v| | |
# ... Other stuff here | |
# Set the timesync threshold to 10 seconds, instead of the default 20 minutes. | |
v.customize ["guestproperty", "set", :id, "/VirtualBox/GuestAdd/VBoxService/--timesync-set-threshold", 10000] | |
end | |
# ... |
namespace :symfony do | |
namespace :assets do | |
desc "Updates assets version" | |
task :update_version do | |
run "sed -i 's/\\(assets_version: \\)\\(.*\\)$/\\1 #{real_revision}/g' #{latest_release}/app/config/config.yml" | |
end | |
end | |
end | |
before "symfony:assetic:dump" do |
# -------------------------------------------- | |
# General | |
# -------------------------------------------- | |
set :shared_children, %w(cache logs) # Shared directories, these directories contain generated content which should not be wiped out during deployments. | |
set :application, "domain.com" # Application name | |
set :deploy_to, "/var/www/#{application}/#{stage}" # Path where files are deployed to ... | |
# -------------------------------------------- | |
# Server | |
# -------------------------------------------- |
container_commands: | |
sync_db: | |
command: "docker run --env DATABASE_URL=`/opt/elasticbeanstalk/bin/get-config environment | jq -r .DATABASE_URL` aws_beanstalk/current-app:latest lein lobos migrate" | |
leader_only: true |
Fallout 1 was originally designed to run at 640x480 resolution. I wanted to run the Mac OS X version of Fallout on my MacBook 11", which has a 1366x768 display. There is a [high resolution patch][hi-res], but it only supports the Windows version of Fallout.
Turns out that the OS X version of Fallout runs through Wine, so we can get this patch working with just a few configuration changes:
Note for Fallout 2 users: The process for Fallout 2 is essentially the same, with a different patch, and some minor pathing differences. Other than that, the process is exactly the same!
<?php | |
// Crude check. Off course this should be stored in a (memory) database. $token is an | |
// access token that is provided by oauth. | |
$token = $_SERVER['HTTP_X_AUTH_TOKEN']; | |
if ($token == "mellon") { | |
header("X-Api-User: Gandalf"); | |
header("X-Api-Context: Middle-Earth"); | |
header("Cache-Control: public, max-age=120"); |
// Put this into Developer console | |
// on a page like https://www.radioreference.com/apps/db/?inputs=2&ctid=2230 | |
function tableToJs ($table) { | |
const headers = $('th', $table).map((i, th) => $(th).text().trim()) | |
const out = [] | |
$('tr', $table).each((i, tr) => { | |
const row = {} | |
$('td', tr).map((i, td) => { | |
row[ headers[i] ] = $(td).text() |