The first one is pretty much a blues scale, with a added 7th and a 3rd missing. Depending on how you look at it cause the pattern of notes changes. The first run from octave to octave didn't have an F# in it, the second did. If I was to call it anything it would be a Blues scale with an added 7th, or a scale that modulates from one root to another, or even just chromatic.
The second one you wrote is a minor scale. You can check the tricks part of this page to find more scales and even learn a bit or two about them.
"My whole life is a dark room...ONE BIG DARK ROOM" - a.f.i.