Skip to content

Instantly share code, notes, and snippets.

View Frankity's full-sized avatar
The time is up

Douglas Brunal Frankity

The time is up
View GitHub Profile
@Frankity
Frankity / Program.cs
Created March 2, 2016 14:11 — forked from sagacity/Program.cs
M3U to Spotify tracks
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net;
using System.Text;
using System.Threading.Tasks;
using System.Web;
<?php
header("Content-Type: text/text");
$key = "FUCKYOU";
$uploadhost = "http://yolarrydabomb.net/i/";
$redirect = "http://yolarrydabomb.net/i/pizza.html";
date_default_timezone_set('EST');
$Date = date("Ymd-");
$filenamelength = 4;
if ($_SERVER["REQUEST_URI"] == "/robot.txt") { die("User-agent: *\nDisallow: /"); }
@Frankity
Frankity / .htaccess
Last active August 29, 2015 14:20 — forked from santisteban/.htaccess
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^([^\.]+)/([^\.]+)$ $1-$2.png [NC,L]