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
{ | |
"name": "Keychron Q8", | |
"vendorId": "0x3434", | |
"productId": "0x0180", | |
"lighting": { | |
"extends": "qmk_rgblight", | |
"underglowEffects": [ | |
["None", 0], | |
["SOLID_COLOR", 1], | |
["BREATHING", 1], |
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
var App = React.createClass({ | |
render: function() { | |
return ( | |
<TabBarIOS> | |
<TabBarIOS.Item title="React Native" selected={true}> | |
</TabBarIOS.Item> | |
<TabBarIOS.Item title="Hello World" selected={true}> | |
</TabBarIOS.Item> | |
</TabBarIOS> | |
); |
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
var width = parseInt(window.screen.width, 10); | |
var scale = width / 640; | |
document.getElementById('viewport').setAttribute( | |
'content', 'target-densitydpi=device-dpi,width=640,user-scalable=no,initial-scale=' + scale); |
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
.cube { | |
perspective: 600px; | |
perspective-origin: 50% 50%; | |
width: 100px; | |
height: 100px; | |
margin: 100px auto; | |
position: relative; | |
} | |
.origin { |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<script src="//ajax.googleapis.com/ajax/libs/angularjs/1.2.14/angular.min.js"></script> | |
<meta charset="utf-8"> | |
<title>JS Bin</title> | |
</head> | |
<body ng-app ng-controller="CartController"> | |
<h1>Shopping Cart</h1> | |
<div ng-repeat="item in items"> |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<script src="//ajax.googleapis.com/ajax/libs/angularjs/1.2.14/angular.min.js"></script> | |
<meta charset="utf-8"> | |
<title>JS Bin</title> | |
</head> | |
<body ng-app> | |
<div ng-controller="HelloController"> | |
<input type="text" ng-model="greeting.text"> |
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
function * foo (input) { | |
var res = yield input; | |
} | |
var g = foo(10); | |
g.next(); // { value: 10, done: false } | |
g.next(); // { value: undefined, done: true } |
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
@mixin display-flex() | |
display: -wekbit-box | |
display: -webkit-flex | |
display: flex | |
display: box | |
display: flexbox | |
@mixin flex-grow($val) | |
flex-grow: $val | |
-webkit-flex-grow: $val |
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
.out-box | |
display: -webkit-flex | |
display: flex | |
height: 100px | |
& > p | |
margin: auto 0 |
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
@mixin gradient($color-from, $color-to) | |
background-image: $color-form // Old browsers | |
background-image: -moz-linear-gradient(top, $color-form 0%, $color-to 100%) // FF3.6+ | |
background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%,$color-form), color-stop(100%,$color-to)) // Chrome,Safari4+ | |
background-image: -webkit-linear-gradient(top, $color-form 0%, $color-to 100%) // Chrome10+,Safari5.1+ | |
background-image: -o-linear-gradient(top, $color-form 0%, $color-to 100%) // Opera 11.10+ | |
background-image: -ms-linear-gradient(top, $color-form 0%, $color-to 100%) // IE10+ | |
background-image: linear-gradient(to bottom, $color-form 0%, $color-to 100%) // W3C |
NewerOlder