Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - Greggory Shaw

Pages: 1 2 [3]
31
Hardware / Here's my $366 ($288) OS/2 only build !
« on: February 10, 2015, 11:56:21 pm »
Here's my $366 OS/2 only build, $288 if you use your old case & PSU !

Keep in mind that it's a OS/2 only build no dual boot.

http://os2notes.net/os2machine.html

After looking around I found that the parts for this build that are new and still being produced, or can still be found new in the box. I plan on putting together a hardware webpage with the top 3 options for OS/2 in each hardware category.

I'm guessing any Intel Duo Core 2 will be good enough for OS/2, this motherboard uses (Core 2 Extreme / Core 2 Duo / Pentium D / Celeron).

So, all recommendations are welcome ! The current hardware pages are getting old and I think a new format would be good. I went through all of them before posting here.


Any thoughs ?

Greggory

32
Web applications / New OS/2 news system & format ?
« on: February 05, 2015, 06:49:41 am »
OS/2 Newspaper style - jQuery Pinterest Grid

Is anyone interested in this style format for news. Yes, not styled yet it's just a demo.

http://os2notes.net/os2news.php

And using one page that submits new to all new site - http://news.warpevents.eu/en/home/submit_news.html

Does anybody have experience with the drag and drop files to browser using html5 - http://html5demos.com/dnd-upload

It would be nice to just drop a file on a standard submit news page (developed and used by everyone) and it be upload to Hobbes or any server specific.

1) One html5 page
2) Drag & Drop once
3) A standard used by all

Interested in helping ???

Greggory
 

33
Programming / Need PHP help for Os2notes.net !
« on: February 04, 2015, 09:00:42 am »
Need for help with PHP for my site !

I have some php code for a Hobbes listing on my site that needs some help:

 http://os2notes.net/#ftplist

1) I would like to filter out the .txt files in column one.
2) Add a html link for the filter out .txt item to column two.
2b) Parse the 'Short description' from the README.TEMPLATE & display it !

3) Filter an item by name or partial name.
4) limit the items to be printed.


It would also help me with a new news format I'm working on, RSS to html format.

http://os2notes.net/pin.php


Thanks   

Greggory


Code: [Select]
<?php

$filetypes 
= array('-'=>'file''1'=>'directory''l'=>'link');

// little helper functions
function byteconvert($bytes) {
$symbol = array('B''KB''MB''GB''TB''PB''EB''ZB''YB');
$exp floorlog($bytes) / log(1024) );
return sprintf'%.1f ' $symbol$exp ], ($bytes pow(1024floor($exp))) );
}


$c ftp_connect('128.123.34.6');
ftp_login($c'anonymous''anonymous@anon.com');
$rawList ftp_rawlist($c'/pub/incoming');

function 
itemize_dir($contents) {
   foreach (
$contents as $file) {
       if(
ereg("([-dl][rwxstST-]+).* ([0-9]*) ([a-zA-Z0-9]+).* ([a-zA-Z0-9]+).* ([0-9]*) ([a-zA-Z]+[0-9: ]*[0-9])[ ]+(([0-9]{2}:[0-9]{2})|[0-9]{4}) (.+)"$file,$regs)) {
           
$type = (int) strpos("-dl"$regs[1]{0});
           
$tmp_array['line'] = $regs[0];
           
$tmp_array['type'] = $type;
           
$tmp_array['rights'] = $regs[1];
           
$tmp_array['number'] = $regs[2];
           
$tmp_array['user'] = $regs[3];
           
$tmp_array['group'] = $regs[4];
           
$tmp_array['size'] = $regs[5];
           
$tmp_array['date'] = date("m-d",strtotime($regs[6]));
           
$tmp_array['time'] = $regs[7];
           
$tmp_array['name'] = $regs[9];
       }
       
$dir_list[] = $tmp_array;
   }
   return 
$dir_list;
}

$buff $rawList;
$items itemize_dir($buff);
//$items = array_sort($items, 'date', SORT_DESC);


//the data you supplied. normally just an array 
$data $items

//show what we got going into sort 
//echo '<pre>'.print_r($data, 1).'</pre>'; 

function cmp($a,$b){ 

//get which string is less or 0 if both are the same 
$cmp strcasecmp($b['date'], $a['date']); 

//if the strings are the same, check name 
if($cmp == 0){ 
//compare the name 
$cmp strcasecmp($a['name'], $b['name']);
 } 
return $cmp


//sort using a custom function 
usort($data'cmp'); 
//show what we got after sort 
//echo '<pre>'.print_r($data, 1).'</pre>'; 

//foreach ($data as $filename => $fileinfo) {
//      echo  $fileinfo['date'] . " - " . $fileinfo['name'] . " - " . $fileinfo['time'] . "  | " . //byteconvert($fileinfo['size']) .  " " . "<br>";
//  }

$dir = array();
  
$file = array();
  foreach (
$data as $k => $v) {
    if (
$v['rights']{0} == "d") {
      
$dir[$k] = $v;
    } elseif (
$v['rights']{0} == "-") {
      
$file[$k] = $v;
    }
  }

foreach (
$file as $filename => $fileinfo) {
      

echo 
"
<table width=\"100%\">
<col style=\"width:69%\">
<col style=\"width:31%\">
<tbody>
<tr>

<td>"
"<li>" 
$fileinfo['date'] . " - " "<a href=\"http://hobbes.nmsu.edu/download/pub/incoming/"
$fileinfo['name'] .""     $item->id_str ."\" target=\"_blank\">"
$fileinfo['name'] ."</a>" 
."</li>" "
</td>

<td float=\"right\">" 
 
"<a class=\"various\" data-fancybox-type=\"iframe\"  href=\"http://hobbes.nmsu.edu/download/pub/incoming/"
 
$fileinfo['name'] .""
 
$item->id_str ."\" target=\"_blank\">Download</a>" ." | " "<a href=\"#\" class=\"togglelink\">Details</a>"   
 
"    <div class=\"toggle\" style=\"display: block;\">" 
 
$fileinfo['line'] ." </div>" " " ." | "
 
byteconvert($fileinfo['size']) . "
</td>
</tr>

<tbody>
</table>"
;
}

echo 
"directories: ";

foreach (
$dir as $dirname => $dirinfo) {
      echo 
"

<td>"
"<li>" 
"<a href=\"http://hobbes.nmsu.edu/download/pub/incoming/"
$dirinfo['name'] . ""
$item->id_str    "\" target=\"_blank\">"
$dirinfo['name'] . "</a>" " - " 
$dirinfo['time'] . "</li>" "
</td>


$dirname ] " 
$dirinfo['name']  . " | " 
$dirinfo['type']  . " | "
$dirinfo['group'] . " | " 
$dirinfo['month'] . " " 
$dirinfo['day']   . " " 
$dirinfo['time']  . "<br>";

}
?>



34
Setup & Installation / Encrypting Home Directory ?
« on: July 24, 2014, 08:31:51 am »
Does eCS use the Home directory on startup ?

I've been playing around with rsync and AES, stunnel, others.

And AES with rsync, stunnel you need control of both points.

Sftp from Openssh ?

Thanks

Greggory

35
Setup & Installation / Help ! How to: Installing MPlayer/2 !
« on: July 11, 2014, 02:11:35 am »
I need help proofing an article for Os2world.com - Howto: Installing MPlayer/2

http://www.os2notes.com/os2mplayer2.html

1) Any additions needed.
2) Grammar and spelling.
3) Don't report any formatting errors, will fix last.
4) Does the Set statement for the codec dir needed anymore ?
5) Add to the Frequently_Asked_Questions sections
6) Add to the Tips sections
 
And FINALLY someone to add it to the Wiki for Martin, it's really a lot of work - a little help is wonderful sometimes !


Cheers

Greggory
 

36
Programming / MPlayer/2 Drag & Drop install script /w Mp3 support !
« on: April 01, 2014, 07:38:55 pm »
Media Pack v.006 - I added a few things to Jeps install script. I'm going to be offline for awhile.






Updated to v.006

Media Pack started as a Rexx install script for mPlayer (by Jep !), now it has the ablity to install mPlayer/2 by Drag & Drop. The ability to install the MP3 codec and remove the old MMAVI class has also been added to the script.


Backup up the .mplayer directory in the home directory

I need to add a backup for existing 'config' files.

Download here: http://os2notes.com/os2mplayer.html


Cheers,

Greggory

37
Programming / 3 in1 Drag&Drop Mozilla install script !
« on: April 01, 2014, 08:37:08 am »
Firefox, Thunderbird and Seamonkey - Drag&Drop install script!





I got sick of installing Firefox manually, so I wrote this script. Just drop any Firefox zip file on the object and it automatically unzips and installs Firefox. It has two options, 1) update existing installation and 2) specify install location for Firefox !

The latest version of FirefoxDD v.017b:

1) FirefoxDD: which adds advanced install options for FF, TB & SM - including backups and RUN! - switched the versioning to match the level of latest Firefox supported.

Download the script here: http://os2notes.net/os2firefoxdd.html


Updated to v.017b

Simple install option:
- Keeps file associations intact
- Backups previous installation
- Now handles Firefox, Thunderbird & Seamonkey
- Includes the latest required DLLs

Advanced install option:
- Now handles Firefox, Thunderbird & Seamonkey
- Optional backup of the previous version
- Specify location for installation
- RUN! is now included - auto setup has now been added.


Cheers,

Greggory

38
Setup & Installation / How do you transfer your old WPS to eCS 2.2 ?
« on: March 13, 2014, 06:10:25 am »
I was thinking about a new install of my eCS 2.1 system.

So the question is with eCS 2.2 coming out soon, is there a way to transfer your old desktop ?

I think I remember Object Desktop had that ability.

Thanks,

Greggory

39
General Discussion / Website - Os/2 Release Notes is back up !
« on: February 25, 2014, 01:03:29 pm »
Web site - Os/2 Release Notes is back at:

http://os2notes.com/


Cheers

Greggory Shaw

40
Could somebody please post the install script from the article on Os2World
detailing installation of mPlayer ! The old forum posts are gone.

Also, is there any way to add code to it that will deregister the OLD avi codecs
that come with Os2/eCS ???

Thank you to the person that wrote it !!!


Greggory

Pages: 1 2 [3]