Skip to content

Instantly share code, notes, and snippets.

View mavieth's full-sized avatar

Michael Vieth mavieth

View GitHub Profile
We can't make this file beautiful and searchable because it's too large.
date,low,high,open,close,volume,ds,y,price
2016-06-09 08:00:00,14.58,14.66,14.6,14.58,300,2016-06-09 08:00:00,14.58,14.58
2016-06-09 09:00:00,14.66,14.66,14.66,14.66,139,2016-06-09 09:00:00,14.66,14.66
2016-06-09 10:00:00,14.58,14.73,14.67,14.67,497,2016-06-09 10:00:00,14.67,14.67
2016-06-09 11:00:00,14.67,14.77,14.68,14.67,586,2016-06-09 11:00:00,14.67,14.67
2016-06-09 12:00:00,14.55,14.64,14.59,14.57,31,2016-06-09 12:00:00,14.57,14.57
2016-06-09 13:00:00,14.56,14.7,14.57,14.69,398,2016-06-09 13:00:00,14.69,14.69
2016-06-09 14:00:00,14.64,14.68,14.65,14.66,333,2016-06-09 14:00:00,14.66,14.66
2016-06-09 15:00:00,14.6,14.7,14.65,14.69,344,2016-06-09 15:00:00,14.69,14.69
2016-06-09 16:00:00,14.59,14.7,14.67,14.69,667,2016-06-09 16:00:00,14.69,14.69
<?php
function projects_init() {
register_post_type( 'projects', array(
'labels' => array(
'name' => __( 'Projects', 'twentytwenty-child' ),
'singular_name' => __( 'Project', 'twentytwenty-child' ),
'all_items' => __( 'All Projects', 'twentytwenty-child' ),
'new_item' => __( 'New Project', 'twentytwenty-child' ),
'add_new' => __( 'Add New', 'twentytwenty-child' ),
'add_new_item' => __( 'Add New Project', 'twentytwenty-child' ),
@mavieth
mavieth / domains.json
Created January 25, 2020 18:19
Common Email Domains
[
"aol.com",
"att.net",
"comcast.net",
"facebook.com",
"gmail.com",
"gmx.com",
"googlemail.com",
"google.com",
"hotmail.com",
//
// MapHelper.swift
//
// Created by Michael Vieth on 1/6/20.
//
import Foundation
import GoogleMaps
import GoogleMapsBase
import MapKit
@mavieth
mavieth / AppDelegate.swift
Created April 1, 2019 00:23
Swift TabsController
import UIKit
import Material
@UIApplicationMain
class AppDelegate: UIResponder, UIApplicationDelegate {
var window: UIWindow?
func applicationDidFinishLaunching(_ application: UIApplication) {
window = UIWindow(frame: Screen.bounds)
@mavieth
mavieth / PresenterCard.swift
Created April 1, 2019 00:12
PresenterCard
import UIKit
import Material
class ViewController: UIViewController {
fileprivate var card: PresenterCard!
/// Conent area.
fileprivate var presenterView: UIImageView!
fileprivate var contentView: UILabel!
@mavieth
mavieth / SwipeGestureRecognizer.swift
Created March 31, 2019 23:52
Swipe Gesture Recognizer
class PurpleViewController: UIViewController {
fileprivate var label = UILabel()
open override func viewDidLoad() {
super.viewDidLoad()
prepareView()
prepareSwipe()
}
}
@mavieth
mavieth / setup.sh
Created March 13, 2019 04:48 — forked from rg3915/setup.sh
Shell script to create a simple Django project.
# Shell script for create a simple Django project.
# wget --output-document=setup.sh https://goo.gl/pm621U
# Type the following command, you can change the project name.
# source setup.sh myproject
# Colors
red=`tput setaf 1`
green=`tput setaf 2`
@mavieth
mavieth / paint-polygon.js
Created July 25, 2018 10:09
Paint open layers polygon.
import Map from '../src/ol/Map.js';
import View from '../src/ol/View.js';
import Draw from '../src/ol/interaction/Draw.js';
import Modify from '../src/ol/interaction/Modify.js';
import {Tile as TileLayer, Vector as VectorLayer} from '../src/ol/layer.js';
import {OSM, Vector as VectorSource} from '../src/ol/source.js';
import {Stroke, Style, Fill, Circle} from '../src/ol/style.js';
import {GeoJSON} from '../src/ol/format.js';
let features = [];
-------------------michael------------------
1. Dez Bryant WR DAL 9.3 $ 6900
2. Jared Goff QB LAR 16.7 $ 6700
3. Carlos Hyde RB SF 11.5 $ 6300
4. Evan Engram TE NYG 9.0 $ 6200
5. Devonta Freeman RB ATL 12.5 $ 6000
6. Sterling Shepard WR NYG 8.3 $ 5500
7. Lamar Miller RB HOU 10.7 $ 5200
8. Marquise Goodwin WR SF 6.0 $ 3800
9. Giants DST NYG 8.2 $ 3200