Skip to content

Instantly share code, notes, and snippets.

View mcepl's full-sized avatar

Matěj Cepl mcepl

View GitHub Profile
@mcepl
mcepl / logcat.txt
Created January 12, 2014 20:17
Ouptut of adb logcat
--------- beginning of /dev/log/system
D/MobileDataStateTracker( 601): ims: Received state=DISCONNECTED, old=DISCONNECTED, reason=dataEnabled
D/MobileDataStateTracker( 601): mms: Broadcast received: android.intent.action.ANY_DATA_STATE apnType=mms
D/MobileDataStateTracker( 601): mms: Received state=DISCONNECTED, old=DISCONNECTED, reason=dataEnabled
D/MobileDataStateTracker( 601): cbs: Broadcast received: android.intent.action.ANY_DATA_STATE apnType=cbs
D/MobileDataStateTracker( 601): cbs: Received state=DISCONNECTED, old=DISCONNECTED, reason=dataEnabled
D/MobileDataStateTracker( 601): hipri: Broadcast received: android.intent.action.ANY_DATA_STATE apnType=hipri
D/MobileDataStateTracker( 601): hipri: Received state=CONNECTED, old=CONNECTING, reason=dataEnabled
D/MobileDataStateTracker( 601): hipri: setDetailed state, old =CONNECTING and new state=CONNECTED
D/ConnectivityService( 601): ConnectivityChange for mobile_hipri: CONNECTED/CONNECTED
From c372494b2a6d0e2b11bddf9a976d7431e3cc6816 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Mat=C4=9Bj=20Cepl?= <[email protected]>
Date: Fri, 10 Aug 2012 01:14:06 +0200
Subject: [PATCH] Add configuration files.
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
* webapp/config.inc.php
* .gitignore
@mcepl
mcepl / AssertionError_at.html
Created December 17, 2013 19:28
Error when displaying blog (after were downloaded from dumpdata output).
<!DOCTYPE html>
<html lang="en"><head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<meta name="robots" content="NONE,NOARCHIVE">
<title>AssertionError at /</title>
<style type="text/css">
html * { padding:0; margin:0; }
body * { padding:10px 20px; }
body * * { padding:0; }
body { font:small sans-serif; }
@mcepl
mcepl / make-check-log.txt
Created December 13, 2013 14:10
result of the make check on servo from 2013-12-13
This file has been truncated, but you can view the full file.
check: glfw
make[1]: Entering directory `/home/matej/archiv/knihovna/repos/tmp/servo/build/x86_64-unknown-linux-gnu/src/support/glfw/glfw'
make[1]: Nothing to be done for `check'.
make[1]: Leaving directory `/home/matej/archiv/knihovna/repos/tmp/servo/build/x86_64-unknown-linux-gnu/src/support/glfw/glfw'
check: glfw-rs
make[1]: Entering directory `/home/matej/archiv/knihovna/repos/tmp/servo/build/x86_64-unknown-linux-gnu/src/support/glfw/glfw-rs'
make[1]: Nothing to be done for `check'.
make[1]: Leaving directory `/home/matej/archiv/knihovna/repos/tmp/servo/build/x86_64-unknown-linux-gnu/src/support/glfw/glfw-rs'
check: rust-fontconfig
make[1]: Entering directory `/home/matej/archiv/knihovna/repos/tmp/servo/build/x86_64-unknown-linux-gnu/src/platform/linux/rust-fontconfig'
#!/usr/bin/python
import json
import sys
import io
import logging
logging.basicConfig(format='%(levelname)s:%(funcName)s:%(message)s',
level=logging.INFO)
import requests
diff --git a/.hgignore b/.hgignore
new file mode 100644
--- /dev/null
+++ b/.hgignore
@@ -0,0 +1,9 @@
+syntax:glob
+
+*.pyc
+*.*~
+*.*.orig
--- m2crypto-0.21.1.orig/setup.py
+++ m2crypto-0.21.1/setup.py
@@ -54,6 +54,10 @@
self.swig_opts = ['-I%s' % i for i in self.include_dirs + \
[opensslIncludeDir]]
+ if 'DEB_HOST_MULTIARCH' in os.environ:
+ opensslMultiarchIncludeDir = os.path.join(
+ opensslIncludeDir, os.environ['DEB_HOST_MULTIARCH'])
+ self.swig_opts.append('-I%s' % opensslMultiarchIncludeDir)
diff --git a/app.js b/app.js
index 7067f35..dc78555 100644
--- a/app.js
+++ b/app.js
@@ -1,5 +1,6 @@
var SWMgr = require("./lib/SWModuleMgr.js");
+console.log(SWMgr.getGlobalPath());
SWMgr.getModule("esv", function (inModule) {
@mcepl
mcepl / bn.h
Last active December 14, 2015 13:38
/* crypto/bn/bn.h */
/* Copyright (C) 1995-1997 Eric Young ([email protected])
* All rights reserved.
*
* This package is an SSL implementation written
* by Eric Young ([email protected]).
* The implementation was written so as to conform with Netscapes SSL.
*
* This library is free for commercial and non-commercial use as long as
* the following conditions are aheared to. The following conditions
@mcepl
mcepl / servo-build-log.txt
Last active December 14, 2015 04:39
record of make command
This file has been truncated, but you can view the full file.
Script started on Wed 27 Mar 2013 00:46:14 CET
[?1034hmatej@wycliff: build (master)$ ../configure
configure: looking for configure programs
configure: found cmp
configure: found mkdir
configure: found printf
configure: found cut
configure: found grep
configure: found xargs
configure: found cp