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 char = '', | |
| morseToChar = { | |
| '.-': 'a', | |
| '-...': 'b', | |
| '-.-.': 'c', | |
| '-..': 'd', | |
| '.': 'e', | |
| '..-.': 'f', | |
| '--.': 'g', | |
| '....': 'h', |
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
| Pod::Spec.new do |s| | |
| s.name = 'Countly' | |
| s.version = '1.0.0-master' | |
| s.license = { | |
| :type => 'COMMUNITY', | |
| :text => <<-LICENSE | |
| COUNTLY MOBILE ANALYTICS COMMUNITY EDITION LICENSE | |
| -------------------------------------------------- | |
| Copyright (c) 2012, 2013 Countly |
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> | |
| <head> | |
| <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script> | |
| <script src="http://code.jquery.com/ui/1.10.1/jquery-ui.js"></script> | |
| <script src="select2.js"></script> | |
| <link rel="stylesheet" type="text/css" href="http://code.jquery.com/ui/1.10.1/themes/base/jquery-ui.css"/> | |
| <link rel="stylesheet" type="text/css" href="select2.css"/> | |
| <style type="text/css"> | |
| select { width: 300px; } |
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
| <object data="http://mydbr.com/demo/mydbr/report.php?r=44&m=1&h=448a73df6c5249b6605f8560e3880e0e754972e4" | |
| type="text/html" | |
| height="500px" | |
| width="100%"> | |
| </object> |
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
| # place in config/initalizers | |
| module ActiveRecord | |
| class Base | |
| # Establishes a connection to the database that's used by all Active Record objects. | |
| def self.mysql2_connection(config) | |
| config[:username] = 'root' if config[:username].nil? | |
| if Mysql2::Client.const_defined? :FOUND_ROWS | |
| config[:flags] = Mysql2::Client::FOUND_ROWS | Mysql2::Client::MULTI_STATEMENTS |
NewerOlder