Skip to content

Instantly share code, notes, and snippets.

View dannykath's full-sized avatar

Danny Katherin Aiquipa Pacheco dannykath

View GitHub Profile
@dannykath
dannykath / 001_EjemploWebApi.md
Created February 7, 2021 21:37 — forked from flicardie/001_EjemploWebApi.md
Ejemplo de llamada a WebApi para obtener resultados en una lista y para mandar datos a la WebApi #WebApi #Json #Csharp

Ejemplo de uso para hacer GET a una API

/// Ejemplo de llamada a API por medio de verbo GET 
public async Task<List<PeriodoNominaBE>> Listar()
{

    //return null;
    List<PeriodoNominaBE> lista = null;
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Star Rating System</title>
<meta name="viewport" content="width=device-width">
<style>
.star{
color: goldenrod;
font-size: 2.0rem;
@dannykath
dannykath / atajosEclipse.textile
Created June 6, 2019 20:39 — forked from bertocq/atajosEclipse.textile
Atajos de teclado para Eclipse

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,…)
@dannykath
dannykath / gh-pages.md
Created October 16, 2018 14:14 — forked from ramnathv/gh-pages.md
Creating a clean gh-pages branch

Creating a clean gh-pages branch

This is the sequence of steps to follow to create a root gh-pages branch. It is based on a question at [SO]

cd /path/to/repo-name
git symbolic-ref HEAD refs/heads/gh-pages
rm .git/index
git clean -fdx
echo "My GitHub Page" &gt; index.html
/*
This has been generated by the overpass-turbo wizard.
The original search was:
“highway=motorway_junction”
Cribbed from Jinal Foflia, https://mail.google.com/mail/u/0/#inbox/1547604887901ecc
*/
[out:json][timeout:225];
(
@dannykath
dannykath / 0_reuse_code.js
Created December 5, 2016 14:28
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console