Card that shows SoundCloud follower count using the SoundCloud REST API.
Does not update live.
<body> | |
<div class="git"><a href="https://rishi.pavakpaul.in"><img src="forkme.png" alt="" ></a></div> | |
<div class="drop-container"><div></div></div><div class="drop-container1"><div></div></div> | |
<div class="drop-container2"><div></div></div><div class="drop-container3"><div></div></div> | |
<div class="drop-container4"><div></div></div><div class="drop-container5"><div></div></div> | |
<div class="drop-container6"><div></div></div><div class="drop-container7"><div></div></div> | |
<div class="drop-container8"><div></div></div><div class="drop-container9"><div></div></div> | |
<div class="drop-container10"><div></div></div><div class="drop-container11"><div></div></div> | |
<div class="drop-container12"><div></div></div><div class="drop-container13"><div></div></div> | |
<div class="drop-container14"><div></div></div><div class="drop-container15"><div></div></div> |
<html> | |
<head> | |
<title> | |
JavaScript Game | |
</title> | |
<style type="text/css"> | |
body{ | |
background-color: teal; | |
position: fixed; | |
top: 0; |
var M = Math, | |
PI = M.PI, | |
TWOPI = PI * 2, | |
HALFPI = PI / 2, | |
canvas = document.createElement( 'canvas'), | |
ctx = canvas.getContext( '2d' ), | |
width = canvas.width = 1250, | |
height = canvas.height = 550, | |
cx = width / 2, | |
cy = height / 2, |
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8" /> | |
<title>HTML5 Image Uploader</title> | |
<link rel="stylesheet" href="style.css" /> | |
</head> | |
<body> | |
<div id="main"> | |
<h1>Upload Your Images</h1> |
import turtle | |
import math | |
class SolarSystem: | |
def __init__(self, width, height): | |
self.thesun = None | |
self.planets = [] | |
self.ssturtle = turtle.Turtle() | |
self.ssturtle.hideturtle() | |
self.ssscreen = turtle.Screen() |
var textHolder = document.getElementsByTagName('div')[0], | |
text = textHolder.innerHTML, | |
chars = text.length, | |
newText = '', | |
i; | |
for (i = 0; i < chars; i += 1) { | |
newText += '<i>' + text.charAt(i) + '</i>'; | |
} |
import urllib2 | |
import re | |
import os | |
from os.path import basename | |
from urlparse import urlsplit | |
from urlparse import urlparse | |
from posixpath import basename,dirname | |
def process_url(raw_url): |
A Pen by Matei Copot on CodePen.