To use these templates, you'll need to create a new Anki "note type" with the following fields:
- Sound
- Time
- Source
- Image
- Target: line
- Base: line
- Target: line before
- Base: line before
/* Copyright (C) 2001 by First Peer, Inc. All rights reserved. | |
** | |
** Redistribution and use in source and binary forms, with or without | |
** modification, are permitted provided that the following conditions | |
** are met: | |
** 1. Redistributions of source code must retain the above copyright | |
** notice, this list of conditions and the following disclaimer. | |
** 2. Redistributions in binary form must reproduce the above copyright | |
** notice, this list of conditions and the following disclaimer in the | |
** documentation and/or other materials provided with the distribution. |
To use these templates, you'll need to create a new Anki "note type" with the following fields:
# -*- coding: utf-8 -*- | |
# Copyright: Damien Elmes <anki@ichi2.net> | |
# License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html | |
# Hacked to support HieroTeX by Eric Kidd. | |
import re, os, sys, shutil, cgi, subprocess | |
from anki.utils import checksum, call, namedtmp, tmpdir, isMac, stripHTML | |
from anki.hooks import addHook | |
from htmlentitydefs import entitydefs | |
from anki.lang import _ |
# Based on the ImageDownloader plugin. Quick, dirty and dodgy. | |
from PyQt4.QtCore import * | |
from PyQt4.QtGui import * | |
import urllib | |
from lxml import etree | |
from ankiqt.ui.facteditor import FactEditor | |
from ankiqt.ui.utils import showInfo |
// Change the phase of your orbit, that is, advance yourself a certain | |
// amount of time along the same orbit path. | |
// | |
// See https://en.wikipedia.org/wiki/Orbit_phasing for the math and lots | |
// of explanations. | |
// | |
// AUTHOR: Eric Kidd. | |
// | |
// REQUIREMENTS: To run this, you'll need Kerbel Space Program, the kOS mod, | |
// and a computer on your craft. |
-- This is a Hive program. Hive is an SQL-like language that compiles | |
-- into Hadoop Map/Reduce jobs. It's very popular among analysts at | |
-- Facebook, because it allows them to query enormous Hadoop data | |
-- stores using a language much like SQL. | |
-- Our logs are stored on the Hadoop Distributed File System, in the | |
-- directory /logs/randomhacks.net/access. They're ordinary Apache | |
-- logs in *.gz format. | |
-- | |
-- We want to pretend that these gzipped log files are a database table, |
This toolkit will allow you turn TV episodes and transcriptions into | |
high-quality Anki cards. Quite a lot of assembly is required the first | |
time through, but after that, 90% of your effort will be (1) either looking | |
at the text or (2) aligning the start and end of each audio clip using a | |
halfway civilized tool. In other words, it's still going to take time, but | |
you'll actually spend that time studying the language, not messing around | |
with a 19-step process. | |
There's a good chance you can this working on a Mac or on Linux. Windows | |
will be a fairly major challenge. |
helpers do | |
# Construct a link to +url_fragment+, which should be given relative to | |
# the base of this Sinatra app. The mode should be either | |
# <code>:path_only</code>, which will generate an absolute path within | |
# the current domain (the default), or <code>:full_url</code>, which will | |
# include the site name and port number. The latter is typically necessary | |
# for links in RSS feeds. Example usage: | |
# | |
# link_to "/foo" # Returns "http://example.com/myapp/foo" | |
# |
-- Using Lexique 3 from http://lexique.org/ with SQLite 3. | |
-- | |
-- On the command line, to remove header and extract the first 10 columns. | |
-- iconv -f ISO-8859-15 -t UTF-8 Lexique380/Bases+Scripts/Lexique380.txt | tail -n+2 | cut -f 1-10 > lexique1-10.txt | |
-- Set up our original data table. This is pretty raw. | |
PRAGMA encoding = "UTF-8"; | |
CREATE TABLE lexique ( | |
ortho TEXT, | |
phon TEXT, |
{ | |
"containerDefinitions": [ | |
{ | |
"name": "nginx-proxy", | |
"image": "771600087445.dkr.ecr.us-east-1.amazonaws.com/nginx-proxy:latest", | |
"memory": "128", | |
"essential": true, | |
"portMappings": [ | |
{ | |
"hostPort": "443", |