Tagged: screencast Toggle Comment Threads | Keyboard Shortcuts

  • Jay Versluis 10:17 am on April 1, 2018 Permalink | Reply
    Tags: , , , screencast   

    Categories: Commodore ( 38 )

    Sorting an Array on the Commodore 64 

    In this video I’ll demonstrate how to sort a numeric array on the Commodore 64. The same principle works for string arrays, and of course on all other Commodore BASIC computers.

    The technique I’m using here is called Bubble Sort: in effect we’re comparing the first two items in the array, and if the left one is larger than the right one, the values are swapped around. This loop continues until all items in the array have been compared and sorted (hence the smallest items “bubble” to the front of the array, much like the smallest bubbles in a soda float to the top first).

    Here’s the full code I’m building, including the lottery portion. The Bubble Sort code starts in line 200.

    10 x=rnd(-ti)
    20 for i=1 to 6
    30 rn=int(rnd(1)*49)+1
    40 for j=1 to i
    50 if n(j)=rn then 30
    60 next j
    70 n(i)=rn
    80 next i
    100 print:gosub 200
    110 for i=1 to 6
    120 print n(i);
    130 next
    140 print
    199 goto 20
    200 rem bubble sort
    210 for i=5 to 1 step -1
    220 for j=1 to i
    230 x=n(j):y=n(j+1)
    240 if x>y then n(j)=y:n(j+1)=x
    250 next:next
    299 return

    I’ve explained how to build the lottery generator in this code here: https://wpguru.co.uk/2018/03/how-to-generate-lottery-numbers-on-the-commodore-64/

    Happy retro hacking!





     
  • Jay Versluis 6:16 am on June 30, 2014 Permalink | Reply
    Tags: , screencast   

    Categories: iOS, Screencast ( 222 )

    How to use iCloud in your iOS App 

    In this series I’ll show you how to use iCloud in your iOS apps. We’ll discuss how to setup Xcode and your app, including App ID and Provisioning Profiles and I’ll demonstrate how to use all three flavours of iCloud: Key Value Storage, Document Storage and iCloud with Core Data.

    The rest of this series is for members of my iOS Dev Diary only – you can watch it here: http://pinkstone.co.uk/how-t-use-icloud-in-your-ios-apps/

    Enjoy!





     
  • Jay Versluis 12:43 pm on March 26, 2011 Permalink | Reply
    Tags: camtasia, , links, screencast, , , ,   

    Categories: Screencast, WordPress ( 84 )

    Adding Links to your Website 

    In this podcast I will show you how to add links to your sidebar.

    WordPress has a very convenient Links Manager in the backend. You can use it to either display and share your links, or if you want to remember a link for later just pop it in and it’ll be stored in a convenient and save place.





     
  • Jay Versluis 3:18 pm on March 19, 2011 Permalink | Reply
    Tags: screencast, , ,   

    Categories: Screencast, WordPress ( 84 )

    How to add new Themes to your website 

    Let’s take a look at how to add new layout designs (Themes) to your website and how to activate them. You’ll love this feature about WordPress: your content stays the same while the look and feel of your site changes completely. Webdesign was never easier – from a creative mind’s point of view that is (it’s still a tough task to build good themes that you can use at the touch of a button though).

    Every Theme provides its own options in the back end, which is why I’m exploring some in more detail in my Theme Workshops section.

    There are countless free and Premium Themes out there – the dialogue I’m showing here pulls in free Themes from WordPress.org but you’ll soon find many others if you search for “wordpress themes” in your favourite search engine.

    Most of those will come as a .ZIP file which you can install on your site via Appearance – Themes – Install Themes – Upload.

    Have fun ๐Ÿ˜‰

     





     
  • Jay Versluis 2:14 pm on March 12, 2011 Permalink | Reply
    Tags: screencast, , twenty ten, ,   

    Categories: Screencast, WordPress ( 84 )

    How to style your website with Twenty-Ten 

    In this workshop I will introduce you to the styling options of the Twenty-Ten default theme. This is a great starting point to get a feel for what you can do with your new site.

    Twenty-Ten is ideal because it allows you to use Custom Menus, a Custom Header and a Custom Background. Not ever theme allows you to change all these options as you will soon discover. Typographically it looks great too so I recommend you stick with it for a while.

    Enjoy Twenty-Ten responsibly ๐Ÿ˜‰





     
  • Jay Versluis 8:11 pm on March 5, 2011 Permalink | Reply
    Tags: screencast, , , widgets   

    Categories: Screencast, WordPress ( 84 )

    Adding Widgets to your Sidebar 

    In this screencast I will explain how you can populate your sidebar with useful widgets. WordPress has plenty of them built-in and it is really easy to add them to your site.

    Many websites offer badges for their services, and I will explain how you can embed them into your own site using the Text widget.

     





     
  • Jay Versluis 6:30 pm on February 26, 2011 Permalink | Reply
    Tags: , menu, nav bar, screencast,   

    Categories: Screencast, WordPress ( 84 )

    Custom Menus in WordPress 

    In this podcast I will introduce you to the WordPress Menu System. With it you can add pages, blog categories and even internal/external hyperlinks to your menu. You can even create pages that will never show up in your navigation – that’s great for landing pages and content you don’t want every visitor to see.

    For this demo, I’m using the WordPress Default Theme called Twenty-Ten.

    Please note that those menus need to be supported by the Theme you’re using. Many free Themes support this feature, but some older ones may not. I’ll cover how to hack unsupported themes in another workshop.





     
  • Jay Versluis 2:02 pm on February 5, 2011 Permalink | Reply
    Tags: back end, , front end, , screencast,   

    Categories: Screencast, WordPress ( 84 )

    WordPress Workflow 

    In this video we will take a look at the basics of working with WordPress. I’ll show you how to use the “back end” and the “front end” at the same time with two open browser tabs.ย  I will also demonstrate how a change you make to your website will become live on your front page.





     
  • Jay Versluis 2:40 pm on January 25, 2011 Permalink | Reply
    Tags: , discussion, , screencast, , ,   

    Categories: WordPress ( 141 )

    Workshop: How to post Source Code in your Comments 

    In this workshop I’ll show you how you can make source code show up in your comments. I’ll also show you how to format it so it looks different to ordinairy text.

    By default, WordPress strips out most HTML tags for security reasons. That’s a good thing, however if you’d like to share some HTML or PHP source code with someone it won’t show up. The workaround is to paste the code into an empty post via the visual editor, then switch to the HTML editor and copy the resulting transcoded characters.

    This works because single characters are not executable by the web browser and hence do not pose a security risk. It’s a bit tedious if you deal with code a lot, but it’s a safe solution and does not require any plugins.

    Enjoy!





     
c
compose new post
j
next post/next comment
k
previous post/previous comment
r
reply
e
edit
o
show/hide comments
t
go to top
l
go to login
h
show/hide help
shift + esc
cancel