rejetto forum

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 - bmartino1

Pages: 1 2
1
HTML & templates / thoughts? python joining the html code side
« on: July 07, 2020, 09:48:55 AM »
my thoughts are interested as I will begin a new test with his js and python:

https://medium.com/swlh/sick-of-javascript-just-use-browser-python-4b9679efe08b

Basically someone coded a python runtime in Javascript

brython.js
No installation is required for Brython. Just import the script inside <head> :
<script type=”text/javascript” src=”https://cdn.jsdelivr.net/npm/brython@3.8.9/brython.min.js">
Running Brython
In order for Brython to convert and evaluate the Python code as if it were normal JS, we need to call brython right when the document’s body loads, like so:
<body onload=”brython()”>

Might be a new way to run php

2
HFS ~ HTTP File Server / Http / 3 Thoughts
« on: October 23, 2019, 06:42:39 PM »

3
Everything else / No news is good news
« on: March 04, 2018, 02:01:16 AM »
Suprise to visit the four to see very little activity. May final have a chance in spare time to re take a crack at.compilong source or linux vitiral machine setup(as wine has upgraded again)...

Just thought I'd post something. :P

4
Everything else / happy new year (2017)
« on: December 31, 2016, 04:56:57 AM »
Happy new year!

 HFS made it another year :)

5
HFS ~ HTTP File Server / unkown ip in list
« on: October 29, 2015, 06:12:59 PM »
25.117.206.61 is randomly in the HFS program from a fresh downlaod.
see picture.

Any one else having this issue?


6
HFS ~ HTTP File Server / adding mime types to next release
« on: September 02, 2015, 08:32:56 PM »
Hey rejetto

Awesome work as always with the progression of HFS

I was wondering thought if it at all possible to add some mime types as default to the next release

such as Microsoft iss list of mime types.
https://msdn.microsoft.com/en-us/library/bb742440.aspx#ECAA

i recall some old post and other where HFS user required some mime types, and was wondering if your willing to add some to the next release?

such as document files ie
docx / pdf /

or audio/video files:

just a suggestion.
Thank you for your hard work on this.



7
FHFS / is this the admin console ???
« on: April 08, 2015, 03:47:39 AM »
http://www.rejetto.com/forum/fhfs/version-2-0-beta-build-2-release/

quote"New:  Admin console user table now uses pages of 10 accounts to fix where having over ~150 accounts load could crash/overload the server. (admin.usertable.tpl, admin.main.tpl, admin.javascript.tpl)"

*Is the admin console only for FHFS???

i though i saw a download link for a template macro script called this once?  just the admin console template... having a hard time searching for it/ old post i thought it might have been...

Thank you for Any help as it is appreciated.

8
Everything else / Google code shutting down
« on: March 14, 2015, 01:47:15 AM »
*This is the first time, i've see/ herd that google is shuting down one of there services...
For those that are using google code... please refer to this email that i have received...

In programming and tryign to program, google code was a great place to get codes and other files!...

Google Code
Hello,

Earlier today, Google announced we will be turning down Google Code Project Hosting. The service started in 2006 with the goal of providing a scalable and reliable way of hosting open source projects. Since that time, millions of people have contributed to open source projects hosted on the site.

But a lot has changed since 2006. In the past nine years, many other options for hosting open source projects have popped up, along with vibrant communities of developers. It’s time to recognize that Google Code’s mission to provide open source projects a home has been accomplished by others, such as GitHub and Bitbucket.

We will be shutting down Google Code over the coming months. Starting today, the site will no longer accept new projects, but will remain functionally unchanged until August 2015. After that, project data will be read-only. Early next year, the site will shut down, but project data will be available for download in an archive format.

As the owner of the following projects, you have several options for migrating your data.

gcmspivideolightbox

The simplest option would be to use the Google Code Exporter, a new tool that will allow you to export your projects directly to GitHub. Alternatively, we have documentation on how to migrate to other services — GitHub, Bitbucket, and SourceForge — manually.

For more information, please see the Google Open Source blog or contact google-code-shutdown@google.com.

-The Google Code team

Google Inc. 1600 Amphitheatre Parkway, Mountain View, CA 94043
You have received this mandatory email service announcement to update you about important changes to Google Code Project Hosting.

9
HFS ~ HTTP File Server / serving video files
« on: September 08, 2014, 03:09:50 AM »
Found this cool nifty site that might be of great help to just about any one:

http://sandbox.thewikies.com/vfe-generator/

https://web.archive.org/web/20160122050940/http://v4e.thewikies.com:80/

Fill information at the top left to video / music files you have on you hfs server and chose either "html 5" or "WHAt works for me"
Flash only!

source code and html doc ready... :)

Thank you Generator! and its creator!

10
HFS ~ HTTP File Server / How to Host Your Own Cloud v2.0
« on: August 19, 2014, 03:37:13 PM »
http://www.instructables.com/id/How-to-Host-Your-Own-Cloud-v20/step1/Prerequisites/

---in response for --
http://www.rejetto.com/forum/hfs-~-http-file-server/i-cant-get-port-8080-to-work-out-side-my-internet-is-it-a-possible-bug/msg1059401/#msg1059401

---------
Offline jetbreaker
Occasional poster
*
Posts: 1
View Profile  Email  Personal Message (Offline)

Re: I can't get port 8080 to work out side my internet , is it a possible bug ?
« Reply #13 on: August 16, 2014, 10:11:49 AM »
QuoteThank You
Hey Guys,

I've been following this guide http://www.instructables.com/id/How-to-Host-Your-Own-Cloud-v20/

and I'm stuck in Step 4 currently. I have a Linksys E2500 router and I tried using this http://www.yougetsignal.com/tools/open-ports/

But it seems that all my ports are closed and I've tried a million different things and nothing. I can't externally access my publicIP:8080

I don't know what else I can try at this point.

Any help will be very much appreciated,

Thanks!-------

11
Although i was unsuccessful at setup and configure the latest source build to compile here are some helpful informations...

from post:
http://www.rejetto.com/forum/hfs-~-http-file-server/hfs-and-phpmysql/
-----
Probally should be its own post...

Quote from: Mars on May 18, 2014, 04:44:44 PM
turbo delphi 2006 portable
http://freecache31-free.uloz.to/Ps;Hs;fid=5895582;cid=764436158;rid=587271319;up=0;uip=86.213.250.162;tm=1400625243;ut=f;aff=ulozto.net;did=ulozto-net;He;ch=b9e0140b7da50f6051a959914a5e6516;Pe/5895582/turbo-delphi-portable.rar?bD&c=764436158&De&redirs=2

launch tdrun.exe

Thank you again!
To whom it may concern i though that other users may want the terminal comand line version along with this portable version...

Befeore you continue to ensure that you don't corupt youyr system PLEASE DO A SYSTEM RESTORE!
CREATE A SYSTEM RESTOR POINT!

as we/ you will need to add files to your windows system32 folder!

----------
these files are needed in system32 to sucessfuly use the source batch script comand line:
brcc32 data.rc
dcc32 hfs.dpr
pause
---(which is used and the process to compile and make it an excutable!)---
(esentail the entire bin except 2 files [dcc32.cfg and dcc32])

you will need to edit 1 of thoses files and added it to system32 (this is the esentilaconfig file for dcc32 which puts the paths and directiories...

downlaod the required files:
https://drive.google.com/file/d/0B9u5dgydfOEudmc5UnN0M19oOVE/edit?usp=sharing

wokring config file(for me atleast):
--------------CFG File (dcc32.CFG)
-$A8
-$B-
-$C+
-$D+
-$E-
-$F-
-$G+
-$H+
-$I+
-$J-
-$K-
-$L+
-$M-
-$N+
-$O+
-$P+
-$Q-
-$R-
-$S-
-$T-
-$U-
-$V+
-$W-
-$X+
-$YD
-$Z1
-AWinTypes=Windows;WinProcs=Windows;DbiTypes=BDE;DbiProcs=BDE;DbiErrs=BDE
-B
-CG
-GP
-H+
-W+
-M
-$M16384,1048576
-K$00400000

//Use package
-LU vclx100

//Unit directories
-U"C:\Windows\System32\Turbo Delphi Portable\lib";"C:\Windows\System32\Turbo Delphi Portable\lib\Obj";"C:\Windows\System32\Turbo Delphi Portable\Imports"

//Package DPL output directory
-LE"C:\Windows\System32\Turbo Delphi Portable\Projects\Bpl"

//Package DCP output directory
-LN"C:\Windows\System32\Turbo Delphi Portable\Projects\Bpl"

//EXE and DLL output directory
-E "C:\Users\User\compiled"

//Resource directories
-R ""

//Object directories
-O""

//Include directories
-I""

-w-UNSAFE_TYPE
-w-UNSAFE_CODE
-w-UNSAFE_CAST

-------------

You will also need this (the program that mars has shared in the quoted text - nothing changed just another download link if needed...)

download file:
https://drive.google.com/file/d/0B9u5dgydfOEuaU1La2tnZ2FfWmM/edit?usp=sharing

Now you have delphi 6 command live compiler via cmd dcc32 version 18....

will add all the lib when i have them to make it easyer to downlaod and program and edit the soure!
(still having isues on that...)
Modify message
------

i later sent up my libs folder...
redid my windows and cleaned up my paths where my files are (same issues and recompiling issue...

Eventualy help and found this:

http://www.rejetto.com/forum/rq/sources/
----
Quote from: "alkimiya"
Libs used
- TWsocket, by François Piette
- VirtualTreeview and ColorPickerButton, by Mike Lischke
- RegExpr, by Andrey V. Sorokin
- JVCL, by Project JEDI
- MD5, by Matthias Fichtner
- PNGunit, by Jack Goman and Edmund H. Hand

from &RQ:s about box :)

Oh !  ;)
Links, for programmers:
TWsocket: http://www.overbyte.be/
VirtualTreeview and ColorPickerButton: http://www.delphi-gems.com/
RegExpr: http://regexpstudio.com/
JVCL: http://jvcl.sourceforge.net/

But where to find PNGunit ? The page http://sharepower.virtualave.net/png.html
is no longer exist...
-----

Which was okay, i took the longer way around and/or used these sites upon eventauly finding them...

Issue trying to compile it:

all goes fin until jclntfs:
[Pascal Fatal Error] JclNTFS.pas(50): F1026 File not found: 'jcl.inc'

simple code issue not finding fileas at paths:
---
unit JclNTFS;

{$I jcl.inc}
{$I windowsonly.inc}
----

changed line 50

{$I jcl.inc}

to

{$I C:\Windows\System32\Turbo Delphi Portable\lib\jcl.inc}

(which is wehre the libs and jcl files are)

which then turned into error this:

[Pascal Fatal Error] JclNTFS.pas(50): F1026 File not found: 'C:\Windows\System32\Turbo.pas'

Upon searching turbo.pascal is a compile program by itself  and as such i gave up on tryign to compile it...

Either i did wrong by trying to correct the pascal file and messed up my entire resource that may or may not have pointed to turbo.pas

or there is an issue within the jedi sourcforge package that may finish the ability to compile it...

Either or this is just information nothing more

12
Just curious if anyone has setup or started doing something that might enable a count.. (No i don't need a count, jsut want to see if there is a way to add too it...

ie
I have a download link a Http:/xxx.xxx.xxx.xxx/file

I want to program a way so when a "guest/user" clicks to access the file that the webpage goes to:
Http:/xxx.xxx.xxx.xxx/file?1

then the next time a user goes to it:
Http:/xxx.xxx.xxx.xxx/file?2

And continually going up...
-----------------------------------------------------------------------

Possible using VBA with a code like:

(---
Sub URL()

Dim URL As String
Dim count as interger
Dim urlpath as string

URL = "http://xxx.xxx.xxx.xxx/file?"

--
count code code
---

urlpath = URL + count ...etc...
---)

---------------------------------------------------
Just curious if anyone may have a solution to it or have a programmed idea on how to "html web code it"

as i haven't started searching on it...

-----
If it can't be done with programming in a website, then i can see it being a option in hfs:
IE:
(It could be a program serve things that can be implemented) i can see an option in the  hfs menu item being "add a ?# to download links".....
-----

Any Thoughts or ideas?

13
-------------------
Hello, i have re downloaded the current build of fhfs and though i should post my two bins to update and secure you fhfs form the heratblead virus going around!

FHFS version 2.1 is using openssl 1.0.1e and stunnel (2/3 i don't remember), but it is older enough to be vurnalable to attack!

Here are the zipped file contents ( i have tested and it works!at least for me)

just copy and replace and fhfs should be working fine!
---------------
Steps:
Download the zipped files:
https://drive.google.com/file/d/0B9u5dgydfOEuWDFuZ2VPeXhxVWM/edit?usp=sharing

Open your fhfs director
Mine happens to be C:\Program Files\FHFS
look for the folder:
openssl-bin
and
stunnel-bin

extract the corresponding file into theses folder to upgrade them to the secure one!
***(DO THIS AT YOUR OWN RISK I CLAIM NO RESPONSIBILITY IF YOU MESS UP YOUR FHFS SERVER!)***

*Raybob if possible can you re-added/update to include stunnel 5.1 and open ssl 1.0.1g?

zip files soon
https://drive.google.com/file/d/0B9u5dgydfOEuWDFuZ2VPeXhxVWM/edit?usp=sharing

sources:
---
openssl:
http://opendec.wordpress.com/tag/openssl/
downlaod: http://indy.fulgan.com/SSL/openssl-1.0.1g-i386-win32.zip
copy the 2 dll files and the openssl.exe file to the place where openssl is located and tada, you are no longer vulnerable...
------

stunnel:
(Form silentplz and his "s" button to upgrade stunnel!)
https://www.stunnel.org/downloads.html

14
FHFS / FHFS how to change user acount folder file paths?
« on: June 12, 2014, 01:21:46 AM »
I would like to know how/where i need to go and what to do to change my admin folder ".root" to a different file path

Orginal located at /.root

I want it at /Users/.root

(Also want to put all new users and previous (i don't have any previous users...) to that path)
Any help would be appreciated...

--------
Also, another user is haveing a similar issue:
http://www.rejetto.com/forum/fhfs/way-to-change-default-url-root/msg1059171/?topicseen#msg1059171

this user wants the accounts moved to
/webbox/"%user_folder" instead of /%user_folder
-------

thank s in advance! :)

15
I will put instruction to setup files in html and have a base example ready to download latter...

Using live template version 3.0.1

you will need:
adobe reader installed
vlc installed (this should fix browser plugins)
live template 3.0.1 / (or other compatible html video player)

here is a help full site of some of many "mime types" that will need to be added or changed!
http://help.encoding.com/knowledge-base/article/correct-mime-types-for-serving-video-files/

hfs > menu > Other options > mime types

put a check mark in the box ("Open directly in browser when MIME type is defined")
added/change (see picture of the mime types)

**************
Video Player
to use the embed video a client(a machine that will connect to hfs) machine needs a working "codec video player such as "vlc"
http://filehippo.com/download_vlc_32

Password protected resource
create a "new empty folder" (!NOT A REAL FOLDER!)
Create user accounts and assign them to this folder (Only IF you don't want this open to the "Public")

Add the real folder to where you want your music/movie files to be at...
(using live template)- the tpl has a java/flash based video player that will auto play and have download link...

html code:
!!!NEW: Just found this link very help ful for "beginer in embending video files!!!
http://sandbox.thewikies.com/vfe-generator/

(unknown as it depends on client machine and don't feel like programming and/or sharing)
Google it plenty of helpful places.... and or use a "M3U" playlist file....

*******************
PDF:
To use a pdf in a web browser you will need this software:
http://filehippo.com/download_adobe_reader/

now for the html code:
a real folder with your "*.pdf" file in it
right mouse click "properties" the pdf folder > different templates tab

put this html code in:

-------
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta name="generator" content="HTML Tidy for Linux (vers 25 March 2009), see www.w3.org" />
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>PDF SAMPLE</title>
</head>
<body>
<br />
<embed width="100%" height="700" name="plugin" Title="Resume" src="http://192.168.1.254/pdf/sample.pdf" type="application/pdf">
<br />
</body>
</html>
--------

You will need to setup the pdf document to be view able in a web page:
-----
http://helpx.adobe.com/acrobat/kb/cant-view-pdf-web.html

http://help.adobe.com/en_US/acrobat/X/pro/using/WS58a04a822e3e50102bd615109794195ff-7f52.w.html

Edit > Prefference > Documents > (make sure htis box is checed)! Save as optimizes for Fast Web View

File > save as > same file it enables the web code in the pdf...
-----
now open http://192.168.1.254/pdf/sample.pdf
(assume you have adobe reader installed... the pdf is now displayed in the browser...)

***************

A download link of a pre set up version will be available shortly...
username and password if asked:
username: test
password: test

hfs mime types.zip
https://drive.google.com/file/d/0B9u5dgydfOEuMkEtcWVtdGdOYTA/view?usp=sharing

*it is better to put the zip files in this path:
C:\hfs\*"contents of zip"
continents:
 hfs 2.3
(sample pdf and movie/musi files (randomly download from google...))

Good luck and have fun! :)

Pages: 1 2