Skip to content

Instantly share code, notes, and snippets.

View hugoangeles0810's full-sized avatar
🏠
Working from home

Hugo Angeles Chavez hugoangeles0810

🏠
Working from home
  • Lima
View GitHub Profile
class Main {
public static void main(String[] args) throws java.io.IOException{
java.io.BufferedReader input = new java.io.BufferedReader(new java.io.InputStreamReader(System.in));
java.util.ArrayList numeros = new java.util.ArrayList();
//lectura
int P = Integer.parseInt(input.readLine());
//variables auxiliares
@hugoangeles0810
hugoangeles0810 / SlidingTabLayout
Created April 18, 2015 22:28
Align-Center SlidingTabLayout
/*
* Copyright (C) 2013 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package controller;
import entity.Empleados;
import java.text.ParseException;
import java.text.SimpleDateFormat;
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package com.dev2012.noticiasunp.util;
import java.io.IOException;
import javax.servlet.Filter;
import javax.servlet.FilterChain;
APP_ENV=local
APP_DEBUG=true
APP_KEY=base64:zPrk2t0FcN4yBiEdy6ZamOTdrGQWLL7rCUaAWhoYIBA=
APP_URL=http://localhost
DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=treca_db
DB_USERNAME=homestead
---
ip: "192.168.10.10"
memory: 2048
cpus: 1
provider: virtualbox
authorize: ~/.ssh/id_rsa.pub
keys:
- ~/.ssh/id_rsa
apply plugin: 'com.android.application'
android {
compileSdkVersion 23
buildToolsVersion "23.0.3"
defaultConfig {
applicationId "com.hugoangeles.android.tipcalc"
minSdkVersion 16
targetSdkVersion 23
@hugoangeles0810
hugoangeles0810 / .gitignore
Created June 26, 2016 04:36 — forked from keyboardsurfer/.gitignore
Android gitignore
# Copyright: Benjamin Weiss (keyboardsurfer) https://github.com/keyboardsurfer
# Under CC-BY-SA V3.0 (https://creativecommons.org/licenses/by-sa/3.0/legalcode)
# built application files
*.apk
*.ap_
*.jar
!gradle/wrapper/gradle-wrapper.jar
# lint folder
server {
listen 80 default_server;
listen [::]:80 default_server ipv6only=on;
root /var/www/html/public;
index index.php index.html index.htm;
location / {
try_files $uri $uri/ /index.php$is_args$args;
}
import java.io.BufferedReader;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.InputStreamReader;
class Main{
public static void main(String[] args) throws FileNotFoundException, IOException {
char[][] matriz;
String[] campos;