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
class Ex3 | |
{ | |
//fonctions de chiffrement et déchiffrement | |
public static String chiffre(String message, String cle) | |
{ | |
String renvoi = ""; | |
for(int i =0; i<message.length(); i++) | |
{ |
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 Etudiant{ | |
public static String nom, prenom; | |
public static int num; | |
public static int note; | |
public Etudiant(String n, String p, int ne, int no){ | |
nom = n; | |
prenom = p; | |
num = ne; | |
note = no; |
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
// ==UserScript== | |
// @name Autofill univ-paris-diderot CAS | |
// @namespace http://tampermonkey.net/ | |
// @version 1.0 | |
// @description Auto fill and submit CAS for P7's website | |
// @author m242 | |
// @include *auth.univ-paris-diderot.fr/cas/* | |
// @grant none | |
// ==/UserScript== |
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
;;; init.el --- My try at making a clean emacs config that fits my needs | |
;;; Commentary: | |
;;; Code: | |
;;; Automatic stuff | |
(custom-set-variables | |
;; custom-set-variables was added by Custom. | |
;; If you edit it by hand, you could mess it up, so be careful. | |
;; Your init file should contain only one such instance. |
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
/* | |
* @Author: m242 | |
* @Date: 2019-02-25 09:41:21 | |
* @Last Modified by: m242 | |
* @Last Modified time: 2019-02-25 14:43:32 | |
*/ | |
class Automate{ | |
// Attributs et accesseurs | |
private Cellule start; | |
private Cellule stop; |
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 Noeud { | |
private String etiquette; | |
private Noeud gauche; | |
private Noeud droit; | |
public Noeud(String etiquette, Noeud g, Noeud d){ | |
this.etiquette = etiquette; | |
this.gauche = g; | |
this.droit = d; | |
} |
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
<?php | |
require_once(__DIR__ . '/../lib/functions_db.php'); | |
require_once(__DIR__ . '/../lib/functions_input_sanatizing.php'); | |
// Les fonctions utilisées | |
function check_login(){ | |
// récup des valeurs du formulaire |
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
William Gibson | |
Neuromancer | |
Dedication: | |
for Deb | |
who made it possible | |
with love |
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 http.server import HTTPServer, BaseHTTPRequestHandler | |
class redirectHandler(BaseHTTPRequestHandler): | |
def do_GET(self): | |
""" Looping redirections """ | |
path = "/a" if self.path == "/b" else "/b" | |
self.send_response(301) | |
self.send_header("Location", path) |
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 | |
# A note simple note taking script, in Markdown format. | |
# Needs st and dmenu. | |
editnote() { | |
st "-c" 'Notes' "-i" "-e" "$EDITOR" "$1" | |
} | |
get_file() { | |
choice=$(printf \ |
OlderNewer