Skip to content

Instantly share code, notes, and snippets.

Avatar
👨‍💻
Debugging

Thien Nguyen tatthien

👨‍💻
Debugging
View GitHub Profile
@tatthien
tatthien / Install update WordPress puglins directly.md
Created Feb 6, 2020 — forked from dianjuar/Install update WordPress puglins directly.md
Install update WordPress plugins without providing ftp access
View Install update WordPress puglins directly.md

Install WordPress plugins directly (without FTP)

Ref Stack Overflow Comment

Put this on your wp-config.php

/* That's all, stop editing! Happy blogging. */
define('FS_METHOD', 'direct');
View commit-emoji.md
  • 🎨 when improving the format/structure of the code
  • 🚀 when improving performance
  • ✏️ when writing docs
  • 💡 new idea
  • 🚧 work in progress
  • when adding feature
  • when removing feature
  • 🔈 when adding logging
  • 🔇 when reducing logging
  • 🐛 when fixing a bug
@tatthien
tatthien / FB Locale List
Created Nov 12, 2015 — forked from mechastorm/FB Locale List
List of locales supported by Facebook. These are the same supported locales that you can only call when loading the FB JS SDK
View FB Locale List
<?php
/**
* List of locales supported by Facebook.
*
* These are the same supported locales that you can only call when loading the FB JS SDK at
* //connect.facebook.net/{LOCALE_ID}/all.js
*
* Locales taken from http://www.facebook.com/translations/FacebookLocales.xml
*
* Last Updated: 04/09/2012
@tatthien
tatthien / README.md
Created Oct 30, 2015 — forked from oodavid/README.md
Deploy your site with git
View README.md

Deploy your site with git

This gist assumes:

  • you have a local git repo
  • with an online remote repository (github / bitbucket etc)
  • and a cloud server (Rackspace cloud / Amazon EC2 etc)
    • your (PHP) scripts are served from /var/www/html/
    • your webpages are executed by apache
    • apache's home directory is /var/www/
You can’t perform that action at this time.