Skip to content

Instantly share code, notes, and snippets.

View RomainMuller's full-sized avatar
👨‍💻
Programming Linguist

Romain Marcadier RomainMuller

👨‍💻
Programming Linguist
View GitHub Profile
@RomainMuller
RomainMuller / eclipse-java-formatter.xml
Last active March 19, 2019 09:03
Eclipse Java Formatter Configuration
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<profiles version="15">
<profile kind="CodeFormatterProfile" name="RomainMuller" version="15">
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_ellipsis" value="insert"/>
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_enum_declarations" value="insert"/>
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_allocation_expression" value="do not insert"/>
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_at_in_annotation_type_declaration" value="insert"/>
<setting id="org.eclipse.jdt.core.formatter.parentheses_positions_in_for_statment" value="common_lines"/>
<setting id="org.eclipse.jdt.core.formatter.comment.new_lines_at_block_boundaries" value="true"/>
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_constructor_declaration_parameters" value="insert"/>
@RomainMuller
RomainMuller / gnupg21-pcsc-shared.patch
Last active March 8, 2017 20:52
A patch to have GnuPG21 use shared access to PC/SC. SHA256: bb1586db3315ae84916d24de67a8e531fd8883e42303c018af27ae936f00ba97
diff --git a/scd/apdu.c b/scd/apdu.c
index 149154c..d9b166c 100644
--- a/scd/apdu.c
+++ b/scd/apdu.c
@@ -1535,7 +1535,7 @@ connect_pcsc_card (int slot)
err = pcsc_connect (reader_table[slot].pcsc.context,
reader_table[slot].rdrname,
- PCSC_SHARE_EXCLUSIVE,
+ PCSC_SHARE_SHARED,
@RomainMuller
RomainMuller / keybase.md
Created September 29, 2016 13:30
Keybase Proof - RomainMuller

Keybase proof

I hereby claim:

  • I am romainmuller on github.
  • I am romainmuller (https://keybase.io/romainmuller) on keybase.
  • I have a public key ASD2xC1S8HrOpcOjZlUS3EK2N30D0V-J63wYAj_tTRRLtgo

To claim this, I am signing this object: