| fetch( | |
| "https://outlineapi.com/v3/parse_article?source_url=" + | |
| encodeURIComponent(window.location) | |
| ) | |
| .then(res => res.json()) | |
| .then(body => { | |
| if (body.error) { | |
| return alert(`Outline Bookmarklet Error: ${body.error}`); | |
| } | |
| window.location.href = `https://outline.com/${body.data.short_code}` |
| #!/usr/bin/python | |
| import binascii | |
| import hashlib | |
| import hmac | |
| import sys | |
| def GetHash(GameID): | |
| byte_key = binascii.unhexlify('AD62E37F905E06BC19593142281C112CEC0E7EC3E97EFDCAEFCDBAAFA6378D84') | |
| hash = hmac.new(byte_key, 'np_%s' % GameID, digestmod=hashlib.sha256) |
| activate application "SystemUIServer" | |
| tell application "System Events" | |
| tell process "SystemUIServer" | |
| -- Working CONNECT Script. Goes through the following: | |
| -- Clicks on Bluetooth Menu (OSX Top Menu Bar) | |
| -- => Clicks on SX-991 Item | |
| -- => Clicks on Connect Item | |
| set btMenu to (menu bar item 1 of menu bar 1 whose description contains "bluetooth") | |
| tell btMenu | |
| click |
| # The MIT License | |
| # SPDX short identifier: MIT | |
| # Further resources on the MIT License | |
| # Copyright 2017 Denis Gladkikh (https://www.outcoldman.com/en/archive/2017/07/19/dbhist/) | |
| # Permission is hereby granted, free of charge, to any person obtaining a copy | |
| # of this software and associated documentation files (the "Software"), to deal | |
| # in the Software without restriction, including without limitation the rights | |
| # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell |
| // Background mixin | |
| @mixin strips($color, $angle){ | |
| $color: saturate(lighten($color, 2%), 10%); | |
| background: $color | |
| linear-gradient($angle, $color 0%, $color 10%, | |
| mix(black, $color, 5%) 10%, mix(black, $color, 5%) 20%, | |
| mix(black, $color, 12%) 19%, mix(black, $color, 10%) 21%, // Thin line between gradient | |
| mix(black, $color, 10%) 20%, mix(black, $color, 10%) 30%, | |
| mix(black, $color, 17%) 29%, mix(black, $color, 15%) 31%, // Thin line between gradient | |
| mix(black, $color, 15%) 30%, mix(black, $color, 15%) 40%, |
| <?php | |
| /* | |
| Backup script for trakt.tv (API v2). | |
| */ | |
| // create a Trakt app to get a client API key: http://docs.trakt.apiary.io/#introduction/create-an-app | |
| $apikey = "CLIENT_API_KEY"; | |
| $username = "YOUR_USERNAME"; |
| #!/bin/bash | |
| # http://neondust.tumblr.com/post/97723922505/simple-tumblr-backup-script-for-mac-os-x-and-linux | |
| # https://gist.github.com/doersino/7e3e5db591e42bf543e1 | |
| # BLOGS is a space-separated list of the blogs you want to backup. You can omit | |
| # the ".tumblr.com" part if you want. | |
| BLOGS="neondust.tumblr.com aufgeloest.tumblr.com hejlisten.tumblr.com" | |
| # OUT is the directory where the backups will be stored. For each blog, a date- | |
| # prefixed subdirectory will be created here. |
| #!/bin/sh | |
| # Enable and disable HDMI output on the Raspberry Pi | |
| is_off () | |
| { | |
| tvservice -s | grep "TV is off" >/dev/null | |
| } | |
| case $1 in |
You should never let passwords or private data be transmitted over an untrusted network (your neighbor’s, the one at Starbucks or the company) anyway, but on a hacker congress like the #30C3, this rule is almost vital.
Hackers get bored easily, and when they’re bored, they’re starting to look for things to play with. And a network with several thousand connected users is certainly an interesting thing to play with. Some of them might start intercepting the data on the network or do other nasty things with the packets that they can get.
If these packets are encrypted, messing with them is much harder (but not impossible! – see the end of this article). So you want your packets to be always encrypted. And the best way to do that is by using a VPN.