├── bbedit
├── Clippings
│ ├── Universal Items
│ │ ├── Current Date & Time
│ │ ├── documentor
│ │ │ ├── @deprecated
│ │ │ ├── @docblock
│ │ │ ├── @param
│ │ │ ├── @return
│ │ │ ├── @throws
│ │ │ ├── @todo
│ │ │ ├── @uses
│ │ │ └── @var
│ │ └── pairs
│ │ │ ├── " "
│ │ │ ├── ' '
│ │ │ ├── ( )
│ │ │ ├── ();
│ │ │ ├── < >
│ │ │ ├── [ ]
│ │ │ ├── { (block) }
│ │ │ ├── { (block) };
│ │ │ ├── { }
│ │ │ └── { };
│ └── php.php
│ │ ├──
│ │ ├── Ln-debug
│ │ ├── __construct
│ │ ├── __destruct
│ │ ├── __get
│ │ ├── __set
│ │ ├── __toString
│ │ ├── class
│ │ ├── clips
│ │ ├── DATE_FORMAT YYYY-MM-DD hh mm
│ │ ├── array keys equiv
│ │ ├── array keys intersect
│ │ ├── clippings
│ │ ├── dropdown menu w selected.php
│ │ ├── error_reporting
│ │ ├── ifnotdefined
│ │ └── minilogger.php
│ │ ├── const
│ │ ├── debug
│ │ ├── errors on
│ │ ├── exceptions
│ │ ├── 00)throw new exception
│ │ ├── BadFunctionCallException
│ │ ├── BadMethodCallException
│ │ ├── DomainException
│ │ ├── ErrorException
│ │ ├── Exception
│ │ ├── InvalidArgumentException
│ │ ├── LengthException
│ │ ├── LogicException
│ │ ├── OutOfBoundsException
│ │ ├── OutOfRangeException
│ │ ├── OverflowException
│ │ ├── RangeException
│ │ ├── RuntimeException
│ │ ├── UnderflowException
│ │ └── UnexpectedValueException
│ │ ├── flow
│ │ ├── else
│ │ ├── foreach
│ │ ├── if
│ │ ├── switch
│ │ └── try:catch
│ │ ├── hash bang env php
│ │ ├── headers
│ │ ├── header('Cache-Control private');
│ │ ├── header('Content-Type application:json')
│ │ ├── header('Content-Type text:plain; charset=utf-8');
│ │ ├── header('HTTP:1.1 303 See Other');
│ │ ├── header('HTTP:1.1 400 Bad Request');
│ │ ├── header('HTTP:1.1 500 Internal Server Error');
│ │ ├── header('Location ..');
│ │ └── headers for no caching
│ │ ├── htmlspecialchars
│ │ ├── my_var_export
│ │ ├── phpunit
│ │ ├── @expectedException
│ │ ├── @throws
│ │ ├── PHPUnit header.php
│ │ ├── PHPUnit_Framework_TestCase
│ │ ├── assertContains
│ │ ├── assertEquals
│ │ ├── assertFalse
│ │ ├── assertInstanceOf
│ │ ├── assertNotContains
│ │ ├── assertNotEquals
│ │ ├── assertNotSame
│ │ ├── assertNotType
│ │ ├── assertNull
│ │ ├── assertRegExp
│ │ ├── assertSame
│ │ ├── assertTrue
│ │ ├── assertType
│ │ ├── assertions
│ │ ├── markTestIncomplete
│ │ ├── markTestSkipped
│ │ ├── require_once PHPUnit_Framework
│ │ ├── setExpectedException
│ │ ├── setUpBeforeClass()
│ │ ├── tearDownAfterClass()
│ │ └── test
│ │ ├── private function
│ │ ├── private static function
│ │ ├── protected function
│ │ ├── protected static function
│ │ ├── public function
│ │ ├── public static function
│ │ ├── require
│ │ ├── require_once
│ │ ├── set_include_path
│ │ ├── static
│ │ ├── this->
│ │ └── var_export
├── Language Modules
│ └── TypeScript.plist
├── Scripts
│ ├── Go Here in Terminal.applescript
│ ├── fork-log-file.sh
│ ├── fork.sh
│ ├── git-bbdiff.sh
│ ├── git-hub blame.sh
│ ├── git-hub compare.sh
│ ├── git-hub log.sh
│ ├── git-hub pr.sh
│ ├── git-hub.sh
│ ├── git-pull.sh
│ ├── lint.sh
│ ├── loc.sh
│ ├── open in vscode.sh
│ ├── runinnode.sh
│ ├── tabstop cycle 2,4,8.applescript
│ ├── trim+detab.applescript
│ └── unused
│ │ ├── CSS Syntax Check.pl
│ │ ├── Set Tab Width to Widest Cell.applescript
│ │ ├── git-difftool.sh
│ │ ├── gitx.sh
│ │ ├── php-lint.applescript
│ │ ├── phpunit.applescript
│ │ ├── text bigger.applescript
│ │ └── text smaller.applescript
├── Text Filters
│ ├── clean_tabs2spaces.textfactory
│ ├── collect_by_regex.pl
│ ├── compact php code.pl
│ ├── demote all headline tags.pl
│ ├── filter from list.pl
│ ├── fix PM date-time.pl
│ ├── fmt-json.php
│ ├── fmt-var_export.pl
│ ├── isoize_date.pl
│ ├── mysqldump clean.textfactory
│ ├── pad.pl
│ ├── quote toggle.pl
│ ├── regex_renumber.pl
│ ├── trim.pl
│ └── words2csv.pl
├── bbdiff..sh
├── bbedit..sh
└── bbedit.sh
├── bigcat
├── Files
│ ├── Copy POSIX path.scpt
│ ├── File type to BBEdit
│ ├── Finder comment.scpt
│ ├── Finder selection to new folder.scpt
│ ├── Finder toggle locked.scpt
│ ├── Go here in Terminal.scpt
│ ├── Go here via HTTP.scpt
│ ├── Open together in BBEdit.scpt
│ └── Version control update
└── Text
│ ├── PHP function search.scpt
│ ├── Post to Tiki.scpt
│ └── View Bug Number.scpt
├── cwdbbedit.applescript
├── cwdfinder.applescript
├── git-opendiff-cmd.sh
├── git-statuscrazy.sh
├── handbraker.sh
├── misc
├── fsrsync.sh
├── getopts.sh
├── greplogs.sh
├── mailpipe.sh
├── osadecompile-all.sh
├── print_fromto.pl
├── proxy.sh
├── rsync_email.sh
├── rsynclogs.sh
├── setmodes.sh
├── svn-stats.php
└── tanpack.sh
├── osx-defaults.sh
├── osx-hw-defaults.sh
├── rel.sh
└── terminal
├── IMY.terminal
├── IyAir.terminal
└── IyAir2xRHS.terminal
/bbedit/Clippings/Universal Items/Current Date & Time:
--------------------------------------------------------------------------------
1 | #inline#Today is #date#. It is now #time#
--------------------------------------------------------------------------------
/bbedit/Clippings/Universal Items/documentor/@deprecated:
--------------------------------------------------------------------------------
1 | @deprecated
--------------------------------------------------------------------------------
/bbedit/Clippings/Universal Items/documentor/@docblock:
--------------------------------------------------------------------------------
1 | #indent#
2 | /**
3 | * #insertion#
4 | *
5 | */
6 |
--------------------------------------------------------------------------------
/bbedit/Clippings/Universal Items/documentor/@param:
--------------------------------------------------------------------------------
1 | @param
--------------------------------------------------------------------------------
/bbedit/Clippings/Universal Items/documentor/@return:
--------------------------------------------------------------------------------
1 | @return
--------------------------------------------------------------------------------
/bbedit/Clippings/Universal Items/documentor/@throws:
--------------------------------------------------------------------------------
1 | @throws #insert#Exception
--------------------------------------------------------------------------------
/bbedit/Clippings/Universal Items/documentor/@todo:
--------------------------------------------------------------------------------
1 | @todo
--------------------------------------------------------------------------------
/bbedit/Clippings/Universal Items/documentor/@uses:
--------------------------------------------------------------------------------
1 | @uses
--------------------------------------------------------------------------------
/bbedit/Clippings/Universal Items/documentor/@var:
--------------------------------------------------------------------------------
1 | @var
--------------------------------------------------------------------------------
/bbedit/Clippings/Universal Items/pairs/" ":
--------------------------------------------------------------------------------
1 | "#select##insertion#"
--------------------------------------------------------------------------------
/bbedit/Clippings/Universal Items/pairs/' ':
--------------------------------------------------------------------------------
1 | '#select##insertion#'
--------------------------------------------------------------------------------
/bbedit/Clippings/Universal Items/pairs/( ):
--------------------------------------------------------------------------------
1 | (#select##insertion#)
--------------------------------------------------------------------------------
/bbedit/Clippings/Universal Items/pairs/();:
--------------------------------------------------------------------------------
1 | (#select##insertion#);
--------------------------------------------------------------------------------
/bbedit/Clippings/Universal Items/pairs/< >:
--------------------------------------------------------------------------------
1 | <#select##insertion#>
--------------------------------------------------------------------------------
/bbedit/Clippings/Universal Items/pairs/[ ]:
--------------------------------------------------------------------------------
1 | [#select##insertion#]
--------------------------------------------------------------------------------
/bbedit/Clippings/Universal Items/pairs/{ (block) }:
--------------------------------------------------------------------------------
1 | #indent#{
2 | #select##insertion#
3 | }
--------------------------------------------------------------------------------
/bbedit/Clippings/Universal Items/pairs/{ (block) };:
--------------------------------------------------------------------------------
1 | #indent#{
2 | #select##insertion#
3 | };
--------------------------------------------------------------------------------
/bbedit/Clippings/Universal Items/pairs/{ }:
--------------------------------------------------------------------------------
1 | {#select##insertion#}
--------------------------------------------------------------------------------
/bbedit/Clippings/Universal Items/pairs/{ };:
--------------------------------------------------------------------------------
1 | {#select##insertion#};
--------------------------------------------------------------------------------
/bbedit/Clippings/php.php/:
--------------------------------------------------------------------------------
1 | #indent#
2 |
--------------------------------------------------------------------------------
/bbedit/Clippings/php.php/Ln-debug:
--------------------------------------------------------------------------------
1 | Ln::debug(#select##insertion#);
--------------------------------------------------------------------------------
/bbedit/Clippings/php.php/__construct:
--------------------------------------------------------------------------------
1 | __construct
--------------------------------------------------------------------------------
/bbedit/Clippings/php.php/__destruct:
--------------------------------------------------------------------------------
1 | __destruct
--------------------------------------------------------------------------------
/bbedit/Clippings/php.php/__get:
--------------------------------------------------------------------------------
1 | __get
2 |
--------------------------------------------------------------------------------
/bbedit/Clippings/php.php/__set:
--------------------------------------------------------------------------------
1 | __set
--------------------------------------------------------------------------------
/bbedit/Clippings/php.php/__toString:
--------------------------------------------------------------------------------
1 | __toString
--------------------------------------------------------------------------------
/bbedit/Clippings/php.php/class:
--------------------------------------------------------------------------------
1 | 0) {
4 | print 'parameters missing';
5 | }
6 |
--------------------------------------------------------------------------------
/bbedit/Clippings/php.php/clips/array keys intersect:
--------------------------------------------------------------------------------
1 | //GET HAS AT LEAST EXPECTED KEYS, MAYBE MORE
2 | $keys = array ('serialnumber', 'name', 'version'); // expected $_GET keys
3 | if ($keys != array_intersect ($keys, array_keys ($_GET)) {
4 | print 'parameters missing';
5 | }
6 |
--------------------------------------------------------------------------------
/bbedit/Clippings/php.php/clips/clippings:
--------------------------------------------------------------------------------
1 | // ADDING ARRAYS
2 | $a1 = array ('a'=>1, 'b'=>2, 'c'=>3);
3 | $a2 = array ('d'=>4);
4 |
5 | print_r ($a1 +$a2); // same as $a1+=$a2
6 |
7 | /*
8 | Array
9 | (
10 | [a] => 1
11 | [b] => 2
12 | [c] => 3
13 | [d] => 4
14 | )
15 | */
16 |
17 | $a1+=$a2; print_r ($a1); /*
18 | Array
19 | (
20 | [a] => 1
21 | [b] => 2
22 | [c] => 3
23 | [d] => 4
24 | )
25 | */
26 |
27 | require_once ('../shared/class.connect.php');
28 | $dbh = new connection ();
29 |
30 |
31 |
32 | web refs:
33 | $_SERVER['PHP_SELF']: /ffarm/pad.php
34 | $_SERVER['SCRIPT_NAME']: /ffarm/pad.php
35 |
36 | filenames:
37 | basename($_SERVER['SCRIPT_NAME']): pad.php
38 | basename($_SERVER['SCRIPT_NAME'],'.php'): pad
39 |
40 | directories:
41 | dirname($_SERVER['SCRIPT_NAME']): /ffarm
42 | dirname($_SERVER['SCRIPT_FILENAME']): /Users/isao/Sites/ffarm
43 |
44 | filesystem refs:
45 | $_SERVER['DOCUMENT_ROOT']: /Users/isao/Sites/
46 | $_SERVER['SCRIPT_FILENAME']: /Users/isao/Sites/ffarm/pad.php
47 | $_SERVER['PATH_TRANSLATED']: /Users/isao/Sites/ffarm/pad.php
48 |
49 | host info:
50 | $_SERVER['SERVER_NAME']: ether.local
51 | $_SERVER['HTTP_HOST']: lap
52 |
--------------------------------------------------------------------------------
/bbedit/Clippings/php.php/clips/dropdown menu w selected.php:
--------------------------------------------------------------------------------
1 | ', '');
4 | $sql = "SELECT id '{proto.id}', title '{proto.title}', IF(id=".$proto->id().",' selected=\'selected\'','') '{selected}'
5 | FROM proto
6 | ORDER BY title";
7 | $proto->query ($sql);
8 | while ($row = $proto->row ()) {
9 | if ($row['{proto.id}'] == $proto->id()) {
10 | $pagedata = $row; // save for later
11 | }
12 | $slice->mixin ($row); // see below
13 | }
14 |
15 | ?>
16 |
22 |
--------------------------------------------------------------------------------
/bbedit/Clippings/php.php/clips/error_reporting:
--------------------------------------------------------------------------------
1 | error_reporting(E_ALL);
2 |
--------------------------------------------------------------------------------
/bbedit/Clippings/php.php/clips/ifnotdefined:
--------------------------------------------------------------------------------
1 | #indent#
2 | if(!defined('#select#')) define('#select#', #insertion#);
3 |
--------------------------------------------------------------------------------
/bbedit/Clippings/php.php/clips/minilogger.php:
--------------------------------------------------------------------------------
1 | log =& $logger;
8 | if (class_exists ('logger') && is_object ($logger)) {
9 | $this->log =& $logger;
10 | } else {
11 | $this->log = new minilogger ();
12 | }
13 | }
14 | }
15 |
16 | class minilogger
17 | {
18 | function log ($msg, $tag = '')
19 | {
20 | $msg = is_scalar ($msg) ? $msg : $this->dump ($msg);
21 | error_log ("[$tag]$msg"); /var/log/httpd/error_log
22 | }
23 |
24 | function debug ($msg, $tag = '')
25 | {
26 | $this->log ($msg, $tag);
27 | }
28 |
29 | function errorif ($bool, $msg, $tag = '')
30 | {
31 | if ($bool) {
32 | $this->log ($msg, "ERROR:$tag");
33 | exit;
34 | }
35 | }
36 | }
37 |
38 | ?>
--------------------------------------------------------------------------------
/bbedit/Clippings/php.php/const:
--------------------------------------------------------------------------------
1 | const #selstart##select##selend#;
--------------------------------------------------------------------------------
/bbedit/Clippings/php.php/debug:
--------------------------------------------------------------------------------
1 | #debug "info" ipsclass::qlog(#insertion#);
--------------------------------------------------------------------------------
/bbedit/Clippings/php.php/errors on:
--------------------------------------------------------------------------------
1 | error_reporting(E_ALL + E_STRICT);
2 | ini_set('display_errors', 1);
--------------------------------------------------------------------------------
/bbedit/Clippings/php.php/exceptions/00)throw new exception:
--------------------------------------------------------------------------------
1 | throw new Exception(#insertion#);
--------------------------------------------------------------------------------
/bbedit/Clippings/php.php/exceptions/BadFunctionCallException:
--------------------------------------------------------------------------------
1 | BadFunctionCallException
--------------------------------------------------------------------------------
/bbedit/Clippings/php.php/exceptions/BadMethodCallException:
--------------------------------------------------------------------------------
1 | BadMethodCallException
--------------------------------------------------------------------------------
/bbedit/Clippings/php.php/exceptions/DomainException:
--------------------------------------------------------------------------------
1 | DomainException
--------------------------------------------------------------------------------
/bbedit/Clippings/php.php/exceptions/ErrorException:
--------------------------------------------------------------------------------
1 | ErrorException
--------------------------------------------------------------------------------
/bbedit/Clippings/php.php/exceptions/Exception:
--------------------------------------------------------------------------------
1 | Exception
--------------------------------------------------------------------------------
/bbedit/Clippings/php.php/exceptions/InvalidArgumentException:
--------------------------------------------------------------------------------
1 | InvalidArgumentException
--------------------------------------------------------------------------------
/bbedit/Clippings/php.php/exceptions/LengthException:
--------------------------------------------------------------------------------
1 | LengthException
--------------------------------------------------------------------------------
/bbedit/Clippings/php.php/exceptions/LogicException:
--------------------------------------------------------------------------------
1 | LogicException
--------------------------------------------------------------------------------
/bbedit/Clippings/php.php/exceptions/OutOfBoundsException:
--------------------------------------------------------------------------------
1 | OutOfBoundsException
--------------------------------------------------------------------------------
/bbedit/Clippings/php.php/exceptions/OutOfRangeException:
--------------------------------------------------------------------------------
1 | OutOfRangeException
--------------------------------------------------------------------------------
/bbedit/Clippings/php.php/exceptions/OverflowException:
--------------------------------------------------------------------------------
1 | OverflowException
--------------------------------------------------------------------------------
/bbedit/Clippings/php.php/exceptions/RangeException:
--------------------------------------------------------------------------------
1 | RangeException
--------------------------------------------------------------------------------
/bbedit/Clippings/php.php/exceptions/RuntimeException:
--------------------------------------------------------------------------------
1 | RuntimeException
--------------------------------------------------------------------------------
/bbedit/Clippings/php.php/exceptions/UnderflowException:
--------------------------------------------------------------------------------
1 | UnderflowException
--------------------------------------------------------------------------------
/bbedit/Clippings/php.php/exceptions/UnexpectedValueException:
--------------------------------------------------------------------------------
1 | UnexpectedValueException
--------------------------------------------------------------------------------
/bbedit/Clippings/php.php/flow/else:
--------------------------------------------------------------------------------
1 | #indent#
2 | else {
3 | #select##insertion#
4 | }
5 |
--------------------------------------------------------------------------------
/bbedit/Clippings/php.php/flow/foreach:
--------------------------------------------------------------------------------
1 | #indent#
2 | foreach(#selstart#array#selend# as $key => $val) {
3 |
4 | }
5 |
--------------------------------------------------------------------------------
/bbedit/Clippings/php.php/flow/if:
--------------------------------------------------------------------------------
1 | #indent#
2 | if(#select##insertion#) {
3 |
4 | }
--------------------------------------------------------------------------------
/bbedit/Clippings/php.php/flow/switch:
--------------------------------------------------------------------------------
1 | #indent#
2 | switch(#insertion#)
3 | {
4 | case '':
5 | break;
6 |
7 | default:
8 | break;
9 | }
10 |
--------------------------------------------------------------------------------
/bbedit/Clippings/php.php/flow/try:catch:
--------------------------------------------------------------------------------
1 | #indent#
2 | try {
3 | #selstart##selection##selend#
4 | } catch(Exception $e) {
5 |
6 | }
7 |
--------------------------------------------------------------------------------
/bbedit/Clippings/php.php/hash bang env php:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env php
--------------------------------------------------------------------------------
/bbedit/Clippings/php.php/headers/header('Cache-Control private');:
--------------------------------------------------------------------------------
1 | header('Cache-Control: private');
--------------------------------------------------------------------------------
/bbedit/Clippings/php.php/headers/header('Content-Type application:json'):
--------------------------------------------------------------------------------
1 | header('Content-Type: application/json');
--------------------------------------------------------------------------------
/bbedit/Clippings/php.php/headers/header('Content-Type text:plain; charset=utf-8');:
--------------------------------------------------------------------------------
1 | header('Content-Type: text/plain; charset=utf-8');
--------------------------------------------------------------------------------
/bbedit/Clippings/php.php/headers/header('HTTP:1.1 303 See Other');:
--------------------------------------------------------------------------------
1 | header('HTTP/1.1 303 See Other');
--------------------------------------------------------------------------------
/bbedit/Clippings/php.php/headers/header('HTTP:1.1 400 Bad Request');:
--------------------------------------------------------------------------------
1 | header('HTTP/1.1 400 Bad Request');
--------------------------------------------------------------------------------
/bbedit/Clippings/php.php/headers/header('HTTP:1.1 500 Internal Server Error');:
--------------------------------------------------------------------------------
1 | header('HTTP/1.1 500 Internal Server Error');
--------------------------------------------------------------------------------
/bbedit/Clippings/php.php/headers/header('Location ..');:
--------------------------------------------------------------------------------
1 | header('Location: http://#insertion#');
2 |
--------------------------------------------------------------------------------
/bbedit/Clippings/php.php/headers/headers for no caching:
--------------------------------------------------------------------------------
1 | header('Content-Type: application/json; charset=utf-8');
header('Cache-Control: no-cache, must-revalidate');
header('Expires: Sat, 26 Jul 1997 05:00:00 GMT');
--------------------------------------------------------------------------------
/bbedit/Clippings/php.php/htmlspecialchars:
--------------------------------------------------------------------------------
1 | htmlspecialchars(trim($str), ENT_QUOTES, 'UTF-8');
--------------------------------------------------------------------------------
/bbedit/Clippings/php.php/my_var_export:
--------------------------------------------------------------------------------
1 | function my_var_export($any) {
return preg_replace('/=>\s+array \(/', '=> array(', var_export($any, 1));
}
--------------------------------------------------------------------------------
/bbedit/Clippings/php.php/phpunit/@expectedException:
--------------------------------------------------------------------------------
1 | @expectedException
--------------------------------------------------------------------------------
/bbedit/Clippings/php.php/phpunit/@throws:
--------------------------------------------------------------------------------
1 | @throws
--------------------------------------------------------------------------------
/bbedit/Clippings/php.php/phpunit/PHPUnit header.php:
--------------------------------------------------------------------------------
1 | assertContains(#insertion#);
--------------------------------------------------------------------------------
/bbedit/Clippings/php.php/phpunit/assertEquals:
--------------------------------------------------------------------------------
1 | $this->assertEquals(#insertion#);
--------------------------------------------------------------------------------
/bbedit/Clippings/php.php/phpunit/assertFalse:
--------------------------------------------------------------------------------
1 | $this->assertFalse(#insertion#);
--------------------------------------------------------------------------------
/bbedit/Clippings/php.php/phpunit/assertInstanceOf:
--------------------------------------------------------------------------------
1 | $this->assertInstanceOf(#insertion#);
--------------------------------------------------------------------------------
/bbedit/Clippings/php.php/phpunit/assertNotContains:
--------------------------------------------------------------------------------
1 | $this->assertNotContains(#insertion#);
--------------------------------------------------------------------------------
/bbedit/Clippings/php.php/phpunit/assertNotEquals:
--------------------------------------------------------------------------------
1 | $this->assertNotEquals(#insertion#);
--------------------------------------------------------------------------------
/bbedit/Clippings/php.php/phpunit/assertNotSame:
--------------------------------------------------------------------------------
1 | $this->assertNotSame(#insertion#);
--------------------------------------------------------------------------------
/bbedit/Clippings/php.php/phpunit/assertNotType:
--------------------------------------------------------------------------------
1 | $this->assertNotType(#insertion#);
--------------------------------------------------------------------------------
/bbedit/Clippings/php.php/phpunit/assertNull:
--------------------------------------------------------------------------------
1 | $this->assertNull(#insertion#);
--------------------------------------------------------------------------------
/bbedit/Clippings/php.php/phpunit/assertRegExp:
--------------------------------------------------------------------------------
1 | $this->assertRegExp(#insertion#);
--------------------------------------------------------------------------------
/bbedit/Clippings/php.php/phpunit/assertSame:
--------------------------------------------------------------------------------
1 | $this->assertSame(#insertion#);
--------------------------------------------------------------------------------
/bbedit/Clippings/php.php/phpunit/assertTrue:
--------------------------------------------------------------------------------
1 | $this->assertTrue(#insertion#);
--------------------------------------------------------------------------------
/bbedit/Clippings/php.php/phpunit/assertType:
--------------------------------------------------------------------------------
1 | $this->assertType(#insertion#);
--------------------------------------------------------------------------------
/bbedit/Clippings/php.php/phpunit/assertions:
--------------------------------------------------------------------------------
1 | http://www.phpunit.de/manual/current/en/api.html#api.assert
2 |
3 | assertArrayHasKey()
4 | assertClassHasAttribute()
5 | assertClassHasStaticAttribute()
6 | assertContains()
7 | assertContainsOnly()
8 | assertEqualXMLStructure()
9 | assertEquals()
10 | assertFalse()
11 | assertFileEquals()
12 | assertFileExists()
13 | assertGreaterThan()
14 | assertGreaterThanOrEqual()
15 | assertLessThan()
16 | assertLessThanOrEqual()
17 | assertNotNull()
18 | assertObjectHasAttribute()
19 | assertRegExp()
20 | assertSame()
21 | assertSelectCount()
22 | assertSelectEquals()
23 | assertSelectRegExp()
24 | assertStringEndsWith()
25 | assertStringEqualsFile()
26 | assertStringStartsWith()
27 | assertTag()
28 | assertThat()
29 | assertTrue()
30 | assertType()
31 | assertXmlFileEqualsXmlFile()
32 | assertXmlStringEqualsXmlFile()
33 | assertXmlStringEqualsXmlString()
34 |
--------------------------------------------------------------------------------
/bbedit/Clippings/php.php/phpunit/markTestIncomplete:
--------------------------------------------------------------------------------
1 | $this->markTestIncomplete(#selstart#'test incomplete'#selend#);
--------------------------------------------------------------------------------
/bbedit/Clippings/php.php/phpunit/markTestSkipped:
--------------------------------------------------------------------------------
1 | $this->markTestSkipped(#selstart#'test skipped'#selend#);
--------------------------------------------------------------------------------
/bbedit/Clippings/php.php/phpunit/require_once PHPUnit_Framework:
--------------------------------------------------------------------------------
1 | require_once 'PHPUnit/Framework.php';
--------------------------------------------------------------------------------
/bbedit/Clippings/php.php/phpunit/setExpectedException:
--------------------------------------------------------------------------------
1 | $this->setExpectedException(#selstart#'Exception'#selend#);
--------------------------------------------------------------------------------
/bbedit/Clippings/php.php/phpunit/setUpBeforeClass():
--------------------------------------------------------------------------------
1 | #indent#public static function setUpBeforeClass()
{
#insertion#
}
--------------------------------------------------------------------------------
/bbedit/Clippings/php.php/phpunit/tearDownAfterClass():
--------------------------------------------------------------------------------
1 | #indent#public static function tearDownAfterClass()
{
#insertion#
}
--------------------------------------------------------------------------------
/bbedit/Clippings/php.php/phpunit/test:
--------------------------------------------------------------------------------
1 | #indent#public function test<#test method name#>() {
<#next#>
}
--------------------------------------------------------------------------------
/bbedit/Clippings/php.php/private function:
--------------------------------------------------------------------------------
1 | #indent#
2 | private function #selstart##select##selend#()
3 | {
4 |
5 | }
--------------------------------------------------------------------------------
/bbedit/Clippings/php.php/private static function:
--------------------------------------------------------------------------------
1 | #indent#
2 | private static function #selstart##select##selend#()
3 | {
4 |
5 | }
--------------------------------------------------------------------------------
/bbedit/Clippings/php.php/protected function:
--------------------------------------------------------------------------------
1 | #indent#
2 | protected function #selstart##select##selend#()
3 | {
4 |
5 | }
--------------------------------------------------------------------------------
/bbedit/Clippings/php.php/protected static function:
--------------------------------------------------------------------------------
1 | #indent#
2 | protected static function #selstart##select##selend#()
3 | {
4 |
5 | }
--------------------------------------------------------------------------------
/bbedit/Clippings/php.php/public function:
--------------------------------------------------------------------------------
1 | #indent#
2 | public function #selstart##select##selend#()
3 | {
4 |
5 | }
--------------------------------------------------------------------------------
/bbedit/Clippings/php.php/public static function:
--------------------------------------------------------------------------------
1 | #indent#
2 | public static function #selstart##select##selend#()
3 | {
4 |
5 | }
--------------------------------------------------------------------------------
/bbedit/Clippings/php.php/require:
--------------------------------------------------------------------------------
1 | require '#selstart##select##selend#';
--------------------------------------------------------------------------------
/bbedit/Clippings/php.php/require_once:
--------------------------------------------------------------------------------
1 | require_once '#selstart##select##selend#';
--------------------------------------------------------------------------------
/bbedit/Clippings/php.php/set_include_path:
--------------------------------------------------------------------------------
1 | set_include_path(
__DIR__.PATH_SEPARATOR.
get_include_path()
);
--------------------------------------------------------------------------------
/bbedit/Clippings/php.php/static:
--------------------------------------------------------------------------------
1 | static
--------------------------------------------------------------------------------
/bbedit/Clippings/php.php/this->:
--------------------------------------------------------------------------------
1 | $this->#select##insertion#
--------------------------------------------------------------------------------
/bbedit/Clippings/php.php/var_export:
--------------------------------------------------------------------------------
1 | var_export(#selstart##select##selend#);
--------------------------------------------------------------------------------
/bbedit/Language Modules/TypeScript.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
20 |
21 |
22 | BBEditDocumentType
23 | CodelessLanguageModule
24 | BBLMLanguageDisplayName
25 | TypeScript
26 | BBLMLanguageCode
27 | TySc
28 | BBLMColorsSyntax
29 |
30 | BBLMScansFunctions
31 |
32 | BBLMIsCaseSensitive
33 |
34 | BBLMKeywordList
35 |
36 | any
37 | bool
38 | boolean
39 | break
40 | case
41 | catch
42 | class
43 | continue
44 | debugger
45 | declare
46 | default
47 | delete
48 | do
49 | else
50 | export
51 | extends
52 | finally
53 | for
54 | function
55 | get
56 | if
57 | implements
58 | import
59 | in
60 | instanceof
61 | interface
62 | let
63 | module
64 | new
65 | null
66 | number
67 | private
68 | public
69 | return
70 | set
71 | string
72 | super
73 | switch
74 | this
75 | throw
76 | try
77 | typeof
78 | var
79 | undefined
80 | void
81 | while
82 | with
83 |
84 | BBLMSuffixMap
85 |
86 |
87 | BBLMLanguageSuffix
88 | .ts
89 |
90 |
91 | Language Features
92 |
93 | Identifier and Keyword Character Class
94 | 0-9A-Z_a-z
95 |
96 | Comment Pattern
97 | (?x:
98 | (?> // .* $ ) |
99 | (?> /\* (?s:.*?) (?: \*/ | \z ) )
100 | )
101 |
102 | Function Pattern
103 | (x:
104 | (?P<function_name>
105 | (?:function|public|private|class)\s+([A-Za-z_$][$\w]*)
106 | )
107 | .+?
108 | \{[^\}]+\}
109 | )
110 |
111 | Skip Pattern
112 | (?x:
113 | (?>
114 | (?P>comment) |
115 | (?P>string)
116 | )
117 | )
118 |
119 | String Pattern
120 | (?x:
121 | (?> ` (?s: \\. | [^`] )*? (?: ` ) ) |
122 | (?> /// (?s: \\. | [^/] )*? (?: /// ) ) |
123 | (?> """ (?s: \\. | [^"] )*? (?: """ ) ) |
124 | (?> ''' (?s: \\. | [^'] )*? (?: ''' ) ) |
125 | (?> " (?s: \\. | [^"] )*? (?: " ) ) |
126 | (?> ' (?s: \\. | [^'] )*? (?: ' ) )
127 | )
128 |
129 |
130 |
131 |
--------------------------------------------------------------------------------
/bbedit/Scripts/Go Here in Terminal.applescript:
--------------------------------------------------------------------------------
1 | (*
2 | Go to the directory containing the current text document open in BBEdit in Terminal.
3 | Use an existing window/tab if possible (BBEdit's built-in command always opens a new
4 | Terminal window).
5 |
6 | @author Isao Yagi
7 | *)
8 |
9 | to getFirstBbDocAlias()
10 | tell application "BBEdit"
11 | if the first text document exists then
12 | get the first text document's file as alias
13 | else
14 | false
15 | end if
16 | end tell
17 | return result
18 | end getFirstBbDocAlias
19 |
20 | to getFolderPosixPath for a_doc_alias
21 | tell application "Finder"
22 | if a_doc_alias exists then
23 | get the quoted form of the POSIX path of the (folder of a_doc_alias as text)
24 | else
25 | "~"
26 | end if
27 | end tell
28 | return result
29 | end getFolderPosixPath
30 |
31 | to tellTerminal to do_something
32 | tell application "Terminal"
33 | if (the first window whose busy is false) exists then
34 | set win to the first window whose busy is false
35 | set frontmost of win to true
36 | do script do_something in win
37 | else
38 | do script do_something
39 | end if
40 | activate
41 | end tell
42 | end tellTerminal
43 |
44 | getFolderPosixPath for the getFirstBbDocAlias()
45 | tellTerminal to "cd " & result
46 |
--------------------------------------------------------------------------------
/bbedit/Scripts/fork-log-file.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh -e
2 |
3 | cd "$(realpath "$(dirname "$BB_DOC_PATH")")"
4 |
5 | fork log -C "$(git rev-parse --show-toplevel 2>/dev/null)" -- "$BB_DOC_PATH" > /dev/null
6 |
--------------------------------------------------------------------------------
/bbedit/Scripts/fork.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh -e
2 |
3 | cd "$(realpath "$(dirname "$BB_DOC_PATH")")"
4 |
5 | fork status -C "$(git rev-parse --show-toplevel 2>/dev/null)" > /dev/null
6 |
--------------------------------------------------------------------------------
/bbedit/Scripts/git-bbdiff.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh -e
2 |
3 | cd `dirname $BB_DOC_PATH`
4 |
5 | $SHELL -c "git difftool --no-prompt --tool bbdiff `basename $BB_DOC_NAME`" &
6 |
--------------------------------------------------------------------------------
/bbedit/Scripts/git-hub blame.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash -e
2 | cd "$(realpath "$(dirname "$BB_DOC_PATH")")"
3 |
4 | line=""
5 | if [[ $BB_DOC_SELSTART_COLUMN -ne $BB_DOC_SELEND_COLUMN || $BB_DOC_SELSTART_LINE -ne $BB_DOC_SELEND_LINE ]]
6 | then
7 | line="#L$BB_DOC_SELSTART_LINE"
8 | if [[ $BB_DOC_SELSTART_LINE -ne $BB_DOC_SELEND_LINE ]]
9 | then
10 | line="$line-L$BB_DOC_SELEND_LINE"
11 | fi
12 | fi
13 |
14 | git-hub blame "$BB_DOC_PATH" "" "$line"
15 |
--------------------------------------------------------------------------------
/bbedit/Scripts/git-hub compare.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh -e
2 | cd "$(realpath "$(dirname "$BB_DOC_PATH")")"
3 | git-hub compare "$BB_DOC_PATH"
4 |
--------------------------------------------------------------------------------
/bbedit/Scripts/git-hub log.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh -e
2 | cd "$(realpath "$(dirname "$BB_DOC_PATH")")"
3 | git-hub log "$BB_DOC_PATH"
4 |
--------------------------------------------------------------------------------
/bbedit/Scripts/git-hub pr.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh -e
2 | cd "$(realpath "$(dirname "$BB_DOC_PATH")")"
3 | git-hub pr
4 |
--------------------------------------------------------------------------------
/bbedit/Scripts/git-hub.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash -e
2 | cd "$(realpath "$(dirname "$BB_DOC_PATH")")"
3 |
4 | line=""
5 | if [[ $BB_DOC_SELSTART_COLUMN -ne $BB_DOC_SELEND_COLUMN || $BB_DOC_SELSTART_LINE -ne $BB_DOC_SELEND_LINE ]]
6 | then
7 | line="#L$BB_DOC_SELSTART_LINE"
8 | if [[ $BB_DOC_SELSTART_LINE -ne $BB_DOC_SELEND_LINE ]]
9 | then
10 | line="$line-L$BB_DOC_SELEND_LINE"
11 | fi
12 | fi
13 |
14 | git-hub "$BB_DOC_PATH" "$line"
15 |
--------------------------------------------------------------------------------
/bbedit/Scripts/git-pull.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 |
3 | cd $(dirname "$BB_DOC_PATH")
4 |
5 | #using $SHELL -c '...' so bbedit uses your $PATH and git configs
6 | $SHELL -c "(git pull --log) | logger -t git-pull"
7 |
--------------------------------------------------------------------------------
/bbedit/Scripts/lint.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash -e
2 |
3 | is_package_root() {
4 | [ -f package.json ] || [ -d .git ]
5 | }
6 |
7 | package_root_dir() {(
8 | local lastPwd
9 | while ! is_package_root && [ "$lastPwd" != "$PWD" ]
10 | do
11 | lastPwd="$PWD"
12 | cd ..
13 | done
14 | is_package_root && pwd
15 | )}
16 |
17 | git_repo_root_dir() {
18 | git rev-parse --show-toplevel 2>/dev/null
19 | }
20 |
21 | # First change to the BBEdit document's directory.
22 | #
23 | cd "$(realpath "$(dirname "$BB_DOC_PATH")")"
24 |
25 | # old way
26 | #repoPath=$(git_repo_root_dir)
27 | #[[ -d $repoPath ]] && cd "$repoPath"
28 |
29 | # Then change to the document's
30 | packageRootDir=$(package_root_dir)
31 | [[ -d "$packageRootDir" ]] && cd "$(package_root_dir)"
32 |
33 | case "$BB_DOC_PATH" in
34 |
35 | *.bash | *.sh | *.zsh )
36 | shellcheck --format gcc "$BB_DOC_PATH" | bbresults --pattern gcc
37 | ;;
38 |
39 | *.css | *.less )
40 | prettier --loglevel warn --parser css --write "$BB_DOC_PATH"
41 | ;;
42 |
43 | *.hbs )
44 | prettier --write --loglevel warn "$BB_DOC_PATH"
45 | ;;
46 |
47 | *.svelte )
48 | prettier --write --loglevel warn "$BB_DOC_PATH"
49 | ;;
50 |
51 | *.js )
52 | eslint --format unix --fix "$BB_DOC_PATH" | bbresults
53 | ;;
54 |
55 | *.json | *.json5 )
56 | prettier --loglevel warn --parser json --write "$BB_DOC_PATH"
57 | ;;
58 |
59 | *.scss )
60 | stylelint --formatter unix --fix "$BB_DOC_PATH" | bbresults
61 | ;;
62 |
63 | esac
64 |
--------------------------------------------------------------------------------
/bbedit/Scripts/loc.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 |
3 | loc "$BB_DOC_PATH"
4 |
--------------------------------------------------------------------------------
/bbedit/Scripts/open in vscode.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash -e
2 |
3 | # project_dir=$(pkg-root "$(dirname "$BB_DOC_PATH")")
4 | cd "$(realpath "$(dirname "$BB_DOC_PATH")")"
5 | project_dir="$(git rev-parse --show-toplevel)"
6 |
7 | file_ref="$BB_DOC_PATH:$BB_DOC_SELSTART_LINE:$BB_DOC_SELEND_COLUMN"
8 |
9 | code --goto "$file_ref" "$project_dir" > /dev/null
10 |
--------------------------------------------------------------------------------
/bbedit/Scripts/runinnode.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh -e
2 | /usr/local/bin/node --use_strict "$BB_DOC_PATH"
3 |
--------------------------------------------------------------------------------
/bbedit/Scripts/tabstop cycle 2,4,8.applescript:
--------------------------------------------------------------------------------
1 | tell application "BBEdit"
2 | set tw to the tab width of the first text window
3 | if tw = 2 then
4 | 4
5 | else if tw = 4 then
6 | 8
7 | else
8 | 2
9 | end if
10 | set the tab width of the first text window to result
11 | end tell
12 |
--------------------------------------------------------------------------------
/bbedit/Scripts/trim+detab.applescript:
--------------------------------------------------------------------------------
1 | tell application "BBEdit"
2 | tell the text of the first text document
3 | detab
4 | replace "[ \\t]+$" using "" options {search mode:grep, wrap around:true}
5 | end tell
6 | end tell
7 |
--------------------------------------------------------------------------------
/bbedit/Scripts/unused/CSS Syntax Check.pl:
--------------------------------------------------------------------------------
1 | #!/usr/bin/perl
2 |
3 | #
4 | # CSS Syntax Check.pl
5 | # Command-line screenscraper for the W3C's CSS Validator.
6 | #
7 | # Copyright (c) 2005 John Gruber
8 | #
9 | #
10 | # This program is free software; you can redistribute it and/or modify
11 | # it under the same terms as Perl itself.
12 | #
13 |
14 | use strict;
15 | use warnings;
16 | use vars qw($VERSION);
17 | $VERSION = '1.0.1';
18 | # Sat 10 Sep 2005
19 |
20 | use CGI qw/unescapeHTML/;
21 |
22 |
23 | my $VALIDATOR_URL = 'http://jigsaw.w3.org/css-validator/validator';
24 | my $PATH = $ARGV[0];
25 |
26 | # We really ought to use LWP for this, but shelling out to `curl`
27 | # makes life easier for most users because LWP doesn't ship as
28 | # part of the standard Perl library.
29 | my $result_html = qx(curl --silent -F "file=\@$PATH" $VALIDATOR_URL);
30 |
31 | # Lame error checking:
32 | if ($result_html !~ m{(.+?)\s*}s) {
40 | my $error_html = $1;
41 | my @errors = $error_html =~ m{.+?}msg;
42 | foreach my $error (@errors) {
43 | my ($line_num) = $error =~ m{Line[ ]?: (\d+)}ms;
44 | my ($error_msg) = $error =~ m{(.+)
}s;
45 |
46 | # Clean up HTML in the error description
47 | $error_msg =~ s{\n}{}g;
48 | $error_msg =~ s{<.+?>}{}g;
49 | $error_msg = unescapeHTML($error_msg);
50 |
51 | $output .= "Error: $line_num:\t$error_msg\n";
52 | }
53 | }
54 |
55 | # Then check for warnings:
56 | if ($result_html =~ m{(.+)}ms) {
57 | my $warning_html = $1;
58 | my @warnings = $warning_html =~ m{
.+?}msg;
59 | foreach my $warning (@warnings) {
60 | my ($line_num) = $warning =~ m{
Line[ ]?: (\d+)}ms;
61 | my ($warning_msg) = $warning =~ m{(.+)}ms;
62 |
63 | # Cleanup html in the warning description
64 | $warning_msg =~ s{\n}{}g;
65 | $warning_msg =~ s{<.+?>}{}g;
66 | $warning_msg = unescapeHTML($warning_msg);
67 |
68 | $output .= "Warning: $line_num:\t$warning_msg\n";
69 | }
70 | }
71 |
72 | # If there are no errors or warnings, say so:
73 | $output =~ s{\A\s*\z}{No syntax errors detected.\n};
74 | print $output;
75 |
76 |
77 |
78 | __END__
79 |
80 | =pod
81 |
82 | =head1 NAME
83 |
84 | B - Command-line interface to the W3C CSS Validator.
85 |
86 |
87 | =head1 SYNOPSIS
88 |
89 | B /path/to/style.css
90 |
91 |
92 | =head1 DESCRIPTION
93 |
94 |
95 | =head1 OPTIONS
96 |
97 | None.
98 |
99 |
100 | =head1 BUGS
101 |
102 |
103 |
104 | =head1 VERSION HISTORY
105 |
106 | 1.0.1
107 |
108 | - switched from HTML::Entities to CGI.pm's unescapeHTML(), because
109 | it's standard on older versions of Perl.
110 |
111 |
112 |
113 | =head1 AUTHOR
114 |
115 |
116 | =head1 COPYRIGHT AND LICENSE
117 |
118 | Copyright (c) 2005 John Gruber
119 |
120 | All rights reserved.
121 |
122 | This is free software; you may redistribute it and/or modify it under
123 | the same terms as Perl itself.
124 |
125 | =cut
126 |
--------------------------------------------------------------------------------
/bbedit/Scripts/unused/Set Tab Width to Widest Cell.applescript:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/isao/shell/9d279eaaf707432a13c9828bc0d4c8b68f16f7a5/bbedit/Scripts/unused/Set Tab Width to Widest Cell.applescript
--------------------------------------------------------------------------------
/bbedit/Scripts/unused/git-difftool.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh -e
2 |
3 | cd $(dirname "$BB_DOC_PATH")
4 | git difftool --tool bbdiff "$BB_DOC_NAME" &
5 |
--------------------------------------------------------------------------------
/bbedit/Scripts/unused/gitx.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh -e
2 |
3 | docdir=$(dirname "$BB_DOC_PATH")
4 | gitdir=$(cd "$docdir" && git rev-parse --show-toplevel)
5 |
6 | /usr/local/bin/gitx --git-dir="$gitdir"
7 |
--------------------------------------------------------------------------------
/bbedit/Scripts/unused/php-lint.applescript:
--------------------------------------------------------------------------------
1 | property phpref : "/usr/bin/env php -l "
2 |
3 | (* on my PHP 4.3.2, php_msg is something like (leading carraige return):
4 | Parse error: parse error, expecting `')'' in /Volumes/iyagi/htdocs/buildrelations/class/request.class.php on line 81
5 | Errors parsing /Volumes/iyagi/htdocs/buildrelations/class/request.class.php
6 | *)
7 |
8 | on phpErrLine(php_msg, bbfref)
9 | set errIndicator to " in " & (POSIX path of bbfref) & " on line "
10 | set off to (offset of errIndicator in php_msg) + (length of errIndicator)
11 | get text off thru -1 of php_msg
12 | return first paragraph of result as integer
13 | end phpErrLine
14 |
15 | on phpErrMsg for bbfref out of php_msg
16 | set errIndicator to " in " & (POSIX path of bbfref) & " on line "
17 | return text 2 thru (offset of errIndicator in php_msg) of php_msg
18 | end phpErrMsg
19 |
20 | tell application "BBEdit"
21 | tell first text document
22 | if modified then save
23 | end tell
24 | get file of first text document
25 | set bbfref to result
26 | end tell
27 |
28 | try
29 | do shell script phpref & POSIX path of bbfref
30 | display dialog "Ok: " & result buttons {"finished checking"} default button 1
31 | on error php_msg
32 | set err_line to phpErrLine(php_msg, bbfref)
33 | set show_err to phpErrMsg out of php_msg for bbfref
34 | tell application "BBEdit"
35 | tell text window 1
36 | set off to (characterOffset of line err_line)
37 | set len to (length of line err_line)
38 | end tell
39 |
40 | make new results browser with data {{result_kind:error_kind, result_file:bbfref, start_offset:off, end_offset:(off + len), result_line:err_line, message:show_err}} with properties {name:"bb php lint"}
41 |
42 | end tell
43 | end try
44 |
--------------------------------------------------------------------------------
/bbedit/Scripts/unused/phpunit.applescript:
--------------------------------------------------------------------------------
1 | property stuff_found_in_a_phpunit_test : "extends PHPUnit"
2 |
3 | tell application "BBEdit"
4 | if exists (first text document whose contents contains stuff_found_in_a_phpunit_test) then
5 | get the file of the first text document whose contents contains stuff_found_in_a_phpunit_test
6 | tell application "Finder" to set the unitest to the POSIX path of result
7 | tell application "Terminal"
8 | if exists (first window whose busy is false) then
9 | do script "phpunit " & the unitest in the first window whose busy is false
10 | else
11 | do script "phpunit " & the unitest
12 | end if
13 | end tell
14 | beep 11
15 | else
16 | display alert "hm, doesn't look like there are any PHPUnit tests. I'm gonna chill, dude" buttons "sweet, dude"
17 | end if
18 | end tell
19 |
20 |
--------------------------------------------------------------------------------
/bbedit/Scripts/unused/text bigger.applescript:
--------------------------------------------------------------------------------
1 | tell application "BBEdit"
2 | set dfs to display font size of text window 1
3 | set dfs to dfs + 1
4 | set display font size of text window 1 to dfs
5 | end tell
6 |
--------------------------------------------------------------------------------
/bbedit/Scripts/unused/text smaller.applescript:
--------------------------------------------------------------------------------
1 | tell application "BBEdit"
2 | set dfs to display font size of text window 1
3 | if dfs > 4 then
4 | set dfs to dfs - 1
5 | set display font size of text window 1 to dfs
6 | else
7 | beep
8 | end if
9 | end tell
10 |
--------------------------------------------------------------------------------
/bbedit/Text Filters/clean_tabs2spaces.textfactory:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | BBEditDocumentType
6 | TextTransform
7 | TextTransformComponents
8 |
9 |
10 | ComponentArguments
11 |
12 | Arguments
13 |
14 | ScriptFile
15 |
16 | FileName
17 | trim.pl
18 | FileURLString
19 | file://localhost/Users/isao/Dropbox/Meta/BBEdit/Unix%20Support/Unix%20Filters/trim.pl
20 | ParentDirID
21 | 724749
22 | VolumeAlias
23 |
24 | AAAAAAEOAAIAAQhiZXRkcml2ZQAAAAAAAAAA
25 | AAAAAAAAAAAAAADH74AXSCsAAAAAAAEIYmV0
26 | ZHJpdmUAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
27 | AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
28 | AAAAAAAAAAAAAsfvgBcAAAAAAAAAAP////8A
29 | AAkgAAAAAAAAAAAAAAAAAAAACGJldGRyaXZl
30 | ABAACAAAx+/ihwAAABEACAAAx+/ihwAAAAEA
31 | AAACABFiZXRkcml2ZTpiZXRkcml2ZQAADgAS
32 | AAgAYgBlAHQAZAByAGkAdgBlAA8AEgAIAGIA
33 | ZQB0AGQAcgBpAHYAZQASAAAAEwABLwD//wAA
34 |
35 |
36 | UseUTF8ForIO
37 |
38 |
39 | ComponentName
40 | RunUnixScript
41 |
42 |
43 | ComponentArguments
44 |
45 | TabWidth
46 | 2
47 |
48 | ComponentName
49 | Detab
50 |
51 |
52 | TextTransformOptions
53 |
54 | SaveMode
55 | ask
56 | SearchInvisibles
57 |
58 | SearchRecursive
59 |
60 | SkipShielded
61 |
62 | TextFilesOnly
63 |
64 |
65 | TextTransformSources
66 |
67 | com.barebones.DocumentType
68 | TextTransform
69 |
70 |
71 |
--------------------------------------------------------------------------------
/bbedit/Text Filters/collect_by_regex.pl:
--------------------------------------------------------------------------------
1 | #!/usr/bin/perl -w
2 | #find all strings matching a regex, and print them to STDERR with their
3 | #frequency counts
4 |
5 | #uncomment for: php vars
6 | #my $regex = '(\$[a-z0-9_-]+)';
7 |
8 | #uncomment for: includes
9 | #my $regex = '\b((?:require|require_once|include|include_once)\b.+$)';
10 |
11 | #uncomment for: smacs placeholders
12 | #my $regex = '(\{.+?\})';
13 |
14 | #my $regex = '^((?:warning|notice|fatal).+)$';
15 |
16 | #my $regex = 'name="([^"]+)"';
17 |
18 | #my $regex = '(?=function )([^\(]+)';
19 |
20 | my $regex = '\{\{([^}]+)\}\}';
21 |
22 | my @found;
23 |
24 | while(<>) {
25 | if(m/$regex/i) {
26 | print STDERR "$1\n";
27 | #$found{$1}++ if(/($regex)/i);
28 | }
29 | }
30 |
31 | __END__
32 | #sorted keys
33 | my @sort = sort {uc($a) cmp uc($b)} keys(%found);
34 |
35 |
36 | foreach (@sort) {
37 | #print STDERR "$found{$_}\t$_\n";
38 | print STDERR "$_\n";
39 | }
40 |
--------------------------------------------------------------------------------
/bbedit/Text Filters/compact php code.pl:
--------------------------------------------------------------------------------
1 | #!/usr/bin/perl
2 | #use warnings;
3 | while (<>) {
4 | s|/\*+[\s\S]+?\*/||g; # delete /* multiline comments */
5 | s|\s*//.*$||g; # delete to end of line // comments
6 | s/^\s+|\s+$//g; # delete leading & trailing whitespace
7 | s/\s*([{}().,:;=?+-\/*@&%^])\s*/$1/g; # delete spaces around {}().,:;=?+-/*@&%^
8 | s/<\?php([^\n])/) {
6 | if(m~(?h)(\d+)~) {
7 | my $h = 1 + $2;
8 | s/(<\/?h)(\d+)/$1$h/g;
9 | }
10 | print;
11 | }
12 |
--------------------------------------------------------------------------------
/bbedit/Text Filters/filter from list.pl:
--------------------------------------------------------------------------------
1 | #!/usr/bin/perl -w
2 |
3 | # look for these words (or regexps)...
4 | my @thesewords = ('mediabolic', '-client', '-gct', 'mtd', '.gz$');
5 |
6 | LINE: while(<>) {
7 | foreach my $word (@thesewords) {
8 | next LINE if (!/$word/i);
9 | }
10 | print $_; # print if all @thesewords are found in a line
11 | }
12 |
--------------------------------------------------------------------------------
/bbedit/Text Filters/fix PM date-time.pl:
--------------------------------------------------------------------------------
1 | #! /usr/bin/perl -w
2 |
3 | use strict;
4 |
5 | while (<>) {
6 |
7 | chomp;
8 |
9 | my @val = split (/\t/, $_, 10000); # split, preserving all fields
10 |
11 | for my $i (0 .. @val - 1)
12 | {
13 | my $val = $val[$i];
14 | # look for strings in MM-DD-[CC]YY format
15 | next unless $val =~ /^(\d{1,2})\D(\d{1,2})\D(\d{4}) (\d{1,2}):(\d{2}) (am|pm)$/;
16 | my ($month, $day, $year, $hh, $mm, $ampm) = ($1, $2, $3, $4, $5, $6);
17 | $hh += $ampm eq "pm" ? 12 : 0;
18 | $hh = $hh == 24 ? 0 : $hh;
19 | $val[$i] = sprintf ("%02d-%02d-%02d %02d:%02d:00", $month, $day, $year, $hh, $mm);
20 | }
21 | print join ("\t", @val) . "\n";
22 | }
23 |
24 | exit (0);
25 |
--------------------------------------------------------------------------------
/bbedit/Text Filters/fmt-json.php:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env php
2 | \s+/ =>/;
4 | s/=>\s+array \(/=> array(/;
--------------------------------------------------------------------------------
/bbedit/Text Filters/isoize_date.pl:
--------------------------------------------------------------------------------
1 | #! /usr/bin/perl -w
2 | # isoize_date.pl - Read input data, look for values that match
3 | # a date pattern, convert them to ISO format. Also converts
4 | # 2-digit years to 4-digit years, using a transition point of 70.
5 |
6 | # By default, this looks for dates in MM-DD-[CC]YY format.
7 |
8 | # Assumes tab-delimited, linefeed-terminated input lines.
9 |
10 | # Does not check whether dates actually are valid (for example,
11 | # won't complain about 13-49-1928).
12 |
13 | use strict;
14 |
15 | # transition point at which 2-digit years are assumed to be 19XX
16 | # (below they are treated as 20XX)
17 | my $transition = 20;
18 |
19 | while (<>)
20 | {
21 | chomp;
22 | my @val = split (/\t/, $_, 10000); # split, preserving all fields
23 | for my $i (0 .. @val - 1)
24 | {
25 | my $val = $val[$i];
26 | # look for strings in MM-DD-[CC]YY format
27 | next unless $val =~ /^(\d{1,2})\D(\d{1,2})\D(\d{2,4})$/;
28 |
29 | my ($month, $day, $year) = ($1, $2, $3);
30 | # to interpret dates as DD-MM-[CC]YY instead, replace preceding
31 | # line with the following one:
32 | #my ($day, $month, $year) = ($1, $2, $3);
33 |
34 | # convert 2-digit years to 4 digits, then update value in array
35 | $year += ($year >= $transition ? 1900 : 2000) if $year < 100;
36 | $val[$i] = sprintf ("%04d-%02d-%02d", $year, $month, $day);
37 | }
38 | print join ("\t", @val) . "\n";
39 | }
40 |
41 | exit (0);
42 |
--------------------------------------------------------------------------------
/bbedit/Text Filters/mysqldump clean.textfactory:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | BBEditDocumentType
6 | TextTransform
7 | TextTransformComponents
8 |
9 |
10 | ComponentArguments
11 |
12 | CaseSensitive
13 |
14 | MatchWords
15 |
16 | ReplaceString
17 | ;
18 | SearchString
19 | ENGINE=.+ DEFAULT CHARSET=.+ COLLATE=.+;
20 | UseGrep
21 |
22 |
23 | ComponentName
24 | ReplaceAll
25 |
26 |
27 | ComponentArguments
28 |
29 | CaseSensitive
30 |
31 | MatchWords
32 |
33 | ReplaceString
34 |
35 | SearchString
36 | COLLATE .+\s
37 | UseGrep
38 |
39 |
40 | ComponentName
41 | ReplaceAll
42 |
43 |
44 | TextTransformOptions
45 |
46 | SaveMode
47 | ask
48 | SearchInvisibles
49 |
50 | SearchRecursive
51 |
52 | SkipShielded
53 |
54 | TextFilesOnly
55 |
56 |
57 | TextTransformSources
58 |
59 | com.barebones.DocumentType
60 | TextTransform
61 |
62 |
63 |
--------------------------------------------------------------------------------
/bbedit/Text Filters/pad.pl:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 | /usr/local/bin/jsmin
--------------------------------------------------------------------------------
/bbedit/Text Filters/quote toggle.pl:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/isao/shell/9d279eaaf707432a13c9828bc0d4c8b68f16f7a5/bbedit/Text Filters/quote toggle.pl
--------------------------------------------------------------------------------
/bbedit/Text Filters/regex_renumber.pl:
--------------------------------------------------------------------------------
1 | #!/usr/bin/perl
2 | use strict;
3 | use warnings;
4 |
5 | my $count = 0;
6 | my $class = 'even';
7 |
8 | while(<>) {
9 | $class = ($count % 2) ? 'odd' : 'even';
10 | $count++ if(s//
/);
11 | print;
12 | }
13 |
--------------------------------------------------------------------------------
/bbedit/Text Filters/trim.pl:
--------------------------------------------------------------------------------
1 | #!/usr/bin/perl -wp
2 | s/[ \t]+$//; # trim trailing spaces or tabs
--------------------------------------------------------------------------------
/bbedit/Text Filters/words2csv.pl:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/isao/shell/9d279eaaf707432a13c9828bc0d4c8b68f16f7a5/bbedit/Text Filters/words2csv.pl
--------------------------------------------------------------------------------
/bbedit/bbdiff..sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh -e
2 | /usr/local/bin/bbdiff --wait --resume "$2" "$5"
3 |
--------------------------------------------------------------------------------
/bbedit/bbedit..sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 | bbedit --wait --resume "$@"
3 |
--------------------------------------------------------------------------------
/bbedit/bbedit.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 | # Usage: bbedit.sh [file|dir]
3 | # uses ssh to tell bbedit on my mac to open file local to this script using
4 | # scp. if no argment passed to this script, pipe stdin over ssh to bbedit
5 | #
6 | # e.g.:
7 | # linuxbox% bbedit.sh /etc/hosts
8 | # linuxbox% ps auxw | bbedit.sh
9 |
10 | tell=ssh
11 | mymac=isao@YOUR.HOST.NAME.HERE
12 | thisbox=`whoami`@`hostname`
13 |
14 | if [[ $# -eq 0 ]]
15 | then
16 | #pipe stdin over ssh to bbedit
17 | $tell $mymac "bbedit --clean --view-top --pipe-title $thisbox:$$" <&0
18 |
19 | else
20 | if [[ -d "$1" ]]
21 | then
22 | #full path to dir; opening a dir over scp broken in bbedit 10.0.1?
23 | ref=$(cd "$1" && pwd)
24 |
25 | else
26 | #full path to file
27 | ref=$(cd $(dirname "$1") && pwd)/$(basename "$1")
28 | fi
29 |
30 | $tell $mymac bbedit "sftp://$thisbox/$ref"
31 | fi
32 |
--------------------------------------------------------------------------------
/bigcat/Files/Copy POSIX path.scpt:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/isao/shell/9d279eaaf707432a13c9828bc0d4c8b68f16f7a5/bigcat/Files/Copy POSIX path.scpt
--------------------------------------------------------------------------------
/bigcat/Files/File type to BBEdit:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | #
3 | # michael conrad tilstra (tadpol@tadpol.org) Sun Feb 23 17:23:19 CST 2003
4 |
5 | for i in "$@"
6 | do
7 | /Developer/Tools/SetFile -c 'R*ch' -t 'TEXT' "$i"
8 | done
9 |
--------------------------------------------------------------------------------
/bigcat/Files/Finder comment.scpt:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/isao/shell/9d279eaaf707432a13c9828bc0d4c8b68f16f7a5/bigcat/Files/Finder comment.scpt
--------------------------------------------------------------------------------
/bigcat/Files/Finder selection to new folder.scpt:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/isao/shell/9d279eaaf707432a13c9828bc0d4c8b68f16f7a5/bigcat/Files/Finder selection to new folder.scpt
--------------------------------------------------------------------------------
/bigcat/Files/Finder toggle locked.scpt:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/isao/shell/9d279eaaf707432a13c9828bc0d4c8b68f16f7a5/bigcat/Files/Finder toggle locked.scpt
--------------------------------------------------------------------------------
/bigcat/Files/Go here in Terminal.scpt:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/isao/shell/9d279eaaf707432a13c9828bc0d4c8b68f16f7a5/bigcat/Files/Go here in Terminal.scpt
--------------------------------------------------------------------------------
/bigcat/Files/Go here via HTTP.scpt:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/isao/shell/9d279eaaf707432a13c9828bc0d4c8b68f16f7a5/bigcat/Files/Go here via HTTP.scpt
--------------------------------------------------------------------------------
/bigcat/Files/Open together in BBEdit.scpt:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/isao/shell/9d279eaaf707432a13c9828bc0d4c8b68f16f7a5/bigcat/Files/Open together in BBEdit.scpt
--------------------------------------------------------------------------------
/bigcat/Files/Version control update:
--------------------------------------------------------------------------------
1 | #!/bin/sh -e
2 | #Big Cat shell script to update the selected file or directory in cvs or svn
3 | for i in $@
4 | do
5 | #get a selection's directory
6 | if [ -d $i ]
7 | then
8 | d=$i
9 | f=''
10 | else
11 | d=`dirname $i`
12 | f=`basename $i`
13 | fi
14 |
15 | { echo "updating $i"
16 |
17 | #CVS
18 | if [ -d $d/CVS ]
19 | then
20 | cd $d
21 | cvs -q up -PA $f
22 |
23 | #SVN
24 | elif [ -d $d/.svn ]
25 | then
26 | /opt/local/bin/svn update $i
27 |
28 | #neither
29 | else
30 | echo "oops, $i is neither a cvs or svn sandbox"
31 |
32 | fi
33 | } 2>&1 | logger &
34 | done
--------------------------------------------------------------------------------
/bigcat/Text/PHP function search.scpt:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/isao/shell/9d279eaaf707432a13c9828bc0d4c8b68f16f7a5/bigcat/Text/PHP function search.scpt
--------------------------------------------------------------------------------
/bigcat/Text/Post to Tiki.scpt:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/isao/shell/9d279eaaf707432a13c9828bc0d4c8b68f16f7a5/bigcat/Text/Post to Tiki.scpt
--------------------------------------------------------------------------------
/bigcat/Text/View Bug Number.scpt:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/isao/shell/9d279eaaf707432a13c9828bc0d4c8b68f16f7a5/bigcat/Text/View Bug Number.scpt
--------------------------------------------------------------------------------
/cwdbbedit.applescript:
--------------------------------------------------------------------------------
1 | tell application "BBEdit"
2 | if the first text document exists then
3 | first text document's file as alias
4 | tell application "Finder" to folder of result as alias
5 | POSIX path of result
6 | else
7 | beep
8 | end if
9 | end tell
10 |
--------------------------------------------------------------------------------
/cwdfinder.applescript:
--------------------------------------------------------------------------------
1 | tell application "Finder"
2 | if first window exists then
3 | first window's target as alias
4 | else
5 | get desktop as alias
6 | end if
7 | result's POSIX path
8 | end tell
9 |
--------------------------------------------------------------------------------
/git-opendiff-cmd.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 | /usr/bin/opendiff "$2" "$5" -merge "$1"
3 |
--------------------------------------------------------------------------------
/git-statuscrazy.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 | # for all git repos, do `git status` and summarize the result
3 | #
4 | # tip: put this in your ~/.gitconfig
5 | # statuscrazy = !"find . -type d -name .git -execdir path/to/this \\;"
6 | #
7 | # and in some dir containing many git repos, use like:
8 | # % git statuscrazy
9 | #
10 | # output like:
11 | # bbjshint's master ahead 'my/master' by 1 (clean)
12 | # bbjslint's master ahead 'my/master' by 1 (clean)
13 | # bbresults's master ahead 'my/master' by 3 (clean)
14 | # git-heads's master (clean)
15 | # relnote's master (clean)
16 | # shell's master (untracked)
17 | # dotfiles's master (unstaged)
18 | # regex-router's master (unstaged)
19 | # cuppajoe's conf (clean)
20 | # myfork's develop (clean)
21 | # mojito-0.5.3's develop (clean)
22 | # assembler's master (clean)
23 | # photosnear.me's master (clean)
24 | # resource-locator's master (untracked)
25 | # ricloc's master (staged) (unstaged) (untracked)
26 | # touchdown's master (clean)
27 | # wiki's master (clean)
28 | # assemb's master (unstaged)
29 | # bearing's develop (unstaged)
30 | # fooapp's master (unstaged)
31 | # mojitokit's master (staged)
32 | # piegist's master (clean)
33 | # scanfs's develop (unstaged)
34 |
35 | /bin/echo -n "$(basename $(pwd))'s "
36 | git status | perl -n \
37 | -e 'm/^# On branch (\w+)/ && print $1;'\
38 | -e 'm/nothing to commit, working directory clean/ && print " (clean)";'\
39 | -e 'm/(ahead|behind) of (\S+) by (\d+) commit/ && print " $1 $2 by $3";'\
40 | -e 'm/^# Changes not staged/ && print " (unstaged)";'\
41 | -e 'm/^# Changes to be committed/ && print " (staged)";'\
42 | -e 'm/^# Untracked files/ && print " (untracked)";'
43 | echo
44 |
45 |
--------------------------------------------------------------------------------
/handbraker.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 | set -e
3 |
4 | #defaults
5 | outdir=.
6 | preset=Normal
7 | oldext=.MTS
8 | newext=.m4v
9 | dryrun=
10 | docs=https://trac.handbrake.fr/wiki/CLIGuide
11 |
12 | usage() {
13 | cat <&2
14 | Usage: `basename $0` [options] file1 [file2 [filen..]]
15 |
16 | Pass the file references (or a glob) of video files to convert them to .m4v
17 | using HandBrakeCLI. Options:
18 |
19 | -n dry-run (echos commands instead of executing them)
20 | -o output directory (default is "$outdir")
21 | -p preset like "Universal" or "Apple TV" (default is "$preset")
22 | -e new extension (default is "$newext")
23 | -x old extension (default is "$oldext")
24 | -d open docs @ $docs
25 |
26 | $1
27 | TXT
28 | exit $2
29 | }
30 |
31 | #opt processing
32 | while getopts 'no:p:e:d' opt
33 | do
34 | case $opt in
35 | n ) dryrun='echo';;
36 | o ) outdir=$OPTARG;;
37 | p ) preset=$OPTARG;;
38 | e ) newext=$OPTARG;;
39 | d ) open $docs && exit;;
40 | ? ) usage '' 9;;
41 | esac
42 | shift $(($OPTIND-1)); OPTIND=1
43 | done
44 | [[ -z $@ ]] && usage "error: you must specify one or more input $oldext files"
45 |
46 | #main
47 | for i in $@
48 | do
49 | outfile=$outdir/`basename $i $oldext`$newext
50 | if [[ -e $outfile ]]
51 | then
52 | read -n1 -p "file $outfile exists. overwrite? [y/n] " yn
53 | if [[ $yn = "n" ]]
54 | then
55 | echo
56 | echo "! skipping $outfile"
57 | continue
58 | fi
59 | fi
60 | echo "* processing $i -> $outfile"
61 | $dryrun \
62 | HandBrakeCLI --optimize --input=$i --output=$outfile --preset="$preset"
63 | done
64 |
--------------------------------------------------------------------------------
/misc/fsrsync.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh -e
2 | usg()
3 | {
4 | echo $2
5 | exit $1
6 | }
7 |
8 | which fswatch rsync >/dev/null || usg 1 "missing something"
9 |
10 | rsync_from=$(pwd)/
11 |
12 | default_to="isao@raisegray-vm0.corp.yahoo.com:repos/$(basename $rsync_from)"
13 | rsync_to=${1:-$default_to}
14 |
15 | rsync_cmd="rsync --recursive --links --safe-links --update --delete --itemize-changes --exclude-from=$HOME/.gitignore --exclude-from=.gitignore $rsync_from $rsync_to"
16 |
17 | #sync now
18 | $rsync_cmd
19 |
20 | #sync on fs changes
21 | fswatch . "date && $rsync_cmd"
22 |
--------------------------------------------------------------------------------
/misc/getopts.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 |
3 | usage() {
4 | cat <&2
5 | Usage: `basename $0` [option]... [file]
6 | -a param
7 | -b flag
8 | -c param
9 | TXT
10 | [ -n $1 ] && exit $1
11 | }
12 |
13 | sub() {
14 | echo "$1->$2" #trivial subroutine for demonstration
15 | }
16 |
17 | [ $# -eq 0 ] && usage 7 #check for 0 options or parameters
18 |
19 | while getopts "a:bc:" opt #prepend a colon to silence getopts errors
20 | do #colon after a letter for option w/parameter
21 | case $opt in
22 | a ) p1=$OPTARG;; #set $p1 to $opt's parameter value
23 | b ) p2='BAR';; #set $p2 to a string
24 | c ) p3=$(sub $opt $OPTARG);; #set $p3 to the output of function sub
25 | ? ) usage 9;; #unknown option found
26 | esac
27 | shift $(($OPTIND-1)); OPTIND=1 #remove processed opt/arg from $@
28 | done
29 |
30 | echo "options & args -> -a=$p1, -b=$p2, -c=$p3"
31 | echo "remaining args -> $@"
32 |
--------------------------------------------------------------------------------
/misc/greplogs.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 |
3 | #logs copied here with rsynclogs.sh
4 | dir=/tmp/logs
5 |
6 | usage()
7 | {
8 | cat <&2
9 | Usage: $(basename $0) [egrep parameters]
10 | zgrep files for from $dir. i.e. $f --context=2 'foo.+bar'
11 | MSG
12 | exit 1
13 | }
14 |
15 | [[ -z $@ ]] && usage
16 |
17 | zgrep --with-filename $@ $dir/*/{access,error}*
18 |
--------------------------------------------------------------------------------
/misc/mailpipe.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 |
3 | # see http://seancoates.com/mail-replacement----a-better-hack
4 | # pipe mail from php's mail() function to a file instead of attempting to send
5 | #
6 | # edit .ini setting:
7 | #
8 | # sendmail_path=/Users/isao/Repos/shell/handy/mailpipe.sh <- path to this file
9 | #
10 | cat >> /tmp/mailpipe.log
--------------------------------------------------------------------------------
/misc/osadecompile-all.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh -ex
2 |
3 | for i in ./*.scpt
4 | do
5 | osadecompile "$i" > "${i/.scpt/.applescript}"
6 | done
7 |
--------------------------------------------------------------------------------
/misc/print_fromto.pl:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env perl
2 | # Usage: print_fromto.pl file
3 |
4 | my ($from, $to) = (shift, shift);
5 | while (<>) {
6 | print if /$from/../$to/;
7 | }
8 |
9 | __END__
10 |
11 | #my orig version till i discovered '..'
12 | while (<>) {
13 | $start |= /$from/;
14 | print if ($start);
15 | exit if /$to/;
16 | }
17 |
18 | #1-liner cli version:
19 | perl -ne 'print if /from/../to/;' file
--------------------------------------------------------------------------------
/misc/proxy.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 |
3 | # use proxy if available
4 | # replaces line below in ~/.ssh/config
5 | # ProxyCommand /usr/bin/nc -x 127.0.0.1:9080 %h %p
6 |
7 | if nc 127.0.0.1 1080 >/dev/null 2>&1 &2
15 | usage: `basename $0` [... ...]
16 | description: recursively set user/group ownership and permissions
17 | error: $1
18 | USAGE
19 | exit $2
20 | }
21 |
22 | #checks
23 | [[ -z $owners ]] && abort 'missing ownership parameter, like "root:b2user"' 1
24 | [[ -z $paths ]] && abort 'missing path parameter(s)' 2
25 | for i in $paths
26 | do
27 | [[ ! -w $i ]] && abort "can't write to $i" 3
28 | done
29 |
30 | #do it
31 | chown -R $owners $paths
32 | chmod -R $mode $paths
33 |
--------------------------------------------------------------------------------
/misc/svn-stats.php:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env php
2 | 1, 'lines' => 1);
22 | $stats = array('*sum' => $first);
23 |
24 | foreach(file($file) as $line) {
25 | //r5887 | buildmob | 2011-08-23 13:08:25 -0700 (Tue, 23 Aug 2011) | 4 lines
26 |
27 | if(count(list($r, $u, $d, $n) = explode(' | ', $line)) < 4) {
28 | continue;
29 | }
30 |
31 | if($stats[$u]) {
32 | $stats[$u]['commits']++;
33 | $stats[$u]['lines'] += (int) $n;
34 | $stats['*sum']['commits']++;
35 | $stats['*sum']['lines'] += (int) $n;
36 |
37 | } else {
38 | $stats[$u] = $first;
39 | }
40 | }
41 | return $stats;
42 | };
43 |
44 | function print_stats(array $stats, $sortby) {
45 | print "users commits commit% lines line% (sorted by $sortby)\n";
46 | print "------- ------- ------- ----- -------\n";
47 |
48 | uasort($stats, function($a, $b) use($sortby) {
49 | return $b[$sortby] - $a[$sortby];
50 | });
51 |
52 | foreach($stats as $user => $stat) {
53 | printf(
54 | "% -10s% 6d% 8.1f%%% 7d% 8.1f%%\n"
55 | , $user
56 | , $stat['commits']
57 | , $stat['commits']/$stats['*sum']['commits']*100
58 | , $stat['lines']
59 | , $stat['lines']/$stats['*sum']['lines']*100
60 | );
61 | }
62 | print "\n";
63 | }
64 |
65 | print_stats(get_stats('php://stdin'), $argc > 1 ? 'lines' : 'commits');
66 |
--------------------------------------------------------------------------------
/misc/tanpack.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh -e
2 | clear
3 |
4 | #
5 | #this is a script to do the following:
6 | # 1 use an existing tag/relname, or make a new tag/relname from trunk or branch
7 | # 2 create a release package tgz from tag/relname
8 | # 3 optionally generate release notes (changes between two releases)
9 | # 4 scp to tancubation (iy only)
10 | # 5 cp to lisa (if mounted)
11 | #
12 | #requires:
13 | # - write access to $tmpdir (/tmp)
14 | # - svn access to $svn_root (http://svn:81/svn/TAN)
15 | #
16 | #usage: just run this script, all input is interactive user input
17 | # - tgz and release notes are created in the current working directory where
18 | # the script is invoked
19 | #
20 |
21 | #
22 | # # configs # #
23 | #
24 |
25 | #svn repository
26 | svn_root='http://svn:81/svn/TAN'
27 |
28 | #build working directory
29 | tmpdir='/tmp'
30 |
31 |
32 | #
33 | # # functions # #
34 | #
35 |
36 | #
37 | #make a menu, set $result to user selection
38 | #
39 | mkmenu()
40 | {
41 | #clear
42 | echo $1
43 | shift
44 | PS3="choose: "
45 | select i in $@
46 | do
47 | if [ -z $i ]
48 | then
49 | echo
50 | echo 'exiting, no action taken'
51 | exit 0
52 | fi
53 | break
54 | done
55 | result=${i/\//} #chomp trailing slash
56 | unset i
57 | #out: $result
58 | }
59 |
60 | #
61 | #get a new release name for builds off the trunk
62 | #
63 | getnewrelname()
64 | {
65 | unset c i ok result
66 | until [ ! -z $result ]
67 | do
68 | c=0
69 | #clear
70 | echo "enter a new name for $1 to tag and package"
71 | echo "or, enter an existing release name to repackage it:"
72 | for i in `svn list $2`
73 | do
74 | i=${i/\//}
75 | echo -n "$i "
76 | ((c+=1))
77 | if [ $c -gt 2 ]
78 | then
79 | echo
80 | c=0
81 | fi
82 | done
83 | echo
84 | read -p "new release name (${project}_rel_#-##-#_#): ${project}_rel_" result
85 | result="${project}_rel_$result"
86 | ok=`perl -e "print 9 if('$result@'=~/^${project}_rel_\d-\d{2}-\d_\d@/);"`
87 | if [ -z $ok ]
88 | then
89 | read -p "error: '$result' format is bad... hit [enter] to continue "
90 | unset result
91 | fi
92 | done
93 | unset c i ok
94 | #out: $result
95 | }
96 |
97 | #
98 | #extract the last changed revision number of an svn path
99 | #set $result to path last changed revision
100 | #
101 | svnpathrev()
102 | {
103 | result=`svn info $1 |grep '^Last Changed Rev'`
104 | result=${result/Last Changed Rev: /} #just get number
105 | }
106 |
107 |
108 | #
109 | # # main # #
110 | #
111 |
112 |
113 | #
114 | #check if temp dir exists and is writable
115 | #
116 | [[ ! -e $tmpdir ]] && usage "'$tmpdir' not exists, cannot proceed."
117 | [[ ! -d $tmpdir ]] && usage "'$tmpdir' not a directory, cannot proceed."
118 | [[ ! -w $tmpdir ]] && usage "'$tmpdir' not writeable, cannot proceed."
119 |
120 | #
121 | #get project name (ascr, exit180, etc) & svn project base url (http.../ascr/)
122 | #
123 | # $project -> render
124 | # $svn_proj -> http://svn:81/svn/TAN/render
125 | #
126 | mkmenu 'make a package for which project?' `svn list $svn_root`
127 | project="$result"
128 | svn_proj="$svn_root/$result"
129 | if [ $result == 'tools' ] #project 'tools' is special, it has sub-projects
130 | then
131 | mkmenu 'which sub-project?' `svn list $svn_proj`
132 | project="$result"
133 | svn_proj="$svn_proj/$result"
134 | fi
135 |
136 | #
137 | #get release name
138 | #
139 | # $relname -> render_rel_0-00-1_0
140 | #
141 | getnewrelname $project $svn_proj/releases
142 | relname="$result"
143 |
144 | #
145 | #get source, trunk, branch, or prexisting release
146 | #
147 | # $svn_from -> http://svn:81/svn/TAN/render/trunk (or branch)
148 | #
149 | if [ -z `svn list $svn_proj/releases | grep $relname | head -1` ]
150 | then
151 | mkmenu 'make release from trunk or branch?' 'trunk' `svn list $svn_proj/branches`
152 | if [ $result == 'trunk' ]
153 | then
154 | svn_from="$svn_proj/$result"
155 | else
156 | svn_from="$svn_proj/branches/$result"
157 | fi
158 | #clear
159 | echo "- saving release $relname"
160 | echo " from $svn_from"
161 | echo " to $svn_proj/releases/$relname"
162 | svn copy -qm "new release $relname from $svn_from"\
163 | $svn_from $svn_proj/releases/$relname
164 | else
165 | echo "- repackaging existing $relname"
166 | fi
167 |
168 |
169 | #
170 | #make package tgz
171 | #
172 | # here are the vars we collected w/ some sample data
173 | #
174 | # user data:
175 | # $project -> render
176 | # $svn_proj -> http://svn:81/svn/TAN/render
177 | # $svn_from -> http://svn:81/svn/TAN/render/trunk (or branch)
178 | # $relname -> render_rel_0-00-1_0
179 | #
180 | # configs:
181 | # $svn_root -> http://svn:81/svn/TAN
182 | # $tmpdir -> /tmp
183 | #
184 | echo "- exporting $svn_proj/releases/$relname"
185 | echo " to $tmpdir/$relname"
186 | svn export -q $svn_proj/releases/$relname $tmpdir/$relname
187 | echo "- tar $tmpdir/$relname"
188 | echo " to `pwd`/$relname.tgz"
189 | tar -czf $relname.tgz -C $tmpdir $relname
190 | echo "- cleaning up work files $tmpdir/$relname"
191 | rm -rf $tmpdir/$relname
192 | echo "- build done"
193 |
194 |
195 | #
196 | #make release notes
197 | #
198 | mkmenu "make release notes for $relname from which previous release?"\
199 | 'none-skip' `svn list $svn_proj/releases | grep -v $relname`
200 | if [ $result != 'none-skip' ]
201 | then
202 | #
203 | #get release revision numbers
204 | #
205 | prev_relname="$result"
206 | svnpathrev "$svn_proj/releases/$prev_relname"
207 | prev_rel_num="$result"
208 | svnpathrev "$svn_proj/releases/$relname"
209 | this_rel_num="$result"
210 |
211 | #
212 | #release notes
213 | #
214 | # here are the additional vars we collected w/ some sample data
215 | #
216 | # user data:
217 | # $prev_relname -> render_rel_0-00-0_0
218 | # $prev_rel_num -> 2000
219 | # $this_rel_num -> 2022
220 | #
221 | #clear
222 | echo "- compiling release notes"
223 | echo " for changes in $relname since $prev_relname"
224 | cat < $relname.txt
225 | release notes for $relname (r$this_rel_num) by $USER@$HOST
226 |
227 | ========================================================================
228 | subversion info:
229 |
230 | `svn info $svn_proj/releases/$relname | egrep '^URL:|^Last'`
231 |
232 |
233 | ========================================================================
234 | files changed in $relname (r$this_rel_num) since $prev_relname (r$prev_rel_num):
235 |
236 | `svn diff $svn_proj/releases/$prev_relname $svn_proj/releases/$relname | perl -ne 'print " * \$1\n" if m/^Index: (.+)\$/;'`
237 |
238 |
239 | ========================================================================
240 | changes in $relname (r$this_rel_num) since $prev_relname (r$prev_rel_num):
241 |
242 | `svn log -r$prev_rel_num:$this_rel_num $svn_proj/trunk | perl -ne 'print " * \$1\n" if m/^([^-r].+)\$/;'`
243 |
244 |
245 | ========================================================================
246 | deploy
247 |
248 | files:
249 | % scp $relname.tgz @://home/adteractive/tgz/
250 | % ssh @
251 | % cd /home/adteractive/rel
252 | % tar -xzf ../tgz/$relname.tgz
253 | % cd ../tan
254 | % rm -f render && ln -s ../rel/$relname $project
255 |
256 | oracle:
257 |
258 | $USER -- p l e a s e e d i t
259 |
260 |
261 | ========================================================================
262 | verify
263 |
264 | $USER -- p l e a s e e d i t
265 |
266 |
267 | ========================================================================
268 | rollback
269 |
270 | files:
271 | % ssh @
272 | % cd /home/adteractive/tan
273 | % rm -f render && ln -s ../rel/$prev_relname $project
274 |
275 | oracle:
276 |
277 | $USER -- p l e a s e e d i t
278 |
279 |
280 | TXT
281 | #cat $relname.txt
282 | echo "- release notes saved to `pwd`/$relname.txt"
283 | echo " please edit the release notes"
284 | fi
285 |
286 |
287 | #
288 | #copy to tancubation for iyagi
289 | #
290 | if [ ! -z `egrep -l 'jump1.rwt,.+ssh-rsa' ~/.ssh/known_hosts | head -1` ]
291 | then
292 | echo '- copying to iyagi@jump1.rwt:., iyagi@10.0.50.170:/home/adteractive/tgz'
293 | scp -q ./$relname.tgz iyagi@jump1.rwt:. &&\
294 | ssh iyagi@jump1.rwt 'scp *.tgz iyagi@10.0.50.170:/home/adteractive/tgz'
295 | ssh iyagi@jump1.rwt 'rm *.tgz'
296 | fi
297 |
298 | #
299 | #copy to lisa
300 | #
301 | lisa="/mnt/Lisa/Adteractive_share/Engineering/builds/tan/$project"
302 | if [ -w $lisa ]
303 | then
304 | echo "- copying to $lisa/$relname.tgz"
305 | cp ./$relname.tgz $lisa
306 | fi
307 | lisa="/Volumes/ADT/Engineering/builds/tan/$project"
308 | if [ -w $lisa ]
309 | then
310 | echo "- copying to $lisa/$relname.tgz"
311 | cp ./$relname.tgz $lisa
312 | fi
313 |
--------------------------------------------------------------------------------
/osx-defaults.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh -eux
2 |
3 | which defaults || {
4 | echo 'must run on a mac, /usr/bin/defaults not in your $PATH'
5 | exit 1
6 | }
7 |
8 | # menu bar: opaque
9 | defaults write NSGlobalDomain AppleEnableMenuBarTransparency -bool false
10 |
11 | # dock
12 | # pin in corner
13 | defaults write com.apple.dock pinning -string start
14 | # make icons of hidden applications translucent
15 | defaults write com.apple.dock showhidden -bool true
16 | killall Dock
17 |
18 | # my keyboard shortcuts
19 | # http://hints.macworld.com/article.php?story=20131123074223584
20 | # @ for Command, $ for Shift, ~ for Alt and ^ for Ctrl
21 | # global shortcuts
22 | defaults write -g NSUserKeyEquivalents -dict-add 'Zoom' -string '@/'
23 |
24 | defaults write -g NSUserKeyEquivalents -dict-add 'Hide Sidebar' -string '@~`'
25 | defaults write -g NSUserKeyEquivalents -dict-add 'Show Sidebar' -string '@~`'
26 |
27 | # app shortcuts
28 | defaults write com.apple.Terminal NSUserKeyEquivalents -dict-add 'Return to Default Size' -string '@~/'
29 |
30 | defaults write com.apple.Mail NSUserKeyEquivalents -dict-add 'Hide Mailbox List' -string '@~`'
31 | defaults write com.apple.Mail NSUserKeyEquivalents -dict-add 'Show Mailbox List' -string '@~`'
32 |
33 | defaults write com.apple.AddressBook NSUserKeyEquivalents -dict-add 'Hide Groups' -string '@~`'
34 | defaults write com.apple.AddressBook NSUserKeyEquivalents -dict-add 'Show Groups' -string '@~`'
35 |
36 | defaults write com.apple.Finder NSUserKeyEquivalents -dict-add 'Hide Sidebar' -string '@~`'
37 | defaults write com.apple.Finder NSUserKeyEquivalents -dict-add 'Show Sidebar' -string '@~`'
38 |
39 |
40 | # Enable full keyboard access for all controls
41 | # (e.g. enable Tab in modal dialogs)
42 | defaults write NSGlobalDomain AppleKeyboardUIMode -int 3
43 |
44 | # Terminal.app
45 | # TODO: read defaults to see if these window and group settings are loaded in
46 | # Terminal.app, and if needed, `open ./terminal/Iy*`
47 | # defaults write com.apple.Terminal SecureKeyboardEntry 1
48 | # defaults write com.apple.Terminal 'Default Window Settings' 'IyAir'
49 | # defaults write com.apple.Terminal 'Startup Window Settings' 'IyAir'
50 | # defaults write com.apple.Terminal 'Startup Window Group' 'IyAir2xRHS'
51 | # defaults write com.apple.Terminal StartupAction 2
--------------------------------------------------------------------------------
/osx-hw-defaults.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh -eu
2 |
3 | [[ $(whoami) = root ]] || {
4 | echo "requires root.\ntry: sudo '$0'"
5 | exit 1
6 | }
7 |
8 | which pmset tmutil || {
9 | echo 'must run on a mac'
10 | exit 3
11 | }
12 |
13 | # see also
14 | # https://github.com/mathiasbynens/dotfiles/blob/master/.osx
15 |
16 | # wait 24hrs before moving sleep-storage from ram to disk
17 | # http://osxdaily.com/2013/01/21/mac-slow-wake-from-sleep-fix/
18 | pmset -a standbydelay 86400
19 |
20 | # Disable local Time Machine backups, save SSD space
21 | tmutil disablelocal
22 |
--------------------------------------------------------------------------------
/rel.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh -e
2 | # https://gist.github.com/isao/5544779
3 |
4 | # default source branch containing the release commits
5 | srcdefault=develop
6 |
7 | # the branch all releases are landed on, tagged on, and published from
8 | relbranch=master
9 |
10 | # 1st arg is the release number, i.e. 0.1.2
11 | relnum=$1
12 |
13 | # optional 2nd arg is the commit representing the release
14 | # if omitted, $srcdefault is used
15 | # i.e. upstream/develop, head^^, b300f84, etc. see `man gitrevisions`
16 | srcref=${2:-$srcdefault}
17 |
18 | # if $srcref == $mergeback, merge back after stamping & tagging
19 | # enables release tag to be reachable from the dev branch, and for the
20 | # package.json version to stay in sync
21 | mergeback=$srcdefault
22 |
23 | # temporary release branch name
24 | tmpbranch=rel-$relnum
25 |
26 | # last tagged release as told by `git describe --abbrev=0`
27 | lastnum=
28 |
29 | #
30 | # funcs
31 | #
32 |
33 | usg() {
34 | this=$(basename $0)
35 | cat <&2
36 | * err: $2
37 | usage: $this [source]
38 | Run this script in your git repo. It will prompt to confirm the local changes
39 | that will be made.
40 |
41 | options:
42 | semver version to assign to release & it's tag, i.e 1.2.3. Required.
43 | source git reference to base release on. Default is "$srcdefault".
44 | Can be a branch name, sha, etc. See "man gitrevisions"
45 | examples:
46 | $this 0.6.7 develop
47 | $this 1.2.3 upstream/develop
48 | $this 1.2.3 b300f84
49 |
50 | ERR
51 | exit $1
52 | }
53 |
54 | exists() {
55 | test -n $1 && git log --oneline $1 > /dev/null 2>&1
56 | }
57 |
58 | confirm() {
59 | cat </dev/null || usg 1 "missing executable"
97 | [[ -n $relnum ]] || usg 3 "missing release number"
98 | [[ -n $srcref ]] || usg 3 "missing source reference"
99 | exists $srcref || usg 5 "git reference '$srcref' doesn't exist.\nspecify the correct source branch name or ref."
100 |
101 |
102 | #
103 | # main
104 | #
105 |
106 | relnum=${relnum#v}; #rm leading "v" if needed
107 | lastnum=$(git describe --abbrev=0)
108 | cd $(git rev-parse --show-toplevel)
109 |
110 | # you sure?
111 | confirm
112 |
113 | # checkout temp release branch
114 | echo "* making branch $tmpbranch off $srcref"
115 | git checkout -b $tmpbranch $srcref
116 |
117 | echo "* stamping package.json version $relnum"
118 | stamp $(read_json version package.json) $relnum package.json
119 | git commit -m v$relnum package.json || echo
120 |
121 | echo "* merging $tmpbranch onto $relbranch"
122 | git checkout -q $relbranch
123 | gitdesc=$(git describe $srcref)
124 | git merge -m "merge release $relnum (based on $gitdesc)" $tmpbranch
125 |
126 | echo "* tagging v$relnum"
127 | git tag -fm "v$relnum (based on $gitdesc)" v$relnum
128 |
129 | if [[ $mergeback = $srcref ]]
130 | then
131 | echo "* merging back to $mergeback"
132 | git checkout $srcref
133 | git merge --no-edit $relbranch
134 | fi
135 |
136 | echo "* cleanup $tmpbranch"
137 | git branch -d $tmpbranch
138 |
139 | echo "* done."
140 |
141 | cat <
2 |
3 |
4 |
5 | BackgroundColor
6 |
7 | YnBsaXN0MDDUAQIDBAUGFRZYJHZlcnNpb25YJG9iamVjdHNZJGFyY2hpdmVyVCR0b3AS
8 | AAGGoKMHCA9VJG51bGzTCQoLDA0OViRjbGFzc1xOU0NvbG9yU3BhY2VVTlNSR0KAAhAB
9 | SjEgMSAxIDAuOQDSEBESE1okY2xhc3NuYW1lWCRjbGFzc2VzV05TQ29sb3KiEhRYTlNP
10 | YmplY3RfEA9OU0tleWVkQXJjaGl2ZXLRFxhUcm9vdIABCBEaIy0yNztBSE9cYmRmcXaB
11 | ipKVnrCzuAAAAAAAAAEBAAAAAAAAABkAAAAAAAAAAAAAAAAAAAC6
12 |
13 | Bell
14 | YES
15 | BlinkText
16 | YES
17 | CharacterEncoding
18 | 4
19 | CommandString
20 |
21 | CursorBlink
22 |
23 | CursorColor
24 |
25 | YnBsaXN0MDDUAQIDBAUGFRZYJHZlcnNpb25YJG9iamVjdHNZJGFyY2hpdmVyVCR0b3AS
26 | AAGGoKMHCA9VJG51bGzTCQoLDA0OViRjbGFzc1xOU0NvbG9yU3BhY2VVTlNSR0KAAhAB
27 | TxAhMC4zNzA5OTk5OSAwLjU1Njk5OTk4IDAuODczMDAwMDMA0hAREhNaJGNsYXNzbmFt
28 | ZVgkY2xhc3Nlc1dOU0NvbG9yohIUWE5TT2JqZWN0XxAPTlNLZXllZEFyY2hpdmVy0RcY
29 | VHJvb3SAAQgRGiMtMjc7QUhPXGJkZoqPmqOrrrfJzNEAAAAAAAABAQAAAAAAAAAZAAAA
30 | AAAAAAAAAAAAAAAA0w==
31 |
32 | CursorType
33 | 0
34 | Font
35 |
36 | YnBsaXN0MDDUAQIDBAUGGBlYJHZlcnNpb25YJG9iamVjdHNZJGFyY2hpdmVyVCR0b3AS
37 | AAGGoKQHCBESVSRudWxs1AkKCwwNDg8QViRjbGFzc1ZOU05hbWVWTlNTaXplWE5TZkZs
38 | YWdzgAOAAiNAJgAAAAAAABAQXU1lbmxvLVJlZ3VsYXLSExQVFlokY2xhc3NuYW1lWCRj
39 | bGFzc2VzVk5TRm9udKIVF1hOU09iamVjdF8QD05TS2V5ZWRBcmNoaXZlctEaG1Ryb290
40 | gAEIERojLTI3PEJLUllgaWttdniGi5afpqmyxMfMAAAAAAAAAQEAAAAAAAAAHAAAAAAA
41 | AAAAAAAAAAAAAM4=
42 |
43 | FontAntialias
44 |
45 | FontHeightSpacing
46 | 0.88306451612903225
47 | FontWidthSpacing
48 | 1
49 | Linewrap
50 |
51 | ProfileCurrentVersion
52 | 2.0099999999999998
53 | ReverseLinewrap
54 | YES
55 | RunCommandAsShell
56 |
57 | SelectionColor
58 |
59 | YnBsaXN0MDDUAQIDBAUGFRZYJHZlcnNpb25YJG9iamVjdHNZJGFyY2hpdmVyVCR0b3AS
60 | AAGGoKMHCA9VJG51bGzTCQoLDA0OViRjbGFzc1xOU0NvbG9yU3BhY2VVTlNSR0KAAhAB
61 | TxAhMC40ODEwMDAwMSAwLjg0NTAwMDAzIDAuODY0MDAwMDIA0hAREhNaJGNsYXNzbmFt
62 | ZVgkY2xhc3Nlc1dOU0NvbG9yohIUWE5TT2JqZWN0XxAPTlNLZXllZEFyY2hpdmVy0RcY
63 | VHJvb3SAAQgRGiMtMjc7QUhPXGJkZoqPmqOrrrfJzNEAAAAAAAABAQAAAAAAAAAZAAAA
64 | AAAAAAAAAAAAAAAA0w==
65 |
66 | ShouldLimitScrollback
67 |
68 | ShowActiveProcessInTitle
69 |
70 | ShowCommandKeyInTitle
71 |
72 | ShowDimensionsInTitle
73 |
74 | ShowShellCommandInTitle
75 |
76 | ShowTTYNameInTitle
77 |
78 | ShowWindowSettingsNameInTitle
79 |
80 | StrictVTKeypad
81 | NO
82 | TerminalType
83 | xterm-color
84 | TextBoldColor
85 |
86 | YnBsaXN0MDDUAQIDBAUGFRZYJHZlcnNpb25YJG9iamVjdHNZJGFyY2hpdmVyVCR0b3AS
87 | AAGGoKMHCA9VJG51bGzTCQoLDA0OViRjbGFzc1xOU0NvbG9yU3BhY2VVTlNSR0KAAhAB
88 | RjAgMCAwANIQERITWiRjbGFzc25hbWVYJGNsYXNzZXNXTlNDb2xvcqISFFhOU09iamVj
89 | dF8QD05TS2V5ZWRBcmNoaXZlctEXGFRyb290gAEIERojLTI3O0FIT1xiZGZtcn2GjpGa
90 | rK+0AAAAAAAAAQEAAAAAAAAAGQAAAAAAAAAAAAAAAAAAALY=
91 |
92 | TextColor
93 |
94 | YnBsaXN0MDDUAQIDBAUGFRZYJHZlcnNpb25YJG9iamVjdHNZJGFyY2hpdmVyVCR0b3AS
95 | AAGGoKMHCA9VJG51bGzTCQoLDA0OViRjbGFzc1xOU0NvbG9yU3BhY2VVTlNSR0KAAhAB
96 | RjAgMCAwANIQERITWiRjbGFzc25hbWVYJGNsYXNzZXNXTlNDb2xvcqISFFhOU09iamVj
97 | dF8QD05TS2V5ZWRBcmNoaXZlctEXGFRyb290gAEIERojLTI3O0FIT1xiZGZtcn2GjpGa
98 | rK+0AAAAAAAAAQEAAAAAAAAAGQAAAAAAAAAAAAAAAAAAALY=
99 |
100 | VisualBell
101 | YES
102 | WindowTitle
103 |
104 | columnCount
105 | 80
106 | deleteSendsBackspace
107 | 0
108 | keyMapBoundKeys
109 |
110 | $F708
111 | [25~
112 | $F709
113 | [26~
114 | $F70A
115 | [28~
116 | $F70B
117 | [29~
118 | $F70C
119 | [31~
120 | $F70D
121 | [22~
122 | $F70E
123 | [33~
124 | $F70F
125 | [34~
126 | $F729
127 | [H
128 | $F72B
129 | [F
130 | $F72C
131 | [5~
132 | $F72D
133 | [6~
134 | F704
135 | OP
136 | F705
137 | OQ
138 | F706
139 | OR
140 | F707
141 | OS
142 | F708
143 | [15~
144 | F709
145 | [17~
146 | F70A
147 | [18~
148 | F70B
149 | [19~
150 | F70C
151 | [20~
152 | F70D
153 | [21~
154 | F70E
155 | [23~
156 | F70F
157 | [24~
158 | F710
159 | [25~
160 | F711
161 | [26~
162 | F712
163 | [28~
164 | F713
165 | [29~
166 | F714
167 | [31~
168 | F715
169 | [32~
170 | F716
171 | [33~
172 | F717
173 | [34~
174 | F728
175 | [3~
176 | F729
177 | scrollToBeginningOfDocument:
178 | F72B
179 | scrollToEndOfDocument:
180 | F72C
181 | scrollPageUp:
182 | F72D
183 | scrollPageDown:
184 | ^F702
185 | b
186 | ^F703
187 | f
188 | ~F704
189 | [17~
190 | ~F705
191 | [18~
192 | ~F706
193 | [19~
194 | ~F707
195 | [20~
196 | ~F708
197 | [21~
198 | ~F709
199 | [23~
200 | ~F70A
201 | [24~
202 | ~F70B
203 | [25~
204 | ~F70C
205 | [26~
206 | ~F70D
207 | [28~
208 | ~F70E
209 | [29~
210 | ~F70F
211 | [31~
212 | ~F710
213 | [32~
214 | ~F711
215 | [33~
216 | ~F712
217 | [34~
218 |
219 | name
220 | IMY
221 | rowCount
222 | 30
223 | shellExitAction
224 | 2
225 | type
226 | Window Settings
227 | useOptionAsMetaKey
228 |
229 | warnOnShellCloseAction
230 | 1
231 |
232 |
233 |
--------------------------------------------------------------------------------
/terminal/IyAir.terminal:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | BackgroundColor
6 |
7 | YnBsaXN0MDDUAQIDBAUGFRZYJHZlcnNpb25YJG9iamVjdHNZJGFyY2hpdmVyVCR0b3AS
8 | AAGGoKMHCA9VJG51bGzTCQoLDA0OV05TV2hpdGVcTlNDb2xvclNwYWNlViRjbGFzc0cx
9 | IDAuODgAEASAAtIQERITWiRjbGFzc25hbWVYJGNsYXNzZXNXTlNDb2xvcqISFFhOU09i
10 | amVjdF8QD05TS2V5ZWRBcmNoaXZlctEXGFRyb290gAEIERojLTI3O0FIUF1kbG5wdYCJ
11 | kZSdr7K3AAAAAAAAAQEAAAAAAAAAGQAAAAAAAAAAAAAAAAAAALk=
12 |
13 | CommandString
14 |
15 | Font
16 |
17 | YnBsaXN0MDDUAQIDBAUGGBlYJHZlcnNpb25YJG9iamVjdHNZJGFyY2hpdmVyVCR0b3AS
18 | AAGGoKQHCBESVSRudWxs1AkKCwwNDg8QVk5TU2l6ZVhOU2ZGbGFnc1ZOU05hbWVWJGNs
19 | YXNzI0AqAAAAAAAAEBCAAoADXU1lbmxvLVJlZ3VsYXLSExQVFlokY2xhc3NuYW1lWCRj
20 | bGFzc2VzVk5TRm9udKIVF1hOU09iamVjdF8QD05TS2V5ZWRBcmNoaXZlctEaG1Ryb290
21 | gAEIERojLTI3PEJLUltiaXJ0dniGi5afpqmyxMfMAAAAAAAAAQEAAAAAAAAAHAAAAAAA
22 | AAAAAAAAAAAAAM4=
23 |
24 | FontAntialias
25 |
26 | FontHeightSpacing
27 | 0.91021925403225801
28 | FontWidthSpacing
29 | 0.9994959677419355
30 | Linewrap
31 |
32 | ProfileCurrentVersion
33 | 2.02
34 | RunCommandAsShell
35 |
36 | ShowActiveProcessInTitle
37 |
38 | ShowCommandKeyInTitle
39 |
40 | ShowDimensionsInTitle
41 |
42 | ShowShellCommandInTitle
43 |
44 | VisualBell
45 |
46 | WindowTitle
47 |
48 | columnCount
49 | 80
50 | fontAllowsDisableAntialias
51 | 1
52 | keyMapBoundKeys
53 |
54 | $F708
55 | [25~
56 | $F709
57 | [26~
58 | $F70A
59 | [28~
60 | $F70B
61 | [29~
62 | $F70C
63 | [31~
64 | $F70D
65 | [22~
66 | $F70E
67 | [33~
68 | $F70F
69 | [34~
70 | $F729
71 | [H
72 | $F72B
73 | [F
74 | $F72C
75 | [5~
76 | $F72D
77 | [6~
78 | F704
79 | OP
80 | F705
81 | OQ
82 | F706
83 | OR
84 | F707
85 | OS
86 | F708
87 | [15~
88 | F709
89 | [17~
90 | F70A
91 | [18~
92 | F70B
93 | [19~
94 | F70C
95 | [20~
96 | F70D
97 | [21~
98 | F70E
99 | [23~
100 | F70F
101 | [24~
102 | F710
103 | [25~
104 | F711
105 | [26~
106 | F712
107 | [28~
108 | F713
109 | [29~
110 | F714
111 | [31~
112 | F715
113 | [32~
114 | F716
115 | [33~
116 | F717
117 | [34~
118 | F728
119 | [3~
120 | F729
121 | scrollToBeginningOfDocument:
122 | F72B
123 | scrollToEndOfDocument:
124 | F72C
125 | scrollPageUp:
126 | F72D
127 | scrollPageDown:
128 | ^F702
129 | b
130 | ^F703
131 | f
132 | ~F702
133 | b
134 | ~F703
135 | f
136 | ~F704
137 | [17~
138 | ~F705
139 | [18~
140 | ~F706
141 | [19~
142 | ~F707
143 | [20~
144 | ~F708
145 | [21~
146 | ~F709
147 | [23~
148 | ~F70A
149 | [24~
150 | ~F70B
151 | [25~
152 | ~F70C
153 | [26~
154 | ~F70D
155 | [28~
156 | ~F70E
157 | [29~
158 | ~F70F
159 | [31~
160 | ~F710
161 | [32~
162 | ~F711
163 | [33~
164 | ~F712
165 | [34~
166 |
167 | name
168 | Iy Air
169 | noWarnProcesses
170 |
171 |
172 | ProcessName
173 | rlogin
174 |
175 |
176 | ProcessName
177 | telnet
178 |
179 |
180 | ProcessName
181 | ssh
182 |
183 |
184 | ProcessName
185 | slogin
186 |
187 |
188 | ProcessName
189 | less
190 |
191 |
192 | ProcessName
193 | man
194 |
195 |
196 | rowCount
197 | 20
198 | type
199 | Window Settings
200 |
201 |
202 |
--------------------------------------------------------------------------------
/terminal/IyAir2xRHS.terminal:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | WindowList
6 |
7 |
8 | Origin
9 | {645, 746}
10 | ScrollerStyle
11 | 1
12 | ShowsTabBar
13 |
14 | ShowsTabBarInFullScreen
15 |
16 | Window Settings
17 |
18 |
19 | Tab Scrollback Restorable
20 |
21 | Tab Session Class ID
22 | D9AE1866-5201-4373-8FF0-D886F422A2E7
23 | Tab Settings
24 |
25 | BackgroundColor
26 |
27 | YnBsaXN0MDDUAQIDBAUGFRZYJHZl
28 | cnNpb25YJG9iamVjdHNZJGFyY2hp
29 | dmVyVCR0b3ASAAGGoKMHCA9VJG51
30 | bGzTCQoLDA0OV05TV2hpdGVcTlND
31 | b2xvclNwYWNlViRjbGFzc0cxIDAu
32 | ODgAEASAAtIQERITWiRjbGFzc25h
33 | bWVYJGNsYXNzZXNXTlNDb2xvcqIS
34 | FFhOU09iamVjdF8QD05TS2V5ZWRB
35 | cmNoaXZlctEXGFRyb290gAEIERoj
36 | LTI3O0FIUF1kbG5wdYCJkZSdr7K3
37 | AAAAAAAAAQEAAAAAAAAAGQAAAAAA
38 | AAAAAAAAAAAAALk=
39 |
40 | CommandString
41 |
42 | Font
43 |
44 | YnBsaXN0MDDUAQIDBAUGGBlYJHZl
45 | cnNpb25YJG9iamVjdHNZJGFyY2hp
46 | dmVyVCR0b3ASAAGGoKQHCBESVSRu
47 | dWxs1AkKCwwNDg8QVk5TU2l6ZVhO
48 | U2ZGbGFnc1ZOU05hbWVWJGNsYXNz
49 | I0AqAAAAAAAAEBCAAoADXU1lbmxv
50 | LVJlZ3VsYXLSExQVFlokY2xhc3Nu
51 | YW1lWCRjbGFzc2VzVk5TRm9udKIV
52 | F1hOU09iamVjdF8QD05TS2V5ZWRB
53 | cmNoaXZlctEaG1Ryb290gAEIERoj
54 | LTI3PEJLUltiaXJ0dniGi5afpqmy
55 | xMfMAAAAAAAAAQEAAAAAAAAAHAAA
56 | AAAAAAAAAAAAAAAAAM4=
57 |
58 | FontAntialias
59 |
60 | FontHeightSpacing
61 | 0.91021925403225801
62 | FontWidthSpacing
63 | 0.9994959677419355
64 | Linewrap
65 |
66 | ProfileCurrentVersion
67 | 2.02
68 | RunCommandAsShell
69 |
70 | ShouldLimitScrollback
71 | 1
72 | ShowActiveProcessInTitle
73 |
74 | ShowCommandKeyInTitle
75 |
76 | ShowDimensionsInTitle
77 |
78 | ShowShellCommandInTitle
79 |
80 | VisualBell
81 |
82 | WindowTitle
83 |
84 | columnCount
85 | 80
86 | fontAllowsDisableAntialias
87 | 1
88 | keyMapBoundKeys
89 |
90 | $F708
91 | [25~
92 | $F709
93 | [26~
94 | $F70A
95 | [28~
96 | $F70B
97 | [29~
98 | $F70C
99 | [31~
100 | $F70D
101 | [22~
102 | $F70E
103 | [33~
104 | $F70F
105 | [34~
106 | $F729
107 | [H
108 | $F72B
109 | [F
110 | $F72C
111 | [5~
112 | $F72D
113 | [6~
114 | F704
115 | OP
116 | F705
117 | OQ
118 | F706
119 | OR
120 | F707
121 | OS
122 | F708
123 | [15~
124 | F709
125 | [17~
126 | F70A
127 | [18~
128 | F70B
129 | [19~
130 | F70C
131 | [20~
132 | F70D
133 | [21~
134 | F70E
135 | [23~
136 | F70F
137 | [24~
138 | F710
139 | [25~
140 | F711
141 | [26~
142 | F712
143 | [28~
144 | F713
145 | [29~
146 | F714
147 | [31~
148 | F715
149 | [32~
150 | F716
151 | [33~
152 | F717
153 | [34~
154 | F728
155 | [3~
156 | F729
157 | scrollToBeginningOfDocument:
158 | F72B
159 | scrollToEndOfDocument:
160 | F72C
161 | scrollPageUp:
162 | F72D
163 | scrollPageDown:
164 | ^F702
165 | b
166 | ^F703
167 | f
168 | ~F702
169 | b
170 | ~F703
171 | f
172 | ~F704
173 | [17~
174 | ~F705
175 | [18~
176 | ~F706
177 | [19~
178 | ~F707
179 | [20~
180 | ~F708
181 | [21~
182 | ~F709
183 | [23~
184 | ~F70A
185 | [24~
186 | ~F70B
187 | [25~
188 | ~F70C
189 | [26~
190 | ~F70D
191 | [28~
192 | ~F70E
193 | [29~
194 | ~F70F
195 | [31~
196 | ~F710
197 | [32~
198 | ~F711
199 | [33~
200 | ~F712
201 | [34~
202 |
203 | name
204 | Iy Air
205 | noWarnProcesses
206 |
207 |
208 | ProcessName
209 | rlogin
210 |
211 |
212 | ProcessName
213 | telnet
214 |
215 |
216 | ProcessName
217 | ssh
218 |
219 |
220 | ProcessName
221 | slogin
222 |
223 |
224 | ProcessName
225 | less
226 |
227 |
228 | ProcessName
229 | man
230 |
231 |
232 | rowCount
233 | 20
234 | type
235 | Window Settings
236 |
237 | Tab Settings Name
238 | Iy Air
239 | Tab Title
240 | isao@happyboy:~
241 | TabSelected
242 |
243 |
244 |
245 | Tab Scrollback Restorable
246 |
247 | Tab Session Class ID
248 | C076A0A4-2FF1-44D2-B90E-909CB75ED22D
249 | Tab Settings
250 |
251 | BackgroundColor
252 |
253 | YnBsaXN0MDDUAQIDBAUGFRZYJHZl
254 | cnNpb25YJG9iamVjdHNZJGFyY2hp
255 | dmVyVCR0b3ASAAGGoKMHCA9VJG51
256 | bGzTCQoLDA0OV05TV2hpdGVcTlND
257 | b2xvclNwYWNlViRjbGFzc0cxIDAu
258 | ODgAEASAAtIQERITWiRjbGFzc25h
259 | bWVYJGNsYXNzZXNXTlNDb2xvcqIS
260 | FFhOU09iamVjdF8QD05TS2V5ZWRB
261 | cmNoaXZlctEXGFRyb290gAEIERoj
262 | LTI3O0FIUF1kbG5wdYCJkZSdr7K3
263 | AAAAAAAAAQEAAAAAAAAAGQAAAAAA
264 | AAAAAAAAAAAAALk=
265 |
266 | CommandString
267 |
268 | Font
269 |
270 | YnBsaXN0MDDUAQIDBAUGGBlYJHZl
271 | cnNpb25YJG9iamVjdHNZJGFyY2hp
272 | dmVyVCR0b3ASAAGGoKQHCBESVSRu
273 | dWxs1AkKCwwNDg8QVk5TU2l6ZVhO
274 | U2ZGbGFnc1ZOU05hbWVWJGNsYXNz
275 | I0AqAAAAAAAAEBCAAoADXU1lbmxv
276 | LVJlZ3VsYXLSExQVFlokY2xhc3Nu
277 | YW1lWCRjbGFzc2VzVk5TRm9udKIV
278 | F1hOU09iamVjdF8QD05TS2V5ZWRB
279 | cmNoaXZlctEaG1Ryb290gAEIERoj
280 | LTI3PEJLUltiaXJ0dniGi5afpqmy
281 | xMfMAAAAAAAAAQEAAAAAAAAAHAAA
282 | AAAAAAAAAAAAAAAAAM4=
283 |
284 | FontAntialias
285 |
286 | FontHeightSpacing
287 | 0.91021925403225801
288 | FontWidthSpacing
289 | 0.9994959677419355
290 | Linewrap
291 |
292 | ProfileCurrentVersion
293 | 2.02
294 | RunCommandAsShell
295 |
296 | ShouldLimitScrollback
297 | 1
298 | ShowActiveProcessInTitle
299 |
300 | ShowCommandKeyInTitle
301 |
302 | ShowDimensionsInTitle
303 |
304 | ShowShellCommandInTitle
305 |
306 | VisualBell
307 |
308 | WindowTitle
309 |
310 | columnCount
311 | 80
312 | fontAllowsDisableAntialias
313 | 1
314 | keyMapBoundKeys
315 |
316 | $F708
317 | [25~
318 | $F709
319 | [26~
320 | $F70A
321 | [28~
322 | $F70B
323 | [29~
324 | $F70C
325 | [31~
326 | $F70D
327 | [22~
328 | $F70E
329 | [33~
330 | $F70F
331 | [34~
332 | $F729
333 | [H
334 | $F72B
335 | [F
336 | $F72C
337 | [5~
338 | $F72D
339 | [6~
340 | F704
341 | OP
342 | F705
343 | OQ
344 | F706
345 | OR
346 | F707
347 | OS
348 | F708
349 | [15~
350 | F709
351 | [17~
352 | F70A
353 | [18~
354 | F70B
355 | [19~
356 | F70C
357 | [20~
358 | F70D
359 | [21~
360 | F70E
361 | [23~
362 | F70F
363 | [24~
364 | F710
365 | [25~
366 | F711
367 | [26~
368 | F712
369 | [28~
370 | F713
371 | [29~
372 | F714
373 | [31~
374 | F715
375 | [32~
376 | F716
377 | [33~
378 | F717
379 | [34~
380 | F728
381 | [3~
382 | F729
383 | scrollToBeginningOfDocument:
384 | F72B
385 | scrollToEndOfDocument:
386 | F72C
387 | scrollPageUp:
388 | F72D
389 | scrollPageDown:
390 | ^F702
391 | b
392 | ^F703
393 | f
394 | ~F702
395 | b
396 | ~F703
397 | f
398 | ~F704
399 | [17~
400 | ~F705
401 | [18~
402 | ~F706
403 | [19~
404 | ~F707
405 | [20~
406 | ~F708
407 | [21~
408 | ~F709
409 | [23~
410 | ~F70A
411 | [24~
412 | ~F70B
413 | [25~
414 | ~F70C
415 | [26~
416 | ~F70D
417 | [28~
418 | ~F70E
419 | [29~
420 | ~F70F
421 | [31~
422 | ~F710
423 | [32~
424 | ~F711
425 | [33~
426 | ~F712
427 | [34~
428 |
429 | name
430 | Iy Air
431 | noWarnProcesses
432 |
433 |
434 | ProcessName
435 | rlogin
436 |
437 |
438 | ProcessName
439 | telnet
440 |
441 |
442 | ProcessName
443 | ssh
444 |
445 |
446 | ProcessName
447 | slogin
448 |
449 |
450 | ProcessName
451 | less
452 |
453 |
454 | ProcessName
455 | man
456 |
457 |
458 | rowCount
459 | 20
460 | type
461 | Window Settings
462 |
463 | Tab Settings Name
464 | Iy Air
465 | Tab Title
466 | isao@happyboy:~/Library
467 | Tab Working Directory URL
468 | file:///Users/isao/Library/
469 | TabSelected
470 |
471 |
472 |
473 | WindowNumber
474 | 1
475 |
476 |
477 | Origin
478 | {646, 374}
479 | ScrollerStyle
480 | 1
481 | ShowsTabBar
482 |
483 | ShowsTabBarInFullScreen
484 |
485 | Window Settings
486 |
487 |
488 | Tab Scrollback Restorable
489 |
490 | Tab Session Class ID
491 | 5B079014-1B68-4DF1-B8D6-68869094B2A7
492 | Tab Settings
493 |
494 | BackgroundColor
495 |
496 | YnBsaXN0MDDUAQIDBAUGFRZYJHZl
497 | cnNpb25YJG9iamVjdHNZJGFyY2hp
498 | dmVyVCR0b3ASAAGGoKMHCA9VJG51
499 | bGzTCQoLDA0OV05TV2hpdGVcTlND
500 | b2xvclNwYWNlViRjbGFzc0cxIDAu
501 | ODgAEASAAtIQERITWiRjbGFzc25h
502 | bWVYJGNsYXNzZXNXTlNDb2xvcqIS
503 | FFhOU09iamVjdF8QD05TS2V5ZWRB
504 | cmNoaXZlctEXGFRyb290gAEIERoj
505 | LTI3O0FIUF1kbG5wdYCJkZSdr7K3
506 | AAAAAAAAAQEAAAAAAAAAGQAAAAAA
507 | AAAAAAAAAAAAALk=
508 |
509 | CommandString
510 |
511 | Font
512 |
513 | YnBsaXN0MDDUAQIDBAUGGBlYJHZl
514 | cnNpb25YJG9iamVjdHNZJGFyY2hp
515 | dmVyVCR0b3ASAAGGoKQHCBESVSRu
516 | dWxs1AkKCwwNDg8QVk5TU2l6ZVhO
517 | U2ZGbGFnc1ZOU05hbWVWJGNsYXNz
518 | I0AqAAAAAAAAEBCAAoADXU1lbmxv
519 | LVJlZ3VsYXLSExQVFlokY2xhc3Nu
520 | YW1lWCRjbGFzc2VzVk5TRm9udKIV
521 | F1hOU09iamVjdF8QD05TS2V5ZWRB
522 | cmNoaXZlctEaG1Ryb290gAEIERoj
523 | LTI3PEJLUltiaXJ0dniGi5afpqmy
524 | xMfMAAAAAAAAAQEAAAAAAAAAHAAA
525 | AAAAAAAAAAAAAAAAAM4=
526 |
527 | FontAntialias
528 |
529 | FontHeightSpacing
530 | 0.91021925403225801
531 | FontWidthSpacing
532 | 0.9994959677419355
533 | Linewrap
534 |
535 | ProfileCurrentVersion
536 | 2.02
537 | RunCommandAsShell
538 |
539 | ShouldLimitScrollback
540 | 1
541 | ShowActiveProcessInTitle
542 |
543 | ShowCommandKeyInTitle
544 |
545 | ShowDimensionsInTitle
546 |
547 | ShowShellCommandInTitle
548 |
549 | VisualBell
550 |
551 | WindowTitle
552 |
553 | columnCount
554 | 80
555 | fontAllowsDisableAntialias
556 | 1
557 | keyMapBoundKeys
558 |
559 | $F708
560 | [25~
561 | $F709
562 | [26~
563 | $F70A
564 | [28~
565 | $F70B
566 | [29~
567 | $F70C
568 | [31~
569 | $F70D
570 | [22~
571 | $F70E
572 | [33~
573 | $F70F
574 | [34~
575 | $F729
576 | [H
577 | $F72B
578 | [F
579 | $F72C
580 | [5~
581 | $F72D
582 | [6~
583 | F704
584 | OP
585 | F705
586 | OQ
587 | F706
588 | OR
589 | F707
590 | OS
591 | F708
592 | [15~
593 | F709
594 | [17~
595 | F70A
596 | [18~
597 | F70B
598 | [19~
599 | F70C
600 | [20~
601 | F70D
602 | [21~
603 | F70E
604 | [23~
605 | F70F
606 | [24~
607 | F710
608 | [25~
609 | F711
610 | [26~
611 | F712
612 | [28~
613 | F713
614 | [29~
615 | F714
616 | [31~
617 | F715
618 | [32~
619 | F716
620 | [33~
621 | F717
622 | [34~
623 | F728
624 | [3~
625 | F729
626 | scrollToBeginningOfDocument:
627 | F72B
628 | scrollToEndOfDocument:
629 | F72C
630 | scrollPageUp:
631 | F72D
632 | scrollPageDown:
633 | ^F702
634 | b
635 | ^F703
636 | f
637 | ~F702
638 | b
639 | ~F703
640 | f
641 | ~F704
642 | [17~
643 | ~F705
644 | [18~
645 | ~F706
646 | [19~
647 | ~F707
648 | [20~
649 | ~F708
650 | [21~
651 | ~F709
652 | [23~
653 | ~F70A
654 | [24~
655 | ~F70B
656 | [25~
657 | ~F70C
658 | [26~
659 | ~F70D
660 | [28~
661 | ~F70E
662 | [29~
663 | ~F70F
664 | [31~
665 | ~F710
666 | [32~
667 | ~F711
668 | [33~
669 | ~F712
670 | [34~
671 |
672 | name
673 | Iy Air
674 | noWarnProcesses
675 |
676 |
677 | ProcessName
678 | rlogin
679 |
680 |
681 | ProcessName
682 | telnet
683 |
684 |
685 | ProcessName
686 | ssh
687 |
688 |
689 | ProcessName
690 | slogin
691 |
692 |
693 | ProcessName
694 | less
695 |
696 |
697 | ProcessName
698 | man
699 |
700 |
701 | rowCount
702 | 20
703 | type
704 | Window Settings
705 |
706 | Tab Settings Name
707 | Iy Air
708 | Tab Title
709 | isao@happyboy:~
710 | TabSelected
711 |
712 |
713 |
714 | Tab Scrollback Restorable
715 |
716 | Tab Session Class ID
717 | 4F6EDC84-3269-491B-9C53-5E9D50B5ABAE
718 | Tab Settings
719 |
720 | BackgroundColor
721 |
722 | YnBsaXN0MDDUAQIDBAUGFRZYJHZl
723 | cnNpb25YJG9iamVjdHNZJGFyY2hp
724 | dmVyVCR0b3ASAAGGoKMHCA9VJG51
725 | bGzTCQoLDA0OV05TV2hpdGVcTlND
726 | b2xvclNwYWNlViRjbGFzc0cxIDAu
727 | ODgAEASAAtIQERITWiRjbGFzc25h
728 | bWVYJGNsYXNzZXNXTlNDb2xvcqIS
729 | FFhOU09iamVjdF8QD05TS2V5ZWRB
730 | cmNoaXZlctEXGFRyb290gAEIERoj
731 | LTI3O0FIUF1kbG5wdYCJkZSdr7K3
732 | AAAAAAAAAQEAAAAAAAAAGQAAAAAA
733 | AAAAAAAAAAAAALk=
734 |
735 | CommandString
736 |
737 | Font
738 |
739 | YnBsaXN0MDDUAQIDBAUGGBlYJHZl
740 | cnNpb25YJG9iamVjdHNZJGFyY2hp
741 | dmVyVCR0b3ASAAGGoKQHCBESVSRu
742 | dWxs1AkKCwwNDg8QVk5TU2l6ZVhO
743 | U2ZGbGFnc1ZOU05hbWVWJGNsYXNz
744 | I0AqAAAAAAAAEBCAAoADXU1lbmxv
745 | LVJlZ3VsYXLSExQVFlokY2xhc3Nu
746 | YW1lWCRjbGFzc2VzVk5TRm9udKIV
747 | F1hOU09iamVjdF8QD05TS2V5ZWRB
748 | cmNoaXZlctEaG1Ryb290gAEIERoj
749 | LTI3PEJLUltiaXJ0dniGi5afpqmy
750 | xMfMAAAAAAAAAQEAAAAAAAAAHAAA
751 | AAAAAAAAAAAAAAAAAM4=
752 |
753 | FontAntialias
754 |
755 | FontHeightSpacing
756 | 0.91021925403225801
757 | FontWidthSpacing
758 | 0.9994959677419355
759 | Linewrap
760 |
761 | ProfileCurrentVersion
762 | 2.02
763 | RunCommandAsShell
764 |
765 | ShouldLimitScrollback
766 | 1
767 | ShowActiveProcessInTitle
768 |
769 | ShowCommandKeyInTitle
770 |
771 | ShowDimensionsInTitle
772 |
773 | ShowShellCommandInTitle
774 |
775 | VisualBell
776 |
777 | WindowTitle
778 |
779 | columnCount
780 | 80
781 | fontAllowsDisableAntialias
782 | 1
783 | keyMapBoundKeys
784 |
785 | $F708
786 | [25~
787 | $F709
788 | [26~
789 | $F70A
790 | [28~
791 | $F70B
792 | [29~
793 | $F70C
794 | [31~
795 | $F70D
796 | [22~
797 | $F70E
798 | [33~
799 | $F70F
800 | [34~
801 | $F729
802 | [H
803 | $F72B
804 | [F
805 | $F72C
806 | [5~
807 | $F72D
808 | [6~
809 | F704
810 | OP
811 | F705
812 | OQ
813 | F706
814 | OR
815 | F707
816 | OS
817 | F708
818 | [15~
819 | F709
820 | [17~
821 | F70A
822 | [18~
823 | F70B
824 | [19~
825 | F70C
826 | [20~
827 | F70D
828 | [21~
829 | F70E
830 | [23~
831 | F70F
832 | [24~
833 | F710
834 | [25~
835 | F711
836 | [26~
837 | F712
838 | [28~
839 | F713
840 | [29~
841 | F714
842 | [31~
843 | F715
844 | [32~
845 | F716
846 | [33~
847 | F717
848 | [34~
849 | F728
850 | [3~
851 | F729
852 | scrollToBeginningOfDocument:
853 | F72B
854 | scrollToEndOfDocument:
855 | F72C
856 | scrollPageUp:
857 | F72D
858 | scrollPageDown:
859 | ^F702
860 | b
861 | ^F703
862 | f
863 | ~F702
864 | b
865 | ~F703
866 | f
867 | ~F704
868 | [17~
869 | ~F705
870 | [18~
871 | ~F706
872 | [19~
873 | ~F707
874 | [20~
875 | ~F708
876 | [21~
877 | ~F709
878 | [23~
879 | ~F70A
880 | [24~
881 | ~F70B
882 | [25~
883 | ~F70C
884 | [26~
885 | ~F70D
886 | [28~
887 | ~F70E
888 | [29~
889 | ~F70F
890 | [31~
891 | ~F710
892 | [32~
893 | ~F711
894 | [33~
895 | ~F712
896 | [34~
897 |
898 | name
899 | Iy Air
900 | noWarnProcesses
901 |
902 |
903 | ProcessName
904 | rlogin
905 |
906 |
907 | ProcessName
908 | telnet
909 |
910 |
911 | ProcessName
912 | ssh
913 |
914 |
915 | ProcessName
916 | slogin
917 |
918 |
919 | ProcessName
920 | less
921 |
922 |
923 | ProcessName
924 | man
925 |
926 |
927 | rowCount
928 | 20
929 | type
930 | Window Settings
931 |
932 | Tab Settings Name
933 | Iy Air
934 | Tab Title
935 | isao@happyboy:~
936 | Tab Working Directory URL
937 | file:///Users/isao/
938 | TabSelected
939 |
940 |
941 |
942 | WindowNumber
943 | 2
944 |
945 |
946 | name
947 | IyAir2xRHS
948 | type
949 | Window Group
950 |
951 |
952 |
--------------------------------------------------------------------------------