Skip to content

Instantly share code, notes, and snippets.

#!/usr/bin/env python
import pygtk
pygtk.require('2.0')
import gtk # sets app name
import gnomekeyring
def hack():
for keyring in gnomekeyring.list_keyring_names_sync():
for id in gnomekeyring.list_item_ids_sync(keyring):
#!/usr/bin/env python
import pygtk
pygtk.require('2.0')
import gtk # sets app name
import gnomekeyring
def hack():
for keyring in gnomekeyring.list_keyring_names_sync():
for id in gnomekeyring.list_item_ids_sync(keyring):
<!--?xml version="1.0"?-->
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<!-- /etc/fonts/fonts.conf file to configure system font access -->
<fontconfig>
<!-- workaround for wrong style and weight in NanumTTF 2.020 -->
<match target="scan">
<test name="fullname" qual="any" compare="eq">
<string>NanumMyeongjoBold</string><string>나눔명조 Bold</string>
<string>NanumGothicBold</string><string>나눔고딕 Bold</string>
script(src='/javascripts/jquery-1.7.min.js')
link(rel='stylesheet', href='/stylesheets/bootstrap.min.css')
link(rel='stylesheet', href='/stylesheets/bootstrap-overrides.css')
#!/bin/bash
emcc helloworld.cpp -o helloworld.js \
-s EXPORTED_FUNCTIONS="['_HW_constructor','_HW_destructor','_HW_setX','_HW_getX']"
cat helloworld-proxy.js >> helloworld.js
@franziskuskiefer
franziskuskiefer / gist:7975482
Created December 15, 2013 17:13
LNCS Keywords
\newenvironment{keywords}{
\list{}{\advance\topsep by0.35cm\relax\small
\leftmargin=1cm
\labelwidth=0.35cm
\listparindent=0.35cm
\itemindent\listparindent
\rightmargin\leftmargin}\item[\hskip\labelsep\bfseries Keywords:]}
{\endlist}
commit 60653010a812d77fb22882c3c0fee14370855e9c
Author: Franziskus Kiefer <franziskuskiefer@gmail.com>
Date: Tue May 24 10:33:48 2016 +0200
NSS appveyor
diff --git a/appveyor.yml b/appveyor.yml
new file mode 100644
index 0000000..0c84cde
--- /dev/null
@franziskuskiefer
franziskuskiefer / mod_nss.patch
Last active July 16, 2016 13:28
TLS 1.3 for mod_nss
diff --git a/Makefile.am b/Makefile.am
index c57cd09..b3e8451 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -22,7 +22,7 @@ libmodnss_la_LDFLAGS = -module -avoid-version
## Set the includes and libraries needed
AM_CPPFLAGS = -I@apache_inc@ @nspr_inc@ @nss_inc@ @apr_inc@
-LIBS = @nspr_lib@ @nss_lib@ -lssl3 -lsmime3 -lnss3 -lplc4 -lplds4 -lnspr4
+LIBS = @nspr_lib@ @nss_lib@ -lssl3 -lsmime3 -lnss3 -lplc4 -lplds4 -lnspr4 -lnssutil3
@franziskuskiefer
franziskuskiefer / arm.patch
Last active August 6, 2016 13:00
NSS arm gyp
diff -r 5d99ef9b5cb6 coreconf/config.gypi
--- a/coreconf/config.gypi Wed Aug 03 21:42:31 2016 -0400
+++ b/coreconf/config.gypi Sat Aug 06 12:57:33 2016 +0000
@@ -64,7 +64,6 @@
['OS=="linux"', {
'cflags': [
'-fPIC',
- '-m64',
'-pipe',
'-ffunction-sections',
@franziskuskiefer
franziskuskiefer / readme.md
Last active November 3, 2016 14:08
NSS readme

Network Security Services

Network Security Services (NSS) is a set of libraries designed to support cross-platform development of security-enabled client and server applications. NSS supports SSL v3-TLS 1.2 (experimental TLS 1.3), PKCS #5, PKCS #7, PKCS #11, PKCS #12, S/MIME, X.509 v3 certificates, and other security standards.

Getting started

In order to get started create a new directory on that you will be uses as your local work area, and check out NSS and NSPR. (Note that there's no git mirror of NSPR and you require mercurial to get the latest NSPR source.)

git clone https://github.com/nss-dev/nss.git
hg clone https://hg.mozilla.org/projects/nspr