AutoHotkey Community

It is currently May 27th, 2012, 6:49 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 113 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6, 7, 8  Next
Author Message
 Post subject:
PostPosted: August 22nd, 2011, 1:14 pm 
Offline

Joined: March 16th, 2005, 10:33 pm
Posts: 969
Location: Frisia
Just some more ideas:

- Windows constants database

const|constant.ahk4.me/?c=EM_GETSEL&f=h|d

would return the hexadecimal/decimal value of the windows constant

- Windows API

winapi.ahk4.me/?a=GetCaretBlinkTime&f=d|c

would return the Windows API documentation|code examples

- Syntax files

syntax.ahk4.me/?e=Scite&v=black

would return a .zip file with the specific syntax files for the selected editor (+ installation script)

- Process info

proc|process.ahk4.me/?p=autohotkey.exe

would return information about the process (known/safe)

- Virus check

virus.ahk4.me

upload a file (to virustotal or similar), and get results back

- File/process update

update.ahk4.me/?f=autohotkey&v=L

would return update information about a file/process and its version (are there newer versions, if so: return update link)

- Whois

whois.ahk4.me/?ip=123.123.123.123
whois.ahk4.me/?d=www.autohotkey.com

would return whois information about ip/url

- DNS

dns.ahk4.me/?d=www.autohotkey.com

would return the corresponding IP

- Encrypt

encrypt.ahk4.me/?s=somestring&p=somepass&t=AES256
encrypt.ahk4.me

https://ahk4me-secured-by.xlhost.de/encrypt/

would return an encrypted string/file (mirror over https)

- CRC

crc.ahk4.me

would return a checksum of the uploaded file

- Document converter

convert.ahk4.me

would return a converted file (e.g.: txt2pdf, xls2csv, png2jpg)
____________

If you have more ideas, comments, know free APIs to do the above or something else you want, please comment.

_________________
Image mirror 1mirror 2mirror 3ahk4.me • PM or Image


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: August 22nd, 2011, 3:22 pm 
Offline

Joined: March 16th, 2005, 10:33 pm
Posts: 969
Location: Frisia
You could take a look at the listing of APIs at programmableweb for more ideas. Please request only generic and free API access.

_________________
Image mirror 1mirror 2mirror 3ahk4.me • PM or Image


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: August 22nd, 2011, 6:26 pm 
Offline
User avatar

Joined: November 2nd, 2008, 4:23 pm
Posts: 2906
Location: 127.0.0.1
I can cut the site down to about 30kb (from 300kb) or make a simple form submit site (1.5kb). The larger version can be compressed slightly more to save a few kb.

My personal opinion is that wasting server resources on a shared host is wrong and inconsiderate. Basic input validation should be done on the client to prevent unnecessary server calls. I could add more URL validation to the JavaScript, but you don't want that, correct?

My professional opinion is features such as modernizer are worth it. Its a trade off between speed and development time (e.g. ASM vs AutoHotkey).

If you want a simple version with no JavaScript that's easy, but I prefer the way I do it.

Here's the simple version (1.5kb):
http://new.aboutscript.com/ahk4me_simple.zip

This is my preferred version with unnecessary files removed (34.6kb):
http://new.aboutscript.com/ahk4me_small.zip

_________________
aboutscriptappsscripts
Any code ⇈ above ⇈ requires AutoHotkey_L to run


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: August 22nd, 2011, 8:40 pm 
Offline

Joined: March 16th, 2005, 10:33 pm
Posts: 969
Location: Frisia
Thanks Frankie! 8)

I installed your small version.

It can be reached at shorten.ahk4.me.

Do we need a reverse version at expand.ahk4.me?

_________________
Image mirror 1mirror 2mirror 3ahk4.me • PM or Image


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: August 22nd, 2011, 8:56 pm 
Offline

Joined: December 26th, 2010, 7:40 pm
Posts: 4172
Location: Awesometown, USA
daonlyfreez wrote:
Do we need a reverse version at expand.ahk4.me?

No. Why would you ever use that other than to verify a link's integrity?

Speaking of which, do you have the ability to delete non-ahk links?

_________________
Autofire, AutoClick, Toggle, SpamWindow Control Tools
Recommended: AutoHotkey_L


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: August 22nd, 2011, 9:10 pm 
Offline

Joined: March 16th, 2005, 10:33 pm
Posts: 969
Location: Frisia
Quote:
No. Why would you ever use that other than to verify a link's integrity?


To expand it before sending the user to it, as a safety check?

Quote:
Speaking of which, do you have the ability to delete non-ahk links?


I thought I could, but apparently this isn't possible at all with bit.ly

_________________
Image mirror 1mirror 2mirror 3ahk4.me • PM or Image


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: August 23rd, 2011, 3:38 pm 
Instead of pasting the "current version" of the sites files here...how about putting the whole site's source in Bitbucket?...or...more simply, make src.ahk4.me be a way to browse the site's source?


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: August 23rd, 2011, 4:43 pm 
Offline
User avatar

Joined: November 2nd, 2008, 4:23 pm
Posts: 2906
Location: 127.0.0.1
Sure thing. I'll put my part on GitHib as soon as I get a half decent connection. :)

_________________
aboutscriptappsscripts
Any code ⇈ above ⇈ requires AutoHotkey_L to run


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: August 23rd, 2011, 5:20 pm 
@Guest: Excellent idea. I'll see what I can do. Gimme some time.


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: August 23rd, 2011, 7:02 pm 
Offline
User avatar

Joined: November 2nd, 2008, 4:23 pm
Posts: 2906
Location: 127.0.0.1
I threw up an initial commit. It's just the full site, but I can fork it with the smaller version(s).

https://github.com/brigand/ahk4me-Shorten-Page

EDIT: Updated git remote.

_________________
aboutscriptappsscripts
Any code ⇈ above ⇈ requires AutoHotkey_L to run


Last edited by Frankie on October 2nd, 2011, 8:35 pm, edited 1 time in total.

Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: August 24th, 2011, 7:19 am 
Frankie wrote:
I'll put my part on GitHib...

...not to start a war, but why GitHib over Bitbucket?

I tested both a couple days ago (website only) & found that I think I like Bitbucket more...for example, they allow unlimited username changes (GitHub allows 1 username change EVER {why?}) & they just seem generally less restrictive than GitHub. I know Bitbucket uses Mercurial & GitHub uses Git...but any other reasons to choose one over the other?

I've never used any VCS & I really need to choose one. However, I'd actually like to just "upload" my changed files to Bitbucket (& have it generate the diff/do the Mercurial thing to it), instead of installing Mercurial on my local comp & doing it the "normal way". I don't really want a "local" VCS, just an online one.

I also want a VCS where EVERYTHING can be easily edited/changed at any time. Most VCS's don't support editing the history/commit msg easily. Mercurial can seemingly do it with some extension, but you still "have to do it very carefully" with the command line & have to know what you are doing.

This part of the discussion should probably be split to it's own topic.

n-l-i-d wrote:
...I'll see what I can do. Gimme some time.

...Bitbucket or GitHib?


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: August 24th, 2011, 3:52 pm 
Offline
User avatar

Joined: November 2nd, 2008, 4:23 pm
Posts: 2906
Location: 127.0.0.1
Two reasons. I have a GitHub account and I have git.

It's just a few clicks in explorer to push changes.

Btw, I didn't check bitbucket... still. I've had about a 0.03 megabytes per second connection the past few days.

_________________
aboutscriptappsscripts
Any code ⇈ above ⇈ requires AutoHotkey_L to run


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: September 9th, 2011, 12:19 pm 
Offline

Joined: March 16th, 2005, 10:33 pm
Posts: 969
Location: Frisia
Bump: Sorry, guys and gals, but I'm very short on time currently.

Will continue working on this asap.

In the meantime, if you want an ahk4.me emailaddress, please write me a PM.

_________________
Image mirror 1mirror 2mirror 3ahk4.me • PM or Image


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: September 9th, 2011, 7:10 pm 
Offline

Joined: March 16th, 2005, 10:33 pm
Posts: 969
Location: Frisia
GitHub repository added:

https://github.com/daonlyfreez/ahk4me

Or download a .zip-file with all files from here.

HTH

_________________
Image mirror 1mirror 2mirror 3ahk4.me • PM or Image


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: September 10th, 2011, 12:18 pm 
I'll add a Bitbucket repository asap.


Report this post
Top
  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 113 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6, 7, 8  Next

All times are UTC [ DST ]


Who is online

Users browsing this forum: Apollo and 19 guests


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group