Skip to content

Instantly share code, notes, and snippets.

View ttracx's full-sized avatar

Tommy Tracx ttracx

View GitHub Profile
@ttracx
ttracx / deployment-tool-ansible-puppet-chef-salt.md
Created January 5, 2020 20:20 — forked from jaceklaskowski/deployment-tool-ansible-puppet-chef-salt.md
Choosing a deployment tool - ansible vs puppet vs chef vs salt

Requirements

  • no upfront installation/agents on remote/slave machines - ssh should be enough
  • application components should use third-party software, e.g. HDFS, Spark's cluster, deployed separately
  • configuration templating
  • environment requires/asserts, i.e. we need a JVM in a given version before doing deployment
  • deployment process run from Jenkins

Solution

{"version":1,"resource":"file:///c%3A/Users/PXAYPAN/International%20Paper%20Company/IT%20Audit%20-%20Dev%20-%20Dev/auditcapture/auditcapture/licecap.xcodeproj/project.pbxproj","entries":[{"id":"V5Rh.pbxproj","source":"searchReplace.source","timestamp":1679411607806}]}
- General
[ ] The code works
[ ] The code is easy to understand
[ ] Follows coding conventions
[ ] Names are simple and if possible short
[ ] Names are spelt correctly
[ ] Names contain units where applicable
[ ] Enums are used instead of int constants where applicable
[ ] There are no usages of 'magic numbers'
[ ] All variables are in the smallest scope possible
@ttracx
ttracx / review-checklist.md
Created May 28, 2019 09:43 — forked from bigsergey/review-checklist.md
Front-end Code Review Checklist

Review checklist

General

  1. Does the code work?
  2. Description of the project status is included.
  3. Code is easily understand.
  4. Code is written following the coding standarts/guidelines (React in our case).
  5. Code is in sync with existing code patterns/technologies.
  6. DRY. Is the same code duplicated more than twice?
@ttracx
ttracx / zillow.py
Created January 12, 2019 15:47 — forked from scrapehero/zillow.py
Python 3 script to find real estate listings of properties up for sale on zillow.com
from lxml import html
import requests
import unicodecsv as csv
import argparse
def parse(zipcode,filter=None):
if filter=="newest":
url = "https://www.zillow.com/homes/for_sale/{0}/0_singlestory/days_sort".format(zipcode)
elif filter == "cheapest":
@ttracx
ttracx / bitcoin.sh
Created January 4, 2018 08:34 — forked from noqqe/bitcoin.sh
Bitcoin Mining Script for Debian
#!/bin/bash
### BEGIN INIT INFO
# Provides: BitCoinMining
# Required-Start: $local_fs $network
# Required-Stop: $local_fs $network
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# X-Interactive: false
# Short-Description: Start/stop BitCoing Mining poclbm-mod
### END INIT INFO
@ttracx
ttracx / gist:cafd0135c3932b6f25ed618f2697c8b0
Created August 4, 2016 11:41 — forked from ilyapuchka/gist:1ae19259161a91f3a8a8
Swift Playgrounds & iOS Simulator
import UIKit
struct MainScene {
let vc: UIViewController
let nc: UINavigationController
init(vc: UIViewController) {
self.vc = vc
self.nc = UINavigationController(rootViewController: vc)
}
}
@ttracx
ttracx / _verify-repair-permissions-disk.md
Created July 19, 2016 02:47 — forked from bzerangue/_verify-repair-permissions-disk.md
Mac OS X Utilities via Terminal: (Verify and Repair: Disk Permissions AND Disk / Software Update / TimeMachine)

Verify and Repair Disk Permissions via Terminal (Mac OS X)

Verify Permissions

diskutil verifyPermissions /

Repair Permissions

diskutil repairPermissions /