Skip to content

Instantly share code, notes, and snippets.

# WakeOnLan
#
# Sends a wake-on-lan magic packet for the given MAC address
# to either the broadcast address of the local subnet, or,
# if provided, some other hostname.
# An alternate port can also be optionally provided.
import struct, socket
import sys
@Maik-Wi
Maik-Wi / SoundcloudDL.py
Last active December 16, 2015 09:48 — forked from pudquick/SoundcloudDL.py
Dies ist ein Python-Script, mit dem man Musik von Scoundcloud runterladen kann. Ich nutze in diesem Script die Apps Safari, Pythonista und Documents. Mehr findet ihr unter http://buntepixel.org/?p=3337
import requests, random, datetime, sys, webbrowser, console, urllib, clipboard, bs4
def main():
song_page = None
if (len(sys.argv) > 0):
try:
song_page = sys.argv[1]
except Exception:
song_page = None
if not song_page:
@Maik-Wi
Maik-Wi / index.html
Created May 12, 2013 09:09
A CodePen by Maik. Twitterrific's Menu in CSS
<div id="bg">
<a href="http://buntepixel.org/" target="_blank"><img src="http://buntepixel.org/wp-content/themes/sophie/img/ich.jpg" align="left"></a>
<div class="wrapper">
<a class="btn" href="#">&#8962;</a>
<a class="btn" href="#">&#128100;</a>
<a class="btn" href="#">&#128256;</a>
</div>
</div>
@Maik-Wi
Maik-Wi / index.html
Created July 25, 2013 10:50
A CodePen by Maik. Logo - Buntepixel 07/2013 - Logo fpr buntepixel.org
<div id="alles">
<div id="pixel"></div>
<h1>BuntePixel</h1>
<h2>Not yet another private blog.</h2>
</div>
@Maik-Wi
Maik-Wi / index.html
Created July 26, 2013 16:48
A CodePen by Maik. Share-Buttons in pure CSS
<div class="share">
<h1>Share-Buttons in CSS</h1>
<a href="#" class="twitter">Tweet</a>
<a href="#" class="facebook">Empfehlen</a>
<a href="#" class="googleplus">+1</a>
<a href="#" class="flattr">Flattr</a>
<br/><br/>
</div>
@Maik-Wi
Maik-Wi / index.html
Created August 5, 2018 15:30
Trophy (Jekyll theme)
<main>
<section class="previews">
<div>
<figure class="absolute-bg preview__img" style="background-image: url('https://unsplash.it/2000/1200?image=16');"></figure>
<figure class="absolute-bg preview__img" style="background-image: url('https://unsplash.it/2000/1200?image=1003');"></figure>
<figure class="absolute-bg preview__img" style="background-image: url('https://unsplash.it/2000/1200?image=433');"></figure>
<figure class="absolute-bg preview__img" style="background-image: url('https://unsplash.it/2000/1200?image=40');"></figure>
<figure class="absolute-bg preview__img" style="background-image: url('https://unsplash.it/2000/1200?image=1074');"></figure>
<div class="previews__container">
<span>Welcome to</span>
@Maik-Wi
Maik-Wi / adaptive-image-background.markdown
Created December 24, 2021 01:29
Adaptive Image Background
@Maik-Wi
Maik-Wi / html-sampler.markdown
Last active January 30, 2023 19:02
A boring landing page