This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '2' | |
services: | |
homebridge: | |
image: gcr.io/artem-gcloud/homebridge:1.6.0 | |
restart: unless-stopped | |
network_mode: host | |
environment: | |
- ENABLE_AVAHI=0 | |
- TZ=America/Toronto | |
volumes: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: "3" | |
# More info at https://github.com/pi-hole/docker-pi-hole/ and https://docs.pi-hole.net/ | |
services: | |
pihole: | |
container_name: pihole | |
image: pihole/pihole:latest | |
environment: | |
- TZ=America/Toronto | |
volumes: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '3' | |
services: | |
homeassistant: | |
container_name: homeassistant | |
image: "ghcr.io/home-assistant/home-assistant:stable" | |
environment: | |
- TZ=America/Toronto | |
volumes: | |
- /media/usb/homeassistant/config:/config | |
- /etc/localtime:/etc/localtime:ro |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script async defer data-pin-hover="true" data-pin-tall="true" data-pin-lang="en" src="//assets.pinterest.com/js/pinit.js"></script> | |
<script> | |
(function() { | |
function preventPinterestOnInstagramBlock(){ | |
var elems = document.querySelectorAll(".instagram-block img:not([data-pin-no-hover])"); | |
for (var i = 0; i < elems.length; i++) { | |
elems[i].setAttribute("data-pin-no-hover", "true"); | |
} | |
setTimeout(preventPinterestOnInstagramBlock, 500); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import scala.sys.process | |
import scala.util.Try | |
import com.typesafe.sbt.web.Import._ | |
import play.sbt.PlayScala | |
import sbt._ | |
import sbt.Keys._ | |
/** | |
* Adds /version.txt into Play static assets |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import com.google.common.hash.{Hashing, HashFunction}; | |
/** | |
* Deterministic algorithm for assigning given variables to variants A or B with given probability. | |
* | |
* @param id The experiment's identifier | |
* @param pA Probability of A (probability of B is 'pB = 1.0 - pA'). | |
*/ | |
class Experiment(val id: String, pA: Float) { | |
/** |
I hereby claim:
- I am tartakynov on github.
- I am tartakynov (https://keybase.io/tartakynov) on keybase.
- I have a public key whose fingerprint is 1079 61BB B910 0861 2890 3530 CDED D434 0B39 5C9B
To claim this, I am signing this object:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
' put this script in Start / All Programs / Startup | |
Dim objResult | |
Set objShell = WScript.CreateObject("WScript.Shell") | |
i = 0 | |
Do While i = 0 | |
objResult = objShell.sendkeys("{NUMLOCK}{NUMLOCK}") | |
Wscript.Sleep (6000) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
import hexdump | |
import base64 | |
m = "aGVsbG8gd29ybGQ=" | |
decodedb64 = base64.b64decode(m) | |
hexdump.hexdump(decodedb64) |
NewerOlder