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
$ sphinx-intl update-txconfig-resources --pot-dir ../build/locale --transifex-project-name sponge-docs | gist | |
Traceback (most recent call last): | |
File "/usr/local/bin/sphinx-intl", line 11, in <module> | |
sys.exit(main()) | |
File "/usr/local/lib/python2.7/site-packages/sphinx_intl/commands.py", line 576, in main | |
run(sys.argv[1:]) | |
File "/usr/local/lib/python2.7/site-packages/sphinx_intl/commands.py", line 568, in run | |
commands[cmd](options) | |
File "/usr/local/lib/python2.7/site-packages/sphinx_intl/commands.py", line 157, in __call__ | |
return self.function(**kwargs) |
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
html { | |
font-family: 'Lucida Grande'; | |
font-size: 9pt; | |
background-color: #f7f7f7; | |
color: #000; | |
word-wrap: break-word; | |
margin: 0; | |
padding: 0; | |
} |
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
# All colors must be in the form of '#rrggbb' or '#rgb'. | |
# You cannot use color names. | |
log-view: | |
nickname-format: '%n' | |
scroller-highlight-color: '#f0f' | |
input-text: | |
font-family: 'Lucida Grande' | |
font-size: 13.0 | |
background-color: '#fff' |
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
SELECT | |
"repo_namespace"."id", | |
"repo_namespace"."name", | |
"repo_repouser"."namespace_ptr_id", | |
"repo_repouser"."password", | |
"repo_repouser"."last_login", | |
"repo_repouser"."is_superuser", | |
"repo_repouser"."email", | |
"repo_repouser"."is_staff", | |
"repo_repouser"."is_active", |
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
from django.db.models import Q, F | |
from perms.spaces import QueryPermissionSpace | |
from repo.models import Project | |
space = QueryPermissionSpace() | |
@space.query_resolver('project.*') | |
def resolve_project_perms(perm, user): | |
return Project.objects.filter( |
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
:compileJava UP-TO-DATE | |
:processResources UP-TO-DATE | |
:classes UP-TO-DATE | |
:javadoc/Users/max/proj/sponge/SpongeAPI/src/main/java/org/spongepowered/api/world/storage/WorldStorage.java:31: warning: no description for @return | |
* @return | |
^ | |
/Users/max/proj/sponge/SpongeAPI/src/main/java/org/spongepowered/api/plugin/Plugin.java:45: warning: no @return | |
String id(); | |
^ | |
/Users/max/proj/sponge/SpongeAPI/src/main/java/org/spongepowered/api/plugin/Plugin.java:51: warning: no @return |
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
FAILURE: Build failed with an exception. | |
* Where: | |
Build file '/Users/max/proj/sponge/Soak/Cli/build.gradle' line: 3 | |
* What went wrong: | |
Error resolving plugin [id: 'com.github.hierynomus.license', version: '0.11.0'] | |
> Plugin 'com.github.hierynomus.license' is already on the script classpath. Plugins on the script classpath cannot be applied in the plugins {} block. Add "apply plugin: 'com.github.hierynomus.license'" to the body of the script to use the plugin. |
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
// All lists are immutable | |
public ComputedMessage computeAll(@Nullable Message parent) { | |
Message self = null; | |
if (parent == null) { | |
self = this; | |
} else { | |
self = Messages.compute(parent, self); | |
} |
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
{ | |
"name": "my-plugin", | |
"owner": "gratimax", | |
"version": "1.0-SNAPSHOT", | |
"dependencies": [ | |
["Lapis", "Commons", "1.0-SNAPSHOT"] | |
], | |
"maven": { | |
"repositories": { | |
"sponge": "https://repo.spongepowered.org/maven", |