Skip to content

Instantly share code, notes, and snippets.

View Qu4tro's full-sized avatar
🕳️
Love One Another - I do AI slop now, in my free time

Xavier Francisco Qu4tro

🕳️
Love One Another - I do AI slop now, in my free time
  • Terceira, Portugal
View GitHub Profile
@Qu4tro
Qu4tro / cmus.html
Created October 5, 2020 19:11
cmus landing page clone with Tailwind.css
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width" />
<link href="https://unpkg.com/tailwindcss@^1.0/dist/tailwind.min.css" rel="stylesheet">
<title>cmus clone</title>
<script>
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import json
from sys import exit
from os import environ
from random import choice
from pathlib import Path
from urllib.request import urlopen
@Qu4tro
Qu4tro / coins.py
Last active August 29, 2015 14:04
Coin value given weight
"""
Copyright (C) 2014 Xavier Francisco
Permission is hereby granted, free of charge, to any person obtaining a copy of this software
and associated documentation files (the "Software"), to deal in the Software without restriction,
including without limitation the rights touse, copy, modify, merge, publish, distribute,
sublicense, and/or sell copies of the Software, and to permit persons to whom the Software
is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or
@Qu4tro
Qu4tro / add2ytpl.py
Created March 30, 2014 15:31
Add youtube videos(from file or as an argument)
import httplib2
import os
import sys
from apiclient.discovery import build
# from apiclient.errors import HttpError
from oauth2client.client import flow_from_clientsecrets
from oauth2client.file import Storage
from oauth2client.tools import run