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
{"user-theme@gnome-shell-extensions.gcampax.github.com":{"/org/gnome/shell/extensions/user-theme/":"[/]\nname=''"},"no-overview@fthx":{},"blur-my-shell@aunetx":{"/org/gnome/shell/extensions/blur-my-shell/":"[/]\ncolor=(1.0, 1.0, 1.0, 0.0)\ncolor-and-noise=true\nnoise-amount=0.0\nsigma=1\n\n[panel]\nstatic-blur=true","/org/gnome/shell/extensions/blur-my-shell/overview/":"","/org/gnome/shell/extensions/blur-my-shell/appfolder/":"","/org/gnome/shell/extensions/blur-my-shell/panel/":"[/]\nstatic-blur=true","/org/gnome/shell/extensions/blur-my-shell/dash-to-dock/":"","/org/gnome/shell/extensions/blur-my-shell/applications/":"","/org/gnome/shell/extensions/blur-my-shell/screenshot/":"","/org/gnome/shell/extensions/blur-my-shell/lockscreen/":"","/org/gnome/shell/extensions/blur-my-shell/window-list/":"","/org/gnome/shell/extensions/blur-my-shell/hidetopbar/":""},"dash-to-dock@micxgx.gmail.com":{"/org/gnome/shell/extensions/dash-to-dock/":"[/]\napply-custom-theme=false\nbackground-color='rgb(222,221,218)'\nbackground |
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
:root.yotsuba-b #header-bar.dialog { | |
background-color: #16161a; | |
} | |
:root.yotsuba-b a { | |
color: #7f5af0; | |
} | |
hr { | |
border: none; |
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 | |
$max_size = 512000;) | |
$repertory = 'uploads/'; | |
if (isset($_FILES['file'])) | |
{ | |
// verify file type | |
if ($_FILES['file']['type'] != 'image/png' && $_FILES['file']['type'] != 'image/jpeg' && $_FILES['file']['type'] != 'image/jpg' && $_FILES['file']['type'] != 'image/gif' && $_FILES['file']['type'] != 'image/bmp' && $_FILES['file']['type'] != 'image/jpg' && $_FILES['file']['type'] != 'image/png' && $_FILES['file']['type'] != 'image/ico') | |
{ | |
$error = 'Only *.jpeg, *.bmp, *.jpg, *.png, *.ico *.gif ou *.png .'; |
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
<meta http-equiv="refresh" content="5; URL=http://www.url.com"> |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<title></title> | |
<meta name="author" content=""> | |
<meta name="description" content=""> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> |
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
const Discord = require('discord.js'); // Il faut le package discord.js | |
const client = new Discord.Client(); // Le "client" est un nouveau client discord | |
client.on('ready', () => { // Quand le bot est connecté | |
console.log(`Logged in as ${client.user.tag}!`); // il affiche ce message dans la console | |
}); | |
client.on('message', msg => { // message est défini par la variable "msg" | |
if (msg.content === 'ping') { // Quand un message contient "ping" | |
msg.reply('pong'); // le bot répond "pong" dans le salon Discord |
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
{"139412744439988224":{"points":42,"level":0},"145978637517193216":{"points":3,"level":0},"90997305578106880":{"points":122,"level":1},"173547401905176585":{"points":999,"level":3},"233268179911049216":{"messageSent":0,"messagesSent":41},"181199915215618049":{"messageSent":0,"messagesSent":3}} |
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
const Discord = require('discord.js') | |
const bot = new Discord.Client() | |
const TOKEN = "votre_token" | |
// Bot prêt | |
bot.on('ready', () => { | |
bot.user.setStatus("online"); //dnd , online , ldle | |
console.log("Le bot est en ligne ! \nVersion de Node: " + process.version + "\nVersion de Discord.js: " + Discord.version + "\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
const Discord = require("discord.js"); | |
const client = new Discord.Client(); | |
const {get} = require("snekfetch"); | |
const TOKEN = 'YOUR_BOT_TOKEN_HERE' | |
const PREFIX = ";;"; | |
client.on('message', message => { | |
if (message.content.startsWith(PREFIX + 'cat')) { | |
try { |