Skip to content

Instantly share code, notes, and snippets.

View dandrzejewski's full-sized avatar
🥵

David Andrzejewski dandrzejewski

🥵
View GitHub Profile
#!/bin/sh
# cron script for checking wlan connectivity
# change 192.168.1.1 to whatever IP you want to check.
IP_FOR_TEST="192.168.1.1"
PING_COUNT=1
PING="/bin/ping"
IFUP="/sbin/ifup"
IFDOWN="/sbin/ifdown --force"

Keybase proof

I hereby claim:

  • I am dandrzejewski on github.
  • I am dandrzejewski (https://keybase.io/dandrzejewski) on keybase.
  • I have a public key ASAAWF9MMWtGes-S6bR5MRk4ctqjGrKaQKDtCzulY4qJoQo

To claim this, I am signing this object:

@dandrzejewski
dandrzejewski / gist:3ccb9cae9ec60e2883333054011541da
Created April 28, 2016 21:00 — forked from weivall/gist:2595515
<meta name="format-detection" content="address=no;email=no" />
<meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no, width=device-width">
<meta name="format-detection" content="address=no;email=no" />
@dandrzejewski
dandrzejewski / crypto-wrong-answers.md
Created November 18, 2015 14:41 — forked from paragonie-scott/crypto-wrong-answers.md
An Open Letter to Developers Everywhere (About Cryptography)
@dandrzejewski
dandrzejewski / answer.md
Last active May 5, 2016 16:14 — forked from non/answer.md
Appeal of Dynamically typed languages

What is the appeal of dynamically-typed languages?

Kris Nuttycombe asks:

I genuinely wish I understood the appeal of unityped languages better. Can someone who really knows both well-typed and unityped explain?

I think the terms well-typed and unityped are a bit of question-begging here (you might as well say good-typed versus bad-typed), so instead I will say statically-typed and dynamically-typed.

I'm going to approach this article using Scala to stand-in for static typing and Python for dynamic typing. I feel like I am credibly proficient both languages: I don't currently write a lot of Python, but I still have affection for the language, and have probably written hundreds of thousands of lines of Python code over the years.