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/bash | |
function ask() { | |
question="$1" | |
answer="" | |
while [ "${answer}" == "" ]; do | |
read -p "${question}" answer | |
done | |
echo "${answer}" |
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
<html> | |
<head> | |
<title>Hack TeamPass</title> | |
</head> | |
<body> | |
<form action="http://teampass/includes/libraries/uploadify/uploadify.php" method="post" enctype="multipart/form-data"> | |
<input type="file" name="Filedata" /> | |
<input type="hidden" name="type_upload" value="import_items_from_csv" /> | |
<input type="hidden" name="folder" value="/files" /> | |
<input type="submit"> |
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 | |
header("Cache-Control: no-cache, must-revalidate"); | |
header("Expires: Sat, 26 Jul 1997 05:00:00 GMT"); | |
function removeNotice($whois) | |
{ | |
return str_replace('NOTICE: The expiration date displayed in this record is the date the | |
registrar\'s sponsorship of the domain name registration in the registry is | |
currently set to expire. This date does not necessarily reflect the expiration | |
date of the domain name registrant\'s agreement with the sponsoring |
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 | |
class ParsedownCheckbox extends ParsedownExtra | |
{ | |
protected function checkboxUnchecked($text) | |
{ | |
if ($this->markupEscaped || $this->safeMode) { | |
$text = self::escape($text); | |
// Disable escape to convert data with line (avoid double encoding) |
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
#!/usr/bin/python | |
# -*- coding: utf-8 -*- | |
import os | |
from datetime import date | |
import argparse | |
import ConfigParser | |
class CommandPrepare: |
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 lang="fr"> | |
<head> | |
<meta charset="utf-8"/> | |
<title>Génération de tickets pour les scénarii Scrum</title> | |
<!-- | |
Copyright © 2016 Simon Leblanc <contact@leblanc-simon.eu> | |
This work is free. You can redistribute it and/or modify it under the | |
terms of the Do What The Fuck You Want To Public License, Version 2, | |
as published by Sam Hocevar. See http://www.wtfpl.net/ for more details. |
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 lang="fr"> | |
<head> | |
<meta charset="utf-8"/> | |
<title>Génération de tickets pour les scénarii Scrum</title> | |
<!-- | |
Copyright © 2016 Simon Leblanc <contact@leblanc-simon.eu> | |
This work is free. You can redistribute it and/or modify it under the | |
terms of the Do What The Fuck You Want To Public License, Version 2, | |
as published by Sam Hocevar. See http://www.wtfpl.net/ for more details. |
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 | |
function buildDxf($original_datas) { | |
$template = ' 0 | |
SECTION | |
2 | |
HEADER | |
9 | |
$ACADVER | |
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
# -*- coding: utf-8 -*- | |
from email.parser import Parser | |
from email.header import decode_header | |
import json | |
import pyinotify | |
import requests | |
from StringIO import StringIO | |
import sys | |
import tempfile |
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 | |
namespace AppBundle\Command; | |
use Symfony\Bundle\FrameworkBundle\Command\AbstractConfigCommand; | |
use Symfony\Component\Config\Definition\Processor; | |
use Symfony\Component\Console\Exception\LogicException; | |
use Symfony\Component\Console\Input\InputInterface; | |
use Symfony\Component\Console\Input\InputOption; | |
use Symfony\Component\Console\Output\OutputInterface; |
NewerOlder