Skip to content

Instantly share code, notes, and snippets.

@califat
califat / PHP Countries Array
Created Nov 25, 2016 — forked from DHS/PHP Countries Array
PHP array of all country names
View PHP Countries Array
<?php
$countries = array("Afghanistan", "Albania", "Algeria", "American Samoa", "Andorra", "Angola", "Anguilla", "Antarctica", "Antigua and Barbuda", "Argentina", "Armenia", "Aruba", "Australia", "Austria", "Azerbaijan", "Bahamas", "Bahrain", "Bangladesh", "Barbados", "Belarus", "Belgium", "Belize", "Benin", "Bermuda", "Bhutan", "Bolivia", "Bosnia and Herzegowina", "Botswana", "Bouvet Island", "Brazil", "British Indian Ocean Territory", "Brunei Darussalam", "Bulgaria", "Burkina Faso", "Burundi", "Cambodia", "Cameroon", "Canada", "Cape Verde", "Cayman Islands", "Central African Republic", "Chad", "Chile", "China", "Christmas Island", "Cocos (Keeling) Islands", "Colombia", "Comoros", "Congo", "Congo, the Democratic Republic of the", "Cook Islands", "Costa Rica", "Cote d'Ivoire", "Croatia (Hrvatska)", "Cuba", "Cyprus", "Czech Republic", "Denmark", "Djibouti", "Dominica", "Dominican Republic", "East Timor", "Ecuador", "Egypt", "El Salvador", "Equatorial Guinea", "Eritrea", "Estonia", "Ethiopia", "Falkland Island
@califat
califat / index.html
Created Mar 21, 2017 — forked from anonymous/index.html
Reactive Timeframe Concept
View index.html
<input type="checkbox" id="switch" />
<div id="app">
<header class="ui-header">
<i class="fa fa-chevron-left"></i>
<div class="ui-text -app-title">App Settings</div>
<div class="ui-text">Apply</div>
</header>
<main class="ui-content">
<div class="ui-discounts">
<i class="fa fa-codepen"></i>
@califat
califat / index.html
Created Apr 20, 2017 — forked from anonymous/index.html
Virtual Reality video plus links
View index.html
<head>
<meta charset="utf-8">
<title>360&deg; Image Gallery</title>
<meta name="description" content="360&deg; Image Gallery - A-Frame">
<script src="https://rawgit.com/aframevr/aframe/917c06889ee1f3f79b7b1bbd9eab9815f9512503/dist/aframe.min.js"></script>
<script src="https://npmcdn.com/aframe-animation-component@3.0.1"></script>
<script src="https://npmcdn.com/aframe-event-set-component@3.0.1"></script>
<script src="https://npmcdn.com/aframe-layout-component@3.0.1"></script>
<script src="https://npmcdn.com/aframe-template-component@3.0.1"></script>
<script src="https://rawgit.com/aframevr/aframe/master/dist/aframe.min.js"></script>
@califat
califat / index.html
Created Apr 20, 2017 — forked from anonymous/index.html
Rollercoaster Island
View index.html
<div id="container"></div>
<div id="info">
<div class="mode">
<div class="action" id="vr_mode"><span>vr mode <br/>(Split Screen + Device Orientation)</span></div>
<div class="action" id="desktop_mode"><span>desktop mode</span></div>
</div>
<div class="attraction">
<div class="action" id="rollercoaster"><span>rollercoaster</span></div>
<div class="action" id="ferris_wheel"><span>ferris wheel</span></div>
<div class="action" id="monster"><span>monster</span></div>
@califat
califat / index.html
Created May 3, 2017 — forked from anonymous/index.html
Stars (interactive)
View index.html
<div class="landscape"></div>
<div class="filter"></div>
<canvas id="canvas"></canvas>
View css-eevee.markdown
View index.html
<div id="content">
<span class="expand">
Oh well, heil Hitler, bitch! And let me tell you something else. So what're you saying? Like, I shot someone with, like, a gun? We flipped a coin, okay? You and me. You and me! Coin flip is sacred!
</span>
</div>
<div id="content">
<span class="expand">
Your job is waiting for you in that basement, as per the coin! I took this vo-tech class in high school, woodworking. I took a lot of vo-tech classes, because it was just big jerk-off, but this one time I had
</span>
</div>
@califat
califat / css-icons.haml
Created May 28, 2017 — forked from jalbertbowden/css-icons.haml
css icons - A CodePen by Andreas Storm. free css icon set - feel free to use this little icon set for your work
View css-icons.haml
.icons
%div
.play
%div
.stop
%div
.pause
%div
.back
%div
@califat
califat / index.html
Created Jun 1, 2017 — forked from anonymous/index.html
Resize, Drag, Snap
View index.html
<div id="pane">
<div id="title">Resize, Drag or Snap Me!</div>
</div>
<div id="ghostpane"></div>
@califat
califat / index.html
Created Jun 3, 2017 — forked from anonymous/index.html
Liquid Button
View index.html
<!-- https://twitter.com/wearenextcode -->
<!-- https://twitter.com/TaminoMartinius -->
You can’t perform that action at this time.