Skip to content

Instantly share code, notes, and snippets.

View JamesVStone's full-sized avatar

James Stone JamesVStone

  • 127.0.0.1/8
View GitHub Profile
@JamesVStone
JamesVStone / cat.xml
Created November 29, 2017 12:32
Detecting Human and cat faces with kinect sensor and opencv2 in python 2.7
<?xml version="1.0"?>
<!--
REMEMBER PLACE CASCADES IN "cascades" folder
A frontal cat face detector using the full set of Haar features, i.e.
horizontal, vertical, and diagonal features.
Contributed by Joseph Howse (josephhowse@nummist.com).
More information can be found in the following publications and
presentations:

Mastering Arrays

Arrays are like lists, or the ability to store multiple values in a single variable. For example, if you wanted to add scores or even just condence your code.

Visual Basic

In visual basic to create an array you must declare traditionaly with "Dim" but after the name you must specify how many items you want in your array (0 included).

Dim myName(1) As String

Mastering Arrays

Arrays are like lists, or the ability to store multiple values in a single variable. For example, if you wanted to add scores or even just condence your code.

Visual Basic

In visual basic to create an array you must declare traditionaly with "Dim" but after the name you must specify how many items you want in your array (0 included).

Dim myName(1) As String

Mastering Arrays

Arrays are like lists, or the ability to store multiple values in a single variable. For example, if you wanted to add scores or even just condence your code.

Visual Basic

In visual basic to create an array you must declare traditionaly with "Dim" but after the name you must specify how many items you want in your array (0 included).

Dim myName(1) As String

Mastering Arrays

Arrays are like lists, or the ability to store multiple values in a single variable. For example, if you wanted to add scores or even just condence your code.

Visual Basic

In visual basic to create an array you must declare traditionaly with "Dim" but after the name you must specify how many items you want in your array (0 included).

Dim myName(1) As String

@JamesVStone
JamesVStone / 7 Mastering Arrays.md
Created April 16, 2018 21:50
Homework 7- Mastering Arrays VB.net

Mastering Arrays

Arrays are like lists, or the ability to store multiple values in a single variable. For example, if you wanted to add scores or even just condence your code.

Visual Basic

In visual basic to create an array you must declare traditionaly with "Dim" but after the name you must specify how many items you want in your array (0 included).

Dim myName(1) As String

#Formulas

\[x = b^2 \over 2a\]

VB.NET 8- String Manipulation

James Stone

String Variable Type

A string consists of an array of encoded characecters

To create a string in visual basic use

Working with text files

Text files

A text (txt files) file is a file containing an encoded string which is split into lines The most common encoding for these files is ASCII because it contains all the characters we need and is relatively compact. The reason you may use other encoding ciphers is if you need accents or other special characters.

A simple .txt file is called a sequential file.

@JamesVStone
JamesVStone / file_year_sorter.py
Last active April 21, 2019 19:43
Python Script to sort JPEG images into year folders by EXIF data
#!/usr/bin/env python3
import os
import sys
import imagehash
from PIL import Image, ExifTags
from tqdm import tqdm
import threading
print("\nWelcome to fsorter 3000\n")