Skip to content

Instantly share code, notes, and snippets.

View mikecasas's full-sized avatar
💭
Working

Mike Casas mikecasas

💭
Working
  • United States
View GitHub Profile
@mikecasas
mikecasas / docker-compose.yaml
Last active August 19, 2020 01:06
oqtane docker compose
version: "3.4"
services:
app-oqtane:
container_name: oqtane-app
image: mkcsas/oqtane-app:v1
ports:
- "6001:6001"
db:
container_name: oqtane-sql
image: mkcsas/oqtane-sql-base:v1.0.1

Statement of Work (SOW) for [WEBSITE NAME] User Experience Strategy and Website Redesign

Scope

The [AGENCY NAME] requires the services of a vendor that can provide a number of different products and/or services related to the strategic design, content creation, analysis and promotion of the overall rebranding of [WEBSITE NAME]. Through the rebranding and creative development process, [AGENCY NAME] hopes to conduct a complete audience analysis to drive external department messaging, enhance user experience and modernize the [AGENCY NAME] web presence to create a sustainable platform to promote [AGENCY NAME]’s mission and emerge as a leader in government online communication.

Background on the [AGENCY NAME]/[WEBSITE NAME]

The [AGENCY NAME] is divided into eight program offices, thirteen staff/support offices, twelve operations offices, twenty-one laboratory and technology centers, the Power Marketing Administration, the Energy Information Administration and the National Nuclear Security Administr

@mikecasas
mikecasas / delete.js
Created August 17, 2017 15:35
Delete script
$(document).ready(function () {
$("a[rel='tooltip']").tooltip();
$("table tr:odd").addClass("AltBackgroundColor");
$(document).on("click", "#removeAccount", function () {
var accountNrb = $(this).data('id');
$(".modal-body #acctFunction").val(accountNrb);
@mikecasas
mikecasas / Index.vbhtml
Last active August 23, 2017 19:47
Index Form Template
@ModelType !Ns!
<h2>!Cls!</h2>
<div class="col-md-12">
@Html.AddButton("Add Lot ", "/!Cls!/add")
</div>
<br /><br />
@mikecasas
mikecasas / Repo.vb
Last active August 23, 2017 19:31
Base Repository Template
Imports System.Data.SqlClient
Imports Cpp.Utility.Dal
Imports !n!
Namespace Data
Public Class !p!Repository
Private Const DefaultStatus = "active"
cls
Set-Location($env:userprofile + '\Desktop\testbed')
$list = Import-CSV $pwd\sched.csv |
Select @{Name="room";Expression={$_."Room"}},
@{Name="start";Expression={$_."Start"}},
@{Name="end";Expression={$_."End"}},
@{Name="talk";Expression={$_."Session Assigned"}}
@mikecasas
mikecasas / .block
Last active September 9, 2016 12:48 — forked from mbostock/.block
Save SVG as PNG
license: gpl-3.0
{
"nodes": [{
"node": 0,
"name": "Total Expenses"
}, {
"node": 1,
"name": "Operating"
}, {
"node": 2,
"name": "Capital"
@mikecasas
mikecasas / BaseData.vb
Created August 18, 2016 18:40
Base class for data helper library.
Imports System.Data.SqlClient
Imports Cpp.DataLayer.SqlCommandHelper
Imports Cpp.DataLayer.SqlDataReaderHelper
Namespace Data
Public MustInherit Class BaseData
Protected _dataHandlers As Handlers.OrmHandlers
Private _connectionString As String
var moment = require('moment');
var startDate = new Date(2016, 8, 7);
var numberOfDaysToAdd = 7;
let nights=39;
const m=moment(startDate);
var daysFromStart;