Skip to content

Instantly share code, notes, and snippets.

View nicolas-raoul's full-sized avatar
🙂

Nicolas Raoul nicolas-raoul

🙂
View GitHub Profile
@nicolas-raoul
nicolas-raoul / grepdeck.sh
Created June 20, 2011 04:59
A script to grep through an Anki deck
#!/bin/sh
#
# Search for a term within an Anki deck.
#
# Usage: grepdeck.sh somedeck.anki someword
#
# You might want to add such an alias to your .bashrc :
# alias gdj='~/programs/grepdeck.sh ~/decks/japanese.anki'
# Then usage becomes for instance: gdj 仕組み
@nicolas-raoul
nicolas-raoul / gist:1661043
Created January 23, 2012 06:05
Configuration to fix the "Enter at least 1 character(s) to search" issue in Alfresco Share
<!--
Overridden Search config entries to:
- remove minimum search term length for all searches.
-->
<config evaluator="string-compare" condition="Search" replace="true">
<search>
<!-- default minimum length for search terms -->
<min-search-term-length>0</min-search-term-length>
<!-- default maximum number of results for a search -->
@nicolas-raoul
nicolas-raoul / dump2pdf.sh
Last active December 2, 2019 10:10 — forked from rogerleite/tdg.rb
#!/bin/sh
# Usage example: ./dump2pdf log_file output_file.pdf
ruby tdg.rb $1 > /tmp/graph.dot
dot -Tpdf /tmp/output_file.dot -o $2
@nicolas-raoul
nicolas-raoul / gist:5353128
Created April 10, 2013 09:18
Error deploying esync
[INFO] Scanning for projects...
[WARNING]
[WARNING] Some problems were encountered while building the effective model for com.eossonline:esync:jar:0.9.0
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-source-plugin is missing. @ line 29, column 12
[WARNING]
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
[WARNING]
[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
[WARNING]
[INFO]
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Samsung Galaxy S3 (m0)
Google Nexus 5 (hammerhead)
Google Nexus 7 (2012) (grouper)
Samsung Galaxy S2 (GT-I9100)
Samsung Galaxy S4 (jflte)
Google Nexus 4 (mako)
Google Nexus 7 (flo)
HTC HTC One (m7)
Samsung Galaxy S3 Mini (golden)
Samsung Galaxy S5 (klte)
@nicolas-raoul
nicolas-raoul / gist:52cf7c56d3109ee54ab4
Created February 18, 2015 08:57
sharshell-incompatibility
Microsoft Office OneNote MUI (English) 2010
Microsoft Office Standard 2010
Microsoft Office Visio MUI (English) 2010
Microsoft Office Shared Setup Metadata MUI (English) 2010
Microsoft Office Excel MUI (English) 2010
Microsoft Office Shared 64-bit Setup Metadata MUI (English) 2010
Microsoft Office Visio 2010
Microsoft Office PowerPoint MUI (English) 2010
Microsoft Office IME (Japanese) 2010
@nicolas-raoul
nicolas-raoul / gist:6e549a426fe13b18a198
Created March 2, 2015 08:50
Alfresco CMIS changes request not containing latestChangeLogToken
<?xml version="1.0" encoding="UTF-8"?>
<app:service xmlns:app="http://www.w3.org/2007/app" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:cmis="http://docs.oasis-open.org/ns/cmis/core/200908/" xmlns:cmisra="http://docs.oasis-open.org/ns/cmis/restatom/200908/">
<app:workspace>
<atom:title>-default-</atom:title>
<app:collection href="http://localhost:8080/alfresco/api/-default-/public/cmis/versions/1.0/atom/children?id=3c4ba035-7a2d-4ac3-b9bc-1f8aa5e4049b">
<cmisra:collectionType>root</cmisra:collectionType>
<atom:title type="text">Root Collection</atom:title>
<app:accept>application/atom+xml;type=entry</app:accept>
<app:accept>application/cmisatom+xml</app:accept>
</app:collection>
@nicolas-raoul
nicolas-raoul / gist:42a0ccca03b1909495a7
Created March 3, 2015 08:29
ALF-21276 with http://localhost:8080/alfresco/api/-default-/public/cmis/versions/1.1/atom/changes
<?xml version='1.0' encoding='UTF-8'?><atom:feed xmlns:atom="http://www.w3.org/2005/Atom" xmlns:cmis="http://docs.oasis-open.org/ns/cmis/core/200908/" xmlns:cmisra="http://docs.oasis-open.org/ns/cmis/restatom/200908/" xmlns:app="http://www.w3.org/2007/app"><atom:author><atom:name></atom:name></atom:author><atom:id>http://chemistry.apache.org/Y29udGVudENoYW5nZXM=</atom:id><atom:title>Content Change</atom:title><app:edited>2015-03-03T17:28:40.768+09:00</app:edited><atom:updated>2015-03-03T17:28:40.768+09:00</atom:updated><atom:link rel="service" href="http://localhost:8080/alfresco/api/-default-/public/cmis/versions/1.1/atom?repositoryId=-default-" type="application/atomsvc+xml"/><atom:link rel="self" href="http://localhost:8080/alfresco/api/-default-/public/cmis/versions/1.1/atom/changes" type="application/atom+xml;type=feed"/></atom:feed>
@nicolas-raoul
nicolas-raoul / gist:486046960d42736fa704
Created March 3, 2015 08:33
ALF-21276 with http://localhost:8080/alfresco/api/-default-/public/cmis/versions/1.0/atom/changes
<?xml version='1.0' encoding='UTF-8'?><atom:feed xmlns:atom="http://www.w3.org/2005/Atom" xmlns:cmis="http://docs.oasis-open.org/ns/cmis/core/200908/" xmlns:cmisra="http://docs.oasis-open.org/ns/cmis/restatom/200908/" xmlns:app="http://www.w3.org/2007/app"><atom:author><atom:name></atom:name></atom:author><atom:id>http://chemistry.apache.org/Y29udGVudENoYW5nZXM=</atom:id><atom:title>Content Change</atom:title><app:edited>2015-03-03T17:31:02.117+09:00</app:edited><atom:updated>2015-03-03T17:31:02.117+09:00</atom:updated><atom:link rel="service" href="http://localhost:8080/alfresco/api/-default-/public/cmis/versions/1.0/atom?repositoryId=-default-" type="application/atomsvc+xml"/><atom:link rel="self" href="http://localhost:8080/alfresco/api/-default-/public/cmis/versions/1.0/atom/changes" type="application/atom+xml;type=feed"/></atom:feed>