Search found 70 matches
- Mar 19, 2024 11:54
- Forum: Sources, Examples, Tips and Tricks
- Topic: 30k simple web server
- Replies: 41
- Views: 28778
Re: 30k simple web server
Great little webserver mucho kudos to 'parkeet' and other contributions made! Here are some workarounds for some issues I came across while using the code. a) handles are not released on win 7 and win 10 ' possible fix for issue with increasing handles ThreadDetach( client->recvthread ) @line 230 an...
- Jan 16, 2024 12:08
- Forum: Sources, Examples, Tips and Tricks
- Topic: basic svg animation with fb and sdl2
- Replies: 0
- Views: 500
basic svg animation with fb and sdl2
description Very basic animation with svg (Scalable Vector Graphics) using sdl2, sdl_image and fb. usage : arrow left / right or numpad 4 / 5 to switch svg's arrow up / down or numpad plus / minus to increase / decrease home first svg end last svg F11 fullscreen ESC quit app ' svg animation with fb...
- Jan 04, 2024 13:35
- Forum: General
- Topic: Latest Bass Library and MP3 files
- Replies: 11
- Views: 1077
Re: Latest Bass Library and MP3 files
Not exactly a bass expert but you could give this a whirl: https://github.com/thrive4/app.fb.audioplayer-bass https://github.com/thrive4/app.fb.audioplayer-bass/releases Compiled with the 32 bit version v2.4.16.7 (some what older version) might help to attain if the issue is 64bits, a more recent ve...
- Jan 04, 2024 13:23
- Forum: Projects
- Topic: mouse and keyboard emulator via gamepad utility with sdl2
- Replies: 1
- Views: 1520
Re: mouse and keyboard emulator via gamepad utility with sdl2
Quite a number of updates thought I would pass it on. update v1.2 04/01/2024 - refactored most gamepad input code for better handling . added independent acceleration per stick improved mouse . click with left and right trigers etc. - tweaked .mke(s) - corrected screensize factor acceleration . now ...
- Dec 19, 2023 10:55
- Forum: Projects
- Topic: sqlite import / export util supports csv, json, html, sql and xml
- Replies: 2
- Views: 1593
Re: sqlite import / export util supports csv, json, html, sql and xml
Integrated previously posted functionality from: https://www.freebasic.net/forum/viewtopic.php?p=296549 'barebone export mp3 cover (jpeg / png) no dll's' https://www.freebasic.net/forum/viewtopic.php?p=288025 'mht 2 html' update v1.2 18/12/2023 - integrated mp3 album cover export | from https://gith...
- Nov 07, 2023 10:43
- Forum: Community Discussion
- Topic: Question for adeyblue
- Replies: 9
- Views: 3131
Re: Question for adeyblue
Sorry, thrive4 but after about a minute of River Man my boat started to take in water rapidly and eventually sank. Alas... :wink: If he tells me all he knows 'Bout the way his river flows I don't suppose It's meant for me Oh, how they come and go Oh, how they come and go Musical preferences aside, ...
- Nov 06, 2023 18:42
- Forum: Community Discussion
- Topic: Question for adeyblue
- Replies: 9
- Views: 3131
Re: Question for adeyblue
So let's throw a curve ball between Russ Abbott's - Atmosphere and Floyd's - Shine On You Crazy Diamond Nick Drake - Riverman https://duckduckgo.com/?kl=us-en&q=nick+drake+-+river+man&t=seamonkey&iax=videos&ia=videos&iai=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DidcaRTg4-fM htt...
- Nov 04, 2023 12:20
- Forum: Projects
- Topic: commandline zip packer / unpacker util using libzip
- Replies: 2
- Views: 1473
Re: commandline zip packer / unpacker util using libzip
Good to hear that the code was of some use to you. Have fun with it! Bye the bye some other avenues worth while looking into: https://www.freebasic.net/forum/viewtopic.php?t=23706 7zip Example - by nimdays or writing an shell wrapper around: https://www.7-zip.org/download.html specifically 7za.exe (...
- Nov 04, 2023 12:07
- Forum: Projects
- Topic: sqlite import / export util supports csv, json, html, sql and xml
- Replies: 2
- Views: 1593
Re: sqlite import / export util supports csv, json, html, sql and xml
Quite a chuncky update added and fixed the following: update v1.1 02/11/2023 - added export meta info mp3 to other fileformats | csv, json, sql and xml - added export meta info mp3 album to html - added filter table javascript | courtesy to: https://www.w3schools.com/howto/howto_js_filter_table.asp ...
- Oct 26, 2023 14:41
- Forum: General
- Topic: I want to write a program that listens on a http port and can send a webpage back
- Replies: 6
- Views: 1817
Re: I want to write a program that listens on a http port and can send a webpage back
Maybe this could help: https://www.freebasic.net/forum/viewtopic.php?t=4199&hilit=Simple+Web+Server&start=15 The modified code by 'cha0s' works rather well. Tested on windows 7 with Const WM_SHELLNOTIFY = WM_USER + 5 Const ID_RUN = 1001 Const ID_PAUSE = 1002 Const ID_EXIT = 1003 Const SERVER...
- Oct 21, 2023 12:17
- Forum: Sources, Examples, Tips and Tricks
- Topic: convert unixtime from and to datetime notation
- Replies: 3
- Views: 1625
Re: convert unixtime from and to datetime notation
@caseih On Windows you'll want to use _mktime64 and friends Yep see function date2unixtime() The 2038 thing is probably not that big of an issues... Hmmm true to to a degree still there are probably a number of loose ends... https://lwn.net/Articles/776435/ ..I pity the poor folk in 292,277,026,596 ...
- Oct 21, 2023 11:49
- Forum: Beginners
- Topic: Analizing characters in a String
- Replies: 11
- Views: 3082
Re: Analizing characters in a String
Riffing on the code of counting_pine ' check if string contains alphanumeric value ' courtesy counting_pine https://www.freebasic.net/forum/viewtopic.php?p=166250&hilit=isalphanum#p166250 function isalphanumeric(haystack as string) as boolean dim i as integer do select case asc(mid(haystack, i, ...
- Oct 12, 2023 17:45
- Forum: Beginners
- Topic: LibZip libraries and include files
- Replies: 6
- Views: 1805
Re: LibZip libraries and include files
Also wanted to extend a hearty thanks to 'srvaldez'
for sharing the libzip dlls (windows 32bit / 64bit)
with us.
I've made a small util which can be found here:
viewtopic.php?t=32413
for sharing the libzip dlls (windows 32bit / 64bit)
with us.
I've made a small util which can be found here:
viewtopic.php?t=32413
- Oct 12, 2023 17:41
- Forum: Sources, Examples, Tips and Tricks
- Topic: convert unixtime from and to datetime notation
- Replies: 3
- Views: 1625
convert unixtime from and to datetime notation
Still a bit sketchy when it comes to timezones but by and large does the trick... These routines where needed when using libzip for (preserving time and date stamp) from and to the zip archive. See: https://www.freebasic.net/forum/viewtopic.php?t=32413 ' courtesy dodicat https://www.freebasic.net/fo...
- Oct 12, 2023 17:29
- Forum: Projects
- Topic: commandline zip packer / unpacker util using libzip
- Replies: 2
- Views: 1473
commandline zip packer / unpacker util using libzip
description A 'proof of concept' utility that allows for packing (recursive) and unpacking of files and folders from and to a zip archive. Additionally it has a -t option illustrating passing a text string (data) directly from freebasic to a created zip file. From a code perspective there are numer...