Skip to content

Instantly share code, notes, and snippets.

@bondarewicz
bondarewicz / dropdown.md
Last active January 26, 2018 16:43 — forked from citrusui/dropdown.md
"Dropdowns" in Markdown
How do I dropdown?
This is how you dropdown.

<details>
<summary>How do I dropdown?</summary>
<br>
This is how you dropdown.
curl -kso /dev/null -H "Pragma: no-cache" -H "Cache-Control: no-cache" -w "DNS: %{time_namelookup}, \
SSL: %{time_appconnect}, \
TCP: %{time_connect}, \
TTFB: %{time_starttransfer}, \
TOTAL: %{time_total}\n" https://www.parcelhero.com
@bondarewicz
bondarewicz / gist:486513138bef53f5966ad9453a420ccb
Created September 27, 2017 09:31
Count number of lines in a git repository
git ls-files | xargs cat | wc -l
to see breakdown use
git ls-files | xargs wc -l

some tools for diagrams in software documentation

Diagrams For Documentation

Obvious Choices

ASCII

@bondarewicz
bondarewicz / config.json
Created July 13, 2017 11:27 — forked from anonymous/config.json
Bootstrap Customizer Config
{
"vars": {
"@gray-base": "#000",
"@gray-darker": "lighten(@gray-base, 13.5%)",
"@gray-dark": "lighten(@gray-base, 20%)",
"@gray": "lighten(@gray-base, 33.5%)",
"@gray-light": "lighten(@gray-base, 46.7%)",
"@gray-lighter": "lighten(@gray-base, 93.5%)",
"@brand-primary": "darken(#428bca, 6.5%)",
"@brand-success": "#5cb85c",
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>JS Bin</title>
<style id="jsbin-css">
.highlight
{
background-color:yellow;
}
Custom Script
"%env.TEAMCITY_GIT_PATH%" fetch
"%env.TEAMCITY_GIT_PATH%" checkout dev
"%env.TEAMCITY_GIT_PATH%" config --local user.email "[email protected]"
"%env.TEAMCITY_GIT_PATH%" config --local user.name "Auto Merge"
"%env.TEAMCITY_GIT_PATH%" merge --no-commit %teamcity.build.branch%
@bondarewicz
bondarewicz / Build.xml
Created February 17, 2017 09:25 — forked from NickCraver/Build.xml
Stack Overflow Build Reference Docs
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="PrepareStaticContent" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<!-- Passed in Parameters -->
<configuration></configuration>
<workingDir></workingDir>
<buildNumber></buildNumber>
<buildViews>false</buildViews>
<minifyJs>true</minifyJs>
<TargetsDirectory></TargetsDirectory>
@bondarewicz
bondarewicz / gist:4928e366cd4bc5b337264bca14e22d46
Created February 8, 2017 16:42
change delivery material-ui
http://share.plainly.co/2A371j3Z1w1J
const style = {
'margin-right' : 10
}
const listItemStyle = {
border: '1px solid #ddd'
}
@bondarewicz
bondarewicz / gist:efefa522d6ada902fd07
Last active November 27, 2015 11:11
angular to azure web app via codeship
# Following needs to be set in your Codeship environment variables section:
# AZURE_REPO_URL e.g: https://username:[email protected]:443/site.git
# GITMAIL [email protected]
# GITUSER eg. codeship
# Config git
git config user.email "$GITMAIL"
git config user.name "$GITUSER"