Skip to content

Instantly share code, notes, and snippets.

View myneworder's full-sized avatar
🎯
Focusing

myneworder

🎯
Focusing
View GitHub Profile
wget http://repo.ajenti.org/debian/key -O- | apt-key add -
echo "deb http://repo.ajenti.org/ng/debian main main ubuntu" >> /etc/apt/sources.list
apt-get update
apt-get install ajenti -y
service ajenti restart
BOOST_ROOT=$HOME/opt/boost_1_57_0
sudo apt-get update
sudo apt-get install autotools-dev build-essential \
g++ libbz2-dev libicu-dev python-dev
wget -c 'http://sourceforge.net/projects/boost/files/boost/1.57.0/boost_1_57_0.tar.bz2/download'\
-O boost_1_57_0.tar.bz2
sha256sum boost_1_57_0.tar.bz2
# "910c8c022a33ccec7f088bd65d4f14b466588dda94ba2124e78b8c57db264967"
tar xjf boost_1_57_0.tar.bz2
cd boost_1_57_0/
git submodule update --init --recursive
cd libraries/fc
git checkout master
git pull
git submodule update --init --recursive
cd ../..
cmake -D CMAKE_BUILD_TYPE=Release .
make witness_node cli_wallet
###
### 2. Run your new P2P Decentralised Exchange Node
###
~/bitshares-2/programs/witness_node/witness_node --rpc-endpoint "127.0.0.1:8090" # will allow only your computer's wallet to connect to the blockchain
# ~/bitshares-2/programs/witness_node/witness_node --rpc-endpoint "0.0.0.0:8090" # will allow anyone to connect their wallet to your copy of the blockchain
# you can also strip and copy witness_node to your bin folder for easy blockchain startup
mkdir ~/bin
###
### 1. Download the software to build for Ubuntu Linux x64 using git:
###
# update your system and install ntp
sudo apt-get update && sudo apt-get -y upgrade
sudo apt-get install ntp
sudo dpkg-reconfigure tzdata # to set your time zone
# Install the build tools
<script>
snowWorkerConfig = {
wind: 6
}
</script>
<script>
!function(t){var e={};function n(a){if(e[a])return e[a].exports;var o=e[a]={i:a,l:!1,exports:{}};return t[a].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=t,n.c=e,n.d=function(t,e,a){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:a})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var a=Object.create(null);if(n.r(a),Object.defineProperty(a,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)n.d(a,o,function(e){return t[e]}.bind(null,o));return a},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.pro
@myneworder
myneworder / c.css
Last active November 18, 2018 03:18
body.ant-btn-primary {
text-transform: lowercase;
font-variant: small-caps;
line-height: 1em;
}
#baseMarketFee {
border-color: #5500cc ;
border-right-width: 0 ;
border-style: solid ;
#baseMarketFee{border-color: #5500cc !important; border-right-width: 0 !important; border-style: solid !important; border-width: 2px !important;}#crex{font-family: Play !important;}#current-password{background-color: #5500bb !important; color: #ffffff !important; margin-bottom: 10px !important;}#menu{font-family: Play !important;}a span span{font-family: Play !important; letter-spacing: 1px !important; text-transform: uppercase !important;}a.active{background-color: #5500bb !important; color: #ffffff !important;}a.column-hide-xxs{font-family: Play !important; text-transform: uppercase !important;}a.logo{background-color: #5500bb !important;}a.logo.active{background-color: #5500bb !important; color: #5500bb !important;}/* cyrillic-ext */ @font-face{font-family: 'Play'; font-style: normal; font-weight: 400; src: local('Play Regular'), local('Play-Regular'), url(https://fonts.gstatic.com/s/play/v9/6aez4K2oVqwIvtg2H70Q13HqPA.woff2) format('woff2'); unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+
@myneworder
myneworder / menu.js
Last active October 31, 2018 19:12
menu.js
<!--
document.writeln(" <input type='checkbox' id='menu_active' checked/> <div id='menu'> <span id='site-name'><label for='menu_active'><i class=\"fa fa-arrow-left\"></i><i class=\"fa fa-bars\"></i></label></span> <ul> <a href='./'> <li>Home<i class=\"fa fa-home\"></i></li></a> <a href='#account/assets'> <li>Assets<i class=\"fa fa-briefcase\"></i></li></a> <a href='#settings/access'> <li>Nodes<i class=\"fa fa-sitemap\"></i></li></a> <a href='#settings/accounts'> <li>Accounts<i class=\"fa fa-user\"></i></li></a> <a href='#settings/password'> <li>Password<i class=\"fa fa-key\"></i></li></a> </ul> </div> ");
// -->
@myneworder
myneworder / gist:4f60801ddd3d2310839800241687efde
Created October 21, 2018 11:19
worker.Bitshares.Modules
worker.Bitshares.Modules