Skip to content

Instantly share code, notes, and snippets.

// Write code to test your extensions here. Press F5 to compile and run.
void Main()
{
Fetch();
Create();
}
void Fetch()
{
var src = new TtcDBRepository(BaseRepository.LocalEmulator);
@petevb
petevb / dabblet.css
Last active May 13, 2019 09:07
[specificity for dummies] #css
/*
specificity for dummies
*/
.itemsTable td p.tallRow {
color: red;
}
.tallRow.tallRow.tallRow {
color: gold;
}
@petevb
petevb / dabblet.css
Last active May 13, 2019 09:07
[selectors for dummies] #css
/**
* selectors for dummies
*/
/* UNCOMMENT THE .a.a AND IT "TRUMPS" THE .a BELOW IT */
/* I'm first, but have higher specificity (so not overridden)*/
/*.a.a {
color: gold;
}*/
@petevb
petevb / index.html
Created December 3, 2015 22:53 — forked from anonymous/index.html
JS Bin // source http://jsbin.com/lajuri
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>JS Bin</title>
</head>
<body>
<script id="jsbin-javascript">
console.clear();
@petevb
petevb / dabblet.css
Last active May 13, 2019 09:07
[spinner] #css
/**
* spinner
*/
@keyframes spinner {
to { background-position: -625px 0; }
}
.spinner:before {
position: absolute;
content:'';
top:0;
@petevb
petevb / .bashrc
Last active November 8, 2019 15:31
[Building new machines] #cicd #dev
#!/bin/bash
# alias.sh
shopt -s expand_aliases
# Must set this option, else script will not expand aliases.
alias ll="ls -l"
# May use either single (') or double (") quotes to define an alias.
# twotime: https://www.npmjs.com/package/twotime