ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
brew update
from datetime import datetime | |
import json | |
import requests | |
import sys | |
from bs4 import BeautifulSoup | |
from django.core.management.base import BaseCommand | |
from django.contrib.auth.models import User |
'use strict'; | |
// Licensed under a CC0 1.0 Universal (CC0 1.0) Public Domain Dedication | |
// http://creativecommons.org/publicdomain/zero/1.0/ | |
(function() { | |
// Update 'version' if you need to refresh the cache | |
var staticCacheName = 'static'; | |
var version = 'v1::'; |
#!/bin/bash | |
# create_yosemite_iso.sh: Create a bootable .iso OS X Yosemite installer (for use with e.g. VirtualBox) | |
# See https://gist.github.com/cellularmitosis/6e902579296e82ec6273 | |
# This is a (slightly) edited version of IOOI SqAR's script. | |
# See http://sqar.blogspot.de/2014/10/installing-yosemite-in-virtualbox.html | |
# Changes from IOOI SqAR's script include: | |
# * Use 'hdiutil makehybrid' to convert the .cdr image to a "real" .iso image. |
{% load i18n static template_tags %} | |
<html> | |
<head> | |
<title>Hello, world!</title> | |
</head> | |
<body> | |
<h1>This is an SVG, inserted as an object.</h1> | |
{% svgobject 'images/svg/test.svg' 'test-class-one' 'test-class-two' %} | |
</body> |
#!/usr/bin/env ruby | |
require "rubygems" | |
require "twitter" | |
require "json" | |
require "faraday" | |
# things you must configure | |
TWITTER_USER = "your_username" | |
# get these from dev.twitter.com |
Run commands, by condition:
A; B Run A and then B, regardless of success of A
A && B Run B if A succeeded
A || B Run B if A failed
A & Run A in background.
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.