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
/* | |
Made by Pierre Zemb | |
Part-time internship at System Team | |
Credit Mutuel Arkea | |
2014 | |
*/ | |
REGISTER elasticsearch-hadoop-1.3.0.M2-yarn.jar; | |
DEFINE EsStorage org.elasticsearch.hadoop.pig.EsStorage(); |
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/bash | |
# Delete all containers | |
docker rm $(docker ps -a -q) | |
# Delete all images | |
docker rmi $(docker images -q) |
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
-- Fichier top | |
library ieee; | |
use ieee.std_logic_1164.all; | |
entity circuit1 is | |
port ( | |
clock,rst: in std_logic; | |
start,load : in std_logic; -- start is sw0 and sw1 is load |
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
# Based on: https://gist.github.com/furier/09f1bbe309e2c19236a1 | |
FROM node:latest | |
# set user root | |
USER root | |
# install shout | |
RUN npm install -g shout | |
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
1) SELECT nom,salaire from employe WHERE salaire > 1000 AND salaire <1500 ORDER BY salaire,nom; | |
2) SELECT nom,salaire,comm from employe WHERE comm != 'NULL'; | |
3) SELECT nom,date_embauche from employe WHERE (date_embauche BETWEEN '2001-01-01' AND '2001-12-31') ORDER BY date_embauche; | |
4) SELECT * from employe where fonction!= 'secretaire'; | |
5) SELECT nom from employe WHERE (num_service=20 OR num_service=30) AND fonction='directeur'; |
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
public class ColorWindow extends JFrame{ | |
. | |
. | |
. | |
public ColorWindow() { | |
super("ColorWindow"); | |
setContentPane(RootJPanel); | |
setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); | |
pack(); |
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
FROM phusion/baseimage:latest | |
MAINTAINER Pierre Zemb contact@pierrezemb.fr | |
# Use baseimage-docker's init system. | |
CMD ["/sbin/my_init"] | |
# ...put your own build instructions here... | |
#RUN apt-get install -y wget | |
# Installing latest version of influxdb |
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/bash | |
ssh root@162.243.1.37 -L 3306:127.0.0.1:3306 -N & |
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/bash | |
echo "There's $(checkupdates|wc -l) update(s) available" |
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
all: | |
g++ -O2 -Wall -o tp1 main.cpp `pkg-config --cflags --libs opencv` | |
clean: | |
rm -rf tp1 |
OlderNewer