Skip to content

Instantly share code, notes, and snippets.

{- OVERVIEW ------------------------------------------------------
A "Tree" represents a binary tree. A "Node" in a binary tree
always has two children. A tree can also be "Empty". Below I have
defined "Tree" and a number of useful functions.
This example also includes some challenge problems!
-----------------------------------------------------------------}
-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GnuPG v2
mQENBFhPL/YBCAC3zi3/w4l4BLUhEU6WOgXm7TFqDEG0dR9848MIHIZUKVTu6dFe
NWRRv+YNYUa2oltS4S8dAMww3nd7MbWAzPyocim50zKfeB7+/gD3QSd7MUV5ByxE
rqnRCO+pnmmd/sJOhFZj0El3R6lmXRzqaS48voo8uNl9vH1Oa7U7V9iRCiuosK9E
dp9uJSauCMosq0NTiEVpotLEfRHsviD4vTXNwbNhXdIri1n8mQdhplb76PQ94kVC
nHzjkGI7B2SXOS/xWIk2Hm9opU3+ixEZq+yJEZF8Nv7dSFPUzmg6G7YDM2MqHTkl
EWheSnGU8Rt+AgWsFB9tz9TqDljJ7rc4idJbABEBAAG0LVJvbWFuIExlIE7DqWdy
YXRlIDxyb21hbi5sZW5lZ3JhdGVAZ21haWwuY29tPokBOQQTAQgAIwUCWE8v9gIb
ŒŒting
ŒŒuilly
Bœœurs-en-Othe
Bâgé-le-Châtel
Bâlines
Bâties
Bébing
Beblenheim
Béceleuf
Bécherel
diff --git a/m4/nls.m4 b/m4/nls.m4
new file mode 100644
index 0000000..7967cc2
--- /dev/null
+++ b/m4/nls.m4
@@ -0,0 +1,31 @@
+# nls.m4 serial 3 (gettext-0.15)
+dnl Copyright (C) 1995-2003, 2005-2006 Free Software Foundation, Inc.
+dnl This file is free software; the Free Software Foundation
+dnl gives unlimited permission to copy and/or distribute it,
@Roman2K
Roman2K / updatePrices.js
Created January 6, 2014 17:23
Drive > Spreadsheet > Tools > Script editor...
function onOpen() {
SpreadsheetApp.getActiveSpreadsheet().addMenu("Update", [
{name: "Prices", functionName: "updatePrices"}
]);
}
function updatePrices() {
var sheet = SpreadsheetApp.getActiveSheet();
var cell = sheet.getRange('D2');
while (/^...\/...$/.test(cell.getValue())) {
12-08 02:35:34.084 W/AudioTrack(4200): AUDIO_OUTPUT_FLAG_FAST denied by client
12-08 02:35:34.084 W/AudioPolicyIntefaceImpl(2956): Skipped to add effects on session 390
12-08 02:35:34.754 W/AudioTrack(4200): AUDIO_OUTPUT_FLAG_FAST denied by client
12-08 02:35:34.754 W/AudioPolicyIntefaceImpl(2956): Skipped to add effects on session 391
12-08 02:35:34.804 E/AXLOG (24463): onResume**Start[1449538534814]**
12-08 02:35:34.834 E/AXLOG (24463): surfaceCreate**StartU[1449538534846]**
12-08 02:35:34.844 E/AXLOG (24463): HW Open**StartU[1449538534858]**
12-08 02:35:34.844 E/SecCamera-JNI-Java(24463): SecCamera.open()
12-08 02:35:34.854 E/CameraService(2956): orgID: 1 checkingID: 0 seems GOOD
12-08 02:35:34.854 E/CameraService(2956): orgID: 1 checkingID: 1 seems GOOD
11-30 22:46:36.180 E/SEC_DRM_PLUGIN_Omafl(2947): OmaPlugin::onOpenDecryptSession(fd)::Drm2IsDrmFileByExtFd::file is NOT DRM by extension
11-30 22:46:36.180 W/SEC_DRM_PLUGIN_Playready(2947): PlayreadyPlugIn: Function[DRM_ASFVerify_Context_Initialize]; Line[4464]; File type[0]
11-30 22:46:36.180 W/SEC_DRM_PLUGIN_Playready(2947): PlayReadyPlugIn: Function[onOpenDecryptSession]; Line[2572]; DRM Result[0x80004005]
11-30 22:46:36.180 W/MediaPlayer(4340): info/warning (973, 0)
11-30 22:46:36.180 E/MediaPlayer(4340): Should have subtitle controller already set
11-30 22:46:36.190 E/MediaPlayerService(2948): WFD client is not created
11-30 22:46:36.200 E/OMXNodeInstance(2948): setParameter(82c:SEC.aac.dec, ParamAudioAndroidAacPresentation(0x6f400003)) ERROR: UnsupportedIndex(0x8000101a)
11-30 22:46:36.200 E/OMXNodeInstance(2948): getParameter(82c:SEC.aac.dec, ??(0x7f010008)) ERROR: UnsupportedIndex(0x8000101a)
11-30 22:46:36.210 W/AudioPolicyIntefaceImpl(2948): Skipped to add effects on session 5566
11-30 22:46:36.210
Misplaced "ensures" in sample code from:
http://railsware.com/blog/2012/11/20/yield-gotcha-in-ruby-blocks/
Always be careful when adding "ensure" statements. Variables used within its
block may not have been assigned if an exception is raised within the "begin"
block. In fact, this mistake is often the result of not bothering with a "begin"
statement altogether