This file contains 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
function range(start, end, order) { | |
var arr = [], i; | |
if (order === -1) { | |
for (i = start; i >= end; i--) { | |
arr.push(i); | |
} | |
} else { | |
for (i = start; i <= end; i++) { | |
arr.push(i); |
This file contains 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
package main | |
import "fmt" | |
func main() { | |
fmt.Println("Hello, world!") | |
} |
This file contains 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
→ gitea $ TAGS="bindata" make generate all G:master[15H] fb3954f | |
can't load package: package github.com/go-gitea/gitea: code in directory /Users/isaac/ws/src/github.com/go-gitea/gitea expects import "code.gitea.io/gitea" | |
go generate github.com/go-gitea/gitea/cmd github.com/go-gitea/gitea/integrations github.com/go-gitea/gitea/models github.com/go-gitea/gitea/models/migrations github.com/go-gitea/gitea/modules/auth github.com/go-gitea/gitea/modules/auth/ldap github.com/go-gitea/gitea/modules/auth/oauth2 github.com/go-gitea/gitea/modules/auth/openid github.com/go-gitea/gitea/modules/auth/pam github.com/go-gitea/gitea/modules/avatar github.com/go-gitea/gitea/modules/base github.com/go-gitea/gitea/modules/cache github.com/go-gitea/gitea/modules/context github.com/go-gitea/gitea/modules/cron github.com/go-gitea/gitea/modules/generate github.com/go-gitea/gitea/modules/highlight github.com/go-gitea/gitea/modules/httplib github.com/go-gitea/gitea/modules/ |
This file contains 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
import axios from 'axios'; | |
import * as JSONC from '@sqs/jsonc-parser' | |
const getUsersQuery = `query AllUsers { | |
users { | |
nodes { | |
id | |
username | |
latestSettings { | |
id |