Craps can be an intimidating game for the beginner. The table seems to have about a hundred different kinds of bets, the players are barking out commands in what seems to be a foreign language, and the pace is too fast to ever ask a question. I can sympathize with the beginner, because at one point in time this was how craps appeared to me. If this is how you view the game, I have good news. There is one fundamental bet, the "pass line" bet, that almost all players make. You can easily get by knowing just this bet your first time. As you get more experienced, you can add more bets to your repertoire. After just your first five minutes, you should feel comfortable with the flow of the game and
This file contains hidden or 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
find . -iname "bin" -o -iname "obj" | xargs rm -rf |
This file contains hidden or 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
#!/usr/bin/env bash | |
# | |
# JIRA | |
# Copyright (c) 2018 - Jeff Kereakoglow | |
# | |
# Opens the current branch name in JIRA. | |
set -Eeuo pipefail | |
readonly COMPANY_NAME="yourdamncompanyname" |
This file contains hidden or 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
using System; | |
using System.IO; | |
using System.Net.Http; | |
using System.Security.Cryptography; | |
using System.Text; | |
using System.Text.RegularExpressions; | |
using System.Threading.Tasks; | |
using Xamarin.Essentials; | |
namespace App.Services |
Craps seems like an intimidating game to those who haven't played it. There are dozens of bets available, and it seems like the game has a terminology all its own. While both those statements are true, it is easy to jump in with the knowledge of just two bets. What follows is an explanation of the most common bets, in roughly the order you should learn them. Again, you don’t have to understand all of the bets to play, just the ones you intend to wager on.
This file contains hidden or 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
// | |
// UITableViewExtensions.swift | |
// | |
// Created by Jeff Kereakoglow on 4/22/18. | |
// Copyright © 2018 AlexisDigital. All rights reserved. | |
// | |
import UIKit.UITableView | |
extension UITableView { |
This file contains hidden or 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
# Concatenate all lines into 1 line delimited by a "+" and pipe the input into bc | |
# Example: 178.91+143.39+145.433 | |
paste -sd+ electric_bills.txt | bc |
This file contains hidden or 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 Foundation | |
import PlaygroundSupport | |
protocol SomeProtocol { | |
var someProperty: Int { get } | |
} | |
// The parameter `some` is of type T and type T conforms to SomeProtocol | |
func generic<T: SomeProtocol>(some: T) -> Int { | |
return some.someProperty |
This file contains hidden or 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 PlaygroundSupport | |
//-- Container view | |
let container = UIView(frame: CGRect(x: 0, y: 0, width: 400, height: 500)) | |
container.backgroundColor = .darkGray | |
//-- Textfield | |
let textField = UITextField(frame: CGRect(x: 0, y: 0, width: container.bounds.width, height: 50)) | |
textField.text = "There once was a man from Nantucket..." |