I hereby claim:
- I am brejoc on github.
- I am brejoc (https://keybase.io/brejoc) on keybase.
- I have a public key ASCFZ-9Y83c-HlfTD5Na5S42M9-uZUgnazH7mN2eRhMi7Ao
To claim this, I am signing this object:
{ | |
repository(owner: "brejoc", name: "test") { | |
issues(first: 100) { | |
totalCount | |
pageInfo { | |
startCursor | |
endCursor | |
hasNextPage | |
} | |
nodes { |
query ($owner: String!, $name: String!, $board_number: Int!) { | |
repository(owner: $owner, name: $name) { | |
project(number: $board_number) { | |
columns(first: 10) { | |
nodes { | |
name | |
cards(first: 100) { | |
edges { | |
node { | |
content { |
// get_my_prs shows all the pull requests where either you | |
// or Team SUSE was requestet to review in saltstack/salt. | |
package main | |
import ( | |
"context" | |
"fmt" | |
"os" |
""" | |
saltstack_pr.py prints the pull requests, where the current user | |
or team-suse was required to review. | |
""" | |
from github import Github | |
g = Github("<github-token>") | |
class bcolors: | |
HEADER = '\033[95m' |
Source: https://gitter.im/syl20bnr/spacemacs?at=5b45e03a60c38707837070b0 | |
Ljupcho Kotev @ljupchokotev 12:47 | |
It's best to use the xclip package | |
it works flawlessly | |
Add xclip to dotspacemacs-additional-packages and then (xclip-mode 1) in user-config | |
all copy/paste will work between terminal/spacemacs/gui/etc | |
you just need to have xclip installed, which probably already is |
#!/usr/bin/env python | |
""" | |
Example for SO_REUSEPORT | |
Usage: | |
Start multiple instances of this script and connect | |
to them via shared port 8080: $ echo data | nc localhost 8080 | |
""" | |
I hereby claim:
To claim this, I am signing this object:
# Caddyfile | |
localhost:8001 { | |
gzip | |
errors visible | |
log stderr | |
rewrite /static { | |
r (.*) | |
to /path/to/static/{1} |
# Caddyfile | |
localhost:2015 { | |
startup "go run ./server.go" & | |
root ./static_files | |
proxy / localhost:2016 | |
} | |
# FILE TREE | |
# |
#!/usr/bin/python | |
# -*- coding: utf-8 -*- | |
"""Solarized theme for pantheon-terminal | |
see http://ethanschoonover.com/solarized | |
""" | |
import posixpath | |
import sys | |
from gi.repository import Gio |