Skip to content

Instantly share code, notes, and snippets.

View sibsfinx's full-sized avatar
😸

Alexander Mescheryakov sibsfinx

😸
View GitHub Profile
@sibsfinx
sibsfinx / icons.h
Created May 24, 2013 13:13
some ios vector icons
//// cancel icon
{
//// Bezier 4 Drawing
UIBezierPath* bezier4Path = [UIBezierPath bezierPath];
[bezier4Path moveToPoint: CGPointMake(190.93, 36.84)];
[bezier4Path addCurveToPoint: CGPointMake(187.69, 36.84) controlPoint1: CGPointMake(190.03, 37.66) controlPoint2: CGPointMake(188.59, 37.66)];
[bezier4Path addLineToPoint: CGPointMake(182.71, 31.13)];
[bezier4Path addLineToPoint: CGPointMake(177.73, 36.84)];
[bezier4Path addCurveToPoint: CGPointMake(174.48, 36.84) controlPoint1: CGPointMake(176.82, 37.66) controlPoint2: CGPointMake(175.39, 37.66)];
@sibsfinx
sibsfinx / example.html
Created May 19, 2013 17:41
w3schools html5 video example
<h2 class="example">Example 1</h2>
<p class="example">Create simple play/pause + resize controls for a video:</p>
<div class="example_code notranslate">
<br>
<div style="text-align:center">
<button onclick="playPause()">Play/Pause</button>
<button onclick="makeBig()">Big</button>
<button onclick="makeSmall()">Small</button>
<button onclick="makeNormal()">Normal</button>
<br><br>