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 image = app.activeDocument; | |
var imageRatio = image.width / image.height; | |
// if your path has spaces you have to escape them, or use a path with no spaces | |
var folderThumbs = "/path/to/folder/thumbs"; | |
var folderLarge = "/path/to/folder/large"; | |
var thumbArea = { | |
width: 700, | |
height: 500 |
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 image = app.activeDocument; | |
var imageRatio = image.width / image.height; | |
// change this to true if you want to upscale if the image is smaller than the desired area | |
var upscale = false; | |
var area = { | |
width: 700, | |
height: 500 | |
}; |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<keymap> | |
<FullscreenVideo> | |
<keyboard> | |
<key id="61453">PlayPause</key> | |
<up>OSD</up> | |
<down>OSD</down> | |
<escape>Stop</escape> | |
</keyboard> | |
</FullscreenVideo> |
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
npm ERR! Darwin 15.5.0 | |
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "run" "build-sync" | |
npm ERR! node v6.1.0 | |
npm ERR! npm v3.8.6 | |
npm ERR! code ELIFECYCLE | |
npm ERR! widgets-libros@1.0.0 build-sync: `npm run bundle-css && npm run build-js && npm run build-js-dependencies && npm run sync-repos && npm run bundle-css-XXXXXXXXXXXXX` | |
npm ERR! Exit status 1 | |
npm ERR! | |
npm ERR! Failed at the widgets-libros@1.0.0 build-sync script 'npm run bundle-css && npm run build-js && npm run build-js-dependencies && npm run sync-repos && npm run bundle-css-XXXXXXXXXXXXX'. | |
npm ERR! Make sure you have the latest version of node.js and npm installed. |
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
{ | |
"-KKPSjKwelbXG6Rq8AEh" : { | |
"-KKQqtg_a95p4Gm13XgZ" : { | |
"lorem-ipsum-dolor-si" : { | |
"body" : "\t<body>\n\t\tLorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.\n\t</body>", | |
"timestamp" : 1466171493149 | |
}, | |
"lorem-ipsum-dolor-si193" : { | |
"body" : "\t<body>\n\t\tLorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat null |
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
import React from 'react' | |
export default class Main extends React.Component { | |
constructor(props){ | |
super(props) | |
this.state = {} | |
} | |
componentWillMount(){ | |
this.checkAuth() |
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
"rules": { | |
"semi": 2, | |
"no-extra-semi": 2, | |
"quotes": ["error", "single"], | |
"indent": ["error", "tab", {"SwitchCase": 1}], | |
"keyword-spacing": ["error", { "after": true }], | |
"space-before-blocks": "error", | |
"key-spacing": ["error", {"beforeColon": false, "afterColon": true}], | |
"space-in-parens": ["error", "never"], | |
"space-before-function-paren": ["error", "always"], |
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
03-02 13:17:46.775 413 413 D SFPerfTracer: layers: (3:11) (FocusedStackFrame (0x7fb7145800): 0:2006)* (DimLayer (0x7fb716e800): 0:22)* (DimLayer (0x7fb30a9000): 0:731)* (DimLayer (0x7fb30aac00): 0:412)* (com.android.systemui.ImageWallpaper (0x7fb40c4000): 0:790)* (StatusBar (0x7fb320f800): 1:7869) (NavigationBar (0x7fb320c000): 0:52) (com.google.android.googlequicksearchbox/com.google.android.launcher.GEL (0x7fb3211400): 0:51)- (Starting io.cordova.hellocordova (0x7fb320dc00): 0:39)- (io.cordova.hellocordova/io.cordova.hellocordova.MainActivity (0x7fb3211400): 0:53) | |
03-02 13:17:46.998 17595 17595 D wpa_supplicant: wlan0: Control interface command 'SIGNAL_POLL' | |
03-02 13:17:47.006 17595 17595 D wpa_supplicant: wlan0: Control interface command 'PKTCNT_POLL' | |
03-02 13:17:47.157 666 666 I MSM-irqbalance: Decided to move IRQ131 from CPU1 to CPU3 | |
03-02 13:17:47.999 17595 17595 D wpa_supplicant: wlan0: Control interface command 'SIGNAL_POLL' | |
03-02 13:17:48.006 17595 17595 D wpa_supplicant: wlan0: Contro |
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
<template> | |
<div class='error'> | |
<h1>Test Charts.js</h1> | |
<canvas id='chart-canvas'></canvas> | |
</div> | |
</template> | |
<script> | |
import Chart from 'chart.js'; |
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
import Cocoa | |
class MyViewController: NSViewController { | |
var visualEffect: NSVisualEffectView! | |
override func loadView() { | |
super.loadView() | |
visualEffect = NSVisualEffectView() |
OlderNewer