Skip to content

Instantly share code, notes, and snippets.

cn cnromaine

  • cn romaine & associates
Block or report user

Report or block cnromaine

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View githubapi.cs
var keywords = new[] { "GET", "DELETE", "PATCH", "POST" };
var document =new HtmlDocument();
document .LoadHtml(
(new HtmlWeb()
.Load("https://developer.github.com/v3/")
.DocumentNode.SelectSingleNode("/html[1]/body[1]/div[3]/div[2]/div[1]").ChildNodes
.Select(cn => cn.InnerHtml)
.Where(cn => !string.IsNullOrEmpty(cn.Trim()))
.First()));
@ImJasonH
ImJasonH / markdown.css
Last active Feb 15, 2020
Render Markdown as unrendered Markdown (see http://jsbin.com/huwosomawo)
View markdown.css
* {
font-size: 12pt;
font-family: monospace;
font-weight: normal;
font-style: normal;
text-decoration: none;
color: black;
cursor: default;
}
View trello-css-guide.md

Hello, visitors! If you want an updated version of this styleguide in repo form with tons of real-life examples… check out Trellisheets! https://github.com/trello/trellisheets


Trello CSS Guide

“I perfectly understand our CSS. I never have any issues with cascading rules. I never have to use !important or inline styles. Even though somebody else wrote this bit of CSS, I know exactly how it works and how to extend it. Fixes are easy! I have a hard time breaking our CSS. I know exactly where to put new CSS. We use all of our CSS and it’s pretty small overall. When I delete a template, I know the exact corresponding CSS file and I can delete it all at once. Nothing gets left behind.”

You often hear updog saying stuff like this. Who’s updog? Not much, who is up with you?

@scottheckel
scottheckel / parsehtmlwithcssandfizzlerex.cs
Created Nov 21, 2012
Parse HTML with CSS selectors using Fizzler and FizzlerEx
View parsehtmlwithcssandfizzlerex.cs
using Fizzler.Systems.HtmlAgilityPack;
using HtmlAgilityPack;
using System.Collections.Generic;
using System.Linq;
var web = new HtmlWeb();
var docNode = web.Load("http://dsc.discovery.com/tv-schedules/daily.html");
var shows =
from showRow in docNode.QuerySelectorAll("div.contentFrame tr")
select new
You can’t perform that action at this time.