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 / Connectivity.java
Created September 2, 2020 20:39 — forked from emil2k/Connectivity.java
Android utility class for checking device's network connectivity and speed.
/*
* Copyright (c) 2017 Emil Davtyan
*
* 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 to use, 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:
@Frankity
Frankity / Python3 Virtualenv Setup.md
Created November 23, 2018 20:43 — forked from pandafulmanda/Python3 Virtualenv Setup.md
Setting up and using Python3 Virtualenv on Mac

Python3 Virtualenv Setup

Requirements
  • Python 3
  • Pip 3
$ brew install python3
@Frankity
Frankity / main.vala
Created October 7, 2016 01:37 — forked from rickybassom/main.vala
Simple Gtk.Application example in vala
using Gtk;
public class MyApplication : Gtk.Application {
public MyApplication () {
Object(application_id: "testing.my.application",
flags: ApplicationFlags.FLAGS_NONE);
}
protected override void activate () {
@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;
@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]