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
name: Deploy to container registry dev | |
on: | |
push: | |
branches: ["main"] | |
jobs: | |
build-and-push-image: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 |
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 Oddo { | |
/** | |
* Se encarga de realizar el proceso de autenticación | |
* @return Objeto con información devuelta por el backend | |
*/ | |
public static Object executeLogin() throws XmlRpcException, MalformedURLException { | |
final XmlRpcClient client = new XmlRpcClient(); | |
final XmlRpcClientConfigImpl common_config = new XmlRpcClientConfigImpl(); |
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
{ | |
"data": [{ | |
"date": "1/17/2016", | |
"detail": "esto es un detalle", | |
"supplier": "supplier1", | |
"total": "$10", | |
"payment": "Cash", | |
"product": [ | |
"product1", "product2" | |
], |
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
@NgModule({ | |
imports: [ | |
RouterModule.forChild(routes) | |
], | |
exports: [RouterModule] | |
}) |
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 System; | |
using System.Text; | |
using System.Text.Json; | |
using System.Threading; | |
using System.Threading.Tasks; | |
using MQTTnet; | |
using MQTTnet.Client; | |
using MQTTnet.Client.Options; | |
public class MQTTProxy |
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 JsonResult Datos(DataTableAjaxPostModel model) | |
{ | |
model.search.value = Request.QueryString.GetValues("search[value]").FirstOrDefault(); | |
var paginador = new Paginador(this.Db); | |
// action inside a standard controller | |
var res = paginador.Paginar(model, out int filteredResultsCount, out int totalResultsCount); | |
return Json(new | |
{ |
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
import { AlertController, Platform } from "@ionic/angular"; | |
import { AdmobFreeService } from './services/admobfree.service'; | |
import { Component } from "@angular/core"; | |
import { OneSignal } from "@ionic-native/onesignal/ngx"; | |
import { SplashScreen } from "@ionic-native/splash-screen/ngx"; | |
import { StatusBar } from "@ionic-native/status-bar/ngx"; | |
import { environment } from "src/environments/environment.prod"; | |
@Component({ |
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
try { | |
while ((linea = br.readLine()) != null) { | |
tokens = linea.split(";"); | |
for (int i = 0; i < 3; i++) { | |
try{ | |
op = Long.parseLong(tokens[i]); // aquí me marca la excepción | |
} | |
catch(Exception ex){ | |
System.out.println(tokens[i]); | |
} |
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 Test { | |
public static void main(String... args) { | |
Pila<Integer> pila = new Pila<>(); | |
pila.push(1); | |
pila.push(2); | |
System.out.println(pila.pop()); | |
System.out.println(pila.isEmpty()); | |
System.out.println(pila.pop()); |
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
SELECT T1.clave, | |
T1.titulo, | |
T1.revision, | |
T1.fecharevision, | |
T1.revisadopor, | |
T1. aprobadopor, | |
T1.nombrearchivo, | |
T1.descripcionarchivo, | |
T1.claverelacionada, | |
T1.archivo, |
NewerOlder