Skip to content

Instantly share code, notes, and snippets.

# Make sure mod_ssl, mod_rewrite, mod_headers, mod_proxy,
# mod_proxy_http and mod_proxy_balancer are enabled
<VirtualHost *:80>
ServerName diaspora.example.org
RedirectPermanent / https://diaspora.example.org/
</VirtualHost>
<VirtualHost *:443>
ServerName diaspora.example.org
@CatmanIX
CatmanIX / nginx.conf
Created October 21, 2013 03:30 — forked from jhass/nginx.conf
# This is not a complete Nginx configuration! It only shows the relevant parts for integrating Diaspora.
# [...]
http {
# Your standard server configuration goes here
# [...]
# This vhost just redirects to HTTPS
#!/bin/sh
USAGE="[-l] <types> ..."
LONG_USAGE="Generate/Append the repo's .gitignore file using the gitignore.io api
-l
If no other option is present, list available templates.
If options do exist, output is redirected to stdout.
`curl -s http://gitignore.io/api/`"
import me.meta1203.plugins.satoshis.Satoshis;
import me.meta1203.plugins.satoshis.SatoshisEconAPI;
import net.milkbowl.vault.economy.Economy;
import org.bukkit.Bukkit;
import org.bukkit.ChatColor;
import org.bukkit.entity.Player;
import org.bukkit.plugin.Plugin;
import org.bukkit.plugin.RegisteredServiceProvider;