Filename being [name]_test.go
package yourpackage
import (
"testing"
)
#!/usr/bin/env python3 | |
import requests | |
import sys | |
a = set() | |
def fofo(uri): | |
resp = requests.get(uri) | |
if resp.status_code != 200: |
# | |
# Sphinx configuration file sample | |
# | |
# WARNING! While this sample file mentions all available options, | |
# it contains (very) short helper descriptions only. Please refer to | |
# doc/sphinx.html for details. | |
# | |
############################################################################# | |
## data source definition |
package main | |
import ( | |
"testing" | |
"encoding/json" | |
"encoding/gob" | |
"bytes" | |
) | |
// initialisation |
{ | |
"fa-500px": "icon five hundred pixels", | |
"fa-adjust": "icon adjust", | |
"fa-adn": "icon adn", | |
"fa-align-center": "icon align center", | |
"fa-align-justify": "icon align justify", | |
"fa-align-left": "icon align left", | |
"fa-align-right": "icon align right", | |
"fa-amazon": "icon amazon", | |
"fa-ambulance": "icon ambulance", |
package main | |
import ( | |
"fmt" | |
"sync" | |
"time" | |
) | |
func main() { | |
rl := &specificRateLimiter{ |
#!/usr/bin/env bash | |
go test -v -bench . -cover -coverprofile=profile.out ./... | |
go tool cover -html=profile.out | |
rm profile.out |
// ==UserScript== | |
// @name m.zxq.co beatmap mirror | |
// @namespace https://m.zxq.co/ | |
// @version 0.1 | |
// @description faster osu! beatmaps downloads, yay! | |
// @author Howl | |
// @match http*://osu.ppy.sh/s/* | |
// @match http*://osu.ppy.sh/b/* | |
// @grant GM_xmlhttpRequest | |
// @connect m.zxq.co |
body { | |
width: 980px; | |
} | |
#left { | |
float: left; width: 520px; | |
} | |
#wrapper { | |
width: 500px; | |
height: 600px; | |
min-height: 600px; |
#!/usr/bin/env bash | |
if [ -z ${1+x} ]; then | |
echo 'Usage:' | |
echo ' ggd [go package]' | |
exit 0 | |
fi | |
xdg-open https://godoc.org/"$1" > /dev/null |