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
mylib.close_to_tray = -> | |
gui = require('nw.gui') | |
win = gui.Window.get() | |
tray = null | |
win.on 'close', -> | |
this.hide() | |
tray = new gui.Tray({ icon: 'icon.jpg' }) |
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
.flex | |
{ | |
/* basic styling */ | |
width: 350px; | |
height: 300px; | |
border: 1px solid #555; | |
font: 14px Arial; | |
/* flexbox setup */ | |
display: -webkit-flex; |
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
body { | |
font: 24px Helvetica; | |
background: #999999; | |
} | |
#main { | |
min-height: 800px; | |
margin: 0px; | |
padding: 0px; | |
display: -webkit-flex; |
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 strict'; | |
// Declare app level module which depends on filters, and services | |
var app= angular.module('myApp', ['ngRoute']); | |
app.config(['$routeProvider', function($routeProvider) { | |
$routeProvider.when('/login', {templateUrl: 'partials/login.html', controller: 'loginCtrl'}); | |
$routeProvider.otherwise({redirectTo: '/login'}); | |
}]); |
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
background: linear-gradient(147deg, #336699, #dde71d); | |
background-size: 400% 400%; | |
-webkit-animation: AnimationRolograafBackground 3s ease infinite; | |
-moz-animation: AnimationRolograafBackground 3s ease infinite; | |
-o-animation: AnimationRolograafBackground 3s ease infinite; | |
animation: AnimationRolograafBackground 3s ease infinite; | |
@-webkit-keyframes AnimationRolograafBackground { | |
0%{background-position:0% 5%} | |
50%{background-position:100% 96%} | |
100%{background-position:0% 5%} |
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": "AJM40 Rolograaf 3 Layers", | |
"author": "Rolograaf", | |
"switchMount": "cherry", | |
"switchBrand": "gateron", | |
"switchType": "KS-3-Green", | |
"pcb": true, | |
"plate": 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
[ | |
{ | |
"name": "AJM40 Rolograaf Layer 0", | |
"author": "Rolograaf", | |
"background": { | |
"name": "Carbon fibre 2", | |
"style": "background-image: url('/bg/carbonfibre/carbon_texture1874.png');" | |
}, | |
"switchMount": "cherry", | |
"switchBrand": "gateron", |
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": "AMJ40 Rolograaf Colemak", | |
"author": "Rolograaf", | |
"background": { | |
"name": "Carbon fibre 4", | |
"style": "background-image: url('/bg/carbonfibre/carbon_texture1873.png');" | |
}, | |
"radii": "10px", | |
"switchMount": "cherry", |