See how a minor change to your commit message style can make you a better programmer.
Format: <type>(<scope>): <subject>
<scope>
is optional
/* Semantic UI has these classes, however they're only applicable to*/ | |
/* grids, containers, rows and columns.*/ | |
/* plus, there isn't any `mobile hidden`, `X hidden` class.*/ | |
/* this snippet is using the same class names and same approach*/ | |
/* plus a bit more but to all elements.*/ | |
/* see https://github.com/Semantic-Org/Semantic-UI/issues/1114*/ | |
/* Mobile */ | |
@media only screen and (max-width: 767px) { | |
[class*="mobile hidden"], |
from django.conf.urls import handler404, handler500 | |
handler500 = website_views.server_error | |
handler404 = website_views.page_not_found | |
CFLAGS="-I/usr/local/opt/openssl/include" LDFLAGS="-L/usr/local/opt/openssl/lib" UWSGI_PROFILE_OVERRIDE=ssl=true pip install uwsgi -Iv |
#include <SPI.h> | |
#include "Arduboy.h" | |
#include <EEPROM.h> | |
#include <avr/pgmspace.h> | |
Arduboy arduboy; | |
// frame counter | |
unsigned int frame = 0; |
yum install fontconfig freetype freetype-devel fontconfig-devel libstdc++ | |
wget https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-1.9.8-linux-x86_64.tar.bz2 | |
tar -xjvf ~/downloads/phantomjs-1.9.8-linux-x86_64.tar.bz2 --strip-components 1 /opt/phantomjs/ | |
sudo yum install libffi-devel openssl-devel | |
pip install pyopenssl pyasn1 | |
pip install requests[security] |
def is_list_circular(l): | |
slower = l | |
faster = l.get_next() | |
while True: | |
# if faster pointer finds a None element | |
# then the list is not circular | |
if (faster is None) or (faster.get_next() is None): | |
return False | |
# if faster element catch up with the slower |
package main | |
import ( | |
"encoding/json" | |
"fmt" | |
"net/http" | |
) | |
type test_struct struct { | |
Test string |
package main | |
import ( | |
"fmt" | |
"encoding/json" | |
) | |
type Message struct { | |
Name string | |
Body string |