Skip to content

Instantly share code, notes, and snippets.

View zokioki's full-sized avatar

Zoran Pesic zokioki

View GitHub Profile

Keybase proof

I hereby claim:

  • I am zokioki on github.
  • I am zoran (https://keybase.io/zoran) on keybase.
  • I have a public key whose fingerprint is 981D FFA2 5E1A 9883 1CD2 C2D5 A9EC 0BB5 E8F1 4FA0

To claim this, I am signing this object:

@zokioki
zokioki / sublime_preferences.json
Created April 28, 2015 06:32
SublimeText 3 Preferences
{
"ignored_packages":
[
"Vintage"
],
"theme": "Spacegray Eighties.sublime-theme",
"color_scheme": "Packages/Tomorrow Color Schemes/Tomorrow-Night-Eighties.tmTheme",
"highlight_line": true,
@zokioki
zokioki / url_response_checker.rb
Last active August 29, 2015 14:19
URL Response Code Checker - Ruby Script
require "net/http"
require "csv"
def response_code_for_url(url)
begin
url = URI.parse(url)
req = Net::HTTP.new(url.host, url.port)
res = req.request_head(url.path)
if res.code == '301'