Skip to content

Instantly share code, notes, and snippets.

View lsantana486's full-sized avatar

Luis Santana lsantana486

View GitHub Profile
@lsantana486
lsantana486 / GitCommitEmoji.md
Created March 1, 2023 15:21 — forked from parmentf/GitCommitEmoji.md
Git Commit message Emoji
@lsantana486
lsantana486 / README.md
Created February 27, 2023 01:17 — forked from jplew/README.md
How to Setup SSH and GPG keys with Gitlab

Keybase proof

I hereby claim:

  • I am lsantana486 on github.
  • I am lsantana486 (https://keybase.io/lsantana486) on keybase.
  • I have a public key whose fingerprint is 1DEE 4F5C 7735 79E5 FAAE EDDA A8B3 40A0 762C 9D63

To claim this, I am signing this object:

@lsantana486
lsantana486 / waveform.py
Created February 12, 2018 02:31 — forked from moeseth/waveform.py
Create Soundcloud style waveform from Audio in Python
from pydub import AudioSegment
from matplotlib import pyplot as plot
from PIL import Image, ImageDraw
import numpy as np
import os
src = "./test.mp3"
audio = AudioSegment.from_file(src)
data = np.fromstring(audio._data, np.int16)
@lsantana486
lsantana486 / example.html
Created September 17, 2016 03:09 — forked from 981746/example.html
A simple AngularJS service for handling the 'onbeforeunload' event
<!DOCTYPE html>
<html data-ng-app="TestApp">
<head>
<script src="http://code.angularjs.org/1.2.9/angular.js"></script>
<script>
angular.module('TestApp', [])
.factory('beforeUnload', function ($rootScope, $window) {
// Events are broadcast outside the Scope Lifecycle