Generate your CSR This generates a unique private key, skip this if you already have one.
sudo openssl genrsa -out etc/ssl/yourdomain.com/yourdomain.com.key 1024Next generate your CSR (Certificate Signing Request), required by GoDaddy:
Generate your CSR This generates a unique private key, skip this if you already have one.
sudo openssl genrsa -out etc/ssl/yourdomain.com/yourdomain.com.key 1024Next generate your CSR (Certificate Signing Request), required by GoDaddy:
| #!/usr/bin/env bash | |
| # help from: | |
| # https://gist.github.com/textarcana/5855427 | |
| # http://tecadmin.net/install-firefox-on-linux/ | |
| # install deps | |
| yum install -y java Xvfb firefox | |
| # This version of FF doesn't actually work with latest selenium (for me) so I remove it again |
| pragma solidity ^0.4.11; | |
| /// @title STABLE Project ICO | |
| /// @author Konrad Szałapak <konrad.szalapak@gmail.com> | |
| /* | |
| * Ownable | |
| * | |
| * Base contract with an owner. | |
| * Provides onlyOwner modifier, which prevents function from running if it is called by anyone other than the owner. |
| Assuming the username of the Ubuntu user is "ubuntu". | |
| Preparation | |
| ----------- | |
| ``` | |
| sudo apt-get update | |
| sudo apt-get upgrade | |
| sudo apt-get install build-essential libtool autotools-dev autoconf pkg-config libssl-dev |
| # 2016-2017 Soverance Studios. | |
| # Scott McCutchen | |
| # This file will search all files and folders within a given directory, and use Notepad++ to convert their encoding to UTF-8 without Byte Order Marks | |
| # | |
| # This file must be run using the PythonScript plugin from within Notepad++, which is available through the Notepad++ Plugin Manager | |
| # | |
| # You must have Python 2.7 installed | |
| # | |
| # Additionally, this script can only exist and be run from within the Notepad++ user's working directory, the default of which is here: |
State: Draft
Based on the Peatio Stable branch
To the coin daemon's {coin}.conf file, include the -walletnotify command:
# Notify when receiving coins
| # 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. |
| //validate string length | |
| function ValidLen(s,min,max){ | |
| if (s.length < min || s.length > max) { return false; } | |
| return true; | |
| } | |
| // validate email | |
| function ValidEmail(s){ | |
| var check = /^\w+((-\w+)|(\.\w+))*\@\w+((\.|-)\w+)*\.\w+$/; | |
| if (!check.test(s)) { return false; } |
| # first, fetch the latest refs for all branches. And be sure we have latest master, etc | |
| git checkout master | |
| git fetch | |
| # If any changes from remote, catch our local version up | |
| git rebase origin/master | |
| # could also be done as |