Difference between revisions of "Main Page"

From Vladimir Mitrofanov personal wiki
Jump to navigation Jump to search
Line 55: Line 55:
  
 
*[[Maillog is empty on Centos 7]]
 
*[[Maillog is empty on Centos 7]]
 +
 +
===No password ssh===
 +
<pre>
 +
ssh-keygen -t rsa
 +
ssh-copy-id -i ~/.ssh/id_rsa.pub root@joyscoot.com -p 2223
 +
</pre>
  
 
=<span style="color: #0000ff">Mobile Development</span>=
 
=<span style="color: #0000ff">Mobile Development</span>=

Revision as of 09:40, 13 September 2019

Back-end/Frontend stuff

Git

stop asking for password:

> git config credential.helper store

Laravel PHP

User Auth

How to test SMTP from command line:

php artisan tinker

Then run the command (specify your own email):

>>>> Mail::send('errors.404',[], function($message) { $message->to('shir****@gmail.com')->subject('testing email'); });


MongoDB tricks

Database

MongoDB

BACKUP

xBackup is example of backup directory

> mongodump --db <USER>  --out ./xBackup/ --username tws --password "<PASSWD>"

RESTORE

> mongorestore  --username <USER> --password "<PASSWD>" --authenticationDatabase <AUTH DB>  ./xBackup/

Web Design

Carousel

Server configuration

No password ssh

ssh-keygen -t rsa
ssh-copy-id -i ~/.ssh/id_rsa.pub root@joyscoot.com -p 2223

Mobile Development

Developer tricks, IDE, configuration, etc

Games development, Modding

Fallout 3+ Modding