Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000
############################################################################### | |
## Monit control file | |
############################################################################### | |
## | |
## Comments begin with a '#' and extend through the end of the line. Keywords | |
## are case insensitive. All path's MUST BE FULLY QUALIFIED, starting with '/'. | |
## | |
## Below you will find examples of some frequently used statements. For | |
## information about the control file, a complete list of statements and | |
## options please have a look in the monit manual. |
Searching players: | |
http://worldoftanks.eu/community/accounts/api/%API_VER%/?source_token=%TOKEN%&search=%NAME%&offset=0&limit=1 | |
Showing player's stats: | |
http://worldoftanks.eu/community/accounts/%PLAYER_ID%/api/%API_VER%/?source_token=%TOKEN% | |
Showing player's stats from past: | |
http://dava2.worldoftanks.com/userstats/2/stats/slice/?platform=android&server=eu&account_id=%PLAYER_ID%&hours_ago=24&hours_ago=168&hours_ago=336 |
# Start the old vagrant | |
$ vagrant init centos-6.3 | |
$ vagrant up | |
# You should see a message like: | |
# [default] The guest additions on this VM do not match the install version of | |
# VirtualBox! This may cause things such as forwarded ports, shared | |
# folders, and more to not work properly. If any of those things fail on | |
# this machine, please update the guest additions and repackage the | |
# box. |
// C# example | |
using UnityEditor; | |
using System.IO; | |
using System.Collections; | |
using UnityEngine; | |
using System.Collections.Generic; | |
class PerformBuild | |
{ | |
static string[] GetBuildScenes() |
Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000
dmg=$1 | |
# A script to install Unity3d automatically from the command line given a dmg file. | |
# The resulting file is stored under /Applications/Unity$VERSION | |
# check assumptions | |
unityhome=/Applications/Unity | |
if [[ -d "$unityhome" ]]; then | |
echo "ERROR: $unityhome already present" |
define accounts::virtual ($uid,$realname,$pass,$sshkeytype,$sshkey) { | |
include accounts::params | |
# Pull in values from accounts::params | |
$homepath = $accounts::params::homepath | |
$shell = $accounts::params::shell | |
# Create the user | |
user { $title: | |
ensure => 'present', |
_Go to your Owncloud installation <https://myowncloud/remote.php/mozilla_sync> and accept the SSL Certificate | |
_Open about:config | |
_Create: services.sync.username <string> the value should be a hash not the username itself. (You only need the hash if the | |
sync was setup with a pre FF29, if you start from scratch the string doesn't matter) | |
You can look this up in an older browser or in the logs of your Owncloud server!! | |
_Go to: Preferences -> Sync -> Setup Firefox sync (you should see the old UI now) | |
'I Have an Account' | |
'I don't have the device with me' | |
'Account' - again use the hash NOT the actual username! |
#!/usr/bin/perl | |
use strict; | |
use warnings; | |
# install libio-socket-ssl-perl to get this | |
use IO::Socket::SSL; | |
my $hostname = shift or die "Usage: $0 www.example.com\n"; | |
IO::Socket::SSL->new( | |
PeerHost => "$hostname:443", |