text:
class rds_datacontrol {
    constructor() {
        // string Connect () {get} {set}
        this.Connect = undefined;

        // string DataSpace () {get} {set}
        this.DataSpace = undefined;

        // short ExecuteOptions () {get} {set}
        this.ExecuteOptions = undefined;

        // short FetchOptions () {get} {set}
        this.FetchOptions = undefined;

        // string FilterColumn () {get} {set}
        this.FilterColumn = undefined;

        // string FilterCriterion () {get} {set}
        this.FilterCriterion = undefined;

        // string FilterValue () {get} {set}
        this.FilterValue = undefined;

        // string Handler () {get} {set}
        this.Handler = undefined;

        // int InternetTimeout () {get} {set}
        this.InternetTimeout = undefined;

        // int ReadyState () {get}
        this.ReadyState = undefined;

        // IDispatch Recordset () {get}
        this.Recordset = undefined;

        // string Server () {get} {set}
        this.Server = undefined;

        // string SortColumn () {get} {set}
        this.SortColumn = undefined;

        // bool SortDirection () {get} {set}
        this.SortDirection = undefined;

        // IDispatch SourceRecordset () {set} {set by ref}
        this.SourceRecordset = undefined;

        // string SQL () {get} {set}
        this.SQL = undefined;

        // string URL () {get} {set}
        this.URL = undefined;

    }

    // void Cancel ()
    Cancel() {

    }

    // void CancelUpdate ()
    CancelUpdate() {

    }

    // IDispatch CreateRecordSet (Variant)
    CreateRecordSet(Variant) {

    }

    // void Refresh ()
    Refresh() {

    }

    // void Reset (int)
    Reset(int) {

    }

    // void SubmitChanges ()
    SubmitChanges() {

    }

}

module.exports = rds_datacontrol;


text:
@()(implicit request: RequestHeader, lang: Lang, env: securesocial.core.RuntimeEnvironment[_])
@securesocial.views.html.main(Messages("securesocial.notAuthorized.title")) {

@Messages("securesocial.notAuthorized.title")

        @Messages("securesocial.notAuthorized.message")

}

redpajama_set_name: RedPajamaGithub


text:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE ui:UiBinder SYSTEM "http://dl.google.com/gwt/DTD/xhtml.ent">
<ui:UiBinder xmlns:ui="urn:ui:com.google.gwt.uibinder"
    xmlns:g="urn:import:com.google.gwt.user.client.ui"
    xmlns:ge="urn:import:org.ovirt.engine.ui.common.widget.editor.generic"
    xmlns:d="urn:import:org.ovirt.engine.ui.common.widget.dialog"
    xmlns:e="urn:import:org.ovirt.engine.ui.common.widget.editor"
    xmlns:we="urn:import:org.ovirt.engine.ui.webadmin.widget.editor"
    xmlns:v="urn:import:org.ovirt.engine.ui.webadmin.widget.vnicProfile"
    xmlns:t="urn:import:org.ovirt.engine.ui.common.widget.dialog.tab"
    xmlns:w="urn:import:org.ovirt.engine.ui.common.widget"
    xmlns:p="urn:import:org.ovirt.engine.ui.webadmin.widget.provider">

    <ui:with field='resources' type='org.ovirt.engine.ui.webadmin.ApplicationResources' />

    <ui:style type="org.ovirt.engine.ui.webadmin.section.main.view.popup.AbstractNetworkPopupView.WidgetStyle">

       .generalTabTopDecorator {
            background-color: #D3D3D3;
            margin-bottom: 8px;
            margin-top: 4px;
            margin-right: 3px;
            padding-top: 6px;
            padding-bottom: 6px;
        }

        .mainLabel {
            font-weight: bold;
            padding: 5px;
        }

        .sectionStyle {
            margin-top: 20px;
        }

        .dependentField {
            margin-left: 10px;
        }

        .valueBox {
            width: 100px;
        }

        .noPadding {
            padding: 0px !important;
        }

        .mtuSelector {
            width: auto;
            padding: 0px;
            float: none;
            display: inline-block;
        }

        .vmNetworkStyle {
            padding: 0px !important;
            width: auto !important;
        }

        .vmNetworkImage {
            margin-left: 3px;
            margin-top: 4px;
        }

        .tree {
            overflow: auto;
        }

        .message {
            color: blue;
            font-size: 8pt;
            padding: 5px;
        }

        .qosStyle {
            margin-left: 20px;
        }

        .propertyWidth {
            width: 340px;
        }

        .mtuLabel {
            width: 230px;
            position: relative;
            top: -25px;
        }

        .inlineBlock {
            display: inline-block;
        }

    </ui:style>

    <d:SimpleDialogPanel ui:field="mainPanel" width="780px" height="550px">
        <d:content>
            <t:DialogTabPanel ui:field="tabPanel" height="100%" width="100%">
                <t:tab>
                    <t:DialogTab ui:field="generalTab">
                        <t:content>
                            <g:FlowPanel>
                                <g:FlowPanel addStyleNames="{style.generalTabTopDecorator}">
                                    <g:HTML ui:field="messageLabel" addStyleNames="{style.message}"/>
                                    <e:ListModelListBoxEditor ui:field="dataCenterEditor"/>
                                    <ge:StringEntityModelTextBoxEditor ui:field="nameEditor" />
                                    <ge:StringEntityModelTextBoxEditor ui:field="descriptionEditor" />
                                    <ge:StringEntityModelTextBoxEditor ui:field="commentEditor" />
                                </g:FlowPanel>
                                <g:FlowPanel addStyleNames="{style.sectionStyle}">
                                    <g:Label ui:field="exportLabel" addStyleNames="{style.mainLabel}" />
                                    <ge:EntityModelCheckBoxEditor ui:field="exportEditor" />
                                    <e:ListModelListBoxEditor ui:field="externalProviderEditor" addStyleNames="{style.dependentField}" />
                                </g:FlowPanel>
                                <g:FlowPanel addStyleNames="{style.sectionStyle}">
                                    <g:Label ui:field="mainLabel" addStyleNames="{style.mainLabel}" />
                                    <g:HorizontalPanel addStyleNames="{style.dependentField}">
                                        <ge:EntityModelCheckBoxEditor ui:field="vlanTagging"/>
                                        <ge:IntegerEntityModelTextBoxOnlyEditor ui:field="vlanTag" />
                                    </g:HorizontalPanel>
                                    <g:HorizontalPanel addStyleNames="{style.dependentField}">
                                        <ge:EntityModelCheckBoxEditor ui:field="isVmNetworkEditor" />
                                        <g:Image resource="{resources.networkVm}" addStyleNames="{style.vmNetworkImage}" />
                                    </g:HorizontalPanel>
                                    <e:ListModelRadioGroupEditor ui:field="mtuSelectorEditor" addStyleNames="{style.dependentField}" />
                                    <w:EntityModelWidgetWithInfo ui:field="networkLabelWithInfo" addStyleNames="{style.dependentField} {style.propertyWidth} anpv_networkLabelPanel_pfly_fix" />
                                    <g:HorizontalPanel verticalAlignment="ALIGN_MIDDLE" visible="false">
                                        <e:ListModelListBoxEditor ui:field="qosEditor" addStyleNames="{style.dependentField} {style.propertyWidth}" />
                                        <w:UiCommandButton ui:field="addQosButton" addStyleNames="{style.qosStyle}" />
                                    </g:HorizontalPanel>
                                </g:FlowPanel>
                            </g:FlowPanel>
                        </t:content>
                    </t:DialogTab>
                </t:tab>
                <t:tab>
                    <t:DialogTab ui:field="clusterTab">
                        <t:content>
                            <g:VerticalPanel ui:field="attachPanel">
                                <g:Label ui:field="assignLabel" addStyleNames="{style.mainLabel}"/>
                                <g:ScrollPanel height="160px" width="100%">
                                    <e:EntityModelCellTable ui:field="clustersTable" />
                                </g:ScrollPanel>
                            </g:VerticalPanel>
                        </t:content>
                    </t:DialogTab>
                </t:tab>
                <t:tab>
                    <t:DialogTab ui:field="subnetTab">
                        <t:content>
                            <g:FlowPanel>
                                <ge:EntityModelCheckBoxEditor ui:field="createSubnetEditor" />
                                <p:ExternalSubnetWidget ui:field="subnetWidget" />
                            </g:FlowPanel>
                        </t:content>
                    </t:DialogTab>
                </t:tab>
                <t:tab>
                    <t:DialogTab ui:field="profilesTab">
                        <t:content>
                            <g:FlowPanel>
                                <g:Label ui:field="profilesLabel" addStyleNames="{style.mainLabel}" />
                                <v:VnicProfilesEditor ui:field="profilesEditor" />
                            </g:FlowPanel>
                        </t:content>
                    </t:DialogTab>
                </t:tab>
            </t:DialogTabPanel>
        </d:content>
    </d:SimpleDialogPanel>

</ui:UiBinder>


text:
package com.google.unity.ads;

import android.app.Activity;
import android.util.Log;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import com.google.android.gms.ads.AdError;
import com.google.android.gms.ads.AdRequest;
import com.google.android.gms.ads.AdValue;
import com.google.android.gms.ads.FullScreenContentCallback;
import com.google.android.gms.ads.LoadAdError;
import com.google.android.gms.ads.OnPaidEventListener;
import com.google.android.gms.ads.OnUserEarnedRewardListener;
import com.google.android.gms.ads.ResponseInfo;
import com.google.android.gms.ads.rewarded.RewardItem;
import com.google.android.gms.ads.rewarded.ServerSideVerificationOptions;
import com.google.android.gms.ads.rewardedinterstitial.RewardedInterstitialAd;
import com.google.android.gms.ads.rewardedinterstitial.RewardedInterstitialAdLoadCallback;
import java.util.concurrent.Callable;
import java.util.concurrent.ExecutionException;
import java.util.concurrent.FutureTask;

/**
 * Native rewarded interstitial ad implementation for the Google Mobile Ads Unity plugin.
 */
public class UnityRewardedInterstitialAd {

  /**
   * The {@link RewardedInterstitialAd}.
   */
  private RewardedInterstitialAd rewardedInterstitialAd;

  /**
   * The {@code Activity} on which the rewarded ad will display.
   */
  private Activity activity;

  /**
   * A callback implemented in Unity via {@code AndroidJavaProxy} to receive ad events.
   */
  private UnityRewardedInterstitialAdCallback callback;

  public UnityRewardedInterstitialAd(
      Activity activity, UnityRewardedInterstitialAdCallback callback) {
    this.activity = activity;
    this.callback = callback;
  }

  /**
   * Loads a rewarded interstitial ad.
   *
   * @param adUnitId The ad unit ID.
   * @param request The {@link AdRequest} object with targeting parameters.
   */
  public void loadAd(final String adUnitId, final AdRequest request) {
    activity.runOnUiThread(
        new Runnable() {
          @Override
          public void run() {
            RewardedInterstitialAd.load(
                activity,
                adUnitId,
                request,
                new RewardedInterstitialAdLoadCallback() {
                  @Override
                  public void onAdLoaded(@NonNull RewardedInterstitialAd ad) {
                    rewardedInterstitialAd = ad;

                    rewardedInterstitialAd.setOnPaidEventListener(
                        new OnPaidEventListener() {
                          @Override
                          public void onPaidEvent(final AdValue adValue) {
                            new Thread(
                                new Runnable() {
                                  @Override
                                  public void run() {
                                    if (callback != null) {
                                      callback.onPaidEvent(
                                          adValue.getPrecisionType(),
                                          adValue.getValueMicros(),
                                          adValue.getCurrencyCode());
                                    }
                                  }
                                }
                            ).start();
                          }
                        });

                    rewardedInterstitialAd.setFullScreenContentCallback(
                        new FullScreenContentCallback() {
                          @Override
                          public void onAdFailedToShowFullScreenContent(final AdError error) {
                            new Thread(
                                new Runnable() {
                                  @Override
                                  public void run() {
                                    if (callback != null) {
                                      callback.onAdFailedToShowFullScreenContent(error);
                                    }
                                  }
                                })
                                .start();
                          }

                          @Override
                          public void onAdShowedFullScreenContent() {
                            new Thread(
                                new Runnable() {
                                  @Override
                                  public void run() {
                                    if (callback != null) {
                                      callback.onAdShowedFullScreenContent();
                                    }
                                  }
                                })
                                .start();
                          }

                          @Override
                          public void onAdDismissedFullScreenContent() {
                            new Thread(
                                new Runnable() {
                                  @Override
                                  public void run() {
                                    if (callback != null) {
                                      callback.onAdDismissedFullScreenContent();
                                    }
                                  }
                                })
                                .start();
                          }

                          @Override
                          public void onAdImpression() {
                            new Thread(
                                new Runnable() {
                                  @Override
                                  public void run() {
                                    if (callback != null) {
                                      callback.onAdImpression();
                                    }
                                  }
                                })
                                .start();
                          }
                        });

                    new Thread(
                        new Runnable() {
                          @Override
                          public void run() {
                            if (callback != null) {
                              callback.onRewardedInterstitialAdLoaded();
                            }
                          }
                        })
                        .start();
                  }

                  @Override
                  public void onAdFailedToLoad(final LoadAdError error) {
                    new Thread(
                        new Runnable() {
                          @Override
                          public void run() {
                            if (callback != null) {
                              callback.onRewardedInterstitialAdFailedToLoad(error);
                            }
                          }
                        }).start();
                  }
                });
          }
        });
  }

  /**
   * Shows the rewarded interstitial ad if it has loaded.
   */
  public void show() {
    if (rewardedInterstitialAd == null) {
      Log.e(PluginUtils.LOGTAG, "Tried to show rewarded interstitial ad before it was ready. "
          + "This should in theory never happen. If it does, please contact the plugin owners.");
      return;
    }
    activity.runOnUiThread(
        new Runnable() {
          @Override
          public void run() {
            rewardedInterstitialAd.show(
                activity,
                new OnUserEarnedRewardListener() {
                  @Override
                  public void onUserEarnedReward(@NonNull final RewardItem rewardItem) {
                    new Thread(
                        new Runnable() {
                          @Override
                          public void run() {
                            if (callback != null) {
                              callback.onUserEarnedReward(
                                  rewardItem.getType(), rewardItem.getAmount());
                            }
                          }
                        })
                        .start();
                  }
                });
          }
        });
  }

  /**
   * Sets server side verification options.
   */
  public void setServerSideVerificationOptions(
      final ServerSideVerificationOptions serverSideVerificationOptions) {
    if (rewardedInterstitialAd == null) {
      Log.e(PluginUtils.LOGTAG, "Tried set server side verification before it was ready. "
          + "This should in theory never happen. If it does, please contact the plugin owners.");
      return;
    }
    activity.runOnUiThread(
        new Runnable() {
          @Override
          public void run() {
            rewardedInterstitialAd.setServerSideVerificationOptions(serverSideVerificationOptions);
          }
        });
  }

  /** Returns the request response info. */
  @Nullable
  public ResponseInfo getResponseInfo() {
    if (rewardedInterstitialAd == null) {
      return null;
    }
    FutureTask<ResponseInfo> task =
        new FutureTask<>(
            new Callable<ResponseInfo>() {
              @Override
              public ResponseInfo call() {
                return rewardedInterstitialAd.getResponseInfo();
              }
            });
    activity.runOnUiThread(task);

    ResponseInfo result = null;
    try {
      result = task.get();
    } catch (InterruptedException exception) {
      Log.e(
          PluginUtils.LOGTAG,
          String.format(
              "Unable to check unity rewarded interstitial ad response info: %s",
              exception.getLocalizedMessage()));
    } catch (ExecutionException exception) {
      Log.e(
          PluginUtils.LOGTAG,
          String.format(
              "Unable to check unity rewarded interstitial ad response info: %s",
              exception.getLocalizedMessage()));
    }
    return result;
  }

  @Nullable
  public RewardItem getRewardItem() {
    if (rewardedInterstitialAd == null) {
      Log.e(PluginUtils.LOGTAG, "Tried to get reward item before it was ready. This should "
          + "in theory never happen. If it does, please contact the plugin owners.");
      return null;
    }
    FutureTask<RewardItem> task =
        new FutureTask<>(
            new Callable<RewardItem>() {
              @Override
              public RewardItem call() {
                return rewardedInterstitialAd.getRewardItem();
              }
            });
    activity.runOnUiThread(task);

    RewardItem result = null;
    try {
      result = task.get();
    } catch (InterruptedException e) {
      Log.e(
          PluginUtils.LOGTAG,
          String.format("Unable to get reward item: %s", e.getLocalizedMessage()));
    } catch (ExecutionException e) {
      Log.e(
          PluginUtils.LOGTAG,
          String.format("Unable to get reward item: %s", e.getLocalizedMessage()));
    }
    return result;
  }

  /**
   * Destroys the {@link RewardedInterstitialAd}.
   */
  public void destroy() {
    // Currently there is no rewardedInterstitialAd.destroy() method. This method is a placeholder
    // in case there is any cleanup to do here in the future.
  }
}


text:
cask 'lockdown' do
  version '1.0.0'
  sha256 '047f377e2a9495361084268c86cc80719e123bd8958d69fe51cd2be0d7ffd764'

  # bitbucket.org/objective-see was verified as official when first introduced to the cask
  url "https://bitbucket.org/objective-see/deploy/downloads/Lockdown_#{version}.zip"
  appcast 'https://objective-see.com/products/changelogs/Lockdown.txt'
  name 'Lockdown'
  homepage 'https://objective-see.com/products/lockdown.html'

  app 'Lockdown.app'
end


text:
/*
	AnythingSlider v1.8+ Default theme
	By Chris Coyier: http://css-tricks.com
	with major improvements by Doug Neiner: http://pixelgraphics.us/
	based on work by Remy Sharp: http://jqueryfordesigners.com/
*/

/*****************************
  SET DEFAULT DIMENSIONS HERE
 *****************************/
/* change the ID & dimensions to match your slider */

#slider { width:960px; list-style: none; /* Prevent FOUC (see FAQ page) and keep things readable if javascript is disabled */ overflow-y: auto; overflow-x: hidden; }

.anythingSlider { width:960px; height:420px; margin:0 auto; overflow:hidden; }

#banner-slider { float:left; width:100%; position:relative; margin:0px; padding:0px; }

.textSlide { margin:0px; padding:0px; width:100%; float:left; }
.slider-content-container { margin:18% 0px 0px; float:left; width:40%; padding:0px;  }
.textSlide h2 { color:#ffffff; text-shadow: 0px 1px 0px #000000; font-size:24px; margin:0px; width:100%; }
.slider-content-container .subtitle { font-size:14px; text-transform:uppercase; text-shadow:none; clear:both; float:left; width:100%; }
.slider-video-container { float:right; margin:3% 0px 0px; width:58%; text-align:right; }
.slider-video-container iframe { max-width:100% !important; }

.slider-video-container  { position: relative; padding-bottom:44.25%; padding-top: 30px; height: 0; overflow: hidden; }

.slider-video-container iframe,
.slider-video-container object,
.slider-video-container embed {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 80%;
}

/******************
  SET STYLING HERE
 ******************
 =================================
 Default state (no keyboard focus)
 ==================================*/
/* Overall Wrapper */
.anythingSlider-default { margin: 0 auto; /* 45px right & left padding for the arrows, 28px @ bottom for navigation */ }

/* Navigation buttons + start/stop button, default state */

.anythingSlider-default .anythingControls { z-index:9999; position:absolute; bottom:-55px; margin:0px; padding:0px; width:100%; text-align:center; margin:0; }
.anythingSlider-default .anythingControls ul li { display:inline; margin:0px 2px; }
.anythingSlider-default .anythingControls a { background:url(../images/banner-bullets.png) left top no-repeat; display:inline-block; width:18px; height:18px; text-align:center; font-size:0; behavior:url(PIE.htc); }
.anythingSlider-default.activeSlider .anythingControls a.cur,
.anythingSlider-default.activeSlider .anythingControls a:hover { border-radius:18px; behavior:url(PIE.htc); }

.thumbNav { width:100%; text-align:center; }

/***********************
  COMMON SLIDER STYLING
 ***********************/
/* Overall Wrapper */
.anythingSlider { display: block; overflow: visible !important; position: relative; }

/* anythingSlider viewport window */
.anythingSlider .anythingWindow { overflow: hidden; position: relative; width: 100%; height: 100%; }

/* anythingSlider base (original element) */
.anythingSlider .anythingBase { background: transparent; list-style: none; position: absolute; overflow: visible !important; top: 0; left: 0; margin: 0; padding: 0; }

/* Navigation arrow text; indent moved to span inside "a", for IE7;
  apparently, a negative text-indent on an "a" link moves the link as well as the text */
.anythingSlider .arrow span { display: block; visibility: hidden; }

/* disabled arrows, hide or reduce opacity: opacity: .5; filter: alpha(opacity=50); */
.anythingSlider .arrow.disabled { display: none; }

/* all panels inside the slider; horizontal mode */
.anythingSlider .panel { background: transparent; display: block; overflow: hidden; float: left; padding: 0; margin: 0; }

/* vertical mode */
.anythingSlider .vertical .panel { float: none; }

/* fade mode */
.anythingSlider .fade .panel { float: none; position: absolute; top: 0; left: 0; z-index: 0; }

/* fade mode active page - visible & on top */
.anythingSlider .fade .activePage { z-index: 1; }

/*----*****---- << Responsive >> ----*****----*/

	/*----*****---- << Tablet (Portrait) >> ----*****----*/

    /* Note: Design for a width of 768px, Gutter: 30px, Unit: 32px */

    @media only screen and (min-width: 768px) and (max-width: 989px) {

		.anythingSlider { width:750px; height:328px; }

		.slider-video-container { margin:3% 0px 0px; }
	}

	/*----*****---- << Mobile (Landscape) >> ----*****----*/

    /* Note: Design for a width of 480px */

    @media only screen and (min-width: 480px) and (max-width: 767px) {

		.anythingSlider { width:460px; height:201px; }

		.slider-video-container { margin:3% 0px 0px; }

		.slider-content-container { margin-top:10%; }
		.slider-video-container { margin-top:2%; }
		.textSlide h2 { font-size:18px; }

	}

	/*----*****---- << Mobile >> ----*****----*/

	/* Mobile Portrait Size to Mobile Landscape Size (devices and browsers) */
	@media only screen and (max-width: 479px) {

		.anythingSlider { width:300px; height:131px; }

		.slider-video-container { margin:3% 0px 0px; padding-bottom:40.25%; }

		.slider-content-container { margin-top:10%; }
		.slider-video-container { margin-top:2%; }
		.textSlide h2 { font-size:14px; line-height:normal; text-transform:none; }

		.slider-content-container .subtitle { display:none; }

	}

	/*----*****---- << Mobile >> ----*****----*/

	/* Crappy Android portrait Size (devices and browsers) */
	@media only screen and (max-width:320px) {

		.anythingSlider { width:220px; height:96px; }

		.slider-video-container { margin:3% 0px 0px; padding-bottom:37.25%; }

		.slider-content-container { margin-top:10%; }
		.slider-video-container { margin-top:2%; }
		.textSlide h2 { font-size:11px; line-height:normal; text-transform:none; }

		.slider-content-container .subtitle { display:none; }

	}


text:
/*
 *  FlyHigh
 *  2015/02/12
 *  @auther minimo
 *  This Program is MIT license.
 */
(function() {

flyhigh = {
    core: null,
};

flyhigh.Application = tm.createClass({
    superClass: tm.app.CanvasApp,

    mainScene: null,

    highScore: 0,
    score: 0,

    bgm: null,

    init: function(id) {
        this.superInit(id);

        flyhigh.core = this;
        this.resize(SC_W, SC_H).fitWindow();
        this.fps = 60;
        this.background = "rgba(0, 0, 0, 1.0)";

        this.keyboard = tm.input.Keyboard(window);

        var loadingScene = flyhigh.LoadingScene({
            assets: flyhigh.assets,
            width: SC_W,
            height: SC_H,
            bgColor: "black",
            nextScene: function() {
                this._onLoadAssets();
                return flyhigh.MainScene();
            }.bind(this),
        });

        this.replaceScene(loadingScene);
    },

    _onLoadAssets: function() {
        flyhigh.createSpriteSheet();
    },

    exitApp: function() {
    },

    //BGM再生
    playBGM: function(assetName) {
        if (this.bgm) {
            this.bgm.stop();
        }
        this.bgm = tm.asset.AssetManager.get(assetName);
        if (this.bgm) {
            this.bgm.loop = true;
            this.bgm.currentTime = 0;
            this.bgm.play();
            return this.bgm;
        }
        return null;
    },

    //SoundEffect再生
    playSE: function(assetName) {
        var se = tm.asset.AssetManager.get(assetName)
        if (se) se.clone().play();
    },
});

//SpriteのsetFrameIndexをちょっと改造
tm.display.Sprite.prototype.setFrameIndex = function(index, width, height) {

    //テクスチャのトリミング設定
    var sx = this.frameTrimX || 0;
    var sy = this.frameTrimY || 0;
    var sw = this.frameTrimW || (this.image.width-sx);
    var sh = this.frameTrimH || (this.image.height-sy);

    var tw  = width || this.width;      // tw
    var th  = height || this.height;    // th
    var row = ~~(sw / tw);
    var col = ~~(sh / th);
    var maxIndex = row*col;
    index = index%maxIndex;

    var x   = index%row;
    var y   = ~~(index/row);
    this.srcRect.x = sx+x*tw;
    this.srcRect.y = sy+y*th;
    this.srcRect.width  = tw;
    this.srcRect.height = th;

    this._frameIndex = index;

    return this;
}

//トリミング開始位置設定
tm.display.Sprite.prototype.setFrameTrim = function(x, y, width, height) {
    this.frameTrimX = x || 0;
    this.frameTrimY = y || 0;
    this.frameTrimW = width || this.image.width - this.frameTrimX;
    this.frameTrimH = height || this.image.height - this.frameTrimY;
    return this;
}

})();


text:
package main

import (
	"flag"
	"fmt"
	"os"

	"gopkg.in/yaml.v2"
	"io/ioutil"
)

type Config struct {
	Auth struct {
		User     string
		Password string
	}
	Server struct {
		Address string
		Port    string
	}
	Database struct {
		Path string
	}
	Pagination struct {
		PerPage int `yaml:"perPage"`
	}
}

var config Config

func prepareConfig() {
	configfile := flag.String(
		"config",
		"../logbook.yml",
		"path to configuration file",
	)

	flag.Parse()

	var (
		confData []byte
		err      error
	)

	if confData, err = ioutil.ReadFile(absPathToFile(*configfile)); err != nil {
		fmt.Printf("Error opening config file: %v", err)
		os.Exit(1)
	}

	if err = yaml.Unmarshal(confData, &config); err != nil {
		fmt.Printf("Invalid config file format")
		os.Exit(1)
	}
}


text:
from oscar.apps.customer.views import ProfileView as CoreProfileView

from django.views.generic.edit import FormView
from django.core.urlresolvers import reverse_lazy
from django.shortcuts import redirect
from django.http import HttpResponseRedirect

from .models import CustomerDocument, CustomerProfile
from document_manager.models import Document
from .perms_becomementor import second_step, first_step, active_mentor

from .forms import EmailUserCreationForm, StepOneForm, StepTwoForm

# Create your views here or die.

class ProfileView(CoreProfileView):

    def get_context_data(self, *args, **kwargs):
        ctx = super(ProfileView, self).get_context_data(
            *args, **kwargs)
        ctx['wishlists'] = self.get_wishlists_queryset()
        return ctx

    def get_wishlists_queryset(self):
        return self.request.user.wishlists.all()

class CustomerMentorCompleteProfileStepOne(FormView):

    template_name = 'customer/complete_profile_step1.html'
    form_class = StepOneForm

    step_2_url = reverse_lazy("customeri:become-mentor-step2")

    success_url = reverse_lazy("customeri:become-mentor-step2")
    create_course_url = reverse_lazy("course-create")

    editable = False

    def get_next_step_url(self):
        return self.step_2_url

    def get(self, request, *args, **kwargs):
         #Handles GET requests and instantiates a blank version of the form.

        if (active_mentor(self.request.user)):
            return HttpResponseRedirect(self.create_course_url)
        else:
            form = self.get_form()
            return self.render_to_response(self.get_context_data(form=form))

    def get_initial(self):
        """
        Returns the initial data to use for forms on this view.
        """
        Usr = self.request.user
        Profi = Usr.customer_profile

        init = {
            'first_name': Usr.first_name,
            'last_name': Usr.last_name,
            'email': Usr.email,
            'gender': Profi.gender,
            'birth_date': Profi.birth_date,
            'about_me': Profi.about_me,
            'country_name': Profi.country_name,
            'state_name': Profi.state_name,
            'address_field_one': Profi.address_field_one,
            'address_field_two': Profi.address_field_two,
            'postal_code': Profi.postal_code,
            'outdoor_number': Profi.outdoor_number,
            'internal_number': Profi.internal_number,
        }
        return init

    def form_valid(self, form):
        # This method is called when valid form data has been POSTed.
        # It should return an HttpResponse.
        Usr = self.request.user
        Profi = Usr.customer_profile

        Usr.first_name = form.cleaned_data['first_name']
        Usr.last_name = form.cleaned_data['last_name']
        Usr.email = form.cleaned_data['email']
        Profi.birth_date =form.cleaned_data['birth_date']
        Profi.gender = form.cleaned_data['gender']
        Profi.about_me = form.cleaned_data['about_me']

        Profi.country_name = form.cleaned_data['country_name']
        Profi.state_name = form.cleaned_data['state_name']
        Profi.address_field_one = form.cleaned_data['address_field_one']
        Profi.address_field_two = form.cleaned_data['address_field_two']
        Profi.postal_code = form.cleaned_data['postal_code']
        Profi.outdoor_number = form.cleaned_data['outdoor_number']
        Profi.internal_number = form.cleaned_data['internal_number']

        Usr.save()
        Profi.save()

        return super(CustomerMentorCompleteProfileStepOne, self).form_valid(form)

class CustomerMentorCompleteProfileStepTwo(FormView):

    template_name = 'customer/complete_profile_step2.html'
    form_class = StepTwoForm
    success_url = '/'

    create_course_url = reverse_lazy("course-create")

    def get(self, request, *args, **kwargs):
         #Handles GET requests and instantiates a blank version of the form.

        if (active_mentor(self.request.user)):
            return HttpResponseRedirect(self.create_course_url)
        else:
            form = self.get_form()
            return self.render_to_response(self.get_context_data(form=form))

    def get_initial(self):
        """
        Returns the initial data to use for forms on this view.
        """
        Usr = self.request.user
        Profi = Usr.customer_profile

        init = {
        'phone': Profi.phone
        }
        return init

    def form_valid(self, form):
        # This method is called when valid form data has been POSTed.
        # It should return an HttpResponse.
        Usr = self.request.user
        Profi = Usr.customer_profile
        doc_ide = CustomerDocument(doc_file=form.cleaned_data['doc_ide'] , doc_type=Document.DOCUMENT_TYPE_ID, user = self.request.user)
        doc_adrrs = CustomerDocument(doc_file=form.cleaned_data['doc_adrrs'] , doc_type=Document.DOCUMENT_TYPE_ADDRESS, user = self.request.user)
        doc_free_nigga = CustomerDocument(doc_file=form.cleaned_data['doc_free_nigga'] , doc_type=Document.DOCUMENT_TYPE_PENAL, user = self.request.user)

        Profi.phone = form.cleaned_data['phone']

        if(first_step(Usr)):
            Profi.status = CustomerProfile.MENTOR

        doc_ide.save()
        doc_adrrs.save()
        doc_free_nigga.save()

        Profi.save()

        return super(CustomerMentorCompleteProfileStepTwo, self).form_valid(form)


text:
using System.IO;
using Xunit;

namespace System.Security.Cryptography.Hashing.Algorithms.Tests
{
    public class InvalidUsageTests
    {
        [Fact]
        public void InvalidHashCoreArgumentsFromDerivedType()
        {
            using (var hmac = new DerivedHMACSHA1())
            {
                Assert.Throws<ArgumentNullException>(() => hmac.ExposedHashCore(null, 0, 0));
                AssertExtensions.Throws<ArgumentOutOfRangeException>("offset", "inputOffset", () => hmac.ExposedHashCore(new byte[1], -1, 1));
                AssertExtensions.Throws<ArgumentOutOfRangeException, ArgumentException>("count", null, () => hmac.ExposedHashCore(new byte[1], 0, -1));
                AssertExtensions.Throws<ArgumentException>(null, () => hmac.ExposedHashCore(new byte[1], 0, 2));
                AssertExtensions.Throws<ArgumentException>(null, () => hmac.ExposedHashCore(new byte[2], 1, 2));
                AssertExtensions.Throws<ArgumentException>(null, () => hmac.ExposedHashCore(new byte[1], int.MaxValue, int.MaxValue));
            }
        }

        [Fact]
        [SkipOnTargetFramework(TargetFrameworkMonikers.NetFramework, "NetFX throws a CryptoException because it lacks boundary checking in the Stream overload. See #19092.")]
        public void InvalidHashCoreArgumentsFromStream()
        {
            using (SHA1 sha1 = SHA1.Create())
            {
                AssertExtensions.Throws<ArgumentException>(null, () => sha1.ComputeHash(new BadReadStream(BadReadStream.ErrorCondition.TooLargeValueFromRead)));
                sha1.ComputeHash(new BadReadStream(BadReadStream.ErrorCondition.NegativeValueFromRead));
            }
        }

        private sealed class DerivedHMACSHA1 : HMACSHA1
        {
            public void ExposedHashCore(byte[] rgb, int ib, int cb)
            {
                HashCore(rgb, ib, cb);
            }
        }

        private sealed class BadReadStream : Stream
        {
            internal enum ErrorCondition
            {
                NegativeValueFromRead,
                TooLargeValueFromRead
            }

            private readonly ErrorCondition _condition;

            public BadReadStream(ErrorCondition condition)
            {
                _condition = condition;
            }

            public override int Read(byte[] buffer, int offset, int count)
            {
                switch (_condition)
                {
                    case ErrorCondition.NegativeValueFromRead: return -1;
                    case ErrorCondition.TooLargeValueFromRead: return buffer.Length + 1;
                    default: return 0;
                }
            }

            public override bool CanRead { get { return true; } }
            public override bool CanSeek { get { return false; } }
            public override bool CanWrite { get { return false; } }
            public override long Length { get { throw new NotSupportedException(); } }
            public override long Position { get { throw new NotSupportedException(); } set { throw new NotSupportedException(); } }
            public override void Flush() { }
            public override long Seek(long offset, SeekOrigin origin) { throw new NotSupportedException(); }
            public override void SetLength(long value) { throw new NotSupportedException(); }
            public override void Write(byte[] buffer, int offset, int count) { throw new NotSupportedException(); }
        }
    }
}


text:
<!DOCTYPE html>

	<meta charset="utf-8">
	<title>{% block main_title%}{% endblock %}</title>

	<link rel="stylesheet" href="/static/css/bootstrap.css">
	<link rel="stylesheet" href="/static/css/default.css">

Message Board

            {% block main_content %}
            {% endblock %}

            Copylight(c) 2013 ******