Skip to content

Instantly share code, notes, and snippets.

View actuosus's full-sized avatar

Arthur Chafonov actuosus

View GitHub Profile
XPTemplate priority=lang-
let s:f = g:XPTfuncs()
XPTvar $CL {#
XPTvar $CR #}
XPTinclude
\ _common/common
XPTemplate priority=lang-
let s:f = g:XPTfuncs()
XPTvar $CL {#
XPTvar $CR #}
XPTinclude
\ _common/common
XPTemplate priority=lang-
let s:f = g:XPTfuncs()
XPTvar $CL {#
XPTvar $CR #}
XPTinclude
\ _comment/doubleSign
XPTinclude
@actuosus
actuosus / request_checker.py
Created June 16, 2011 15:25
Debug toolbar OPTIONS request traceback
Traceback (most recent call last):
File "/projects/.virtualenv/lib/python2.6/site-packages/django/core/handlers/wsgi.py", line 273, in __call__
response = self.get_response(request)
File "/projects/.virtualenv/lib/python2.6/site-packages/django/core/handlers/base.py", line 182, in get_response
response = self.handle_uncaught_exception(request, resolver, sys.exc_info())
File "/projects/.virtualenv/lib/python2.6/site-packages/django/core/handlers/base.py", line 203, in handle_uncaught_exception
return debug.technical_500_response(request, *exc_info)
File "/projects/.virtualenv/lib/python2.6/site-packages/django/core/handlers/base.py", line 178, in get_response
response = middleware_method(request, response)
File "/projects/.virtualenv/lib/python2.6/site-packages/debug_toolbar/middleware.py", line 106, in process_response
@actuosus
actuosus / hl2_osx_2011-07-08-182826_actuosus.crash
Created July 9, 2011 22:50
Crash log for Team Fortress 2 on Mac OS X 10.7
Process: hl2_osx [41992]
Path: /Users/USER/Library/Application Support/Steam/*/hl2_osx
Identifier: hl2_osx
Version: ??? (???)
Code Type: X86 (Native)
Parent Process: steam [41552]
Date/Time: 2011-07-08 18:26:35.470 +0400
OS Version: Mac OS X Server 10.7 (11A480b)
Report Version: 9
@actuosus
actuosus / IntelliJad-Plus-Stacktrace.log
Created January 18, 2012 23:42
IntelliJad Plus fatal error stacktrace without "Output directory" option
Argument 0 for @NotNull parameter of com/intellij/openapi/vfs/impl/local/LocalFileSystemBase.findFileByPath must not be null: Argument 0 for @NotNull parameter of com/intellij/openapi/vfs/impl/local/LocalFileSystemBase.findFileByPath must not be null
java.lang.IllegalArgumentException: Argument 0 for @NotNull parameter of com/intellij/openapi/vfs/impl/local/LocalFileSystemBase.findFileByPath must not be null
at com.intellij.openapi.vfs.impl.local.LocalFileSystemBase.findFileByPath(LocalFileSystemBase.java)
at net.stevechaloner.intellijad.IntelliJad.decompile(IntelliJad.java:249)
at net.stevechaloner.intellijad.actions.NavigationListener$1$1.execute(NavigationListener.java:70)
at net.stevechaloner.intellijad.actions.NavigationListener.fileOpened(NavigationListener.java:154)
at sun.reflect.GeneratedMethodAccessor30.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.intellij.util.messag
@actuosus
actuosus / error
Created April 13, 2012 20:17
Trying to get SOAP node module working with Meteor.
node.js:201
throw e; // process.nextTick error, or 'error' event on first tick
^
ReferenceError: require is not defined
at app/node_modules/soap/node_modules/node-expat/lib/node-expat.js:1:20
at /Users/actuosus/Projects/leaderboard/.meteor/local/build/server/server.js:111:21
at Array.forEach (native)
at Function.<anonymous> (/Users/actuosus/Projects/leaderboard/.meteor/local/build/server/underscore.js:76:11)
at /Users/actuosus/Projects/leaderboard/.meteor/local/build/server/server.js:97:7
Exited with code: 1
@actuosus
actuosus / Scuba Diving.xml
Created October 24, 2012 08:04
Scuba Diving JOSM Tagging Preset
<annotations
xmlns="http://josm.openstreetmap.de/tagging-preset-1.0"
author="Role74, Tric, actuosus"
version="0.11"
shortdescription="Tauchplatz properties"
description="dive sites"
de.shortdescription="Eigenschaften Tauchplatz"
de.description="Eigenschafen Tauchplätze"
ru.shortdescription="Свойства мест погружения"
ru.description="Места погружений"
@actuosus
actuosus / nginx.conf
Created January 24, 2014 14:51
nginx request slowdown.
http {
# ...
server {
listen 8081;
server_name localhost;
location / {
proxy_pass http://localhost:8000/;
proxy_buffering on;
@actuosus
actuosus / scroll_bug_test.html
Created April 14, 2015 17:13
Chrome scroll bug
<style>
.fixed {
position: fixed;
min-width: 600px;
top: 20px;
bottom: 20px;
right: 20px;
overflow-y: auto;
border: 1px solid gray;
padding: 20px;