Skip to content

Instantly share code, notes, and snippets.

View petrvecera's full-sized avatar

Petr Vecera petrvecera

View GitHub Profile
@skinnay-dev
skinnay-dev / hunter-bis-alli.md
Last active October 30, 2023 23:47
Skinnay's Classic Hunter Gear lists (Alliance)

Skinnay's Classic Hunter Gear Lists (Alliance)

  • "True" BiS is the absolute best gear configuration given all the possible options. Often this doesn't give you a great picture of what you should be striving for, so realistic alternative sets are provided to plan for constraints that can occur with typical loot distribution.
  • Stat weights and dps values are based on Sixx's DPS sheet assuming full buffs, consumables, and boss debuffs with 20/31/0 spec, unless otherwise specified. These are of course subject to change with different variables.
  • Gear lists are based on their general effectiveness against all raid bosses as opposed to being tailored for specific bosses, unless otherwise specified.

Table of Contents

@jameswestman
jameswestman / tower_effectiveness.csv
Created April 3, 2017 20:09
CSV file of tower range vs effectiveness in Screeps
Range Attack Heal Repair
1 600 400 800
2 600 400 800
3 600 400 800
4 600 400 800
5 600 400 800
6 570 380 760
7 540 360 720
8 510 340 680
9 480 320 640
@ipbastola
ipbastola / clean-up-boot-partition-ubuntu.md
Last active June 5, 2024 21:05
Safest way to clean up boot partition - Ubuntu 14.04LTS-x64, Ubuntu 16.04LTS-x64

Safest way to clean up boot partition - Ubuntu 14.04LTS-x64, Ubuntu 16.04LTS-x64

Reference

Case I: if /boot is not 100% full and apt is working

1. Check the current kernel version

$ uname -r 
@nucliweb
nucliweb / Clone-All-Repos-GitHub-Organization.md
Last active September 23, 2021 10:12
Clone all repos from a GitHub organization

Publics repos

With Ruby 1.8 (default version on MacOS) :

sudo gem install json
curl -s https://api.github.com/orgs/[ORGANIZATION]/repos | ruby -rubygems -e 'require “json”; JSON.load(STDIN.read).each {|repo| %x[git clone #{repo["ssh_url"]} ]}'

With Ruby 1.9+, the json library is by default thus you just use :

@soheilhy
soheilhy / nginxproxy.md
Last active May 16, 2024 08:59
How to proxy web apps using nginx?

Virtual Hosts on nginx (CSC309)

When hosting our web applications, we often have one public IP address (i.e., an IP address visible to the outside world) using which we want to host multiple web apps. For example, one may wants to host three different web apps respectively for example1.com, example2.com, and example1.com/images on the same machine using a single IP address.

How can we do that? Well, the good news is Internet browsers