This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Basic CSS Media Query Template | |
* TODO: I should probably use Sass... | |
* Author: Michael Vieth | |
* ------------------------------------------ | |
* Responsive Grid Media Queries - 1280, 1024, 768, 480 | |
* 1280-1024 - desktop (default grid) | |
* 1024-768 - tablet landscape | |
* 768-480 - tablet | |
* 480-less - phone landscape & smaller |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
"aol.com", | |
"att.net", | |
"comcast.net", | |
"facebook.com", | |
"gmail.com", | |
"gmx.com", | |
"googlemail.com", | |
"google.com", | |
"hotmail.com", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
DARKGRAY='\033[1;30m' | |
RED='\033[0;31m' | |
LIGHTRED='\033[1;31m' | |
GREEN='\033[0;32m' | |
YELLOW='\033[1;33m' | |
BLUE='\033[0;34m' | |
PURPLE='\033[0;35m' | |
LIGHTPURPLE='\033[1;35m' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
echo "===============================" | |
echo "Installing PHP 7" | |
echo "===============================" | |
sudo yum install php70 | |
echo "===============================" | |
echo "Installing PHP 7 additional commonly used php packages" | |
echo "===============================" |
We can't make this file beautiful and searchable because it's too large.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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' ), |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// MapHelper.swift | |
// | |
// Created by Michael Vieth on 1/6/20. | |
// | |
import Foundation | |
import GoogleMaps | |
import GoogleMapsBase | |
import MapKit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Update Node to latest version | |
brew upgrade | |
# Find potential problems | |
brew doctor | |
# Remove Node and prune libraries | |
brew uninstall node | |
brew prune |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import UIKit | |
import Material | |
@UIApplicationMain | |
class AppDelegate: UIResponder, UIApplicationDelegate { | |
var window: UIWindow? | |
func applicationDidFinishLaunching(_ application: UIApplication) { | |
window = UIWindow(frame: Screen.bounds) |
NewerOlder