Skip to content

Instantly share code, notes, and snippets.

View brett-kimball's full-sized avatar

Brett Kimball brett-kimball

View GitHub Profile
@gerwin3
gerwin3 / make-vcard.py
Created January 23, 2021 16:16
Generate vCard using Python
"""
This little script can generate a valid .vcf (vCard). It will ask you to fill
in some details and write the vcf-file.
"""
def main():
print('Please enter contact details:')
first_name = input(' - First name : ')
last_name = input(' - Last name : ')
email = input(' - E-mail address : ')
@rpfilomeno
rpfilomeno / Polycom LDAP
Created February 11, 2015 11:05
Polycom Phones
# directory.cfg
<dir
dir.corp.address="ldap://domaincontroller"
dir.corp.attribute.1.filter=""
dir.corp.attribute.1.label="Last Name"
dir.corp.attribute.1.name="sn"
dir.corp.attribute.1.sticky="0"
dir.corp.attribute.1.type="last_name"
dir.corp.attribute.2.filter=""
@olasd
olasd / stream_to_youtube.sh
Created March 28, 2014 19:58
Stream video to youtube via ffmpeg
#! /bin/bash
#
# Diffusion youtube avec ffmpeg
# Configurer youtube avec une résolution 720p. La vidéo n'est pas scalée.
VBR="2500k" # Bitrate de la vidéo en sortie
FPS="30" # FPS de la vidéo en sortie
QUAL="medium" # Preset de qualité FFMPEG
YOUTUBE_URL="rtmp://a.rtmp.youtube.com/live2" # URL de base RTMP youtube