Go to Control Panel / Task Scheduler and add the content of these scripts as root scripts.
| (* | |
| Create Calendar event from Message | |
| *) | |
| set theContent to string | |
| -- A subroutine to strip all tags from html | |
| on remove_markup(this_text) | |
| set copy_flag to true | |
| set the clean_text to "" | |
| repeat with this_char in this_text |
Update 04.04.2020: Please take a look at many of the forks of this gist or comments, where people have updated or improved upon the code. I have not needed this in a long time, which is why the original document has not been updated and the code probably does not work. Stay secure and only copy and paste code that you trust.
There is an increasing count of applications which use Authy for two-factor authentication. However many users who aren't using Authy, have their own authenticator setup up already and do not wish to use two applications for generating passwords.
Since I use 1Password for all of my password storing/generating needs, I was looking for a solution to use Authy passwords on that. I couldn't find any completely working solutions, however I stumbled upon a gist by Brian Hartvigsen. His post had a neat code with it to generate QR codes (beware, thro
| (* | |
| Author: Francis Laclé | |
| Version: 1.0 | |
| Date: January 4 2016 | |
| Description: The purpose of this script is to sort email recipients alphabetically in the To, Cc, and Bcc fields. | |
| Motivation: For cases when you don't want to give subliminal preference to coworkers in your organization ;) | |
| Requirements: Apple Mail, OSX El Capitan | |
| Installation and usage: | |
| 1) Use "Run AppleScript" as a new Service in Automator. | |
| 2) Choose "Service receives no input in Mail.app". |
The current kernel/drivers of Fedora 24 do not support the Wifi chip used on my Mac Book Pro. Proprietary Broadcom drivers are packaged and available in the rpmfusion repo.
Verify that your card is a Broadcom using: lspci -vnn -d 14e4:
Sample output:
02:00.0 Network controller [0280]: Broadcom Corporation BCM4360 802.11ac Wireless Network Adapter [14e4:43a0] (rev 03)
Install the rpmfusion repo, note only "nonfree" is required, as the Broadcom Driver is proprietry: http://rpmfusion.org/
| #!/usr/bin/env python3 | |
| # -*- coding: utf-8 -*- | |
| # | |
| # Description: Sync Plex playlists to shared users. | |
| # Author: /u/SwiftPanda16 | |
| # Requires: plexapi | |
| from plexapi.exceptions import NotFound | |
| from plexapi.server import PlexServer |
- Virus Name: WannaCrypt, WannaCry, WanaCrypt0r, WCrypt, WCRY
- Vector: All Windows versions before Windows 10 are vulnerable if not patched for MS-17-010. It uses EternalBlue MS17-010 to propagate.
- Ransom: between $300 to $600. There is code to 'rm' (delete) files in the virus. Seems to reset if the virus crashes.
- Backdooring: The worm loops through every RDP session on a system to run the ransomware as that user. It also installs the DOUBLEPULSAR backdoor. It corrupts shadow volumes to make recovery harder. (source: malwarebytes)
- Kill switch: If the website
www.iuqerfsodp9ifjaposdfjhgosurijfaewrwergwea.comis up the virus exits instead of infecting the host. (source: malwarebytes). This domain has been sinkholed, stopping the spread of the worm. Will not work if proxied (source).
update: A minor variant of the viru
Past August 2024, Authy stopped supported the desktop version of their apps:
See Authy is shutting down its desktop app | The 2FA app Authy will only be available on Android and iOS starting in August for details.
And indeed, after a while, Authy changed something in their backend which now prevents the old desktop app from logging in. If you are already logged in, then you are in luck, and you can follow the instructions below to export your tokens.
If you are not logged in anymore, but can find a backup of the necessary files, then restore those files, and re-install Authy 2.2.3 following the instructions below, and it should work as expected.
| #!/usr/bin/env python3 | |
| from argparse import ArgumentParser | |
| from pathlib import Path | |
| from datetime import datetime, timedelta | |
| import subprocess | |
| from math import log10, sqrt | |
| def prune(seq, key, dist): | |
| pruned = [] |
| #!/usr/bin/env python3 | |
| import sys | |
| import subprocess as sp | |
| from pathlib import Path | |
| from argparse import ArgumentParser | |
| from configparser import ConfigParser | |
| def ssh(host, cmd): | |
| return sp.check_output(['ssh', host, cmd]).strip().decode() |