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
# "ls *.JPG | itstat" gives the following output: | |
# | |
# File: DSCN0159.JPG | |
# Resolution: 2560 x 1920 | |
# Channels: 10 | |
# Channel Types: RGB with Alpha | |
# Bit Depth: 8 | |
# | |
# File: DSCN0160.JPG |
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 re, time, sys | |
import textwrap | |
from telnetlib import Telnet | |
import sublime, sublime_plugin | |
class maya_update_klCommand(sublime_plugin.TextCommand): | |
''' | |
ST3 Plugin to update current file's KL code in Maya | |
This is achieved by preparing and sending python |
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
window.resolveLocalFileSystemURL( | |
imageUri, | |
function(fileEntry){ | |
newFileName = Math.random().toString(36).substring(7) + "." + imageUri.split('.').pop(); | |
window.resolveLocalFileSystemURL(cordova.file.dataDirectory, | |
function(dirEntry) { | |
fileEntry.moveTo(dirEntry, newFileName, successfn, failfn); | |
}, | |
failfn); |
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 React, { Component } from "react"; | |
import Navigation from "./Navigation"; | |
import withConfig from "./withConfig"; | |
class App extends Component { | |
componentWillMount() { | |
console.log(this.props.config); | |
} |
OlderNewer