Skip to content

Instantly share code, notes, and snippets.

Avatar
🎄
Sticking packages under the pypi tree.....

Sorin Sbarnea ssbarnea

🎄
Sticking packages under the pypi tree.....
View GitHub Profile
View lync_crash.log
Microsoft Error Reporting log version: 2.0
Error Signature:
Exception: EXC_BAD_ACCESS
Date/Time: 2014-02-12 12:58:44 +0000
Application Name: Microsoft Lync
Application Bundle ID: com.microsoft.Lync
Application Signature: UCCP
Application Version: 14.0.7.131205
Crashed Module Name: libobjc.A.dylib
View ldap_query_all_pages.py
def search_ext_s(self, filterstr=None, attrlist=None):
pages = 0
timeout = -1
ret = []
serverctrls = None
clientctrls = None
msgid = self.conn.search_ext(
self.base,
View ifconfig
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
options=3<RXCSUM,TXCSUM>
inet6 ::1 prefixlen 128
inet 127.0.0.1 netmask 0xff000000
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1
nd6 options=1<PERFORMNUD>
gif0: flags=8010<POINTOPOINT,MULTICAST> mtu 1280
stf0: flags=0<> mtu 1280
en1: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500
ether 60:c5:47:8e:b1:74
View sample-pyral-usage.py
...
for r in rally.get("User Story', fetch=True, query=""):
full_resource_url = "%s/analytics/v2.0/service/rally/workspace/%s/artifact/snapshot/query.js" % ("https://rally1.rallydev.com", r.Workspace.oid)
item = {
"find": {
"ObjectID": r.oid
},
@ssbarnea
ssbarnea / cyberduck.log
Created Jul 5, 2014
dsm5-unable-to-scp
View cyberduck.log
Unxepeced end os SFTP stream:
SSH_FXP_INIT
View python-ldap3.py
u = urlparse(url)
if u.scheme == 'ldaps':
use_ssl = True
else:
use_ssl = False
if ":" in u.hostname:
u.hostname = u.hostname.split(":")[0]
if dn is None:
import netrc
View tomcat.yaml
# List of metrics to be collected by the integration
# Read http://docs.datadoghq.com/integrations/java/ to learn how to customize it
instances:
- host: localhost
port: 8091
name: jmx_confluence
- host: localhost
port: 8081
name: jmx_jira
- host: localhost
View gist:9d4ddba4ff507e17c5cc
root@hera:/etc/gitlab# sudo gitlab-rake gitlab:check
[deprecated] I18n.enforce_available_locales will default to true in the future. If you really want to skip validation of your locale you can set I18n.enforce_available_locales = false to avoid this message.
Checking Environment ...
Git configured for git user? ... yes
Checking Environment ... Finished
Checking GitLab Shell ...
@ssbarnea
ssbarnea / gist:448f326d5c0147f7d2c8
Created Oct 24, 2014
datadog-agent-reinstall-debian.log
View gist:448f326d5c0147f7d2c8
root@tracker:/etc/init.d# apt-get remove datadog-agent
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
libjaxp1.3-java libgcj-bc gcj-4.4-base gcj-4.4-jre-lib libgcj10 libxerces2-java-gcj php5-suhosin libjaxp1.3-java-gcj
Use 'apt-get autoremove' to remove them.
The following packages will be REMOVED:
datadog-agent
0 upgraded, 0 newly installed, 1 to remove and 83 not upgraded.
@ssbarnea
ssbarnea / jira.error
Created Dec 16, 2014
jira-6.4m12-error
View jira.error
HTTP Status 500 - org.apache.jasper.JasperException: Unable to compile class for JSP:
type Exception report
message org.apache.jasper.JasperException: Unable to compile class for JSP:
description The server encountered an internal error that prevented it from fulfilling this request.
exception