Xshell Solarized Dark Theme

2015-07-24 00:00:00 +0000

install

xshell -> tools -> color schemes -> import -> Solarized Dark

Solarized Dark.xcs

[Solarized Dark]
text=c0c0c0
cyan(bold)=93a1a1
text(bold)=839496
magenta=dd3682
green=859900
green(bold)=586e75
background=042028
cyan=2aa198
red(bold)=cb4b16
yellow=b58900
magenta(bold)=6c71c4
yellow(bold)=657b83
red=dc322f
white=eee8d5
blue(bold)=839496
white(bold)=fdf6e3
black=002b36
blue=268bd2
black(bold)=073642
[Names]
name0=Solarized Dark
count=1

Ios Install Ipa From Browser

2015-07-17 00:00:00 +0000

steps

1,create install plist install.xml (put it to a https, if don't have one, use github) 2,create install.html 3,visit install.html to install

install.xml

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
    <key>items</key>
    <array>
        <dict>
            <key>assets</key>
            <array>
                <dict>
                    <key>kind</key>
                    <string>software-package</string>
                    <key>url</key>
                    <string>$url_ipa</string>
                </dict>
                <dict>
                    <key>kind</key>
                    <string>full-size-image</string>
                    <key>needs-shine</key>
                    <true/>
                    <key>url</key>
                    <string>$url_icon_large</string>
                </dict>
                <dict>
                    <key>kind</key>
                    <string>display-image</string>
                    <key>needs-shine</key>
                    <true/>
                    <key>url</key>
                    <string>$url_icon_small</string>
                </dict>
            </array>
            <key>metadata</key>
            <dict>
                <key>bundle-identifier</key>
                <string>$appid</string>
                <key>bundle-version</key>
                <string>$appver</string>
                <key>kind</key>
                <string>software</string>
                <key>subtitle</key>
                <string>$appsubtitle</string>
                <key>title</key>
                <string>$apptitle</string>
            </dict>
        </dict>
    </array>
</dict>
</plist>

install.html

script>
var url="https://url_to_install.xml";
window.location="itms-services://?action=download-manifest&url=" + encodeURIComponent(url);
/script>

Show Tk2dsprite Above Ngui

2015-01-22 00:00:00 +0000

idea

use a third camera to show the above ui tk2dSprite

setting

layers(camera depth) : Default(1),UILayer(10),AboveUILayer(20)

about clip

  • Add UIViewport to AboveUILayer camera
  • set source camera to UILayer camera
  • add topleft,bottomright to clipping panel

known issues if clipped:

if tk2dSprite is a child of UIWidget,and UIWidget have a scale animation,these two will not scale like one object. because AboveUILayer camera viewport rect and orthographic size different from UILayer camera

« Prev 1 2 3 4 5 6 Next »