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
| require 'data_mapper' | |
| require './models/user' | |
| require './models/post' | |
| require './models/comment' | |
| module Seed | |
| extend self | |
| def run | |
| User.create(:firstname => "John", :lastname => "Smith", :username => "johnsmith") |
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
| package { | |
| import flash.display.Sprite; | |
| import flash.events.NetStatusEvent; | |
| import flash.external.ExternalInterface; | |
| import flash.text.*; | |
| import flash.net.NetConnection; | |
| import flash.net.NetStream; | |
| import flash.events.SecurityErrorEvent; | |
| import flash.media.SoundTransform; |
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
| <!-- saved from url=(0014)about:internet --> | |
| <html lang="en"> | |
| <!-- | |
| Smart developers always View Source. | |
| This application was built using Adobe Flex, an open source framework | |
| for building rich Internet applications that get delivered via the | |
| Flash Player or to desktops via Adobe AIR. |
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
| package main | |
| import "fmt" | |
| type Bar struct { | |
| Name string | |
| } | |
| type Foo struct { | |
| Bar |
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
| Container: MPEG-4 (5979600 bytes) | |
| Box: ftyp | |
| Byte Range: 0-27 (28 bytes) | |
| Box: moov | |
| Byte Range: 28-82304 (82277 bytes) | |
| Box: mvhd | |
| Byte Range: 36-155 (120 bytes) | |
| Box: trak | |
| Byte Range: 156-40678 (40523 bytes) |
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
| Container: MPEG-4 (5066018 bytes) | |
| Box: ftyp | |
| Byte Range: 0-27 (28 bytes) | |
| Box: moov | |
| Byte Range: 28-1165 (1138 bytes) | |
| Box: mvhd | |
| Byte Range: 36-143 (108 bytes) | |
| Box: trak | |
| Byte Range: 144-1027 (884 bytes) |
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
| Container: MPEG-4 (4937617 bytes) | |
| Box: ftyp | |
| Byte Range: 0-27 (28 bytes) | |
| Box: moov | |
| Byte Range: 28-57993 (57966 bytes) | |
| Box: mvhd | |
| Byte Range: 36-143 (108 bytes) | |
| Box: trak | |
| Byte Range: 144-57895 (57752 bytes) |
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
| Container: MPEG-4 (4937617 bytes) | |
| Box: ftyp | |
| Byte Range: 0-27 (28 bytes) | |
| Box: free | |
| Byte Range: 28-35 (8 bytes) | |
| Box: mdat | |
| Byte Range: 36-4879650 (4879615 bytes) |
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
| var alert_messages = new Array(); | |
| // SoundCloud's own SDK wrapping the API | |
| if (window.SC) { | |
| alert_messages.push("SoundCloud Connect SDK (HTTP only)"); | |
| } | |
| // HTML5 Widget | |
| var frames = $.find("iframe") | |
| if (frames.length > 0) { |
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
| To add the detect bookmarklet, drag this to your bookmark bar: | |
| <a href=" | |
| javascript:(function () { | |
| var script = document.createElement( 'script' ); | |
| script.src = '//ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js'; | |
| script.onload=loadBookmarklet; | |
| document.body.appendChild(script); | |
| function loadBookmarklet() { |