Skip to content

Instantly share code, notes, and snippets.

View alexisvisco's full-sized avatar
🧗
Climber.

Alexis Viscogliosi alexisvisco

🧗
Climber.
View GitHub Profile

Clion shortcuts

Shift+shift Permet de rechercher rapidement un fichier ou une fonction et l'ouvrir UTILE

Ctrl+d Dupliquer la ligne en dessous UTILE

Ctrl+x Supprimer la ligne courrante UTILE

/* ************************************************************************** */
/* LE - / */
/* / */
/* gc_like.c .:: .:/ . .:: */
/* +:+:+ +: +: +:+:+ */
/* By: aviscogl <aviscogl@student.le-101.fr> +:+ +: +: +:+ */
/* #+# #+ #+ #+# */
/* Created: 2018/01/08 13:50:10 by aviscogl #+# ## ## #+# */
/* Updated: 2018/01/08 16:37:56 by aviscogl ### #+. /#+ ###.fr */
/* / */
package impl;
import com.google.gson.Gson;
import com.mashape.unirest.http.Unirest;
import com.mashape.unirest.http.exceptions.UnirestException;
public class RandomUser {
public static Gson g = new Gson();
public String gender;
package impl;
import kwizzy.validation.impl.Form;
import org.json.JSONObject;
import spark.Request;
import javax.servlet.http.Part;
import java.util.Arrays;
import java.util.Optional;
public class SparkForm implements Form {
int is_equal(char *strone, char *strtwo)
{
int size;
int index;
index = -1;
size = ft_strlen(strone);
if (size != ft_strlen(strtwo))
return (0);
while (++index <= size)
@alexisvisco
alexisvisco / YoutubeParser.js
Created August 17, 2017 12:22
Parser for getting the id of a youtube video url
const parser = [
{
completUrl: "https://www.youtube.com/watch?v=p72I7g-RXpg",
urlWithoutId: "https://www.youtube.com/watch?v=",
id: 0
},
{
completUrl: "http://www.youtube.com/watch?v=p72I7g-RXpg",
urlWithoutId: "http://www.youtube.com/watch?v=",
id: 1
import java.util
import java.util.Random
/**
* Par Alexis le 25/11/2016.
*/
object ScalaWordGenerator {
package fr.kwizzy.scala.register;
import org.bukkit.Bukkit;
import org.bukkit.command.CommandExecutor;
import org.bukkit.event.Listener;
import org.bukkit.plugin.java.JavaPlugin;
import java.io.File;
import java.lang.annotation.Annotation;
import java.lang.reflect.Array;
package ;
import com.google.common.util.concurrent.Service;
import org.bukkit.Bukkit;
import org.bukkit.command.CommandExecutor;
import org.bukkit.event.Listener;
import org.bukkit.plugin.java.JavaPlugin;
import java.io.File;
import java.io.FilenameFilter;
package fr.kwizzy.betkoth.data;
import java.util.*;
import com.mongodb.BasicDBObject;
import com.mongodb.DBCollection;
import com.mongodb.DBCursor;
import com.mongodb.DBObject;
import fr.kwizzy.betkoth.system.Bet;