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 July 2, 2024 08:08
Athens Radio Playlist
#EXTM3U
#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
#EXTINF:0,088.60 ~ Kids Radio - 088.60 ~ Kids Radio
https://stream.radiojar.com/64p6ktzntg0uv
#EXTINF:0,088.90 ~ Hit - 088.90 ~ Hit
@lightonphiri
lightonphiri / bash-install_google_fonts_on_ubuntu.md
Last active July 14, 2024 08:49
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 July 5, 2024 16:28
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")