Skip to content

Instantly share code, notes, and snippets.

View czegarram's full-sized avatar

Cesar Zegarra czegarram

View GitHub Profile
Aquí te envío todo el detalle del procedimiento de la compra !
PROCEDIMIENTO
package edu.pe.pm.ilcb.sga.domain;
// Generated 18/06/2014 08:54:30 AM by Hibernate Tools 4.0.0
import java.util.Date;
import java.util.HashSet;
import java.util.Set;
import javax.persistence.AttributeOverride;
import javax.persistence.AttributeOverrides;
import javax.persistence.Column;
package edu.pe.pm.ilcb.sga.rest.objects;
import java.util.Map;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import com.fasterxml.jackson.annotation.JsonIdentityInfo;
import com.fasterxml.jackson.annotation.ObjectIdGenerators;
@czegarram
czegarram / private_ip.html
Created May 28, 2014 16:09
GET CLIENT PRIVATE IP - FULL JS
<html>
<head>
<meta charset="utf-8">
<title>Network IP Address via ipcalf.com</title>
<style id="clearly_highlighting_css" type="text/css">/* selection */ html.clearly_highlighting_enabled ::-moz-selection { background: rgba(246, 238, 150, 0.99); } html.clearly_highlighting_enabled ::selection { background: rgba(246, 238, 150, 0.99); } /* cursor */ html.clearly_highlighting_enabled { /* cursor and hot-spot position -- requires a default cursor, after the URL one */ cursor: url("chrome-extension://pioclpoplcdbaefihamjohnefbikjilc/clearly/images/highlight--cursor.png") 14 16, text; } /* highlight tag */ em.clearly_highlight_element { font-style: inherit !important; font-weight: inherit !important; background-image: url("chrome-extension://pioclpoplcdbaefihamjohnefbikjilc/clearly/images/highlight--yellow.png"); background-repeat: repeat-x; background-position: top left; background-size: 100% 100%; } /* the delete-buttons are positioned relative to this */ em.clearly_highlight_element.clear
@czegarram
czegarram / commands.md
Last active August 29, 2015 13:56
Comandos Útiles Git
  • Clonar un branch: git checkout -b <new_local_branch>
  • Push a un nuevo branch: git push -u origin <new_branch_to_push_central>
  • Clonar un branch externo en local: git branch --track <branch-name> <origin/branch-name>
  • Log de Git: git log
  • Regresar a un commit anterior: git branch branchname <sha1-of-commit>
  • Crear un branch a partir de un commit anterior: git branch branchname HEAD~3 (Numero que especifica cuantos commits for debajo del ultimo commit)
  • Merge Tool: git config --global merge.tool kdiff3 (Recomiendo este merge tool, primero se tiene que instalar)
@czegarram
czegarram / gist:9253990
Last active August 29, 2015 13:56
Test Markdown
require 'redcarpet'
markdown = Redcarpet.new("Hello World!")
puts markdown.to_html

Sublime Text 2 – Useful Shortcuts (PC)

Loosely ordered with the commands I use most towards the top. Sublime also offer full documentation.

Editing

Ctrl+C copy current line (if no selection)
Ctrl+X cut current line (if no selection)
Ctrl+⇧+K delete line
Ctrl+↩ insert line after