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
<link rel="import" href="../../bower_components/polymer/polymer.html"> | |
<link rel="import" href="../../bower_components/paper-material/paper-material.html"> | |
<link rel="import" href="../../bower_components/paper-behaviors/paper-button-behavior.html"> | |
<dom-module id="${NAME}"> | |
<template strip-whitespace> | |
<style include="paper-material"> | |
:root { | |
} | |
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
<link rel="import" href="../../bower_components/polymer/polymer.html"> | |
<link rel="import" href="../../bower_components/paper-material/paper-material.html"> | |
<link rel="import" href="../../bower_components/paper-behaviors/paper-button-behavior.html"> | |
#set($ITEM = $NAME + '-item') | |
#set($ItemElement = $Element + 'Item') | |
<dom-module id="${NAME}"> | |
<template strip-whitespace> | |
<style include="paper-material"> |
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
Seed Element New Element Template | |
https://github.com/polymerelements/seed-element | |
polyserve Polymer Test Server | |
gp.sh publish to github | |
cd [dev folder] | |
git clone git://github.com/Polymer/tools.git |
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
param ( | |
[bool] $ForReals = $false | |
) | |
$color = 'White' | |
if (!$ForReals) { | |
$color = 'DarkGray' | |
} |
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
// in cargo.toml | |
// rand = "0.7" | |
// parking_lot = "0.11" | |
// crossbeam-channel = "0.5" | |
use std::{thread::{JoinHandle, sleep, spawn}, time::Duration}; | |
use crossbeam_channel::{Sender, unbounded}; | |
use rand::{Rng, thread_rng}; |
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
// in cargo.toml | |
// rand = "0.7" | |
// parking_lot = "0.11" | |
// crossbeam-channel = "0.5" | |
use std::{thread::{sleep, spawn}, time::Duration}; | |
use crossbeam_channel::{RecvTimeoutError, Sender, unbounded}; | |
use rand::{Rng, thread_rng}; |
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
## Ignore Visual Studio temporary files, build results, and | |
## files generated by popular Visual Studio add-ons. | |
## | |
## Get latest from https://github.com/github/gitignore/blob/master/VisualStudio.gitignore | |
# User-specific files | |
*.rsuser | |
*.suo | |
*.user | |
*.userosscache |
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
pacman -S --needed base-devel mingw-w64-x86_64-toolchain | Development Toolchain | |
pacman -S --needed mingw-w64-x86_64-meson | Meson | |
pacman -S --needed mingw-w64-x86_64-vulkan-devel | Vulkan Development Tools | |
pacman -S --needed mingw-w64-x86_64-gtk3 | GTK3 Development Tools | |
pacman -S --needed mingw-w64-x86_64-gtk4 | GTK4 Development Tools | |
pacman -S --needed mingw-w64-x86_64-glade | GTK GLade Interface Designer |
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
param ( | |
# provide a list of addition bash setup commands to invoke | |
[string] $additional = "msys2-additional-setup", | |
# true teardown existing installations, false to stop if installation exists | |
[switch] $refresh = $false | |
) | |
# constant defining MSys2 winget package name | |
[string] $package = "MSys2" | |
# checks to see if an installaiton already exists |
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
use std::fmt::{Debug, Display, Write}; | |
use std::ops::Deref; | |
/// The output width from a write statement | |
#[derive(Default, Eq, PartialEq, Ord, PartialOrd)] | |
struct Width(usize); | |
impl Width { | |
/// reset the stored width | |
fn reset(&mut self) { |
OlderNewer