This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# | |
STARTDATE="$(date -d '2015-09-14 10:30:00-000' '+%a %e %b %R')" | |
SUMMARY="Déjeuner avec M." | |
ics=$(mktemp --suffix=.ics) | |
cat > "${ics}" <<EOF | |
BEGIN:VCALENDAR | |
VERSION:2.0 | |
PRODID:ownCloud Calendar | |
CALSCALE:GREGORIAN |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@VertxGen | |
public interface Event { | |
String getProjectId(); | |
long getCreation(); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for ind in $(seq ${users_nb}) | |
do | |
users_list=("${users_list[@]}" "${users[${ind}]}" "${users_comment[${ind}]}") | |
done | |
backtitle='backtitle' | |
title='title' | |
help_text='help text' | |
dialog --clear --help-button --nocancel --colors --backtitle "${backtitle}" --title "${title}" --menu "${help_text}" 18 110 10 "${users_list[@]}" 2>"${INPUT}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"application": { | |
"name": "Firefox", | |
"osVersion": "Linux 4.5.0-0.bpo.2-amd64", | |
"version": "49.0a1", | |
"buildID": "20160605030215", | |
"userAgent": "Mozilla/5.0 (X11; Linux x86_64; rv:49.0) Gecko/20100101 Firefox/49.0", | |
"safeMode": false, | |
"updateChannel": "nightly", | |
"supportURL": "https://support.mozilla.org/1/firefox/49.0a1/Linux/fr/", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Paramètres de base de l'application | |
Nom: Thunderbird | |
Version: 45.2.0 | |
Agent utilisateur: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 | |
Répertoire de profil: Ouvrir le dossier correspondant | |
(Lecteur local) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/zsh | |
IDEA_SCRIPT=$(print -l /opt/idea-IU-*/bin/idea.sh | sort | tail -n1) | |
/usr/local/bin/reset-signal "${IDEA_SCRIPT}" &> /dev/null & |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[user] | |
name = Michel Barret | |
email = michel.barret@inovatel.com | |
[push] | |
default = simple | |
[alias] | |
st = status --short --branch | |
co = checkout | |
br = branch | |
fetch = fetch --prune |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import info.q37.atlas.*; | |
class Hello extends Atlas { | |
public void handle( DOM dom, String action, String id ) | |
{ | |
String head = | |
"<title>\"Hello, World !\" example</title>" + | |
"<style type=\"text/css\">" + | |
" html, body { height: 100%; padding: 0; margin: 0; }" + | |
" .vcenter-out, .hcenter { display: table; height: 100%; margin: auto; }" + |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
from yaml import safe_load_all, dump | |
import sys | |
import pika | |
def serialize(channel, method, props, body): | |
msg={'body': body.decode('utf-8'), 'headers': props.headers, 'routingkey': method.routing_key} | |
dump(msg, sys.stdout, default_flow_style=False) | |
sys.stdout.write('---\n') |
OlderNewer