Skip to content

Instantly share code, notes, and snippets.

View markoo's full-sized avatar

Mark Steven Alan Thomas markoo

View GitHub Profile
// The start of my love story with CDK & AWS :)
// copy a file to an S3 Bucket
aws s3 cp DIRECTORY_OR_FILE s3://BUCKET_NAME — recursive — quiet
choco install adobereader
choco install flashplayerplugin
choco install googlechrome
choco install lastpass-chrome
choco install editthiscookie-chrome
choco install amazon-assistant-chrome
choco install jre8
choco install firefox
choco install 7zip.install
choco install git.install
<?xml version="1.0" encoding="UTF-8"?>
<Response>
<Say>Hanging up in 10 seconds</Say>
<Pause length="10"/>
<Hangup/>
</Response>
@markoo
markoo / Error
Last active December 4, 2019 12:07
<?xml version="1.0" encoding="UTF-8"?>
<Response>
<Say>We are currently experiencing difficulties. Please call again.</Say>
</Response>
https://chocolatey.org/install
Set-ExecutionPolicy Bypass -Scope Process -Force; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))
https://bitbucket.tdc.dk/projects/YSD/repos/odin-sitecore/browse/Docs/Install.md
choco install adobereader
choco install flashplayerplugin
choco install googlechrome
choco install lastpass-chrome
package taxicab
import (
"fmt"
"strconv"
"strings"
)
func main() {
si := ""
@markoo
markoo / keybase.md
Last active October 31, 2016 14:25

Keybase proof

I hereby claim:

  • I am markoo on github.
  • I am markoo (https://keybase.io/markoo) on keybase.
  • I have a public key whose fingerprint is 1FA9 F791 BB0C 0F59 7C8F C2B9 009F C03F CC98 C8AA

To claim this, I am signing this object:

Multiple Sticky Titles with CSS and JS

On some mobile platforms there are alphabetical lists that use the letter as a title. As you scroll down the list the current title follows you until you reach the next one at which point the current one is pushed up and the new title docks to the top. This snippet emulates this functionality.

Forked from Chris Spittles's Pen Multiple Sticky Titles with CSS and JS.

A Pen by Captain Anonymous on CodePen.

This doesn't work:
https://www.bluetradingfloor.sys.dom/publications/outrageous-predictions
{
name: 'WebDownloads:ios:tradingfloor',
trigger: [
{
engine: 'sc',
command: 'trackLink',
arguments: [
@markoo
markoo / AzureConnCode
Created April 23, 2014 12:56
SQL Conn code
public string Get(int id)
{
try
{
string result = "";
using (sqlConn)
{
using (SqlCommand cmd = new SqlCommand("Select * from FootballMatch", sqlConn))
{
sqlConn.Open();