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
| parse_git_branch () { | |
| git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/ (\1)/' | |
| } | |
| parse_git_tag () { | |
| git describe --tags 2> /dev/null | |
| } | |
| parse_git_branch_or_tag() { |
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
| #!/usr/bin/env ruby | |
| # This command will automatically be run when you run "rails" with Rails 3 gems installed from the root of your application. | |
| unless ARGV.empty? then | |
| if ARGV[0] == 'pry' || ARGV[0] == 'p' then | |
| system("pry -r #{File.expand_path('./config/environment')}") | |
| exit | |
| end | |
| end | |
| APP_PATH = File.expand_path('../../config/application', __FILE__) |
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
| #config/environments/development.rb | |
| MyApp::Application.configure do | |
| silence_warnings do | |
| begin | |
| require 'pry' | |
| IRB = Pry | |
| rescue LoadError | |
| end | |
| end |
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
| # ~/.bashrc: executed by bash(1) for non-login shells. | |
| # see /usr/share/doc/bash/examples/startup-files (in the package bash-doc) | |
| # for examples | |
| # If not running interactively, don't do anything | |
| if [[ -n "$PS1" ]]; then | |
| # don't put duplicate lines in the history. See bash(1) for more options | |
| # ... or force ignoredups and ignorespace | |
| HISTCONTROL=ignoredups:ignorespace |
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 | |
| ### BEGIN INIT INFO | |
| # Provides: nginx | |
| # Required-Start: $remote_fs $syslog | |
| # Required-Stop: $remote_fs $syslog | |
| # Default-Start: 2 3 4 5 | |
| # Default-Stop: 0 1 6 | |
| # Short-Description: nginx init.d script for Ubuntu 8.10 and lesser versions. | |
| # Description: nginx init.d script for Ubuntu 8.10 and lesser versions. | |
| ### END INIT INFO |
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
| <uses-permission android:name="android.permission.INTERNET" /> | |
| <uses-permission android:name="android.permission.READ_PHONE_STATE" /> | |
| <uses-permission android:name="android.permission.PROCESS_OUTGOING_CALLS" /> | |
| <uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW" /> | |
| <uses-feature android:name="android.hardware.telephony" android:required="false" /> |
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
| -dontwarn com.pingjam.** | |
| -keep class com.pingjam.** | |
| -dontwarn com.google.** | |
| -keep class com.google.** | |
| -keepattributes Exceptions,InnerClasses,Signature,Deprecated,SourceFile,LineNumberTable,EnclosingMethod |
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
| using UnityEngine; | |
| using System.Collections; | |
| using Pingjam; | |
| public class PingjamInit : MonoBehaviour | |
| { | |
| void Start () | |
| { | |
| AdRock.Instance.Register (new OptInDialogOptions (){Theme=OptInDialogOptions.THEME_LIGHT,CustomButtonStyle=true}); | |
| } |
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
| <?xml version="1.0" encoding="utf-8"?> | |
| <cordova> | |
| .. | |
| .. | |
| <plugins> | |
| .. | |
| .. | |
| <plugin name="Pingjam" value="com.pingjam.phonegap.AdRockPlugin" /> | |
| </plugins> | |
| </cordova> |
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> | |
| .. | |
| <body> | |
| .. | |
| .. | |
| <script type="text/javascript" src="cordova-2.7.0.js"></script> | |
| <script type="text/javascript" src="js/pingjam.js"></script> | |
| <script type="text/javascript" src="js/index.js"></script> | |
| .. |