open file
convert to hex presentation
:%!xxd
PAT is personal access token
git remote remove origin
git remote add origin https://[pat]@github.com/[username]/[project].git
|
|
Canto 9 |
Meaning |
|
19 |
in
dream I seemed to see an eagle poised, |
Eagle:
spiritual flight, Saint Lucy (light) |
|
|
And
I seemed to be there where Ganymede |
|
|
|
Within
myself I thought: “This eagle may |
|
|
|
found
elsewhere.” Then it seemed to me that, wheeling |
Lightning:
eagle usually associate with lightning (thunderbolt, means knowledge) |
|
|
And
there it seemed that he and I were burning; |
Burning
(in the fire):purify (the sins) |
A New Persective On Dante's Dream of Siren is a wonderful article that I discoverred recently.
It covers the second dream in purgatorio, it provides a key to understanding divine comedy as a whole.
(To me, all three dreams in purgatorio are fascinating.)
|
|
Canto 19 |
Meaning |
|
7 |
a stammering woman came to me in dream: |
Not
to be loved |
|
10 |
I
looked at her; and just as sun revives |
gaze |
|
13 |
set
her contorted limbs in perfect order; |
Projected
love |
|
16 |
And
when her speech had been set free, then she |
Can't
escape |
|
19 |
“I
am,” she sang, “I am the pleasing siren, |
|
|
22 |
I turned aside Ulysses, although he |
Siren
change songs to fit the desire of hearers |
|
25 |
Her lips were not yet done when, there beside me, |
Lady
(reason, power of free choice) |
|
28 |
“O Virgil, Virgil, tell me: who is this?” |
|
|
31 |
He seized the other, baring her in front, |
Belly
(Dante's desire) |
|
|
Canto 19 |
Meaning |
|
58 |
“The one you saw,” he said, “that ancient witch— |
How
man can free her? |
|
61 |
Let
that suffice, and hurry on your way; |
Lure
(Beatrice) |
The author identify false images and true image (Beatrice), and argues that true image "drives the lover to investigate his desires".
The article (or the author) tries to use reason to exaplain true image, which will eventually fail. I still view the Beatrice image as esthetic image.
The pandemic of covid-19 in Alberta is rocking everyday, today was 1500, yesterday 1300, the day before 1100. Where is the ceiling? But my wife is my light, we have a little conversation this morning. If the life (virus) want to take your life, you can't avoid but have to accept it. Shouldn't depend the master's super power to heal the disease, or reciting the mantra or buddha's name to get rid of it. That's the spirit of "Love your fate!"
Dante has rely on the heavenly Marie and Beatrice, with this super natural power, he can't be defeat in seeking the source. James Joyce follows him, in Ulysses at the beginning that milk women acted like Athena (from my teacher Joseph Campbell). I am such a stupid head, I disdained that milk women as poor with no hope.
I have a little meditation this morning. My mind is contemplating what to focus of the meditation topic, not on "who recite the buddha's name", as by my master in cttb originally said you have to find a good question to contemplate a few years ago. As I go though divine comedy of Dante (mostly in inferno), James Joyce, and Joseph Campell. There's some words from Joe, "I have say no all my live...", then I have a little thought of that say 'yes'. After meditation, is breakfast time, toast and coffee. I've chance to open Ulysses, the last page and the last section, to read. That is the start of my day. And a good day. Yes.
public class LeapYear {
public static final int LEAP = 1;
public static final int COMMON = 0;
public static int isLeapYear(int d) {
if(d%400 == 0) return 1;
if(d%100 == 0) return 0;
if(d%4 == 0) return 1;
return 0;
}
}
import org.junit.*;
import static org.junit.Assert.*;
public class LeapYearTest {
@Test
public void test_1996_is_leap_year() {
int actual = LeapYear.isLeapYear(1996);
assertEquals(LeapYear.LEAP, actual);
}
@Test
public void test_2001_is_common_year() {
int actual = LeapYear.isLeapYear(2001);
assertEquals(LeapYear.COMMON, actual);
}
@Test
public void test_1900_is_common_year() {
int actual = LeapYear.isLeapYear(1900);
assertEquals(LeapYear.COMMON, actual);
}
@Test
public void test_2000_is_leap_year() {
int actual = LeapYear.isLeapYear(2000);
assertEquals(LeapYear.LEAP, actual);
}
}
#!/bin/bash
for f in `find . -name "*.foo" -type f`
do
newname=`echo "$f" | sed "s/\.foo$//"`
mv $f $newname
echo "mv $f to $newname"
done
exit 0
$ uname -a -> to find linux header version
$ sudo apt-get install linux-headers-2.6.32-21-generic
$ sudo apt-get install build-essential
$ sudo ./vmware-install.pl
$ sudo apt-get install gcc-multilib g++-multilib zlib1g-dev gperf
$ sudo aptitude install libncurses-dev
$ sudo apt-get install bison flex git-core curl
$ sudo apt-get install openjdk-6-jdk
$ repo init -u git://android.git.kernel.org/platform/manifest.git -b
android-2.2_r1
$ repo sync
$ vim ./build/core/main.mk change 1.5 to 1.6
$ source ./build/envsetup.sh
$ lunch 1
$ make -j8
/** @find_date generate date string from current time
*/
- (char*) find_date
{
static char date_str[80];
struct tm * my_tm = NULL;
char *month_str[12] = {
"January", "February", "March", "April",
"May", "June", "July", "August",
"September", "October", "November", "December"
};
time_t time_val;
time_val = time(NULL);
my_tm = localtime(&time_val);
sprintf(date_str, "%s%02d", month_str[my_tm->tm_mon], my_tm->tm_mday);
return date_str;
}
{
char date_str[80];
sprintf(date_str, "modified: %s", [self find_date]);
label2.text = [NSString stringWithCString: date_str];
}
- (char*) init_jk_quote: (char*) date_str
{
FILE* fp;
char* quote_buf;
int length;
fp = fopen(date_str, "r");
if (fp == NULL) return NULL;
fseek(fp, 0, SEEK_END);
length = ftell(fp);
quote_buf = (char*) malloc(length);
if (quote_buf == NULL) {
fclose(fp);
return NULL;
}
fseek(fp, 0, SEEK_SET);
fread(quote_buf, sizeof(char), length, fp);
fclose(fp);
return quote_buf;
}
- (void) free_jk_quote: (char*) quote_buf
{
if (quote_buf)
free(quote_buf);
quote_buf = NULL;
}
{
char* quote_text;
quote_text = [self init_jk_quote: "/tmp/March17.txt"];
if (quote_text == NULL || strlen(quote_text)== 0) {
label3.text = @"not supported!";
}
else {
NSString* mystring = [NSString stringWithCString: quote_text];
label3.text = [@"my quote: " stringByAppendingString: mystring];
}
[self free_jk_quote:quote_text];
}
$ mkdir t
$ cd t
$ ar x ../libfoo.a
$ ar x ../libgoo.a
all:
$(CROSS_COMPILE)g++ -shared -o libbar.so ./t
$(AR) -rcs libbar.a ./t/*.o
$ make -f Makefile.t
$ find ~/myspace/git/opencore -type f -name "*.[ch] -o -name "*.cpp" -exec grep -I "equalizer" {} \; -print