git checkout master # you can avoid this line if you are in master...
git subtree split --prefix dist -b gh-pages # create a local gh-pages branch containing the splitted output folder
git push -f origin gh-pages:gh-pages # force the push of the gh-pages branch to the remote gh-pages branch at origin
git branch -D gh-pages # delete the local gh-pages because you will need it: ref
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <html> | |
| <head> | |
| <!-- other important tags go here --> | |
| </head> | |
| <body> | |
| <input id="myFiles" type="file" multiple onchange="getFiles()" /> | |
| </body> | |
| </html> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| require 'tmhOAuth.php'; // Get it from: https://github.com/themattharris/tmhOAuth | |
| // Use the data from http://dev.twitter.com/apps to fill out this info | |
| // notice the slight name difference in the last two items) | |
| $connection = new tmhOAuth(array( | |
| 'consumer_key' => '', | |
| 'consumer_secret' => '', | |
| 'user_token' => '', //access token |