I hereby claim:
- I am stephenbrown2 on github.
- I am stephenbrown2 (https://keybase.io/stephenbrown2) on keybase.
- I have a public key whose fingerprint is 0C47 C049 1939 4493 D801 9FD7 DE8B CBE9 6ABC B48B
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
# Maintainer: Stephen Brown II <Stephen [dot] Brown2 [at] gmail.com> | |
pkgname=stoken | |
pkgver="0.90" | |
pkgrel=1 | |
pkgdesc="RSA SecurID-compatible software token for Linux/UNIX systems" | |
arch=('i686' 'x86_64') | |
url="https://github.com/cernekee/${pkgname}" | |
license=('LGPL2.1') | |
depends=('nettle' 'libxml2') | |
optdepends=('gtk3: required for stoken-gui') |
class maria::params { | |
$version = '5.5' | |
$os = $::operatingsystem ? { | |
'RedHat' => 'rhel', | |
'LinuxMint' => 'ubuntu', | |
default => inline_template('<%= @::operatingsystem.downcase %>'), | |
} |
This article will give you the tools to setup fully automated an apache solr multicore locally for drupal.
The advantages: When you have new projects you will only have to create a new apache solr core based on previous configuration. This will save you valuable time.
How does it work? Whatever we have done manually we can script using bash. This is exactly what we have done to install the apache solr multicore locally.
{ | |
"FileBot-Node": { | |
"description": "FileBot Node is a client-server application that'll allow you to run filebot commands.", | |
"version": "0.0.1", | |
"website": "http://www.filebot.net/", | |
"icon": "http://www.filebot.net/images/filebot.logo.svg", | |
"more_info": "FileBot Node is a server-side Node.js application that allows you to make filebot calls via a straight-forward ExtJS web application. Please refer to the <a href='https://www.filebot.net/forums/viewtopic.php?f=13&t=2733'>How To</a> manual if you need help getting started.", | |
"volume_add_support": true, | |
"ui": { | |
"slug": "filebot/" |
--- | |
- hosts: all | |
vars_prompt: | |
- name: user_name | |
prompt: "What is your real name?" | |
private: no | |
- name: user_phone | |
prompt: "What is your Rackspace phone number?" | |
private: no | |
- name: default_dc |
This is a quick Python script I wrote to download HumbleBundle books in batch. I bought the amazing Machine Learning by O'Reilly bundle. There were 15 books to download, with 3 different file formats per book. So I scratched a quick script to download all of them in batch.
(Final Result: books downloaded)
This is a quick Python script I wrote to download HumbleBundle books in batch. I bought the amazing Machine Learning by O'Reilly bundle. There were 15 books to download, with 3 different file formats per book. So I scratched a quick script to download all of them in batch.
(Final Result: books downloaded)
from collections import namedtuple | |
from typing import Iterable, Optional, Tuple, TypeVar | |
import urllib3 | |
RequestHistory = namedtuple( | |
"RequestHistory", ["method", "url", "error", "status", "redirect_location"] | |
) | |
RetryType = TypeVar("RetryType", bound="Retry") |
import random | |
placeholders = [ | |
{'scheme': 'http', 'domain': 'placebeard.it', 'sep': '/'}, | |
{'scheme': 'http', 'domain': 'placeskull.com', 'sep': '/'}, | |
{'scheme': 'https', 'domain': 'dummyimage.com', 'sep': 'x'}, | |
{'scheme': 'https', 'domain': 'placebear.com', 'sep': '/'}, | |
{'scheme': 'https', 'domain': 'placekitten.com', 'sep': '/'} | |
] |