C:\Windows\Microsoft.NET\Framework64\v4.0.30319\csc.exe -reference:Newtonsoft.Json.dll /target:winexe .\Table.cs
C:\Windows\Microsoft.NET\Framework64\v4.0.30319\csc.exe -r:Newtonsoft.Json.dll /target:winexe .\Table.cs
| source 'https://rubygems.org' | |
| git_source(:github) { |repo| "https://github.com/#{repo}.git" } | |
| ruby '2.5.8' | |
| # Bundle edge Rails instead: gem 'rails', github: 'rails/rails', branch: 'main' | |
| gem 'rails', '~> 6.1.4', '>= 6.1.4.1' | |
| # Use sqlite3 as the database for Active Record | |
| # gem 'sqlite3', '~> 1.4' | |
| # Use Puma as the app server |
| public class FIleUploadAPI | |
| { | |
| public IFormFile oneimage { get; set; } | |
| public String cellNumber { get; set; } | |
| public String otroCampo { get; set; } | |
| public String otroCampo2 { get; set; } | |
| } | |
| [Route("/api/v1/student/CAU/Ticket/new")] | |
| [HttpPost] |
| #!/usr/bin/env bash | |
| # actualizar el sistema completamente | |
| echo mejorar y actualizar el sistema | |
| sudo apt-get update | |
| sudo apt-get -y upgrade | |
| # instalar node.js para ejecutar comandos js al utilizar Rails | |
| echo instalando node.js para ejecutar JS y Git | |
| sudo apt-get install -y nodejs | |
| sudo apt-get install -y git |
| <?php | |
| namespace App\Http\Controllers; | |
| use Illuminate\Support\Facades\Auth; | |
| use Illuminate\Http\Request; | |
| use Illuminate\Support\Facades\Http; | |
| use GuzzleHttp\Client; | |
| use Illuminate\Support\Facades\Log; | |
| use GuzzleHttp\Exception\ClientException; | |
| use GuzzleHttp\Exception\RequestException; |
| public class DatabaseHelper extends SQLiteOpenHelper { | |
| .... | |
| public static class Columns implements BaseColumns { | |
| public static final String COLUMN_NAME_TOKEN = "token"; | |
| public static final String COLUMN_NAME_NAME = "name"; | |
| public static final String COLUMN_NAME_TITLE = "title"; | |
| public static final String COLUMN_NAME_MESSAGE = "message"; | |
| public static final String COLUMN_NAME_EXTRA = "extra"; | |
| public static final String COLUMN_NAME_ACTIVE = "is_active"; | |
| public static final String COLUMN_NAME_CHANNEL = "channel"; |
| import { Component, OnInit } from '@angular/core'; | |
| import { ViewEncapsulation } from '@angular/core' | |
| import { Router, ActivatedRoute } from '@angular/router'; | |
| import { FormBuilder, FormGroup, Validators } from '@angular/forms'; | |
| import { LoginService } from './login.service'; | |
| @Component({ | |
| selector: 'app-login', |
| package info.rayrojas.avispa.models; | |
| import android.content.ContentValues; | |
| import android.content.Context; | |
| import android.database.Cursor; | |
| import android.database.sqlite.SQLiteDatabase; | |
| import android.database.sqlite.SQLiteOpenHelper; | |
| import android.provider.BaseColumns; | |
| import java.util.ArrayList; |
| public static void sendRequestPOST(QueueUtils.QueueObject o, final MainActivity _interface) { | |
| String url = "http://rrojasen.alwaysdata.net/purchaseorders.json"; | |
| url = "http://fipo.equisd.com/api/users/new.json"; | |
| url = "http://192.168.58.3:8056/api/users/new.json"; | |
| StringRequest stringRequest = new StringRequest(Request.Method.POST, url, | |
| new Response.Listener<String>() { | |
| @Override | |
| public void onResponse(String response) { | |
| try { | |
| //Do it with this it will work |
| // Rutas: | |
| // https://mymodernmet.com/wp/wp-content/uploads/2019/09/100k-ai-faces-3.jpg | |
| // https://mymodernmet.com/wp/wp-content/uploads/2019/09/100k-ai-faces-8.jpg | |
| // https://mymodernmet.com/wp/wp-content/uploads/2019/09/100k-ai-faces-7.jpg | |
| // https://mymodernmet.com/wp/wp-content/uploads/2019/09/100k-ai-faces-4.jpg | |
| // build.gradle (Module: App) | |
| dependencies { | |
| .... | |
| implementation 'com.android.volley:volley:1.1.1' | |
| } |