I hereby claim:
- I am depado on github.
- I am depado (https://keybase.io/depado) on keybase.
- I have a public key ASBe2qj0k7FFoS5w7WJAWGBj4bNnFQBjnhfq1zwmjvrvNgo
To claim this, I am signing this object:
#!/usr/bin/python2.7 | |
# -*- coding: utf-8 -*- | |
from flask import Flask, render_template | |
# Pour définir que tout le truc est une appli Flask | |
app = Flask(__name__) | |
# On définit le chemin route du genre ratemyfirefart.com/ ou ratemyfirefart.com/index | |
@app.route('/index') |
==> ERROR: module not found: `sd_mod' | |
==> ERROR: module not found: `sr_mod' | |
==> ERROR: module not found: `ahci' | |
==> ERROR: module not found: `xhci_hcd' | |
==> ERROR: module not found: `ehci_pci' | |
==> ERROR: module not found: `rtsx_pci_sdmmc' | |
==> ERROR: module not found: `sd_mod' | |
==> ERROR: module not found: `ext4' | |
==> ERROR: module not found: `xhci_hcd' | |
==> ERROR: module not found: `ehci_pci' |
import pygame | |
from pygame.locals import * | |
from tkinter import * | |
from constantes import * | |
# Déjà, pourquoi tu créé une fenêtre avec Tkinter alors que Pygame sait très bien le faire ? | |
# On crée une fenêtre, racine de notre interface | |
fenetre = Tk() | |
fenetre.title('Launcher Veneficus Legend 1.0 ') |
# Only dependency needed | |
import threading | |
# Dependency for the task | |
import datetime | |
import time | |
# Function wrapper | |
def periodic_task(interval, times = -1): | |
def outer_wrap(function): |
class AESCipher(object): | |
""" | |
A classical AES Cipher. Can use any size of data and any size of password thanks to padding. | |
Also ensure the coherence and the type of the data with a unicode to byte converter. | |
""" | |
def __init__(self, key): | |
self.bs = 32 | |
self.key = hashlib.sha256(AESCipher.str_to_bytes(key)).digest() | |
@staticmethod |
Verifying that +depado is my blockchain ID. https://onename.com/depado |
import requests | |
url = "https://gpldr.in" | |
files = {'file': open('path/to/file', 'rb')} | |
# Sending a file with defaults configuration | |
r = requests.post(url, files=files) | |
print(r.text) | |
# Sending a file and specify it is visible only once | |
r = requests.post(url, files=files, data={"once":"true"}) |
I hereby claim:
To claim this, I am signing this object:
package main | |
import ( | |
"fmt" | |
"io" | |
"github.com/alecthomas/chroma" | |
"github.com/alecthomas/chroma/formatters/html" | |
"github.com/alecthomas/chroma/lexers" |
func webhook(c *gin.Context) { | |
c.JSON(http.StatusOK, gin.H{}) | |
} | |
func main() { | |
r := gin.Default() | |
r.POST("/webhook", webhook) | |
if err := r.Run("127.0.0.1:8001"); err != nil { | |
panic(err) | |
} |