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 com.nkdroid.firstaid; | |
| import android.app.Application; | |
| import io.smooch.core.Smooch; | |
| import android.app.Activity; | |
| import android.os.Bundle; | |
| import java.util.Date; | |
| import java.util.HashMap; | |
| import java.util.Map; |
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
| 04/06 16:30:20: Launching app | |
| $ adb push C:\Users\leroi\Desktop\FirstAid-master\app\build\outputs\apk\app-debug.apk /data/local/tmp/com.nkdroid.firstaid | |
| $ adb shell pm install -r "/data/local/tmp/com.nkdroid.firstaid" | |
| pkg: /data/local/tmp/com.nkdroid.firstaid | |
| Success | |
| $ adb shell am start -n "com.nkdroid.firstaid/com.nkdroid.firstaid.translate_app.AndroidLocalize" -a android.intent.action.MAIN -c android.intent.category.LAUNCHER | |
| Connected to process 25521 on device samsung-gt_i9505-9ea0c2a9 |
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
| java.lang.ExceptionInInitializerError | |
| at io.smooch.core.b.b.a(Unknown Source) | |
| at io.smooch.core.b.b.a(Unknown Source) | |
| at io.smooch.core.service.SmoochService.<init>(Unknown Source) | |
| at java.lang.Class.newInstanceImpl(Native Method) | |
| at java.lang.Class.newInstance(Class.java:1319) | |
| at android.app.ActivityThread.handleCreateService(ActivityThread.java:2395) | |
| at android.app.ActivityThread.access$1700(ActivityThread.java:143) | |
| at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1323) | |
| at android.os.Handler.dispatchMessage(Handler.java:99) |
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 com.nkdroid.firstaid; | |
| import android.app.Activity; | |
| import android.content.Context; | |
| import android.content.Intent; | |
| import android.content.SharedPreferences; | |
| import android.os.Bundle; | |
| import android.util.Log; | |
| import android.view.LayoutInflater; |
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 com.nkdroid.firstaid.translate_app; | |
| import android.content.Intent; | |
| import android.os.Bundle; | |
| import android.support.v7.app.AppCompatActivity; | |
| import android.view.View; | |
| import android.view.WindowManager; | |
| import android.widget.ArrayAdapter; | |
| import android.widget.Button; |
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
| input { | |
| tcp { | |
| host => "149.202.191.163" | |
| port => 10514 | |
| codec => "plain" | |
| type => "syslog" | |
| ssl_enable => 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
| #!/bin/bash | |
| wget https://storage.googleapis.com/golang/go1.11.4.linux-amd64.tar.gz | |
| tar -C /usr/local -xzf go1.11.4.linux-amd64.tar.gz | |
| # Add it to our path | |
| echo -e "export PATH=$PATH:/usr/local/go/bin" >> /etc/profile | |
| source /etc/profile |
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 'rubygems' | |
| require 'httparty' | |
| require 'pp' | |
| require 'json' | |
| class ReservationsController < ApplicationController | |
| before_action :authenticate_user! | |
| before_action :set_reservation, only: [:approve, :decline] | |
| PAYMENT_URL = "https://api.monetbil.com/widget/v2.1/seriv-key-goes-here" | |
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
| Rails.application.config.assets.precompile += %w( style.css ) | |
| Rails.application.config.assets.precompile += %w( air.css ) | |
| Rails.application.config.assets.precompile += %w( font-awesome.min.css ) | |
| Rails.application.config.assets.precompile += %w( plugins.js ) | |
| Rails.application.config.assets.precompile += %w( jquery-ui.js ) | |
| Rails.application.config.assets.precompile += %w( main.js ) |
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
| RewriteEngine On | |
| RewriteCond %{REQUEST_FILENAME} !-f | |
| RewriteCond %{REQUEST_FILENAME} !-d | |
| RewriteRule ^(.*)$ index.php?/$1 [L] |