Skip to content

Instantly share code, notes, and snippets.

#include "Node.h"
Node::Node(int v, std::string n)
{
value = v;
name = n;
left = nullptr;
right = nullptr;
}
<script src="https://gist.github.com/anonymous/9b2b0bc46e4ec7f337ea1a375962aba6.js"></script>
sudo service ddclient status -l
# Force DDClient to run right now
sudo ddclient
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)>
# Open up ddclients default configuration file
sudo nano /etc/ddclient/ddclient.conf
# 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
sudo apt-get install ddclient
print("Hello, World!")
/*
* Login server for WildCard
* Alpha Version 0.0.1
* Written by Alpha-V
*/
// Standard includes
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>