Create a websites
user.
sudo adduser --disabled-password --home /src/websites websites
Login and install dropbox.
sudo -s su - websites
/* Getopt for GNU. | |
NOTE: getopt is now part of the C library, so if you don't know what | |
"Keep this file name-space clean" means, talk to [email protected] | |
before changing it! | |
Copyright (C) 1987,88,89,90,91,92,93,94,95,96,98,99,2000,2001 | |
Free Software Foundation, Inc. | |
This file is part of the GNU C Library. | |
The GNU C Library is free software; you can redistribute it and/or | |
modify it under the terms of the GNU Lesser General Public |
#!/bin/bash | |
# This is a script to automatically load the nginx configuration | |
add-apt-repository ppa:nginx/stable | |
apt-get update | |
apt-get -y install nginx | |
cp local.conf /etc/nginx/conf.d/local.conf | |
mkdir /etc/nginx/ssl | |
cp ssl.rules /etc/nginx/ssl/ssl.rules | |
cp nginx.conf /etc/nginx/nginx.conf |
<html> | |
<head> | |
<script src="//cdnjs.cloudflare.com/ajax/libs/underscore.js/1.4.2/underscore-min.js"></script> | |
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js"></script> | |
<script src="//cdnjs.cloudflare.com/ajax/libs/modernizr/2.6.2/modernizr.min.js"></script> | |
<script src="//ajax.cdnjs.com/ajax/libs/json2/20110223/json2.js"></script> | |
<!-- | |
TODO: |
@echo off | |
REM # Send To Backup Script | |
REM # Author - Matt Little (http://matthewjlittle.com) | |
REM # Adam Caudill (http://adamcaudill.com) | |
REM # | |
REM # To install: | |
REM # | |
REM # (windows 7): | |
REM # Goto Start->Run. Type in shell:sendto |
#include <SFML\Graphics.hpp> | |
#include <vector> | |
#include <cstdlib> | |
#include <ctime> | |
#include <thread> | |
#include <mutex> | |
void populateVector(std::vector<float>& vector, const int size); | |
void renderVectorItem(sf::RenderWindow& window, std::vector<float>& vector, const int index, const int offset, bool highlight, const float y); | |
void visualSelectionSort(sf::RenderWindow& window, std::vector<float>& vector, std::vector<float>& sorted); |