This file contains 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
html, body, div, span, applet, object, iframe, | |
h1, h2, h3, h4, h5, h6, p, blockquote, pre, | |
a, abbr, acronym, address, big, cite, code, | |
del, dfn, em, img, ins, kbd, q, s, samp, | |
small, strike, strong, sub, sup, tt, var, | |
b, u, i, center, | |
dl, dt, dd, ol, ul, li, | |
fieldset, form, label, legend, | |
table, caption, tbody, tfoot, thead, tr, th, td, | |
article, aside, canvas, details, embed, |
This file contains 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
// ==UserScript== | |
// @name Highlight Commits | |
// @include http*://dev.azure.com/*/_git/*/commits* | |
// @author sheefoo | |
// @require https://cdnjs.cloudflare.com/ajax/libs/axios/0.19.0/axios.min.js | |
// @require https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js | |
// @require https://cdn.jsdelivr.net/npm/underscore@1.11.0/underscore-min.js | |
// ==/UserScript== | |
'use strict'; |
This file contains 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
#!/usr/bin/env node | |
const argv = require("yargs").argv; | |
const htmlPugConverter = require("html-pug-converter"); | |
const cheerio = require("cheerio"); | |
const fs = require("fs"); | |
const path = require("path"); | |
const { JSDOM } = require("jsdom"); | |
const to = require('to-case'); |
This file contains 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
<template> | |
<div ref="root" class="chart-root"></div> | |
</template> | |
<script lang="ts"> | |
// https://gist.github.com/vinicius73/d08d775b184c02097e5eca0a7bea2eda | |
// @ts-ignore | |
import * as c3 from 'c3'; | |
// @ts-ignore |
This file contains 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
const fb = (i, limit) => !console.log(`${!(i % 3) ? 'Fizz' : ''}${!(i % 5) ? 'Buzz' : ''}` || i) | |
&& i !== limit | |
&& fb(++i, limit); | |
fb(1, 100); |
This file contains 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
#!/bin/bash | |
# Get the current proxy type | |
current_proxy_type=$(kreadconfig5 --file kioslaverc --group "Proxy Settings" --key ProxyType) | |
if [ $? -ne 0 ]; then | |
echo "Failed to execute kreadconfig5" | |
exit 1 | |
fi |