Skip to content

Instantly share code, notes, and snippets.

View 5AMsan's full-sized avatar
🤖

SAMsan 5AMsan

🤖
  • Sporting Comm'
  • Toulouse, France
View GitHub Profile
@JV-conseil
JV-conseil / Radio-France-Flux-HD-AAC.md
Last active May 13, 2025 13:52
Les nouveaux flux web audio Hifi HD au format .aac des stations de Radio France 📻
@zopieux
zopieux / fipradio.py
Last active December 17, 2024 11:45
FIP radio live metadata
# Displays the currently playing media at FIP radio
# http://www.fipradio.fr/player
# You may want to update the number at the end of the URL
# if you use a specific "style" channel instead of the
# generic (main) channel, which is 7.
import requests
import time
import subprocess
@azadisaryev
azadisaryev / convertExcel2Sheets
Last active February 9, 2025 11:44
Google Apps Script for converting Excel (.xls or .xlsx) file to Google Spreadsheet. Drive API must be enabled in your script's Advanced Google Services and in Developers Console for the script to work (see https://developers.google.com/apps-script/guides/services/advanced#enabling_advanced_services for details).
/**
* Convert Excel file to Sheets
* @param {Blob} excelFile The Excel file blob data; Required
* @param {String} filename File name on uploading drive; Required
* @param {Array} arrParents Array of folder ids to put converted file in; Optional, will default to Drive root folder
* @return {Spreadsheet} Converted Google Spreadsheet instance
**/
function convertExcel2Sheets(excelFile, filename, arrParents) {
var parents = arrParents || []; // check if optional arrParents argument was provided, default to empty array if not
@carlosefonseca
carlosefonseca / wkt2kml.py
Created September 17, 2013 22:58
Converts WKT to KML.
#!/usr/bin/env python
# coding=utf-8
import sys
import re
import simplekml
import argparse
import random
def splitByLines(wkt):
<?php
/*
* Example code showing how to hook WordPress to add fields to the taxonomny term edit screen.
*
* This example is meant to show how, not to be a drop in example.
*
* This example was written in response to this question:
*
* http://lists.automattic.com/pipermail/wp-hackers/2010-August/033671.html
*