Create a websites
user.
sudo adduser --disabled-password --home /src/websites websites
Login and install dropbox.
sudo -s su - websites
#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); |
@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 |
<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: |
#!/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 |
/* 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 drepper@gnu.org | |
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 |
WeeChat terminal IRC client
#!/bin/sh | |
command="${*}" | |
printf "Initialized REPL for [%s]\n" "$command" | |
printf "%s> " "$command" | |
read -r input | |
while [ "$input" != "" ]; | |
do | |
eval "$command $input" | |
printf "\n%s> " "$command" |
filetype off " required | |
call plug#begin('~/.config/nvim/plugged') | |
Plug 'Raimondi/delimitMate' | |
Plug 'jiangmiao/auto-pairs' | |
Plug 'flazz/vim-colorschemes' | |
Plug 'chriskempson/base16-vim' | |
Plug 'tpope/vim-fugitive' | |
Plug 'matze/vim-move' | |
Plug 'scrooloose/nerdtree', { 'on': 'NERDTreeToggle' } |
########## | |
# Win10 Initial Setup Script | |
# Author: Disassembler <[email protected]> | |
# Version: 1.7, 2016-08-15 | |
# dasm's script: https://github.com/Disassembler0/Win10-Initial-Setup-Script/ | |
# THIS IS A PERSONALIZED VERSION | |
# This script leaves more MS defaults on, including MS security features. | |
# Tweaked based on personal preferences for @alirobe 2016-11-16 - v1.7.1 |