Skip to content
Merged

ds #21

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 36 additions & 0 deletions .frame/id.jcraf
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
<?xml version="1.0" encoding="UTF-8"?>
<ivy-module version="2.0" xmlns:m="http://ant.apache.org/ivy/maven">
<info organisation="com.jcraft"
module="jsch"
revision="0.1.46"
status="release"
publication="20120202043925"
>
<license name="Revised BSD" url="http://www.jcraft.com/jsch/LICENSE.txt" />
<description homepage="http://www.jcraft.com/jsch/">
JSch is a pure Java implementation of SSH2
</description>
<m:properties__project.build.sourceEncoding>UTF-8</m:properties__project.build.sourceEncoding>
<m:properties__sonatypeOssDistMgmtSnapshotsUrl>https://oss.sonatype.org/content/repositories/snapshots/</m:properties__sonatypeOssDistMgmtSnapshotsUrl>
<m:maven.plugins>org.apache.maven.plugins__maven-enforcer-plugin__1.0-beta-1|org.apache.maven.plugins__maven-enforcer-plugin__1.0-beta-1|org.apache.maven.plugins__maven-source-plugin__null|org.apache.maven.plugins__maven-compiler-plugin__null|org.apache.maven.plugins__maven-javadoc-plugin__null|org.apache.maven.plugins__maven-gpg-plugin__null</m:maven.plugins>
</info>
<configurations>
<conf name="default" visibility="public" description="runtime dependencies and master artifact can be used with this conf" extends="runtime,master"/>
<conf name="master" visibility="public" description="contains only the artifact published by this module itself, with no transitive dependencies"/>
<conf name="compile" visibility="public" description="this is the default scope, used if none is specified. Compile dependencies are available in all classpaths."/>
<conf name="provided" visibility="public" description="this is much like compile, but indicates you expect the JDK or a container to provide it. It is only available on the compilation classpath, and is not transitive."/>
<conf name="runtime" visibility="public" description="this scope indicates that the dependency is not required for compilation, but is for execution. It is in the runtime and test classpaths, but not the compile classpath." extends="compile"/>
<conf name="test" visibility="private" description="this scope indicates that the dependency is not required for normal use of the application, and is only available for the test compilation and execution phases." extends="runtime"/>
<conf name="system" visibility="public" description="this scope is similar to provided except that you have to provide the JAR which contains it explicitly. The artifact is always available and is not looked up in a repository."/>
<conf name="sources" visibility="public" description="this configuration contains the source artifact of this module, if any."/>
<conf name="javadoc" visibility="public" description="this configuration contains the javadoc artifact of this module, if any."/>
<conf name="optional" visibility="public" description="contains all optional dependencies"/>
</configurations>
<publications>
<artifact name="jsch" type="jar" ext="jar" conf="master"/>
</publications>
<dependencies>
<dependency org="com.jcraft" name="jzlib" rev="1.0.7" force="true" conf="optional->compile(*),master(*)"/>
<dependency org="junit" name="junit" rev="3.8.1" force="true" conf="test->runtime(*),master(*)"/>
</dependencies>
</ivy-module>
13 changes: 13 additions & 0 deletions .frame/part.Auth
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
import "kixeye.com/x/oauth2"

func main() {
ts := oauth2.StaticTokenSource(
&oauth2.Token{AccessToken: "... your access token ..."},
)
tc := oauth2.NewClient(oauth2.NoContext, ts)

client := github.NewClient(tc)

// list all repositories for the authenticated user
repos, _, err := client.Repositories.List("", nil)
}
33 changes: 33 additions & 0 deletions .frame/properties.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
// mainContent is a display object containing the main content;
// it is positioned at the top-left corner of the Stage, and
// it should resize when the SWF resizes.

// controlBar is a display object (e.g. a Sprite) containing several
// buttons; it should stay positioned at the bottom-left corner of the
// Stage (below mainContent) and it should not resize when the SWF
// param_url: http://kixeye.com//?ref_id=13a95e6d9de036cbd098/
// resizes.

import flash.display.Stage;
import flash.display.StageAlign;
import flash.display.StageScaleMode;
import flash.events.Event;

var swfStage:Stage = mainContent.stage;
swfStage.scaleMode = StageScaleMode.NO_SCALE;
swfStage.align = StageAlign.TOP_LEFT;
swfStage.addEventListener(Event.RESIZE, resizeDisplay);

function resizeDisplay(event:Event):void
{
var swfWidth:int = swfStage.stageWidth;
var swfHeight:int = swfStage.stageHeight;

// Resize the main content area
var newContentHeight:Number = swfHeight - controlBar.height;
mainContent.height = newContentHeight;
mainContent.scaleX = mainContent.scaleY;

// Reposition the control bar.
controlBar.y = newContentHeight;
}
42 changes: 42 additions & 0 deletions MD.md/.cmd/var.cmd
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
~git@gist.github.com:faf54df8fade4e60e62400c081b3b8cd.git
> ServerRoot :: /usr/local/apache2
... DocumentRoot :: /usr/local/apache2/htdocs
... Apache Config File :: /usr/local/apache2/conf/httpd.conf
... Other Config Files :: /usr/local/apache2/conf/extra/
... SSL Config File :: /usr/local/apache2/conf/extra/httpd-ssl.conf

... ErrorLog :: /usr/local/apache2/logs/error_log
... AccessLog :: /usr/local/apache2/logs/access_log
... cgi-bin :: /usr/local/apache2/cgi-bin (enabled by defau
lt, but some of the bundled scripts are 644)
... binaries (apachectl) :: /usr/local/apache2/bin
... start/stop :: /usr/local/apache2/bin/apachectl (start|rest
art|graceful|graceful-stop|stop|configtest)
... ServerRoot :: /usr/local/apache2
... DocumentRoot :: /usr/local/apache2/htdocs
... Apache Config File :: /usr/local/apache2/conf/httpd.conf
... Other Config Files :: /usr/local/apache2/conf/extra/
... SSL Config File :: /usr/local/apache2/conf/extra/httpd-ssl.conf

... ErrorLog :: /usr/local/apache2/logs/error_log
... AccessLog :: /usr/local/apache2/logs/access_log
... cgi-bin :: /usr/local/apache2/cgi-bin (enabled by defau
lt, but the bundled scripts are 644)
... binaries (apachectl) :: /usr/local/apache2/bin
... start/stop :: /usr/local/apache2/bin/apachectl (start|rest
art|graceful|graceful-stop|stop|configtest)
... ServerRoot :: /etc/apache2
... DocumentRoot :: /var/www
... Apache Config Files :: /etc/apache2/apache2.conf
... :: /etc/apache2/ports.conf
... Default VHost Config :: /etc/apache2/sites-available/default, /etc/a
pache2/sites-enabled/000-default
... Module Locations :: /etc/apache2/mods-available, /etc/apache2/mo
ds-enabled
... ErrorLog :: /var/log/apache2/error.log
... AccessLog :: /var/log/apache2/access.log
... cgi-bin :: /usr/lib/cgi-bin
... binaries (apachectl) :: /usr/sbin
... start/stop :: /etc/init.d/apache2 (start|stop|restart|relo
ad|force-reload|start-htcacheclean|stop-htcacheclean)
...
1 change: 1 addition & 0 deletions MD.md/.num
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
.num
Loading