Skip to content

Instantly share code, notes, and snippets.

View fernandezdavid's full-sized avatar
🌴
On vacation

David Fernández fernandezdavid

🌴
On vacation
View GitHub Profile
@fernandezdavid
fernandezdavid / fieldhouse-overlay-polish.html
Created June 8, 2026 17:57
OCPM-233 Fieldhouse overlay polish screenshots
<!doctype html>
<meta charset="utf-8">
<title>OCPM-233 Fieldhouse Overlay Polish</title>
<style>
body { margin: 24px; font: 14px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; background: #f2ede2; color: #111; }
h1 { margin: 0 0 8px; font-size: 22px; }
h2 { margin: 28px 0 4px; font-size: 16px; }
p { margin: 0 0 12px; max-width: 760px; color: #5f5a52; }
img { display: block; max-width: min(100%, 976px); border: 1px solid #111; background: #f2ede2; }
</style>
@fernandezdavid
fernandezdavid / SKILL.md
Last active April 10, 2026 14:53
Blog Bootstrap Skill - Julian Shapiro framework for going from blank page to publishable draft

Blog Bootstrap Skill

A conversational agent that walks you from blank page to publishable draft in one session, using Julian Shapiro's writing framework as the structural backbone.

It guides you through topic validation, hook brainstorming, a 12-question dictation template, first draft assembly, and a rewrite pass. The output is a draft ready for your final edit. You own the last 20%.


How to invoke

REGEXP_REPLACE(
REGEXP_REPLACE(
REGEXP_REPLACE(
REGEXP_REPLACE(
REGEXP_REPLACE(
REGEXP_REPLACE(
REGEXP_REPLACE(
REGEXP_REPLACE(
REGEXP_REPLACE(
REGEXP_REPLACE(intento_previo, '9', "Apps móviles"),

Sublime Text 2 – Useful Shortcuts (Mac OS X)

General

⌘T go to file
⌘⌃P go to project
⌘R go to methods
⌃G go to line
⌘KB toggle side bar
⌘⇧P command prompt
//-------------------------------------------Views-----------------------------------
// <copyright file="Model.cs" company="Microsoft">
// Copyright (c) Microsoft Corporation. All rights reserved.
// </copyright>
//------------------------------------------------------------------------------
namespace Microsoft.Samples.Kinect.BasicInteractions
{
using System;
using System.Collections.Generic;
Error de servidor en la aplicación '/'.
[A]System.Web.WebPages.Razor.Configuration.HostSection no puede convertirse en [B]System.Web.WebPages.Razor.Configuration.HostSection. El tipo A se origina a partir de 'System.Web.WebPages.Razor, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' en el contexto 'Default' en la ubicación 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Web.WebPages.Razor\v4.0_1.0.0.0__31bf3856ad364e35\System.Web.WebPages.Razor.dll'. El tipo B se origina a partir de 'System.Web.WebPages.Razor, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' en el contexto 'Default' en la ubicación 'C:\Users\DAvid\AppData\Local\Temp\Temporary ASP.NET Files\root\30d9c458\df39d154\assembly\dl3\749bb77d\4c670c6c_7b38ce01\System.Web.WebPages.Razor.DLL'.
Descripción: Excepción no controlada al ejecutar la solicitud Web actual. Revise el seguimiento de la pila para obtener más información acerca del error y dónde se originó en el código.
Detalles de la excepción: System.I
foreach (var campDetail in camp.AdvertCampaignDetails)
{
DateTime check_date = DateTime.Now.AddDays(-i);
inter += _db.AdvertCampaignDetailInteractions
.Where(c => c.AdvertID == campDetail.AdvertID && EntityFunctions.TruncateTime(c.StartDatetime) == check_date.Date)
.Count();
elapsedTime += _db.AdvertCampaignDetailInteractions
.Where(c => c.AdvertID == campDetail.AdvertID && EntityFunctions.TruncateTime(c.StartDatetime) == check_date.Date && c.TimeElapsed!=null)
.Sum(c => c.TimeElapsed.GetValueOrDefault(0));
height += _db.AdvertCampaignDetailInteractions
Array
(
[0] => 1889883229
[1] => 488835183
[2] => 550593395
[3] => 763493425
[4] => 1932858889
[5] => 2095048392
[6] => 1762303890
[7] => 1408443226