Search found 1740 matches

by big_bass
Tue 22 Nov 2011, 01:59
Forum: Programming
Topic: BaCon - Bash-based Basic-to-C converter/compiler
Replies: 525
Views: 300605

indentbb

do you want to conserve space indentation with bb code ?
it can be automated with a compiled standalone bin
http://basic-converter.proboards.com/in ... thread=183

Joe
by big_bass
Mon 21 Nov 2011, 21:00
Forum: Programming
Topic: Open terminal killer
Replies: 15
Views: 4217

double post
by big_bass
Mon 21 Nov 2011, 20:51
Forum: Programming
Topic: Open terminal killer
Replies: 15
Views: 4217

I call this kill_rxvt and I made it a script on my desktop
I have been using this for a long time
it can be used as a kill by name just by replacing rxvt with some other command


Code: Select all

pid=$(ps aux | grep "rxvt" | awk '{print $2}')&& kill -9 $pid
Joe
by big_bass
Mon 21 Nov 2011, 20:32
Forum: Puppy Derivatives
Topic: TXZ_pup 4.5
Replies: 482
Views: 215867

bash upgrade to the latest 4.2 http://www.puppy2.org/slaxer/bash-4.2-5_SLXR.tgz I am updating things for Bacon if anyone is wondering what I am doing lately I will be spending my time writing apps in Bacon code may new apps to come http://www.murga-linux.com/puppy/viewtopic.php?t=48901&start=40...
by big_bass
Sun 20 Nov 2011, 04:35
Forum: Programming
Topic: BaCon - Bash-based Basic-to-C converter/compiler
Replies: 525
Views: 300605

found a cheat to make indentations I did a lot of searching for this BBcode hack it converts the underscore to white so when you quote its invisible :D can you see the white line ? _____ I placed a space before the first left bracket so you could see the code here [ color=#FAFAFA]_____[/color] the f...
by big_bass
Sat 19 Nov 2011, 18:13
Forum: Programming
Topic: BaCon - Bash-based Basic-to-C converter/compiler
Replies: 525
Views: 300605

bacon2html UPDATED NOV -28-2011 taking your *.bac BaCon code and adding keyword highlighting color in html format so that you can post your BaCon / HUG code anywhere 8-) no middle step needed converts directly to html http://www.puppy2.org/slaxer/bacon2html-2-6_SLXR.tgz *I posted this in the BaCon ...
by big_bass
Fri 18 Nov 2011, 14:41
Forum: Puppy Derivatives
Topic: TXZ_pup 4.5
Replies: 482
Views: 215867

with this you can see what hardware is inside
there are just a few options

HP W500 802.11a/b/g WLAN
Intel PRO/Wireless 2100 802.11b WLAN
Intel PRO/Wireless 2200BG 802.11b/g WLAN


http://h18000.www1.hp.com/products/quic ... ifications

Joe
by big_bass
Sat 12 Nov 2011, 23:08
Forum: Programming
Topic: A question of "bad substition".
Replies: 9
Views: 2655

I know that you know about arrays but they are also very useful when doing loops on data they are very fast this feature is often overlooked for pure POSIX solutions bash 4 has even more power with arrays and you have a complete tool this is easier S=(1 2 3) # get each array echo ${S[0]} echo ${S[1]...
by big_bass
Sat 12 Nov 2011, 14:41
Forum: Programming
Topic: A question of "bad substition".
Replies: 9
Views: 2655

Hey sunburnt I think you missed the idea I was trying to project in your other thread about awk this is very easy using arrays code readabilty is a factor to when you have to keep track of large files with multiple searches of unique data # But this errors: S='1 2 3' echo ${#${S//[^ ]/}} your string...
by big_bass
Fri 11 Nov 2011, 19:22
Forum: Programming
Topic: BaCon Bits
Replies: 167
Views: 109832

Arrays must be declared with fixed dimensions, meaning that it is not possible to determine the dimensions of an array using variables or functions, so during program runtime. The reason for this is that the C compiler needs to know the array dimensions during compile time. Therefore the dimensions...
by big_bass
Fri 11 Nov 2011, 17:05
Forum: Programming
Topic: BaCon Bits
Replies: 167
Views: 109832

Thanks GatorDog and vovchik for code examples I wanted to fix a small part of the bacon2bb code that adds the grey color to the comments and using regular expressions simplifies this little part of the code to reduce it down to just this idea the fix will follow Joe code http://www.puppy2.org/slaxer...
by big_bass
Wed 09 Nov 2011, 15:40
Forum: Puppy Derivatives
Topic: Is Jemimah's original Puppeee still available?
Replies: 87
Views: 70099

I'm not good at being only moderately obsessed with something which is why I probably shouldn't work large projects by myself. I simply can't be the main person responsible to maintain a whole os, a whole website, and a whole package repo. It's insane. insanity is doing the same thing over and over...
by big_bass
Wed 09 Nov 2011, 14:26
Forum: Programming
Topic: BaCon Bits
Replies: 167
Views: 109832

thanks vovchik,GatorDog for the great code snippets and thanks for sparking the question sunburnt I was trying to do arrays in BaCon too as I was following the presize.bac code GatorDog posted since I am used to doing this in bash I want to do it in Bacon also arrays are the easy way to pull out dat...
by big_bass
Mon 07 Nov 2011, 00:34
Forum: Puppy Derivatives
Topic: TXZ_pup 4.5
Replies: 482
Views: 215867

http://www.puppy2.org/slaxer/tcc-0.9.25-2_SLXR.tgz 282kb C compiler


http://bellard.org/tcc/

when you dont want to install the devx to compile just some C code
by big_bass
Mon 07 Nov 2011, 00:33
Forum: Puppy Derivatives
Topic: TXZ_pup 4.5
Replies: 482
Views: 215867

updated so you can compile most apps from inside the geany GUI
updated Nov-5-2011 for HUG highlighting and upx compression

http://murga-linux.com/puppy/viewtopic. ... &start=353


I cant use gtksourceview with my gtk version so this is how to get
another GUI going
by big_bass
Sun 06 Nov 2011, 20:39
Forum: Programming
Topic: November 1, 2011: BaCon 1.0 build 24 released
Replies: 13
Views: 9080

Thanks Peter @PjotAwake P.S I am having a lot of fun with BaCon 1.)with no compiler options compile it using bacon.bac in this example 387kb 2.)using the compile options PjotAwake posted above compile it using bacon.bac in this example 283kb bacon -o -O2 -o -s bacon.bac *I already have bacon install...
by big_bass
Sun 06 Nov 2011, 16:04
Forum: Programming
Topic: Get "Awk" to print columns using variable?
Replies: 15
Views: 4337

if it wasnt clear what I said here is an example technosaurus Quote: Just out of curiosity, does anyone know why cat works, but file redirection doesn't. this works correctly showing ${arr[0]} - ${arr[3]} arr=(`cat /etc/rc.d/PUPSTATE`) echo ${arr[0]} echo ${arr[1]} echo ${arr[2]} echo ${arr[3]} this...
by big_bass
Sat 05 Nov 2011, 22:03
Forum: Programming
Topic: Get "Awk" to print columns using variable?
Replies: 15
Views: 4337

Hey technosaurus Just out of curiosity, does anyone know why cat works, but file redirection doesn't. note that I have the same question to exactly what happens but this is what I discovered doing arrays and my take on it if I do a file redirect I wont get array1 ,arrary2 and so forth on a large fil...
by big_bass
Sat 05 Nov 2011, 16:17
Forum: Puppy Derivatives
Topic: Pussy: potentially a Puppy with a perfect package manager
Replies: 1846
Views: 673483

.
by big_bass
Sat 05 Nov 2011, 14:55
Forum: Programming
Topic: Get "Awk" to print columns using variable?
Replies: 15
Views: 4337

*I already know you can cut out some things and use only bash but this makes it more "readable" or keep it simple using the (variable idea) and dmseg will let you get a lot of info too dmesg | grep "CD/DVD" CD_DVD_DRIVES=`dmesg | grep "CD/DVD" | cut -f 1 -d :` for i in ...