This file contains 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
public class InjectorData | |
{ | |
public static void RegisterServices(IConfiguration Configuration, IServiceCollection services) | |
{ | |
//Database | |
string conn = Configuration.GetConnectionString("SQLDatabase"); | |
var username = Environment.GetEnvironmentVariable("username"); | |
var password = Environment.GetEnvironmentVariable("password"); | |
var host = Environment.GetEnvironmentVariable("HOST"); | |
conn = $"Host={host};User ID={username};Password={password};{conn}"; |
This file contains 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"?> | |
<selector xmlns:android="http://schemas.android.com/apk/res/android"> | |
<item android:drawable="@color/colorPrimaryDark" android:state_pressed="true"/> | |
<item android:drawable="@color/colorPrimaryDark" android:state_focused="true"/> | |
<item android:drawable="@color/colorAccent"/> | |
</selector> |
This file contains 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.example.fernando.myapplication.models; | |
/** | |
* Created by Fernando on 16/10/2018. | |
*/ | |
public class Valor { | |
private float Valor; | |
private boolean IsChecked; |
This file contains 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.example.fernando.myapplication.models; | |
/** | |
* Created by Fernando on 16/10/2018. | |
*/ | |
public class Partida { | |
private Long Id; | |
private Valor[] valores; | |
private String Time1; |
This file contains 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.example.fernando.myapplication; | |
import android.content.Context; | |
import android.graphics.Color; | |
import android.view.LayoutInflater; | |
import android.view.View; | |
import android.view.ViewGroup; | |
import android.widget.BaseAdapter; | |
import android.widget.Button; | |
import android.widget.TextView; |
This file contains 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.example.fernando.myapplication; | |
import android.content.Context; | |
import android.database.DataSetObserver; | |
import android.support.v7.app.AppCompatActivity; | |
import android.os.Bundle; | |
import android.view.LayoutInflater; | |
import android.view.View; | |
import android.view.ViewGroup; | |
import android.view.inputmethod.InputMethodManager; |
This file contains 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"?> | |
<RelativeLayout | |
xmlns:android="http://schemas.android.com/apk/res/android" | |
xmlns:app="http://schemas.android.com/apk/res-auto" | |
xmlns:tools="http://schemas.android.com/tools" | |
android:orientation="vertical" | |
android:layout_width="match_parent" | |
android:background="#000" | |
android:layout_height="match_parent" | |
tools:context="com.example.fernando.myapplication.MainActivity" |
This file contains 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"?> | |
<LinearLayout | |
xmlns:android="http://schemas.android.com/apk/res/android" | |
xmlns:app="http://schemas.android.com/apk/res-auto" | |
android:layout_width="match_parent" | |
android:layout_height="wrap_content" | |
android:orientation="vertical" | |
android:background="#9C9C9C" | |
> | |
<LinearLayout |
This file contains 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 (var client = new HttpClient(HttpClientHandler)) | |
{ | |
client.DefaultRequestHeaders.Add("clientId", ClientId); | |
client.DefaultRequestHeaders.Add("accessToken", AccessToken); | |
client.BaseAddress = UriBase; | |
HttpRequestMessage request = new HttpRequestMessage( | |
HttpMethod.Delete, | |
$"holmes/api/document/{Id}" | |
); |
This file contains 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 function | |
* @name VR.controller:ChecklistoperadorCtrl | |
* @description | |
* # ChecklistoperadorCtrl | |
* Controller of the VR | |
*/ | |
angular.module('VR') |
NewerOlder