Comments to the The V language now compiles itself in 0.09 seconds post.
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
EDGE = 0 | |
ABOVE = 1 | |
BELOW = 2 | |
def solution(A): | |
res = 0 | |
prev = EDGE | |
for i in xrange(0, len(A)): | |
val = A[i] | |
if i == len(A) - 1: |
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
def solution(S): | |
lines = S.split('\n') | |
dict = {} | |
for i in xrange(len(lines)): | |
line = lines[i] | |
if len(line) == 0: | |
continue | |
# Parse values | |
vals = line.split(',') |
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
**hello world** | |
nice |
GitLab is pretty hard to install, that's why prebuilt packages and Docker modules are widely used.
I couldn't install the Ubuntu package, so I went for the official Docker image:
https://hub.docker.com/r/gitlab/gitlab-ce
docker pull gitlab/gitlab-ce