Skip to content

Instantly share code, notes, and snippets.

ISSAM BEN 3issamben

Block or report user

Report or block 3issamben

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@3issamben
3issamben / autocomplete.php
Created Aug 3, 2017 — forked from imranismail/autocomplete.php
Laravel And JqueryUI's Autocomplete Plugin
View autocomplete.php
//SearchController.php
public function autocomplete(){
$term = Input::get('term');
$results = array();
$queries = DB::table('users')
->where('first_name', 'LIKE', '%'.$term.'%')
->orWhere('last_name', 'LIKE', '%'.$term.'%')
->take(5)->get();
View alexa-skills-kit-color-expert-python.py
"""
This sample demonstrates a simple skill built with the Amazon Alexa Skills Kit.
The Intent Schema, Custom Slots, and Sample Utterances for this skill, as well
as testing instructions are located at http://amzn.to/1LzFrj6
For additional samples, visit the Alexa Skills Kit Getting Started guide at
http://amzn.to/1LGWsLG
"""
from __future__ import print_function
@3issamben
3issamben / stream_to_youtube.sh
Created Jan 3, 2018 — forked from olasd/stream_to_youtube.sh
Stream video to youtube via ffmpeg
View stream_to_youtube.sh
#! /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
@3issamben
3issamben / master
Created Jul 31, 2018 — forked from eofs/master
Remove keys of disconnected Saltstack minions
View master
# Enable "presence" events
# - http://docs.saltstack.com/en/latest/ref/configuration/master.html#presence-events
# - http://docs.saltstack.com/en/latest/topics/event/master_events.html#presence-events
presence_events: True
reactor:
# Note: This tag has a typo in it (version 2014.1.5), subject to change!
- 'salt/presense/change':
- /srv/reactor/presence.sls
@3issamben
3issamben / openssl.md
Created Aug 21, 2019
openssl commands
View openssl.md

openssl

Install

Install the OpenSSL on Debian based systems

sudo apt-get install openssl
You can’t perform that action at this time.