Skip to primary content
Skip to secondary content

John's blog

Talking about technology (mostly)

John's blog

Main menu

  • Blog
  • About
  • Contact
  • In The Lab With Jay Jay
  • Music
  • Links

Category Archives: Programming

Material related to computer programming.

Post navigation

← Older posts
Newer posts →

Boost C++ library

Posted on 2012-01-02 [Monday] by Jay Jay
34

I’ve downloaded the Boost C++ library and my little adventure with it will begin as soon as the files have copied.

Posted in Programming | Tagged boost, c++ | 34 Replies

dirent.h

Posted on 2012-01-02 [Monday] by Jay Jay
36

I’m doing some Linux C++ programming, and I’m doing the dev work on Windows, so I figured I’d have a go at compiling in Visual Studio (I’m running VS2008). One problem I had was that there was no dirent.h header file, but I found one.

Posted in Programming | Tagged c++, dirent.h, linux, visual studio, windows | 36 Replies

Making Subversion/SVN recognize CVS Id and Revision tags

Posted on 2012-01-02 [Monday] by Jay Jay
Reply

Today I found this article Making Subversion/SVN recognize CVS Id and Revision tags which describes how to add support for Id and Revision tags in Subversion.

Posted in Programming, Sys Admin | Tagged id, revision, subversion, svn | Leave a reply

PHP krsort

Posted on 2011-12-25 [Sunday] by Jay Jay
36

Today I used the PHP function krsort for the first time. It sorts the array with keys in reverse order, which is exactly what I needed to get my version listbox options in order from latest to earliest.

Posted in Programming | Tagged krsort, php | 36 Replies

Doctrine Bidirectional Mant-To-Many Associations

Posted on 2011-12-24 [Saturday] by Jay Jay
43

I found out how to do a Many-To-Many, Bidirectional mapping with Doctrine in PHP.

Posted in Programming | Tagged association mapping, bidirectional, doctrine, many-to-many, php | 43 Replies

PHP in_array and array_keys

Posted on 2011-12-24 [Saturday] by Jay Jay
44

The PHP function in_array is a really handy way to check if a value is in an array. Combine with array_keys to check if a value is in the array keys.

Posted in Programming | Tagged array_keys, in_array, php | 44 Replies

The importance of !important in CSS

Posted on 2011-12-24 [Saturday] by Jay Jay
44

I found an article on !important which explains how !important works in CSS.

Posted in Programming | Tagged css, important | 44 Replies

PHP flush

Posted on 2011-12-24 [Saturday] by Jay Jay
34

If you want to output your generated content to the browser quickly from a PHP page you can call the flush method which will flush the output buffer. Just be careful you aren’t buffering output with something like ob_start first.

Posted in Programming | Tagged flush, ob_start, php | 34 Replies

Reading a character from a string

Posted on 2011-12-24 [Saturday] by Jay Jay
33

What do you do in PHP when you want to get the character at the specified index within the string? I’m not sure what the best way is, but the way that I’ve been using is with the substr function, passing in the index and a length of one.

Posted in Programming | Tagged php, strings, substr | 33 Replies

Trying out PHP features

Posted on 2011-12-24 [Saturday] by Jay Jay
45

I’ve added a web testing section to my jj5-test project, and its hosted on Member Net in the test directory.

Now when I want to write little things that test/demo PHP features that I’m learning about I have a place to put the code.

Posted in Programming | Tagged jj5-test, php, progclub | 45 Replies

Post navigation

← Older posts
Newer posts →

Archives

  • August 2026 (1)
  • July 2026 (22)
  • June 2026 (31)
  • May 2026 (31)
  • April 2026 (55)
  • March 2026 (34)
  • February 2026 (83)
  • January 2026 (43)
  • December 2025 (47)
  • November 2025 (43)
  • October 2025 (57)
  • September 2025 (48)
  • August 2025 (39)
  • July 2025 (40)
  • June 2025 (51)
  • May 2025 (41)
  • April 2025 (38)
  • March 2025 (16)
  • February 2025 (24)
  • January 2025 (49)
  • December 2024 (28)
  • November 2024 (30)
  • October 2024 (29)
  • September 2024 (26)
  • August 2024 (35)
  • July 2024 (36)
  • June 2024 (23)
  • May 2024 (26)
  • April 2024 (47)
  • March 2024 (39)
  • February 2024 (21)
  • January 2024 (32)
  • December 2023 (45)
  • November 2023 (53)
  • October 2023 (27)
  • September 2023 (40)
  • August 2023 (50)
  • July 2023 (29)
  • June 2023 (19)
  • May 2023 (58)
  • April 2023 (55)
  • March 2023 (42)
  • February 2023 (50)
  • January 2023 (20)
  • December 2022 (19)
  • November 2022 (42)
  • October 2022 (43)
  • September 2022 (62)
  • August 2022 (23)
  • July 2022 (18)
  • June 2022 (32)
  • May 2022 (24)
  • April 2022 (10)
  • March 2022 (30)
  • February 2022 (20)
  • January 2022 (15)
  • December 2021 (27)
  • November 2021 (29)
  • October 2021 (25)
  • September 2021 (17)
  • August 2021 (41)
  • July 2021 (36)
  • June 2021 (21)
  • May 2021 (35)
  • April 2021 (34)
  • March 2021 (55)
  • February 2021 (49)
  • January 2021 (26)
  • December 2020 (13)
  • November 2020 (27)
  • October 2020 (25)
  • September 2020 (13)
  • August 2020 (12)
  • July 2020 (19)
  • June 2020 (16)
  • May 2020 (4)
  • April 2020 (1)
  • March 2020 (1)
  • February 2020 (1)
  • January 2020 (1)
  • October 2019 (1)
  • August 2019 (2)
  • July 2019 (2)
  • June 2019 (5)
  • March 2019 (1)
  • December 2018 (1)
  • September 2018 (1)
  • August 2018 (3)
  • July 2018 (5)
  • February 2018 (1)
  • December 2017 (1)
  • November 2017 (3)
  • August 2017 (3)
  • July 2017 (3)
  • June 2017 (1)
  • May 2017 (14)
  • April 2017 (2)
  • March 2017 (7)
  • February 2017 (3)
  • January 2017 (1)
  • December 2016 (5)
  • October 2016 (2)
  • September 2016 (1)
  • July 2016 (4)
  • June 2016 (5)
  • May 2016 (5)
  • April 2016 (11)
  • March 2016 (2)
  • January 2016 (1)
  • October 2015 (1)
  • September 2015 (8)
  • August 2015 (14)
  • July 2015 (3)
  • June 2015 (9)
  • May 2015 (6)
  • April 2015 (4)
  • March 2015 (6)
  • February 2015 (2)
  • January 2015 (8)
  • December 2014 (9)
  • November 2014 (17)
  • October 2014 (7)
  • September 2014 (5)
  • August 2014 (13)
  • July 2014 (21)
  • June 2014 (22)
  • May 2014 (55)
  • April 2014 (19)
  • February 2014 (1)
  • November 2013 (2)
  • October 2013 (7)
  • September 2013 (7)
  • August 2013 (12)
  • July 2013 (16)
  • November 2012 (24)
  • October 2012 (40)
  • September 2012 (7)
  • August 2012 (9)
  • July 2012 (14)
  • May 2012 (1)
  • April 2012 (9)
  • March 2012 (29)
  • February 2012 (60)
  • January 2012 (96)
  • December 2011 (29)
  • November 2011 (3)
  • October 2011 (8)
  • September 2011 (25)
  • August 2011 (39)

Categories

  • AI (71)
  • Art (158)
  • Asset (178)
  • Book (153)
  • Business (25)
  • Chatter (1,762)
  • Cloud (16)
  • Data (50)
  • Database (47)
  • Design (530)
  • Diary (580)
  • Electronics (1,054)
  • Games (35)
  • Hall of Fame (1)
  • Hardware (840)
  • Homework (28)
  • In The Lab With Jay Jay (345)
  • Inspiration (221)
  • Internet (715)
  • Joke (23)
  • Learning (705)
  • Magic (10)
  • Mathematics (125)
  • Music (29)
  • News (16)
  • Notes (1,339)
  • Philosophy (177)
  • Privacy (1)
  • Programming (1,075)
  • Reading (132)
  • Science (167)
  • Software (218)
  • Sponsored (172)
  • Sys Admin (645)
  • Testing (240)
  • TODO (102)
  • Tools (17)
  • Tribute (8)
  • Video (800)
  • Vocabulary (39)
  • Web (1,125)
  • Wishlist (60)
  • Writing (205)
  • Xbox (26)

Recent Posts

  • Every Study Technique Explained in 18 Minutes
  • John Teel explains about some sensors to avoid in real products
  • Learning the Art of Electronics: Fig 2N.3 RC constant current | In The Lab With Jay Jay
  • Nand to Tetris
  • The Rain Detector | Project 18/30 | Maxitronix 30in1 | Learning Electronics In The Lab With Jay Jay
August 2026
M T W T F S S
 12
3456789
10111213141516
17181920212223
24252627282930
31  
« Jul    

Meta

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org

Tags

  • AliExpress
  • amazon
  • apache
  • api
  • arduino
  • bash
  • c++
  • cable
  • capacitor
  • ChatGPT
  • circuit
  • css
  • debian
  • design
  • electronics
  • Electronics Project
  • error
  • Experiment
  • file
  • firefox
  • google
  • HTML
  • http
  • In The Lab With Jay Jay
  • javascript
  • kit
  • lab
  • Learning the Art of Electronics
  • linux
  • Mail Call
  • Maxitronix 20in1
  • Maxitronix 30in1
  • mysql
  • Old Book Teardown
  • php
  • postfix
  • progclub
  • programming
  • resistor
  • software
  • transistor
  • ubuntu
  • unboxing
  • usb
  • web
Proudly powered by WordPress