A Pen by Uriel Wilson Jr. 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
| <body> | |
| <h1 class="title">Movies</h1> | |
| <ul id="favMovies"> | |
| </ul> | |
| </body> |
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 class="slide--parent"> | |
| <div class="parent--el"> | |
| <div class="two--col"> | |
| <div class="is-item has--img"> | |
| <figure class="the-img"> | |
| <img src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/602471/jake-ingle-168726%20copy.jpg" alt=""> | |
| </figure> | |
| </div> | |
| <div class="is-item has--content"> | |
| <div class="is-item--inner"> |
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
| <link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet"> | |
| <body ng-app="myApp" ng-controller="myCtrl"> | |
| <header> | |
| <div class="navbar-fixed"> | |
| <nav> | |
| <div class="nav-wrapper grey darken-4"> | |
| <ul id="nav-mobile" class="right hide-on-med-and-down"> | |
| <li><a href="#">Login</a></li> | |
| <li><a href="#" data-activates="slide-out">Menu</a></li> |
I needed to brush up on my flexbox skills, so I created this little pen. The tabs aren't functional (yet), but the menu, input, and profile have some cool interactions.
Check it out on your mobile device here: http://s.codepen.io/koenigsegg1/debug/EyVgpK.
A Pen by Uriel Wilson Jr. 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
| This example uses the Rest API PHP SDK of Paypal. To get it, just use composer. |
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
| <h1>jQuery Password Generator <small>(v2)</small></h1> | |
| <h4>Using jQuery to quickly and easily generate passwords.</h4> | |
| <div class="container"> | |
| <div class="row"> | |
| <div class="col-sm-12"> | |
| <div class="form-group"> | |
| <div class="input-group"> | |
| <input type="text" class="form-control input-lg" rel="gp" data-size="32" data-character-set="a-z,A-Z,0-9,#"> | |
| <span class="input-group-btn"><button type="button" class="btn btn-default btn-lg getNewPass"><span class="fa fa-refresh"></span></button></span> |
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
| // License: GPLv2+ | |
| var el = wp.element.createElement, | |
| registerBlockType = wp.blocks.registerBlockType, | |
| ServerSideRender = wp.components.ServerSideRender, | |
| TextControl = wp.components.TextControl, | |
| InspectorControls = wp.editor.InspectorControls; | |
| /* | |
| * Here's where we register the block in JavaScript. |
<?php
if(isset($_POST['submit'])){
$name = htmlspecialchars(stripslashes(trim($_POST['name'])));
$subject = htmlspecialchars(stripslashes(trim($_POST['subject'])));
$email = htmlspecialchars(stripslashes(trim($_POST['email'])));
$message = htmlspecialchars(stripslashes(trim($_POST['message'])));
if(!preg_match("/^[A-Za-z .'-]+$/", $name)){
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 | |
| // get latest german WordPress file | |
| $ch = curl_init(); | |
| $source = "https://de.wordpress.org/latest-de_DE.zip"; // THE FILE URL | |
| curl_setopt($ch, CURLOPT_URL, $source); | |
| curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); | |
| $data = curl_exec ($ch); | |
| curl_close ($ch); |
