A Pen by Dorian Karter 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
'use strict'; | |
/** | |
* @ngdoc directive | |
* @name myapp.directive:forceLowerCase | |
* @description | |
* # forceLowerCase | |
*/ | |
angular.module('myapp') | |
.directive('forceLowerCase', function ($parse) { |
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
.dropbox { | |
border: dashed 2px #666; | |
height: 30px; | |
width: 240px; | |
border-radius: 20px; | |
text-align: center; | |
padding-top: 10px; | |
color: #666; | |
transition: height .5s ease; | |
} |
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
$(document).on('dragenter', function (){ | |
$('.dropbox').height(300); | |
$('.drag-mask').show(); | |
}); | |
$('.drag-mask').on('dragleave', function () { | |
$('.dropbox').height(30); | |
$('.drag-mask').hide(); | |
}); |
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
Users/dkarter/dev/app/path/ruby/2.2.0/gems/json-1.8.2/lib/json/ext/parser.bundle: [BUG] Segmentation fault at 0x00000000000440 | |
ruby 2.2.1p85 (2015-02-26 revision 49769) [x86_64-darwin14] | |
-- Crash Report log information -------------------------------------------- | |
See Crash Report log file under the one of following: | |
* ~/Library/Logs/CrashReporter | |
* /Library/Logs/CrashReporter | |
* ~/Library/Logs/DiagnosticReports | |
* /Library/Logs/DiagnosticReports | |
for more details. |
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
echo $PATH | awk '{ n = split($0, paths, ":"); for (i=0; ++i <= n;) print i, paths[i] }' |
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
echo 'Agnes' | |
say -v 'Agnes' "Isn't it nice to have a computer that will talk to you?" | |
echo 'Albert' | |
say -v 'Albert' "I have a frog in my throat. No, I mean a real frog!" | |
echo 'Alex' | |
say -v 'Alex' "Most people recognize me by my voice." | |
echo 'Alice' | |
say -v 'Alice' "Salve, mi chiamo Alice e sono una voce italiana." | |
echo 'Alva' | |
say -v 'Alva' "Hej, jag heter Alva. Jag är en svensk röst." |
To review please fork, make your changes and post the link to your fork in the comments. Thanks much!!
By now you have probably heard about Elm, the statically typed, immutable, Haskell inspired, polite and helpful, functional reactive language for the web.
It's extremely FAST too. It consistently performs better than React, Ember, Angular and others in the TODO MVC performance tests.
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
module RoundRobin where | |
import Graphics.Element exposing (show) | |
import Set | |
import Array | |
type alias Team = String | |
type alias TeamMatch = (Team, Team) | |
removeRedundentMatches : List TeamMatch -> List TeamMatch |
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
{ | |
"db/migrations/*.rb": { | |
"type": "migration", | |
"template": [ | |
"class {camelcase} < ActiveRecord::Migration", | |
" def up", | |
" execute <<-SQL", | |
" SQL", | |
" end", | |
"", |
OlderNewer