Skip to content

Instantly share code, notes, and snippets.

Johan Hammar johanhammar

Block or report user

Report or block johanhammar

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View gist:c5f41542cbcb8ad727e4
swagger: '2.0'
info:
version: "0.0.1"
title: Nested arrays
description: Demo of nested arrays
contact:
name: Johan Hammar
host: localhost
@johanhammar
johanhammar / gist:3852055
Created Oct 8, 2012
Sublime Text 2 settings
View gist:3852055
{
"color_scheme": "Packages/TomorrowTheme/Tomorrow-Night.tmTheme",
"draw_white_space": "all",
"folder_exclude_patterns":
[
".svn",
".git",
".hg",
"CVS",
"_build",
View keybase.md

Keybase proof

I hereby claim:

  • I am johanhammar on github.
  • I am johanhammar (https://keybase.io/johanhammar) on keybase.
  • I have a public key ASBJ7GmbZ4rZa0SnrxMeun1CNv6a7DwIQc-l8SbYSY0Wuwo

To claim this, I am signing this object:

View gist:62ac3bf6885516392710dd79069d1c61
➜ dnsperftest git:(master) ./dnstest.sh
test1 test2 test3 test4 test5 test6 test7 test8 test9 test10 Average
192.168.1.1 11 ms 6 ms 7 ms 6 ms 7 ms 8 ms 1 ms 6 ms 7 ms 29 ms 8.80
cloudflare 9 ms 10 ms 9 ms 10 ms 9 ms 39 ms 12 ms 10 ms 10 ms 9 ms 12.70
level3 38 ms 40 ms 47 ms 38 ms 39 ms 38 ms 92 ms 39 ms 39 ms 38 ms 44.80
google 9 ms 18 ms 10 ms 9 ms 32 ms 53 ms 9 ms 21 ms 40 ms 19 ms 22.00
quad9 30 ms 40 ms 29 ms 48 ms 30 ms 31 ms 32 ms 32 ms 39 ms 52 ms 36.30
freenom 21 ms 56 ms 20 ms 25 ms 21 ms 144 ms 21 ms 33 ms 25 ms 99 ms 46.50
opendns 12 ms 13 ms 22 ms 38 ms 29 ms 32 ms 12 ms 38 ms 23 ms 27 ms 24.60
norton 91 ms 43 ms 39 ms 40 ms 39 ms 39 ms 44 ms 61 ms 43 ms 79 ms 51.80
@johanhammar
johanhammar / bootstrap-win10.ps1
Last active Dec 30, 2018
Bootstrap Win10 using Boxstarter
View bootstrap-win10.ps1
# Run with:
# Install-BoxstarterPackage -PackageName <raw-gist-url> -DisableReboots
# Inspiration from
# https://gist.github.com/jessfraz/7c319b046daa101a4aaef937a20ff41f
Disable-UAC
# Windows configuration
Set-WindowsExplorerOptions -EnableShowHiddenFilesFoldersDrives -EnableShowProtectedOSFiles -EnableShowFileExtensions -EnableShowFullPathInTitleBar
You can’t perform that action at this time.