This file contains hidden or 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/env python | |
# -*- coding: utf-8 -*- | |
""" | |
Generate qrcode images from a csv file | |
""" | |
import argparse | |
import csv | |
import qrcode |
This file contains hidden or 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
sudo python -m smtpd -n -c DebuggingServer localhost:25 |
This file contains hidden or 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
require 'nokogiri' | |
require 'typhoeus' | |
require 'date' | |
module Agents | |
class TvrageAgent < Agent | |
cannot_receive_events! | |
def working? | |
!recent_error_logs? |
This file contains hidden or 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
<input | |
id="val1" | |
type="text" | |
data-validate-required | |
data-validate-minlength="3" | |
data-validate-email /> | |
<input /> | |
<script> |
This file contains hidden or 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
ּ_בּ | |
בּ_בּ | |
טּ_טּ | |
כּ‗כּ | |
לּ_לּ | |
מּ_מּ | |
סּ_סּ | |
תּ_תּ | |
٩(×̯×)۶ | |
٩(̾●̮̮̃̾•̃̾)۶ |
This file contains hidden or 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 MatrixGenerateOption extends Custom_TaskOptionAbstract | |
{ | |
protected function configure() | |
{ | |
$this->addArgument('config', self::ARG_TYPE_FILE, 'The config file.', true); | |
$this->addArgument('dir', self::ARG_TYPE_STRING, 'The output directory.', true); | |
$this->addArgument('file', self::ARG_TYPE_STRING, 'The output filename.', true); | |
$this->addArgument('metanames', self::ARG_TYPE_FILE, 'The metaname file in text format.', true); | |
$this->addArgument('offset', self::ARG_TYPE_INT, 'The offset where to start. Defaults to 1.', false); |
This file contains hidden or 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 | |
/** | |
* Add an available argument to the list | |
* @param $name | |
* @param string $type | |
* @param string $description | |
* @param bool $required | |
*/ | |
public function addArgument($name, $type = self::ARG_TYPE_MIXED, $description = '', $required = false) | |
{ |
This file contains hidden or 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 | |
SYMFONY="Symfony_Standard_Vendors_2.0.0BETA3.tgz" | |
APPLICATION_ROOT="/var/www" | |
REMOTE_IP="127.0.0.1" | |
DB_HOST="localhost" | |
DB_DRIVER="pdo_pgsql" | |
DB_USER="test" | |
DB_PASSWORD="test" | |
echo "Please enter the company name and project name (in the format CompanyName ProjectName)" |
NewerOlder