Skip to content

Instantly share code, notes, and snippets.

View rlfrahm's full-sized avatar
A Bugatti has 2 seats & a bus has many. Few will support your path 2 success.

Ryan Frahm rlfrahm

A Bugatti has 2 seats & a bus has many. Few will support your path 2 success.
View GitHub Profile
@rlfrahm
rlfrahm / README.md
Last active September 5, 2015 13:01
CSS3 Google Material Radial Spinner
@rlfrahm
rlfrahm / README.md
Last active August 29, 2015 14:09
CSS3 Windows 8 Activity Spinner

This activity spinner is an adaptation from this Codepen, and is commonly seen in Windows 8.

@rlfrahm
rlfrahm / index.html
Last active August 29, 2015 14:10
CSS3 Activity spinner
<div class="loader">
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
</div>
<style>
.loader {
@rlfrahm
rlfrahm / README.md
Last active March 15, 2018 14:55
Example of a check all checkbox in AngularJs

AngularJS : Check all checkboxes checkbox

#####Technologies

  • AngularJs
  • Twitter Bootstrap
@rlfrahm
rlfrahm / README.md
Last active August 29, 2015 14:10
A custom context menu using AngularJs and Bootstrap

AngularJS : An example of a custom context menu.

Right click in the window to view.

@rlfrahm
rlfrahm / README.md
Last active August 29, 2015 14:11
AngularJs ngOptions for array and object types

AngularJS : ngOptions for Arrays and Objects

@rlfrahm
rlfrahm / fizzbuzz.py
Last active August 29, 2015 14:22
A quick Python implementation of Fizzbuzz (http://en.wikipedia.org/wiki/Fizz_buzz)
#!/usr/bin/python
for i in range(0,100):
three = i % 3
five = i % 5
if three == 0 and five == 0:
print 'fizzbuzz'
elif three == 0:
print 'fizz'
elif five == 0:
@rlfrahm
rlfrahm / csv_reader.php
Last active August 29, 2015 14:22
How to iterate through a CSV file using PHP
// Open the file
$file = fopen($uri,'r');
// If the first line is a header, uncomment the following..
// $header = fgetcsv($file);
// Iterate through each row of the file
while(!feof($file)) {
// Read in the row
// $row will be an array of values that correspond to
// the columns in the row, example:
// array (
@rlfrahm
rlfrahm / README.md
Last active August 29, 2015 14:23
Git remove last remote commit
git reset --hard HEAD^ 

git push -f

@rlfrahm
rlfrahm / index.html
Last active May 24, 2017 15:14 — forked from kkiernan/index.html
A Vue.js filter that formats a phone number. Adapted for Vue.js 2.0
<div id="vue">
<input type="text"
name="home_phone"
class="form-control"
v-model="homePhone"
v-on:keyup="formatPhone()"
lazy>
</div>