Skip to content

Instantly share code, notes, and snippets.

View markoo's full-sized avatar

Mark Steven Alan Thomas markoo

View GitHub Profile
@markoo
markoo / MySql.NET
Created April 11, 2014 12:51
MySql thing ot get data from
try
{
conn.Open();
MySqlCommand cmd = new MySqlCommand("Select * from League", conn);
MySqlDataAdapter adp = new MySqlDataAdapter(cmd);
DataSet ds = new DataSet();
adp.Fill(ds);
return ds.Tables[0].Select().ToString();
}
@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();
This doesn't work:
https://www.bluetradingfloor.sys.dom/publications/outrageous-predictions
{
name: 'WebDownloads:ios:tradingfloor',
trigger: [
{
engine: 'sc',
command: 'trackLink',
arguments: [

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.

@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:

package taxicab
import (
"fmt"
"strconv"
"strings"
)
func main() {
si := ""
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
@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>
<?xml version="1.0" encoding="UTF-8"?>
<Response>
<Say>Hanging up in 10 seconds</Say>
<Pause length="10"/>
<Hangup/>
</Response>
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