This file contains hidden or 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 fs = require('fs'); | |
const path = require('path'); | |
const dartSass = require('sass'); | |
const dartEmbedded = require('sass-embedded'); | |
const dartJson = path.resolve('./dist/dart.json'); | |
const embeddedJson = path.resolve('./dist/embedded.json'); | |
const srcFile = path.resolve('./scss/resolve-vars.scss'); |
This file contains hidden or 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
# remove all theme related labels from issues with multiple theme labels | |
gh pr list --state closed --limit 1000 --json number --jq ".[] | .number" | xargs -I {} gh pr edit {} --remove-label T:Default,T:Bootstrap,T:Material,T:Classic | |
# get project ID by ORG and NUMBER | |
gh api graphql -f query=' | |
query{ | |
organization(login: "ORG"){ | |
projectNext(number: NUMBER) { | |
id | |
} |
This file contains hidden or 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 path = require('path'); | |
const gulp = require('gulp'); | |
const sass = require('gulp-sass')(require('sass')); | |
// An importer that redirects relative URLs starting with "~" to | |
// `node_modules`. | |
function packageImporter(url) { |
This file contains hidden or 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
// Assuming the following markup | |
// body text | |
// <div class="component">component</div> | |
// <div class="card">component</div> | |
// <div class="list">component</div> | |
$yiq-contrasted-threshold: 150; | |
$white: #ffffff; | |
$black: #111111; |
This file contains hidden or 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
$base-theme:Default; | |
$skin-name:blue-opal; | |
$accent: #13688c; | |
$info: #0066cc; | |
$success: #37b400; | |
$warning: #ffb400; | |
$error: #db4240; | |
$text-color: #003f59; | |
$bg-color: #ffffff; | |
$base-text: #003f59; |
This file contains hidden or 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
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="DefaultCS.aspx.cs" Inherits="Upload_WebMail_DefaultCS" %> | |
<%@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %> | |
<!DOCTYPE html> | |
<html xmlns='http://www.w3.org/1999/xhtml'> | |
<head> | |
<title></title> | |
<link href="styles.css" rel="stylesheet" type="text/css" /> | |
</head> | |
<body> |
This file contains hidden or 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
@import "common/__telerik.mixins.scss"; | |
.RadComboBox { | |
@include self-clearng; | |
} |
This file contains hidden or 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
new line --> /// | |
tab --> /// 	 | |
combined --> /// 	 |
This file contains hidden or 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
diskpart | |
list disk | |
select DISK_NAME | |
clean | |
create partition primary | |
active | |
format fs=ntfs | |
assign | |
exit |
This file contains hidden or 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
var flag = !!document.something.testFeature | |
// e.g. | |
var canvasIsSupported = !!document.createElement("canvas").getContext | |
// if short hand | |
canvasIsSuppoted && doSomething() | |
// means | |
if (canvasIsSupported) | |
doSomething |
NewerOlder