Skip to content

Instantly share code, notes, and snippets.

View Paul-Michaud's full-sized avatar
🏠
Working from home

Paul Paul-Michaud

🏠
Working from home
View GitHub Profile
"""Script to download deezer playlist from spotify - multiprocess"""
from __future__ import unicode_literals
import os
import sys
import re
import urllib.parse
import concurrent.futures
import requests
import youtube_dl
public class Main {
public static void main(String[] args) {
int[][] a = new int[10][5];
for (int i = 0; i < 10; i++) {
for (int j = 0; j < 5; j++) {
System.out.printf("%2d ", a[i][j]);
}
System.out.println();
}
Near the orbit of the desert planet Tatooine, a Rebel spaceship is intercepted by the Empire. Aboard, the deadliest Imperial agent
Darth Vader and his stormtroopers capture Princess Leia Organa, a secret member of the rebellion. Before her capture, Leia makes
sure the astromech R2-D2, along with the protocol droid C-3PO, escapes with stolen Imperial blueprints stored inside and a holographic
message for the retired Jedi Knight Obi-Wan Kenobi, who has been living in exile on Tatooine. The droids fall under the ownership of
Luke Skywalker, an orphan farm boy raised by his step-uncle and aunt. Luke helps the droids locate Obi-Wan, now a solitary old hermit
known as Ben Kenobi, who reveals himself as a friend of Luke's absent father, the Jedi Knight Anakin Skywalker. Obi-Wan confides to
Luke that Anakin was "betrayed and murdered" by Vader (who was Obi-Wan's former Jedi apprentice) years ago, and he gives Luke his
father's former lightsaber to keep. After viewing Leia's message, they both hire the smuggler
Strangways, the British Intelligence (SIS) Station Chief in Jamaica, is killed. In response, British agent James Bond—also
known as 007—is sent to Jamaica to investigate the circumstances. During his investigation Bond meets Quarrel, a Cayman fisherman,
who had been working with Strangways around the nearby islands to collect mineral samples. One of the islands was Crab Key, home
to the reclusive Dr. No.Bond visits the island, where he meets a local shell diver, Honey Ryder. The three are attacked by No's men,
who kill Quarrel using a flame-throwing armoured tractor; Bond and Honey are taken prisoner. Dr. No informs them he is a member of
SPECTRE, the SPecial Executive for Counter-intelligence, Terrorism, Revenge, and Extortion, and he plans to disrupt the Project Mercury
space launch from Cape Canaveral with his atomic-powered radio beam. Bond and Honey escape from the island, killing No and blowing up
his lair in the process.
NEXTBond investigates North Korean Colonel Tan-Sun Moon, who is illegally tr
#curl -s 'https://actionfps.com/logs.tsv?from=2017-01-01T00:00:00Z&to=2099-04-10T11:02:03Z' > AFPS2017.txt
#python fraudeur.py < AFPS2017.txt > fraudeur.csv
import sys
fragCLA={"AssaultCube[local#1999]": 0, "AssaultCube[local#2999]": 0, "AssaultCube[local#3999]":0, "AssaultCube[local#4999]":0, "AssaultCube[califapublic]": 0, "ActionFPS[local#7654]": 0, "ac_server[32337]": 0}
flagCLA={"AssaultCube[local#1999]": 0, "AssaultCube[local#2999]": 0, "AssaultCube[local#3999]":0, "AssaultCube[local#4999]":0, "AssaultCube[califapublic]": 0, "ActionFPS[local#7654]": 0, "ac_server[32337]": 0}
fragRVSF={"AssaultCube[local#1999]": 0, "AssaultCube[local#2999]": 0, "AssaultCube[local#3999]":0, "AssaultCube[local#4999]":0, "AssaultCube[califapublic]": 0, "ActionFPS[local#7654]": 0, "ac_server[32337]": 0}
flagRVSF={"AssaultCube[local#1999]": 0, "AssaultCube[local#2999]": 0, "AssaultCube[local#3999]":0, "AssaultCube[local#4999]":0, "AssaultCube[califapublic]": 0, "ActionFPS[local#7654]": 0, "ac_server[32337]": 0}
time={"Assau
#!/bin/bash
if [ "$#" -lt 2 ]; then
echo -e "Le script prend 2 arguments"
exit 1
fi
##Vérifier que l'user existe pas déjà et que les groupes existent
#http://superuser.com/questions/336275/find-out-if-user-name-exists
#http://stackoverflow.com/questions/29073210/how-to-check-if-a-group-exists-and-add-if-it-doesnt-in-linux-shell-script
<?php
//Optional parameters hostname + admin_name + authtoken
$argString = urlencode('-hostname '.$hostname.' -admin_name '.$admin_name.'');
$authtoken = urlencode($token);
$fields = array(
'argString' => $argString,
'authtoken' => $authtoken
);
//Build post request