See hardrive connected:
fdisk -l
To mount:
cd /
mkdir harddrive
sudo mount -t auto /dev/sda1 /harddrive
<!DOCTYPE html><html><head><meta charset="utf-8"><title>Cédric | 404</title><link href="/favicon.ico" rel="shortcut icon" type="image/x-icon"><style type="text/css">html{font-size:200%;font-family:futura-pt,sans-serif;line-height:1.5em;text-align:center}body{background-color:#34495e;color:#ecf0f1;margin:0 auto;height:100%}::selection{color:#34495e;background-color:#ecf0f1}</style></head><body><h1>Not found !</h1></body></html> |
language: node_js | |
node_js: | |
- "0.10" | |
- "0.12" | |
- "iojs" |
var gamepad = require('gamepad'), | |
colors = require('colors'), | |
app = new hapi.Server(); | |
gamepad.init(); | |
// List the state of all currently attached devices | |
for (var i = 0, l = gamepad.numDevices(); i < l; i++) { | |
console.log(i, gamepad.deviceAtIndex()); | |
} |
See hardrive connected:
fdisk -l
To mount:
cd /
mkdir harddrive
sudo mount -t auto /dev/sda1 /harddrive
linux
folder at the root of your Windows' harddrivecd /www && mkdir win && mount -t cifs //192.168.0.47/linux /www/win -o [email protected],password=mypassword,dir_mode=0777,file_mode=0777,uid=1000,gid=100
curl http://git.io/ -i -F "url=http://cedced19.github.io" -F "code=ced"
Update root password:
sudo passwd root
Search for PermitRootLogin and change it to yes:
sudo nano /etc/ssh/sshd_config