public class Hello
{
public static void Main()
{
- System.Console.WriteLine("Hello, World!");
+ System.Console.WriteLine("Rock all night long!");
}
}
Info original: https://git-scm.com/book/es/v2/Inicio---Sobre-el-Control-de-Versiones-Instalaci%C3%B3n-de-Git
Algunas personas desean instalar Git a partir de su código fuente debido a que obtendrás una versión más reciente. Los instaladores binarios tienen a estar un poco atrasados. Sin embargo, esto ha hecho muy poca diferencia a medida que Git ha madurado en los últimos años.
Para instalar Git desde el código fuente necesitas tener las siguientes librerías de las que Git depende: curl, zlib, openssl, expat y libiconv. Por ejemplo, si estás en un sistema que tiene yum (como Fedora) o apt-get (como un sistema basado en Debian), puedes usar estos comandos para instalar todas las dependencias:
Fedora
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace AwesomeNamespace { | |
use NelsonMartell\Utilities\UnitTesting\Assert; | |
use NelsonMartell\Object; | |
use NelsonMartell\PropertiesHandler; | |
class Human extends Object { | |
use PropertiesHandler; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php # File: application/config/hooks.php | |
# . . . | |
$hook['post_controller_constructor'] = [ | |
'class' => 'ControllerHook', | |
'function' => 'beforeFilter', | |
'filename' => 'controller.php', | |
'filepath' => 'hooks', | |
'params' => [] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//No conozco mucho de C, pero más o menos así iría el ciclo do: | |
char l; | |
bool valida; //Definimos un variable para almacenar si la letra es válida o no (flag) | |
do { | |
printf("\nIngrese una letra: "); | |
scanf("%c", &l); | |
if (l == 's' || l == 'S' || l == 'n' || l == 'N') { | |
valida = true; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /usr/bin/env python3 | |
# -*- coding: utf-8 -*- | |
def ask(question:str): | |
answer = "?" | |
while (answer != "s" and answer != "n"): | |
answer = str(input("\n{0} (s/n): ".format(question))) | |
return (answer == "s"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<table> | |
<thead> | |
<tr> | |
<th>Column 1 heading</th> | |
<th>Column 2 heading</th> | |
<th>Column 3 heading</th> | |
</tr> | |
</thead> | |
<tbody> | |
<tr> |
NewerOlder