This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| (kgdb) bt | |
| #0 doadump (textdump=0) at pcpu.h:219 | |
| #1 0xffffffff803464ae in db_dump (dummy=<value optimized out>, dummy2=0, dummy3=0, dummy4=0x0) at /usr/src/sys/ddb/db_command.c:543 | |
| #2 0xffffffff80345f4d in db_command (cmd_table=0x0) at /usr/src/sys/ddb/db_command.c:449 | |
| #3 0xffffffff80345cc4 in db_command_loop () at /usr/src/sys/ddb/db_command.c:502 | |
| #4 0xffffffff803486a0 in db_trap (type=<value optimized out>, code=0) at /usr/src/sys/ddb/db_main.c:231 | |
| #5 0xffffffff8093eca9 in kdb_trap (type=3, code=0, tf=<value optimized out>) at /usr/src/sys/kern/subr_kdb.c:654 | |
| #6 0xffffffff80d16d7e in trap (frame=0xfffffe00977260c0) at /usr/src/sys/amd64/amd64/trap.c:549 | |
| #7 0xffffffff80cf9ce2 in calltrap () at /usr/src/sys/amd64/amd64/exception.S:231 | |
| #8 0xffffffff8093e40e in kdb_enter (why=0xffffffff80f947b8 "panic", msg=<value optimized out>) at cpufunc.h:63 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| (kgdb) bt | |
| #0 doadump (textdump=0) at pcpu.h:219 | |
| #1 0xffffffff803454ee in db_dump (dummy=<value optimized out>, dummy2=0, dummy3=0, dummy4=0x0) | |
| at /usr/src/sys/ddb/db_command.c:543 | |
| #2 0xffffffff80344f8d in db_command (cmd_table=0x0) at /usr/src/sys/ddb/db_command.c:449 | |
| #3 0xffffffff80344d04 in db_command_loop () at /usr/src/sys/ddb/db_command.c:502 | |
| #4 0xffffffff803476e0 in db_trap (type=<value optimized out>, code=0) | |
| at /usr/src/sys/ddb/db_main.c:231 | |
| #5 0xffffffff80932169 in kdb_trap (type=3, code=0, tf=<value optimized out>) | |
| at /usr/src/sys/kern/subr_kdb.c:656 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python | |
| import datetime | |
| numdays = 180 | |
| base = datetime.datetime.today() | |
| date_list = [base - datetime.timedelta(days=x) for x in range(0, numdays)] | |
| for date in date_list: | |
| y1 = date.year |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/perl -w | |
| # | |
| # Updating ports tree, portsnap.tw.FreeBSD.org cache and | |
| # local distfiles. | |
| # | |
| use strict; | |
| my @arch = qw/amd64 i386 ia64 pc98 powerpc sparc64/; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| https://www.dropbox.com/sh/grzpq6kj7cyo6vw/AADt5vNFHi8HC41Tdaaypfs9a#/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| http://dylandy.github.io/Easy-Git-Tutorial/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Pastebin 8Ovy7YOd | |
| 依值型別編程 (DTP) | |
| Dependently Typed Programming | |
| 穆信成 Shin-Cheng Mu | |
| https://www.youtube.com/watch?v=Yl2TYS3UTc4 7/2 上午 part 1/9 169 | |
| https://www.youtube.com/watch?v=IjD8mglDWRI 7/2 上午 part 2/9 170 | |
| https://www.youtube.com/watch?v=pg2R-Yoq1Zs 7/2 上午 part 3/9 171 | |
| https://www.youtube.com/watch?v=g0zDRnO24c0 7/2 上午 part 4/9 172 | |
| https://www.youtube.com/watch?v=-kPIWdWQ8o0 7/2 上午 part 5/9 173 | |
| https://www.youtube.com/watch?v=-DEsqlpqSp0 7/3 上午 part 6/9 179 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| panic: mutex Giant owned at /usr/src/sys/kern/kern_synch.c:443 | |
| cpuid = 1 | |
| KDB: stack backtrace: | |
| db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame 0xfffffe009752cfc0 | |
| kdb_backtrace() at kdb_backtrace+0x39/frame 0xfffffe009752d070 | |
| vpanic() at vpanic+0x126/frame 0xfffffe009752d0b0 | |
| panic() at panic+0x43/frame 0xfffffe009752d110 | |
| __mtx_assert() at __mtx_assert+0xd4/frame 0xfffffe009752d120 | |
| mi_switch() at mi_switch+0x8a/frame 0xfffffe009752d190 | |
| sleepq_switch() at sleepq_switch+0x165/frame 0xfffffe009752d1f0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <unistd.h> | |
| #include <stdio.h> | |
| #include <stdlib.h> | |
| #include <fcntl.h> | |
| #include <sys/types.h> | |
| #include <sys/event.h> | |
| #include <sys/time.h> | |
| #include <errno.h> | |
| #include <string.h> | |
| #include <inttypes.h> |