Skip to content

Instantly share code, notes, and snippets.

View rdenadai's full-sized avatar
🐍
But still haven't found what I'm looking for...

⟠ Rodolfo De Nadai rdenadai

🐍
But still haven't found what I'm looking for...
View GitHub Profile
@joshbuchea
joshbuchea / semantic-commit-messages.md
Last active October 5, 2024 15:55
Semantic Commit Messages

Semantic Commit Messages

See how a minor change to your commit message style can make you a better programmer.

Format: <type>(<scope>): <subject>

<scope> is optional

Example

@aparrish
aparrish / understanding-word-vectors.ipynb
Last active September 7, 2024 02:18
Understanding word vectors: A tutorial for "Reading and Writing Electronic Text," a class I teach at ITP. (Python 2.7) Code examples released under CC0 https://creativecommons.org/choose/zero/, other text released under CC BY 4.0 https://creativecommons.org/licenses/by/4.0/
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@yogabonito
yogabonito / [GSoC] VECM.ipynb
Created August 23, 2016 18:15
GSoC 2016: VECM
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@subfuzion
subfuzion / curl.md
Last active October 2, 2024 22:40
curl POST examples

Common Options

-#, --progress-bar Make curl display a simple progress bar instead of the more informational standard meter.

-b, --cookie <name=data> Supply cookie with request. If no =, then specifies the cookie file to use (see -c).

-c, --cookie-jar <file name> File to save response cookies to.

@protrolium
protrolium / ffmpeg.md
Last active September 30, 2024 04:45
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:

@mugli
mugli / install-java7.sh
Created January 30, 2014 21:51
Silently install Oracle Java 7 on Ubuntu (without license agreement step)
#!/bin/bash
sudo apt-get install -y python-software-properties
sudo add-apt-repository -y ppa:webupd8team/java
sudo apt-get update
# Enable silent install
echo debconf shared/accepted-oracle-license-v1-1 select true | sudo debconf-set-selections
echo debconf shared/accepted-oracle-license-v1-1 seen true | sudo debconf-set-selections
@someoneigna
someoneigna / nsnake.py
Last active September 9, 2023 03:00
A snake game in Python 3.3 with Pygame
import sys,os,pygame,random,math
pygame.init()
pygame.display.set_caption("Nsnake v1.0")
pygame.font.init()
random.seed()
#Global constant definitions
SPEED = 0.36
SNAKE_SIZE = 9