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
Start Server: | |
if (System.getSecurityManager() == null) | |
System.setSecurityManager ( new RMISecurityManager() ); | |
LocateRegistry.createRegistry(9000); | |
// ... | |
// ... and bind it with the RMI Registry | |
Naming.rebind ("rmi://<ip>:9000/server1", ...); |
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
<option value="AF">Afghanistan</option> | |
<option value="AX">Aland Isles</option> | |
<option value="AL">Albania</option> | |
<option value="DZ">Algeria</option> | |
<option value="AS">American Samoa</option> | |
<option value="AD">Andorra</option> | |
<option value="AO">Angola</option> | |
<option value="AI">Anguilla</option> | |
<option value="AQ">Antarctica</option> | |
<option value="AG">Antigua And Barbuda</option> |
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
#include <GL/glut.h> | |
#include <math.h> | |
#define WINDOW_WIDTH 300 | |
#define WINDOW_HEIGHT 300 | |
int obj = 0; | |
void Clavier(unsigned char touche, int x, int y) { |
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
// src/hassen/automation/configurator/Document.java | |
package hassen.automation.server; | |
public class Document implements IDeviceManager, IEventProcessor { | |
// ... | |
private Mapping getMapping (int id) { | |
for (Mapping m : getMappings()) { | |
if (m.getId() == id) return m; |
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
/* | |
* Processor.cpp | |
* | |
* Created on: 9 déc. 2010 | |
* Author: chtitux | |
*/ | |
#include <vector> | |
#include <algorithm> | |
#include <string> |
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
/* | |
* Dictionary.cpp | |
* | |
* Created on: 8 nov. 2010 | |
* Author: chtitux | |
*/ | |
#include <iostream> | |
#include <sstream> | |
#include <string> | |
#include <stdexcept> |
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
#include <iostream> | |
#include <sstream> | |
#include <string> | |
#include <stdexcept> | |
#include "dynamicarray.h" | |
const unsigned int DynamicArray::BLOCK_SIZE = 10; |
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
#include <iostream> | |
#include <sstream> | |
#include <string> | |
#include <stdexcept> | |
#include "dynamicarray.h" | |
const unsigned int DynamicArray::BLOCK_SIZE = 10; | |
DynamicArray::DynamicArray(): |
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 | |
# from http://blog.interlinked.org/tutorials/rsync_time_machine.html | |
# T.Helleboid <t.helleboid@iariss.fr> | |
date=`date "+%Y-%m-%dT%H-%M-%S"` | |
BACKUPED_DIR=/home/chtitux/backup/ | |
BACKUPED_HOST=hobbes.chtitux.org | |
BACKUPED_USER=chtitux |
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
Bonjour {$candidat}, | |
IARISS a bien reçu ta candidature. | |
Nous l'examinons avec attention et te recontacterons très prochainement, | |
afin d'en savoir un peu plus sur toi et tes motivations. | |
Une réunion d'information sur IARISS sera organisée prochainement et | |
sera suivie d'un entretien personnel. Ne t'inquiète pas, tout te sera | |
rappelé par mail, et tu n'as pour l'instant rien à préparer. |