Skip to content

Instantly share code, notes, and snippets.

/usr/local/lib/erlang/lib/percept-0.8.4/src/percept_html.erl
660: case string:to_float(Value) of
/usr/local/lib/erlang/lib/edoc-0.7.6.7/src/edoc_scanner.erl
300:%% characters and then use list_to_integer/1 or list_to_float/1 to
331: case catch list_to_float(reverse(Ncs)) of
349: case catch list_to_float(reverse(Ncs)) of
/usr/local/lib/erlang/lib/xmerl-1.2.6/src/xmerl_xpath_scan.erl
263: Number = list_to_float(Digits),
<?xml version="1.0"?>
<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
<?xml-stylesheet href="chrome://browser/skin/preferences/preferences.css" type="text/css"?>
<!DOCTYPE window SYSTEM "chrome://nextplease/locale/nextplease.dtd">
<prefwindow id="nextpleaseprefs" title="&options.title;" buttons="accept, cancel"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<prefpane id="nextplease.phrases" label="&options.phrases.title;" image="chrome://nextplease/skin/Document.png"
onpaneload="nextplease.loadListboxPreferences('phrases');">
/*********************************************************************************
* The contents of this file are subject to the Mozilla Public License Version 1.1
* ("License"); you may not use this file except in compliance with the License.
* You may obtain a copy of the License at http://www.mozilla.org/MPL/.
*
* Software distributed under the License is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for
* the specific language governing rights and limitations under the License.
*
* The Initial Developer of the Original Code is Howie Wang.
F:\MyProgramming\erlang-sqlite3\sqlite3>dir src\*.erl
Volume in drive F has no label.
Volume Serial Number is 0C3D-7A1B
Directory of F:\MyProgramming\erlang-sqlite3\sqlite3\src
11.12.2010 17:40 40 308 sqlite3.erl
11.12.2010 17:07 18 265 sqlite3_lib.erl
2 File(s) 58 573 bytes
@alexeyr
alexeyr / cl output
Created December 11, 2010 17:09
sqlite3_drv.c
F:\MyProgramming\erlang-sqlite3\c_src>cl -D__WIN32__ -If:/PROGLA~1/erl/lib/erl_interface-3.7.2/inclu
de -If:/PROGLA~1/erl/erts-5.8.2/include -IF:\MyProgramming\sqlite-amalgamation\ *.c
Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 16.00.30319.01 for 80x86
Copyright (C) Microsoft Corporation. All rights reserved.
sqlite3_drv.c
sqlite3_drv.c(40) : error C2059: syntax error : 'type'
sqlite3_drv.c(57) : error C2143: syntax error : missing ';' before 'const'
sqlite3_drv.c(58) : error C2065: 'db_name' : undeclared identifier
sqlite3_drv.c(61) : error C2065: 'db_name' : undeclared identifier
aromanov@alexey-desktop:~/workspace/gmcontroller/lib/sqlite3$ gdb "/usr/local/lib/erlang/erts-5.8.1/bin/beam.smp" .eunit/core
GNU gdb (GDB) 7.0-ubuntu
... loading symbols ...
Core was generated by `/usr/local/lib/erlang/erts-5.8.1/bin/beam.smp -B -- -root /usr/local/lib/erlang'.
Program terminated with signal 11, Segmentation fault.
#0 0x0808c799 in tree_insert_fixup (bfallctr=0x8ca0e80, blk=0x410a9078)
at beam/erl_bestfit_alloc.c:326
326 if (x->parent == x->parent->parent->left) {
(gdb) backtrace
#0 0x0808c799 in tree_insert_fixup (bfallctr=0x8ca0e80, blk=0x410a9078)
Core was generated by `/usr/local/lib/erlang/erts-5.8.1/bin/beam.smp -B -- -root /usr/local/lib/erlang'.
Program terminated with signal 11, Segmentation fault.
#0 0x41a337c5 in sqlite3_finalize () from /usr/lib/libsqlite3.so.0
(gdb) backtrace
#0 0x41a337c5 in sqlite3_finalize () from /usr/lib/libsqlite3.so.0
#1 0x412a6b65 in stop (handle=0x844a150) at c_src/sqlite3_drv.c:105
#2 0x080d3715 in terminate_port (prt=0x40356480) at beam/io.c:1848
#3 0x080d3cdf in erts_do_exit_port (p=0x40356480, from=1475, reason=587)
at beam/io.c:2058
#4 0x0813cfd1 in port_close_1 (A__p=0x40dbf5e4, A_1=52567)
[root@OMAP3EVM /opt]# fdisk -l
[root@OMAP3EVM /opt]# fdisk -v
fdisk: invalid option -- v
BusyBox v1.9.1 (2008-10-17 18:20:44 IST) multi-call binary
Usage: fdisk [-luv] [-C CYLINDERS] [-H HEADS] [-S SECTORS] [-b SSZ] DISK
Change partition table
Options:
// ========================== KeySnail Init File =========================== //
// You can preserve your code in this area when generating the init file using GUI.
// Put all your code except special key, set*key, hook, blacklist.
// ========================================================================= //
//{{%PRESERVE%
// Put your codes here
key.isDisplayableKey = function (ev) {
return ev.charCode !== 0;
-module(moddeps).
-compile(export_all).
write_to(Filename) ->
xref:start(s),
xref:add_directory(s, "ebin"),
{ok, Calls} = xref:q(s, "XC"),
Mods = [{From, To} || {{From,_,_}, {To,_,_}} <- Calls],