iPhone5 (cdma)
Writing up a guide for people in the new office who prefer to work on windows machine but still be able to use the methods the mac guys use.
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
// Font-Face Mixin | |
.font-face (@font-family-name, @font-file-path-file-name, @font-weight: normal, @font-style: normal) { | |
@font-face { | |
font-family: '@{font-family-name}'; | |
src: ~"url('@{font-file-path-file-name}.eot')"; | |
src: ~"url('@{font-file-path-file-name}.eot?#iefix') format('embedded-opentype')", | |
~"url('@{font-file-path-file-name}.woff') format('woff')", | |
~"url('@{font-file-path-file-name}.ttf') format('truetype')" | |
~"url('@{font-file-path-file-name}.svg#@{font-family-name}') format('svg')"; |
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
controllers.controller('MainCtrl', function($scope, $location, Facebook, $rootScope, $http, $location, Upload, Auth, User, Question, Category, Serie, Record, Location, Popup, Process, Card, Question) { | |
$scope.$on('authLoaded', function() { | |
$scope.isExpert($scope.main.serieId); | |
$scope.isMember($scope.main.serieId); | |
}); | |
$scope.loadAuth = function() { | |
Auth.load().success(function(data) { | |
$scope.main.user = data.user; | |
$scope.$broadcast("authLoaded"); |
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
/*! | |
* CSS3 Ribbons by @pongstr | |
* http://codepen.io/pongstr/pen/jxhbu | |
*/ | |
body,html{height:100%;font-family:"Helvetica Neue",Helvetica,sans-serif}*,:after,:before{-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box}.container{margin-left:auto;margin-right:auto;padding-left:15px;padding-right:15px}@media (min-width:768px){.container{width:768px}}@media (min-width:992px){.container{width:992px}}@media (min-width:1200px){.container{width:1200px}}h1{display:block;clear:both;width:96%;margin:25px auto;font-family:Pacifico,cursive;font-size:64px;font-weight:700;text-align:center;background:-webkit-linear-gradient(#5bc0de,#428bca);-webkit-background-clip:text;-webkit-text-fill-color:transparent}pre{position:relative;margin:15px auto;padding:10px;font-family:Consolas,Menlo,Courier,monsopace;font-size:13px;line-height:1.5;border:1px solid #ddd;background-color:#f4f4f4;border-radius:4px;box-shadow:0 0 5px rgba(51,51,51,.1)inset}@media (min-width:480px){pre{float:left;width:100%}}@media (mi |
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
#!/bin/sh | |
# Some things taken from here | |
# https://github.com/mathiasbynens/dotfiles/blob/master/.osx | |
# Set the colours you can use | |
black='\033[0;30m' | |
white='\033[0;37m' | |
red='\033[0;31m' | |
green='\033[0;32m' |
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
<!doctype html> | |
<html ng-app="app"> | |
<head> | |
<meta charset="utf-8"> | |
<title>AngularJS App</title> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"> | |
<meta name="apple-mobile-web-app-capable" content="yes"> |
I'm going to try and get out of my comfort zone and try to embark a week of coding personal projects and maybe learn couple of new things using an Ubuntu machine. These are some setup stuff I've ripped off from my osx dotfiles to set up my Ubuntu environment.
This setup is basically for Front-end Development and MEAN-stack apps.
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
<!doctype html> | |
<html ng-app="app"> | |
<head> | |
<meta charset="utf-8"> | |
<title>jQuery Plugin</title> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"> | |
<meta name="apple-mobile-web-app-capable" content="yes"> |