#include <stdio.h>
const int cantmaxJugadas= 9;
int tateti[3][3];
//Funcion de termino juego
int ValidarFilas()
{
This file contains hidden or 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
<IfModule mod_rewrite.c> | |
<IfModule mod_negotiation.c> | |
Options -MultiViews | |
</IfModule> | |
RewriteEngine On | |
# Allow Authorization Headers | |
RewriteCond %{HTTP:Authorization} ^(.*) | |
RewriteRule .* - [e=HTTP_AUTHORIZATION:%1] |
This file contains hidden or 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
https://stackoverflow.com/questions/6656619/git-and-nasty-error-cannot-lock-existing-info-refs-fatal | |
git remote prune origin |
This file contains hidden or 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
getChildOffset = (item, isVertical) => { | |
isVertical = isVertical || false; | |
let nodeStyle = window.getComputedStyle(item); | |
if (isVertical) { | |
let marginTop = parseInt(nodeStyle.getPropertyValue('margin-top'), 10); | |
let marginBottom = parseInt(nodeStyle.getPropertyValue('margin-bottom'), 10); | |
return marginTop + marginBottom; | |
} else { | |
let marginRight = parseInt(nodeStyle.getPropertyValue('margin-right'), 10); | |
let marginLeft = parseInt(nodeStyle.getPropertyValue('margin-left'), 10); |
This file contains hidden or 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
// Suppose we could access yesterday's stock prices as an array, where: | |
// The indices are the time in minutes past trade opening time, which was 9:30am local time. The values are the price in dollars of Apple stock at that time. | |
// So if the stock cost $500 at 10:30am, stockPricesYesterday[60] = 500. | |
// Write an efficient function that takes stockPricesYesterday and returns the best profit I could have made from 1 purchase and 1 sale of 1 Apple stock yesterday. | |
// The expected format is: | |
// 6 (buying for $5 and selling for $11) | |
function utcTime(date) { | |
try { | |
if (date instanceof Date) { |
Diff
git diff HEAD > diff/"fileName".diff
Diff Commited
git show HEAD > diff/"fileName".diff