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
<fx:Declarations> | |
<s:DateTimeFormatter id="dateTimeFormatter" dateTimePattern="yyyy-MM-dd"/> | |
</fx:Declarations> | |
<s:DataGrid id="dg" height="100%" width="100%" borderVisible="false"> | |
<s:columns> | |
<s:ArrayList> | |
<s:GridColumn dataField="Date" headerText="Date" formatter="{dateTimeFormatter}"/> | |
</s:ArrayList> | |
</s:columns> |
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
1443 | % { echo ((new-object Net.Sockets.TcpClient).Connect("192.168.75.11",$_)) "server listening on TCP port $ _" } |
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"?> | |
<s:Group | |
xmlns:fx="http://ns.adobe.com/mxml/2009" | |
xmlns:s="library://ns.adobe.com/flex/spark" | |
xmlns:mx="library://ns.adobe.com/flex/mx" | |
width="200" height="100" | |
> | |
<s:DataGrid id="dataGrid" width="100%" height="100%" minHeight="100" variableRowHeight="true" | |
> |
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
use DateTime; | |
my $dts = DateTime->now->strftime('%F %T'); |
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
use strict; | |
use warnings; | |
use DBI; | |
use DBIx::DataModel; | |
use DateTime; | |
use Try::Tiny; | |
use Test::More; |
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
use Modern::Perl; | |
use DBIx::DataModel; | |
use DBIx::DataModel::Schema::Generator qw(fromDBI); | |
use FindBin qw($Bin); | |
my $schema = 'Scratch'; | |
my $schema_name = $schema . "::Schema"; | |
my $generator = DBIx::DataModel::Schema::Generator->new(-schema => $schema_name); |
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
use Moose; | |
use DBIx::DataModel; | |
use DBI; | |
our $dbh; | |
our $schema; | |
sub BUILD { | |
$dbh = get_dbh(); | |
my %dbh_options; |
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
Sub Setting_Sleep_Without_Sleep_Function() | |
Debug.Print Now | |
Application.Wait DateAdd("s", 10, Now) | |
Debug.Print Now |
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
<fx:Script> | |
<![CDATA[ | |
import mx.controls.Button; | |
[Embed(source='/assets/small_tick.png')] | |
[Bindable] | |
public var imgTick:Class; | |
private function setTabColours(index:int):void { |
NewerOlder