Skip to content

Instantly share code, notes, and snippets.

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

Carlos Andrés Charris S Gdaimon

🏠
Working from home
View GitHub Profile

Atajos de teclado para Eclipse (y derivados como ZendStudio)

Para editar un comando: Window → Preferences → General → Keys

Edición

Ctrl+D elimina la línea actual (en la que se encuentra el cursor)
Ctrl+Shift+F formatear código (tabulaciones, saltos de línea,…)
@Gdaimon
Gdaimon / 1.email_simple.sql
Created February 12, 2016 22:10 — forked from felix-orduz/1.email_simple.sql
Envio Email Con PL/SQL
CREATE OR REPLACE PROCEDURE CEM.send_mail(
sender IN VARCHAR2,
recipient IN VARCHAR2,
ccrecipient IN VARCHAR2,
subject IN VARCHAR2,
message IN VARCHAR2
)IS
crlf VARCHAR2(2):= UTL_TCP.CRLF;
connection utl_smtp.connection;
mailhost VARCHAR2(30) := 'host';
@Gdaimon
Gdaimon / index.html
Last active March 29, 2016 00:48
Prueba Backbone
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Test</title>
<link rel="stylesheet" href="public/css/bootstrap.min.css">
<link href='https://fonts.googleapis.com/css?family=Roboto' rel='stylesheet' type='text/css'>
</head>
<body id="app">
<div class="container-fluid">
@Gdaimon
Gdaimon / Punto_4
Created April 19, 2016 02:18
Punto No. 4
package training.data;
import java.util.Collections;
import java.util.LinkedList;
import java.util.Scanner;
public class Punto4 {
public static void main ( String [ ] args )
{
public class Punto5 {
// Prueba 1
// 5
// 5
// 45
// 135
// 405
// 1215
//Prueba 2
package Kernell;
import java.util.*;
public class workshopDP {
public static final int SIZE = 1000;
private static String x, y;
private static int L[][]=new int[SIZE][SIZE];
public static int getLCSLength( final int i, final int j,String x,String y ){
public class puntoCinco {
private static int[] x;
private static int base;
private static int diference;
private static int[] answer = new int[]{0};
public static void main(String[] args) {
// x = new int[]{3, 5, 7, 9, 11, 15, 17};
x = new int[]{2, 6, 10, 14, 22, 26};
public class puntoCuatro {
// int M = 3;
// int[] s = {3, 5, 2, 7, 19, 8};
// int[] s = {19, 23, 9, 12};
public static void main(String[] args) {
Scanner sn = new Scanner(System.in);
int M = sn.nextInt();
int n = sn.nextInt();
int s[] = new int[n];
for (int i = 0; i < n; i++)
@Gdaimon
Gdaimon / Unidirectional
Created May 14, 2016 10:15
Unidirectional
public class Unidirectional {
public static int[][] m = new int[][]{{4, 6, 5}, {2, 8, 1}, {6, 9, 3}};
private static int r, c;
public static void main(String[] args) {
int minimun = min(3, 4, 5);
int[][] cache = new int[3][3];
System.out.println(minimun);
public class puntoUno {
//nˆ3log2(n)+ 4ˆn + 8n
private static void first(int[] array, int s) {
for (int i = 0; i < array.length; i++) //n^3
for (int j = 0; j < array.length; j++)
for (int j2 = 0; j2 < array.length; j2++)
Arrays.binarySearch(array, s); //log2(n)
}