Skip to content

Instantly share code, notes, and snippets.

@pligor
pligor / index.html
Created November 20, 2012 14:04 — forked from battlehorse/index.html
Demo script to convert Google Chart Tools charts into PNG images.
<html>
<head>
<script src="javascripts/jquery-1.7.1.min.js" type="text/javascript"></script>
<script type="text/javascript" src="http://canvg.googlecode.com/svn/trunk/rgbcolor.js"></script>
<script type="text/javascript" src="http://canvg.googlecode.com/svn/trunk/canvg.js"></script>
<script>
function getImgData(chartContainer) {
var grandchild = $(chartContainer).children(":first").children(":first");
var chartArea = grandchild[0];
@jonfk
jonfk / virtualenv.adoc
Last active February 28, 2023 02:22
Python Virtualenv Cheatsheet

Virtualenv Cheatsheet

  1. Create a virtualenv

    $ virtualenv env
  2. Activate

@dennmtr
dennmtr / athens-radio.m3u
Last active November 16, 2024 20:14
Athens Radio Playlist
#EXTM3U
# TECSUN PL-505 ~ Location: 37.975288, 23.625487
#EXTINF:0,087.50 ~ Κρήτη FM - 087.50 ~ Κρήτη FM
http://s3.onweb.gr:8878
#EXTINF:0,087.70 ~ En Lefko - 087.70 ~ En Lefko
https://stream.radiojar.com/enlefko877
#EXTINF:0,088.00 ~ Μέντα - 088.00 ~ Μέντα
https://stream.radiojar.com/menta.aac
# 088.30 ~ ? - 088.30 ~ ?
#EXTINF:0,088.60 ~ Kids Radio - 088.60 ~ Kids Radio
@lightonphiri
lightonphiri / bash-install_google_fonts_on_ubuntu.md
Last active November 13, 2024 06:58
Install Google Fonts on Ubuntu

Install Google Fonts

Download desired fonts

https://fonts.google.com/?selection.family=Open+Sans

Install Google Fonts on Ubuntu

cd /usr/share/fonts
sudo mkdir googlefonts
cd googlefonts
sudo unzip -d . ~/Downloads/Open_Sans.zip

Ubuntu 22.04 for Deep Learning

In the name of God

This gist contains steps to setup Ubuntu 22.04 for deep learning.


Install Ubuntu 22.04

@HoussemNasri
HoussemNasri / BalsamiqForever.py
Last active November 15, 2024 19:49
Extend your trial period for Balsamiq Wireframes on Windows and macOS Forever!
import json
import os
import time
import webbrowser
import sys
import re
def handleWindows(extra_seconds):
print("OS : Windows")