As configured in my dotfiles.
start new:
tmux
start new with session name:
# YouTube (english) : https://www.youtube.com/watch?v=FtU2_bBfSgM | |
# YouTube (french) : https://www.youtube.com/watch?v=VjnaVBnERDU | |
# | |
# On your laptop, connect to the Mac instance with SSH (similar to Linux instances) | |
# | |
ssh -i <your private key.pem> ec2-user@<your public ip address> | |
# | |
# On the Mac |
As configured in my dotfiles.
start new:
tmux
start new with session name:
This should help you get Sendmail installed with basic configuration on Ubuntu.
sudo apt-get install sendmail
/etc/hosts
file: nano /etc/hosts
127.0.0.1 localhost yourhostname
sudo sendmailconfig
sudo service apache2 restart
- Add this line in Vagrant File | |
# Enables symlinks on Windows VBox | |
vb.customize ["setextradata", :id, "VBoxInternal2/SharedFoldersEnableSymlinksCreate/vagrant", "1"] | |
- in an admin command prompt, run: | |
fsutil behavior set SymlinkEvaluation L2L:1 R2R:1 L2R:1 R2L:1 | |
- boot vagrant from new admin powershell session |
<?php include "../inc/dbinfo.inc"; ?> | |
<html> | |
<body> | |
<h1>Sample page</h1> | |
<?php | |
/* Connect to MySQL and select the database. */ | |
$connection = mysqli_connect(DB_SERVER, DB_USERNAME, DB_PASSWORD); | |
if (mysqli_connect_errno()) echo "Failed to connect to MySQL: " . mysqli_connect_error(); |
pragma solidity 0.4.11; | |
contract DSNote { | |
event LogNote( | |
bytes4 indexed sig, | |
address indexed guy, | |
bytes32 indexed foo, | |
bytes32 indexed bar, | |
uint wad, | |
bytes fax |
Building | |
$ sudo yum install golang | |
$ sudo yum install gmp-devel | |
$ git clone https://github.com/ethereum/go-ethereum | |
$ cd go-ethereum/ | |
$ make geth | |
$ ls -al build/bin/geth | |
Running |
## How to install mcrypt in php7.2 | |
## | |
## https://lukasmestan.com/install-mcrypt-extension-in-php7-2/ | |
## | |
# | |
# Check version php and pecl | |
# | |
php -v # if default php is not 7.2 then use /usr/bin/php7.2 instead php |
download and install Solr from http://lucene.apache.org/solr/.
you can access Solr admin from your browser: http://localhost:8983/solr/
use the port number used in installation.
- Install cygwin if using Windows: | |
https://cygwin.com/install.html | |
- Make sure installed these packages: | |
+ curl | |
+ python (2.7.x) | |
+ python-jinja | |
+ python-crypto | |
+ python-openssl | |
+ python-setuptools |