This is a guide for aligning images.
See the full Advanced Markdown doc for more tips and tricks
This is a guide for aligning images.
See the full Advanced Markdown doc for more tips and tricks
Inspired by dannyfritz/commit-message-emoji
See also gitmoji.
| Commit type | Emoji |
|---|---|
| Initial commit | 🎉 :tada: |
| Version tag | 🔖 :bookmark: |
| New feature | ✨ :sparkles: |
| Bugfix | 🐛 :bug: |
| # Use Python 3 for easy unicode | |
| $ virtualenv -p python3 .env | |
| $ source .env/bin/activate | |
| $ pip install django | |
| $ deactivate | |
| # Start new django project and app | |
| $ django-admin.py startproject mysite | |
| $ ./manage.py migrate | |
| $ ./manage.py createsuperuser |
| <form class='form-inline' id='my-custom-form'> | |
| <div class="form-group"> | |
| <input type='email' class='form-control' placeholder='Your email address' required> | |
| </div> | |
| <button class="btn btn-primary" type='submit'>Sign up</button> | |
| </form> | |
| <!-- Actual form that gets submitted to HubSpot --> | |
| <div class="hidden" id='hubspot-form'> | |
| <script charset="utf-8" src="//js.hsforms.net/forms/current.js"></script> |
| // this is the background code... | |
| // listen for our browerAction to be clicked | |
| chrome.browserAction.onClicked.addListener(function (tab) { | |
| // for the current tab, inject the "inject.js" file & execute it | |
| chrome.tabs.executeScript(tab.ib, { | |
| file: 'inject.js' | |
| }); | |
| }); |
| function ytChannelId(channelName) { | |
| if(channelName) { | |
| var name = getChannelFromUrl(channelName); | |
| var url = "https://gdata.youtube.com/feeds/api/users/" + name + "?fields=id&alt=json"; | |
| var result = UrlFetchApp.fetch(url); | |
| var data = Utilities.jsonParse(result.getContentText()) | |
| if(typeof data['entry'] !== 'undefined' && data['entry']['id']['$t'] !== 'undefined') { | |
| var id = "UC" + data['entry']['id']['$t'].split('/').pop(); | |
| <?php | |
| echo file_get_contents('http://tinyurl.com/api-create.php?url='.'http://www.example.com/'); | |
| /* For example | |
| http://tinyurl.com/api-create.php?url=http://www.fullondesign.co.uk/ | |
| Would return: | |
| http://tinyurl.com/d4px9f | |
| */ | |
| ?> |