A Pen by Andy Hullinger on CodePen.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div id="map"></div> | |
<div id="wwgafield"></div> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<article> | |
<header> | |
<h1> Mason Men’s Basketball 2019-2020 Nonconference Schedule Breakdown </h1> | |
<h2> BY ROSS SHINBERG STAFF WRITER </h2> | |
</header> | |
<figure> | |
<img src="https://northwestern.box.com/shared/static/4c4mwi6z5rhb0u7qu3nceyuh4bvuvgh6.png"> | |
<figcaption> | |
Mason forward A.J. Wilson emphatically dunks a ball during a game against Richmond. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var keys = [UIKeyCommand]() | |
override func viewDidLoad() { | |
super.viewDidLoad() | |
//configureGameControllers() | |
for digit in "abcdefghijklmnopqrstuvwxyz" | |
{ | |
keys.append(UIKeyCommand(input: String(digit), modifierFlags: nil, action: Selector("keyPressed:"))) | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
wget localhost:8000 -E -H -p -nd | |
//export codepen to local folder open in python -m SimpleHTTPServer and use this to grab linked images |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
find . -name '*.DS_Store' -type f -delete |
#Batch convert folder of jpeg or png files cd into image folder and generate new folder of converted images
mkdir jpegs; sips -s format jpeg *.* --out jpegs
mkdir pngs; sips -s format png *.* --out pngs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sips -Z 1024 *.png | |
A cap "Z" to retain aspect ratio | |
Provide longest dimension in pixels to fit image to | |
Use wildcard.ext to batch all files of same type |
Replace all instances of <polyline
with <path
and points="
with d="M
.
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="1000px" height="1000px" viewBox="0 0 1000 1000" enable-background="new 0 0 1000 1000" xml:space="preserve">
-<polyline fill="#FFFFFF" stroke="#000000" stroke-miterlimit="10" points="100.712,141.534 582.904,227.835 425.37,478.521
+
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
php -S localhost:8000 |
NewerOlder