Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000| #import "macAddress.h" | |
| void setup () { | |
| byte mac[6]; | |
| getUniqueMacAddress(mac); | |
| Serial.begin(115200); | |
| Serial.print("mac: "); | |
| for (uint8_t i = 0; i < sizeof(mac); i++) { |
Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000Inspired by dannyfritz/commit-message-emoji
See also gitmoji.
| Commit type | Emoji |
|---|---|
| Initial commit | 🎉 :tada: |
| Version tag | 🔖 :bookmark: |
| New feature | ✨ :sparkles: |
| Bugfix | 🐛 :bug: |
| server { | |
| listen 80; | |
| server_name localhost; | |
| root /home/pi/projects/MirrorMirror/public; | |
| index index.html index.htm index.php; | |
| charset utf-8; | |
| location / { |
Locate the section for your github remote in the .git/config file. It looks like this:
[remote "origin"]
fetch = +refs/heads/*:refs/remotes/origin/*
url = [email protected]:joyent/node.git
Now add the line fetch = +refs/pull/*/head:refs/remotes/origin/pr/* to this section. Obviously, change the github url to match your project's URL. It ends up looking like this: