Skip to content

Instantly share code, notes, and snippets.

View mustafaxfe's full-sized avatar
💭
I may be slow to respond.

mustafa mustafaxfe

💭
I may be slow to respond.
View GitHub Profile
@mustafaxfe
mustafaxfe / ffmpeg.md
Created February 17, 2021 17:36 — forked from protrolium/ffmpeg.md
ffmpeg guide

ffmpeg

Converting Audio into Different Formats / Sample Rates

Minimal example: transcode from MP3 to WMA:
ffmpeg -i input.mp3 output.wma

You can get the list of supported formats with:
ffmpeg -formats

You can get the list of installed codecs with:

@mustafaxfe
mustafaxfe / tts_example.ipynb
Created December 20, 2018 17:27 — forked from erogol/tts_example.ipynb
TTS_example.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@mustafaxfe
mustafaxfe / cuda_installation_on_ubuntu_18.04
Created November 18, 2018 14:28 — forked from Mahedi-61/cuda_11.8_installation_on_Ubuntu_22.04
cuda 9.0 complete installation procedure for ubuntu 18.04 LTS
#!/bin/bash
## This gist contains step by step instructions to install cuda v9.0 and cudnn 7.2 in ubuntu 18.04
### steps ####
# verify the system has a cuda-capable gpu
# download and install the nvidia cuda toolkit and cudnn
# setup environmental variables
# verify the installation
###
@mustafaxfe
mustafaxfe / Raspberry_Pi_Servo_Motor.py
Created September 29, 2018 17:14 — forked from elktros/Raspberry_Pi_Servo_Motor.py
Python Script for controlling a Servo Motor (Tower Pro SG90) using Raspberry Pi.
import RPi.GPIO as GPIO
import time
control = [5,5.5,6,6.5,7,7.5,8,8.5,9,9.5,10]
servo = 22
GPIO.setmode(GPIO.BOARD)
GPIO.setup(servo,GPIO.OUT)