Skip to content

Instantly share code, notes, and snippets.

Avatar
🌋

surfer190 surfer190

🌋
  • Johannesburg
View GitHub Profile
@surfer190
surfer190 / top-tracks.md
Last active Apr 8, 2021
Some top tracks chosen by yours truly
View top-tracks.md

Rock

  • ACDC - Hells Bells
  • Aerosmith - Dream On
  • Lynard Skynard - Simple Man
  • Bon Jovi - Wanted Dead Or Alive
  • Gerry Rafferty - Baker Street
  • Bob Seger - Turn the Page
  • Bob Seger - Main Street
  • Foreigner - Urgent
@surfer190
surfer190 / betting_rules.md
Last active Feb 25, 2021
Rules of Betting
View betting_rules.md

Rules of Betting

  1. Do not bet on horses - Unless you are taking a gamble (100% gambling, attracts 6% tax)
  2. Only bet on sports and markets with 2 final outcomes (No draws) - So avoid betting on final outcomes of test cricket and football matches. If you want to bet on football or sports with a probable draw rather choose double chance or draw no bet options
  3. Only bet on a sport you have played or watched for at least 5 years - must enjoy watching the game
  4. Bet on mainstream markets (Team/Player to Win), the more obscure the more the risk if you have no edge
  5. If the sport has In-play betting and half time / innings', only stake half the total betting amount before the game starts. Decide whether to stake the rest at half time / innings break or when you feel there is a bottom in the market
  6. Only place bets that will double your money or more. ie. with odds greater than 1 (decimal profit) or 2 (including stake)
  7. Only bet in-play if you are watching the game - don't bet in-play if you cannot
View donations.md

People to donate to

2019

  • buy presidents keepers and gangster state
  • dailymaverick
  • eff (Done $100)
  • adblock (Done $100)
  • python foundation
  • django foundation
@surfer190
surfer190 / check_available_sapce_macbook_cli.md
Created Sep 12, 2019
Check available disk space quickly with Mac CLI
View check_available_sapce_macbook_cli.md

How to check available disk space quickly with Mac CLI

diskutil info / | grep "Available Space"
View pilot.js
$( document ).ready(function() {
var typedPassword = "";
var typedPasswordOverlay = "";
var pastedPassword = false;
var ctrlPressed = false;
$.ajax({
type: 'GET',
url: '../web-plt/Exhursfl',
dataType: 'json',
success: function (data) {
@surfer190
surfer190 / api-wrapper-concerns.md
Last active Jul 24, 2019
API wrapper Concerns
View api-wrapper-concerns.md
  • It must make using the API easier...it shouldn't be an abstraction for abstraction sake

  • when you get a session token - can you store it for future sessions? - what mechanism is used to retrieve a new one if the old one fails within the request/response cycle.

  • automatically close session tokens

  • should you hide error codes - or just raise them from the original api? - for example authentication fails on the client api login - I should raise an exception but what kind?

  • Should you catch API access codes and raise your own errors

View books.md
@surfer190
surfer190 / trend_following_trading_rules.md
Last active Apr 22, 2018
A List of Share Trading Rules and Tips to keep in mind and follow when making financial trades
View trend_following_trading_rules.md

Technical Share Trading Tips¬

Don't catch a falling knife

  • The short, medium or long term trend must be in the direction of your trade
  • There must be clear support for your trade direction
  • A Higher high or higher low must signal a long
  • A Lower high or lower low must signal a short
  • 50 and 200MA should be pointed in the direction of trade
  • 50 > 200 MA for long, 50MA < 200MA for ahort
@surfer190
surfer190 / top-100-movies.md
Last active Dec 1, 2017
Top 100 Movies of all time by Surfer190
View top-100-movies.md
  1. Die Hard 1
  2. True Grit (2011)
  3. The Matrix (1999)
  4. Crank (2006)
  5. The Good the bad and the ugly (1966)
  6. Fight Club
  7. Escape from alcatrax (1979)
  8. V for Vendetta (2005)
  9. Equilibrium
  10. Crank: High Voltage (2009)