View gist:62f6f5f2962631f1249573024d17ced4
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
In [3]: import accounting | |
In [4]: bulk_payment = accounting.transferwise.models.TransferWiseBulkPayment.objects.create() | |
In [5]: bulk_payment.sender | |
Out[5]: OpenCraft GmbH |
View gist:e6b79e70da259c6bdc1e8298206b9d5d
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
==> jira/var/jira/log/atlassian-jira-security.log <== | |
2019-11-18 12:10:18,390 ContainerBackgroundProcessor[StandardEngine[Catalina]] HttpSession [rkma34] destroyed for 'crafty' | |
2019-11-18 12:10:18,418 http-nio-6002-exec-1674 crafty 730x1077661x36 kl2gv2 194.99.105.238,127.0.0.1 /rest/api/2/field The user 'crafty' has PASSED authentication. | |
2019-11-18 12:10:18,441 ContainerBackgroundProcessor[StandardEngine[Catalina]] HttpSession [1ux4r9f] destroyed for 'crafty' | |
2019-11-18 12:10:18,393 http-nio-6002-exec-1498 HttpSession [1u14odc] destroyed for 'crafty' | |
2019-11-18 12:10:18,445 ContainerBackgroundProcessor[StandardEngine[Catalina]] HttpSession [161y7wu] destroyed for 'crafty' | |
2019-11-18 12:10:18,448 ContainerBackgroundProcessor[StandardEngine[Catalina]] HttpSession [1mmowc] destroyed for 'crafty' | |
2019-11-18 12:10:18,450 ContainerBackgroundProcessor[StandardEngine[Catalina]] HttpSession [18tmzug] destroyed for 'crafty' | |
2019-11-18 12:10:18,457 ContainerBackgroundProcessor[StandardEng |
View gist:1057e98981fec4373b5d7502a4d3a58e
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
(tutorial-kivy-7Nh2uCqt) antoviaque@antoviaque-laptop2:~/prog/android/tutorial-kivy$ diff /home/antoviaque/.buildozer/android/platform/android-sdk/tools/bin/sdkmanager ~/bin/android-sdk/tools/bin/sdkmanager | |
31c31 | |
< DEFAULT_JVM_OPTS='"-Dcom.android.sdklib.toolsdir=$APP_HOME"' | |
--- | |
> DEFAULT_JVM_OPTS='"-Dcom.android.sdklib.toolsdir=$APP_HOME" -XX:+IgnoreUnrecognizedVMOptions --add-modules java.se.ee' | |
67c67 | |
< CLASSPATH=$APP_HOME/lib/dvlib-26.0.0-dev.jar:$APP_HOME/lib/jimfs-1.1.jar:$APP_HOME/lib/jsr305-1.3.9.jar:$APP_HOME/lib/repository-26.0.0-dev.jar:$APP_HOME/lib/j2objc-annotations-1.1.jar:$APP_HOME/lib/layoutlib-api-26.0.0-dev.jar:$APP_HOME/lib/gson-2.3.jar:$APP_HOME/lib/httpcore-4.2.5.jar:$APP_HOME/lib/commons-logging-1.1.1.jar:$APP_HOME/lib/commons-compress-1.12.jar:$APP_HOME/lib/annotations-26.0.0-dev.jar:$APP_HOME/lib/error_prone_annotations-2.0.18.jar:$APP_HOME/lib/animal-sniffer-annotations-1.14.jar:$APP_HOME/lib/httpclient-4.2.6.jar:$APP_HOME/lib/commons-codec-1.6.jar:$APP_HOME/lib/common-26.0.0-dev.jar |
View gist:feb41d376f7dcef65a73e32d27af48ca
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
$ whois opencraft.com | |
Domain Name: OPENCRAFT.COM | |
Registry Domain ID: 1637242545_DOMAIN_COM-VRSN | |
Registrar WHOIS Server: whois.gandi.net | |
Registrar URL: http://www.gandi.net | |
Updated Date: 2018-12-05T09:00:30Z | |
Creation Date: 2011-01-27T19:37:30Z | |
Registry Expiry Date: 2027-01-27T19:37:30Z | |
Registrar: Gandi SAS | |
Registrar IANA ID: 81 |
View gist:6e5c75d783b1f386408d04bfad38624a
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
2018-10-29 00:58:29,616 JIRA-Bootstrap INFO [c.t.upgrade.tempo7.UpgradeTask33MigratePeriod] Running upgrade: 733: Migrate all Periods to Active Objects. | |
2018-10-29 00:58:29,756 JIRA-Bootstrap DEBUG [c.a.activeobjects.osgi.ActiveObjectsServiceFactory] getService bundle [is.origo.jira.tempo-plugin] | |
2018-10-29 00:58:30,757 JIRA-Bootstrap ERROR [c.a.s.core.upgrade.PluginUpgrader] Upgrade failed: org.joda.time.IllegalFieldValueException: Cannot parse "15092017": Value 15 for monthOfYear must be in the range [1,12] | |
com.atlassian.cache.CacheException: org.joda.time.IllegalFieldValueException: Cannot parse "15092017": Value 15 for monthOfYear must be in the range [1,12] | |
at com.atlassian.cache.memory.DelegatingCache.get(DelegatingCache.java:211) | |
at com.atlassian.cache.memory.DelegatingCache.get(DelegatingCache.java:162) | |
at com.tempoplugin.platform.jira.cache.JiraObjectCache.get(JiraObjectCache.java:31) | |
at com.tempoplugin.period.ao.PeriodAOServiceCache.doesPeriodKeyExist(P |
View gist:6413ee952385b31330cfb6a13ec5ed02
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
2018-03-14 14:29:44,352 http-nio-6002-exec-26 ERROR antoviaque 868x285286x24 6g5bys 89.130.210.167,127.0.0.1 /rest/projects/1.0/project/ADMIN/lastVisited [c.a.p.r.c.error.jersey.ThrowableExceptionMapper] Uncaught exception thrown by REST service: Failed operation: SetOperation[entityName=ApplicationUser,entityId=10000,propertyKey=last-visited-item.10901,newType=5,newMapper=TypeMapper[handler=StringPropertyHandler,valueEntity=OSPropertyString]] | |
com.opensymphony.module.propertyset.PropertyImplementationException: Failed operation: SetOperation[entityName=ApplicationUser,entityId=10000,propertyKey=last-visited-item.10901,newType=5,newMapper=TypeMapper[handler=StringPropertyHandler,valueEntity=OSPropertyString]] | |
at com.atlassian.jira.propertyset.CachingOfBizPropertyEntryStore.propEx(CachingOfBizPropertyEntryStore.java:332) | |
at com.atlassian.jira.propertyset.CachingOfBizPropertyEntryStore.retry(CachingOfBizPropertyEntryStore.java:318) | |
at com.atlassian.jira.propertyset.CachingOfBizPropertyEnt |
View gist:dfc0078c07685df253ccd63a7698dfb8
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
root@discourse-opencraft:/var/discourse# ./launcher enter app | |
WARNING: Docker version 17.05.0-ce deprecated, recommend upgrade to 17.06.2 or newer. | |
root@discourse-opencraft-app:/var/www/discourse# cd / | |
root@discourse-opencraft-app:/# lsb_release -a | |
No LSB modules are available. | |
Distributor ID: Ubuntu | |
Description: Ubuntu 16.04.3 LTS | |
Release: 16.04 | |
Codename: xenial | |
root@discourse-opencraft-app:/# ps fauxwww |
View readyforsprint_scriptfield.java
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 com.atlassian.jira.component.ComponentAccessor | |
import com.atlassian.jira.issue.CustomFieldManager | |
import com.atlassian.jira.issue.fields.CustomField | |
// Main ////////////////////////////////////////////////////////////////////////////// | |
if(issue.issueType.name != "Story" && issue.issueType.name != "Bug") { | |
return null | |
} |
View gist:443c8a507d52aaccf76b18a46258da56
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
# Ensure to disable auto-indent before pasting in ipython: %autoindent | |
# TODO: Disable monitoring | |
# TODO: Hide from UX (archive) | |
from pr_watch import github | |
for instance in OpenEdXInstance.objects.filter(watchedpullrequest__isnull=False): | |
pr = github.get_object_from_url('https://api.github.com/repos/{}/pulls/{}'.format( | |
instance.watchedpullrequest.target_fork_name, | |
instance.watchedpullrequest.github_pr_number | |
)) |
View gist:216046586b051c3ae1265b54f2d02f71
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
# Ensure to disable auto-indent before pasting in ipython: %autoindent | |
from instance.models.appserver import Status | |
for instance in OpenEdXInstance.objects.all(): | |
for appserver in instance.appserver_set.all(): | |
if appserver.status == Status.ConfigurationFailed: | |
appserver.terminate_vm() | |
elif instance.active_appserver and appserver.created < instance.active_appserver.created: | |
appserver.terminate_vm() |
NewerOlder