Skip to content

Instantly share code, notes, and snippets.

View tolmasky's full-sized avatar

Francisco Ryan Tolmasky I tolmasky

View GitHub Profile
// This is how it could be:
- (void)addSubviews:(id)anything
{
for (NSView * view in anything)
[self addSubview:view];
}
// and you could use it like this:
[view addSubviews:subviewArray];

#! /bin/runmd

Hello there!

#!/bin/runmd

Hi there!

blah blah

function run_next_code_snippet()
{
const code = get_next_code_snippet();
eval(code + "; run_next_code_snippet()");
}
function test(request, response)
{
response.end("hi");
}
/* cyrillic-ext */
@font-face {
font-family: 'Roboto';
font-style: normal;
font-weight: 400;
font-display: swap;
src: local('Roboto'), local('Roboto-Regular'), url(https://fonts.gstatic.com/s/roboto/v20/KFOmCnqEu92Fr1Mu72xKKTU1Kvnz.woff2) format('woff2');
unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
function x()
{
}
<link type = "text/css" href = "https://cdnjs.cloudflare.com/ajax/libs/photon/0.1.2-alpha/css/photon.min.css"></link>
<body>
<header class="toolbar toolbar-header">
<h1 class="title">Header</h1>
</header>
<ul class="list-group">
<li class="list-group-header">
<input class="form-control" type="text" placeholder="Search for someone">
</li>
<li class="list-group-item">