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
package com.rsurdu.utils | |
{ | |
import flash.utils.Dictionary; | |
import flash.utils.describeType; | |
import flash.utils.getDefinitionByName; | |
import flash.utils.getQualifiedClassName; | |
import mx.utils.UIDUtil; | |
public class CloneableVO extends Object implements ICloneable |
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"?> | |
<s:WindowedApplication xmlns:fx="http://ns.adobe.com/mxml/2009" | |
xmlns:s="library://ns.adobe.com/flex/spark" | |
xmlns:mx="library://ns.adobe.com/flex/mx" | |
creationComplete="windowedapplication1_creationCompleteHandler(event)" | |
> | |
<fx:Script> | |
<![CDATA[ | |
import mx.events.FlexEvent; | |
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
package { | |
import away3d.containers.ObjectContainer3D; | |
import away3d.containers.View3D; | |
import away3d.debug.AwayStats; | |
import away3d.entities.Mesh; | |
import away3d.lights.DirectionalLight; | |
import away3d.materials.ColorMaterial; | |
import away3d.materials.lightpickers.StaticLightPicker; | |
import away3d.materials.methods.SoftShadowMapMethod; |
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
package { | |
import away3d.containers.View3D; | |
import away3d.debug.AwayStats; | |
import away3d.entities.Mesh; | |
import away3d.filters.DepthOfFieldFilter3D; | |
import away3d.lights.DirectionalLight; | |
import away3d.lights.PointLight; | |
import away3d.materials.ColorMaterial; | |
import away3d.materials.lightpickers.StaticLightPicker; |
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
ln -s "/Applications/Sublime Text.app/Contents/SharedSupport/bin/subl" /usr/local/bin/sublime |
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
task printCommitBranches(type: Exec) { | |
executable "bash" | |
args "-c", "git branch --contains HEAD" | |
//store the output instead of printing to the console: | |
standardOutput = new ByteArrayOutputStream() | |
doLast { | |
// split the output of the git command per newline and remove indentation whitespaces | |
def outputLines = standardOutput.toString().split(/\r?\n\s+/) | |
// if detached head, remove the line |
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
task hello(type: Exec) { | |
executable "sh" | |
args "-c", "echo 'hello from your shell'" | |
//store the output instead of printing to the console: | |
standardOutput = new ByteArrayOutputStream() | |
ext.output = { | |
return standardOutput.toString() |
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
/* colors of italics in Edit mode all notes in a vault */ | |
.cm-em, em { | |
color: #ffb86c !important; | |
} | |
.cm-strong, strong { | |
color: #ff5555 !important; | |
} | |
/* headings for editor and preview */ |
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
module.exports = async (params) => { | |
console.log("Starting...") | |
console.log(params); | |
const currentFile = params.app.workspace.getActiveFile(); | |
if (!currentFile) { | |
new Notice("No active file."); | |
return; | |
} | |
console.log("Found active file: ", currentFile.basename); |