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
#include "Node.h" | |
Node::Node(int v, std::string n) | |
{ | |
value = v; | |
name = n; | |
left = nullptr; | |
right = nullptr; | |
} |
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="https://gist.github.com/anonymous/9b2b0bc46e4ec7f337ea1a375962aba6.js"></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
sudo service ddclient status -l |
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
# Force DDClient to run right now | |
sudo ddclient |
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
daemon=1800 | |
protocol=cloudflare | |
use=web | |
server=www.cloudflare.com | |
ssl=yes | |
login=<Your Cloudflare Account Email Here> | |
password=<Your API Key Here> | |
zone=<Your Website Here (for example: example.com)> | |
<Servers FQDN Here (for example: helium01.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
# Open up ddclients default configuration file | |
sudo nano /etc/ddclient/ddclient.conf |
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
# Go into a temp directory to download ddclient | |
cd /tmp | |
# Get a newer version of ddclient (feel free to update this with a newer version if available) | |
wget http://downloads.sourceforge.net/project/ddclient/ddclient/ddclient-3.8.3.tar.bz2 | |
# Unzip ddclient (don't forget to change the name if your downloading a newer version) | |
tar -jxvf ddclient-3.8.3.tar.bz2 | |
# Replace the origional ddclient install with this new one; You may need to use sudo. | |
cp ddclient-3.8.3/ddclient /usr/sbin/ddclient | |
# The config path has updated in this version, so create a directory in the new location to house the config file | |
mkdir /etc/ddclient |
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
sudo apt-get install ddclient |
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
print("Hello, World!") |
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
/* | |
* Login server for WildCard | |
* Alpha Version 0.0.1 | |
* Written by Alpha-V | |
*/ | |
// Standard includes | |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <unistd.h> |