Skip to content

Instantly share code, notes, and snippets.

Inon Baguio inonbaguio

  • Singapore
Block or report user

Report or block inonbaguio

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
nickbclifford /
Last active Jan 22, 2020
How to automatically deploy code to a server using Travis CI

Auto-Deploying via Travis CI

Because Travis CI can automatically execute scripts after successfully (or unsuccessfully!) executing tests, it is an obvious choice for a deployment tool. In order to deploy to a Git repository on a remote server, the process generally is as follows:

  • Set up SSH keys
  • Add the server's copy of the repository as a Git remote
  • Push to the remote
  • SSH into the server and execute any installation/compilation/miscellaneous commands

Before even touching .travis.yml...


vitorbritto /
Last active Jan 17, 2020
Remove MySQL completely from Mac OSX

Remove MySQL completely

  1. Open the Terminal

  2. Use mysqldump to backup your databases

  3. Check for MySQL processes with: ps -ax | grep mysql

  4. Stop and kill any MySQL processes

  5. Analyze MySQL on HomeBrew:

    brew remove mysql
heldrida / javascript
Last active Jan 29, 2020
Facebook Javascript SDK: Basic Login and Logout example
View javascript
<div id="fb-root"></div>
window.fbAsyncInit = function() {
appId: 'xxxxxxxxxxxxx',
status: true,
cookie: true,
xfbml: true
You can’t perform that action at this time.