This file contains 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
static void stm32l152rbt6_init(ram_addr_t ram_size, const char *boot_device, const char *kernel_filename, const char *kernel_cmdline, const char *initrd_filename, const char *cpu_model) { | |
//Préparation de la mémoire | |
MemoryRegion *address_space_mem = get_system_memory(); | |
uint16_t flash_size = stm32_board.f_size; //128KBits | |
uint16_t sram_size = 0x0010; //16 KBits | |
//Initialisation du processeur (+ mémoire) | |
qemu_irq* pic = armv7m_init(address_space_mem, flash_size, sram_size, kernel_filename, cpu_model); | |
stm32l_sys_init(0x1FF00000, pic[28], &stm32_board); //FIXME: Vérifier l'implémentation de la sys memory |
This file contains 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
--- Log opened 六 8月 18 09:55:58 2012 | |
09:55 |-INFO > darkx [~x4r@27-40.NBA.nctu.edu.tw] has joined #ccic | |
09:55 |-INFO > ServerMode/#ccic [+ns] by rajaniemi.freenode.net | |
09:55 |-INFO > Irssi: #ccic: Total of 1 nicks [1 ops, 0 halfops, 0 voices, 0 normal] | |
09:55 !rajaniemi.freenode.net [freenode-info] channel flooding and no channel staff around to help? Please check with freenode support: http://freenode.net/faq.shtml#gettinghelp | |
09:56 |-INFO > Irssi: Join to #ccic was synced in 2 secs | |
09:57 |-INFO > david50407 [~david5040@140.115.184.234] has joined #ccic | |
09:58 |-INFO > david50407 is now known as freetsubasa | |
09:58 | freetsubasa > 0.0 | |
09:58 |@darkx > XD |
This file contains 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
$ ed foo | |
foo: 沒有此一檔案或目錄 | |
a | |
hello, ed | |
. | |
1p | |
hello, ed | |
1c | |
hello, ed, the oldest editor! | |
. |
This file contains 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
#!/bin/sh | |
rm -r ~/.feed | |
mkdir ~/.feed | |
cp fetchRSS.pl ~/.feed | |
# cd to the Data directory | |
cd ~/.feed | |
# default subscriptionss |
This file contains 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 | |
use strict; | |
use LWP::Simple; | |
use XML::Feed; | |
no warnings; | |
my @subs = (); | |
chdir "~/.feed/"; |
This file contains 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 <stdio.h> | |
int main(){ | |
int a,b,c,o,i,j; | |
int n=0; | |
while(scanf("%d %d",&i,&j)!=EOF){ | |
printf("%d %d",i,j); | |
if(i>j){ | |
b=i; |
This file contains 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
altscreen on # erase screen when quit apps | |
defutf8 on | |
defc1 off # treat input chars 128 ~ 159 as control functions | |
defflow on | |
activity "activity in %n (%t)" | |
bell_msg "bell in %n (%t)" | |
vbell on | |
vbell_msg "WTF!!!" | |
startup_message off | |
nethack on |
This file contains 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
set cursorline | |
set cursorcolumn | |
hi CursorLine term=none cterm=none ctermbg=none ctermbg=none | |
hi CursorColumn term=none cterm=none ctermbg=none ctermbg=none | |
au InsertEnter * hi CursorLine term=none ctermbg=darkblue | |
au InsertLeave * hi CursorLine term=none cterm=none ctermbg=none | |
au InsertEnter * hi CursorColumn term=none ctermbg=darkblue | |
au InsertLeave * hi CursorColumn term=none cterm=none ctermbg=none |
This file contains 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
use 5.012; | |
my @lines = (); | |
push @lines, <>; | |
my $one_line; | |
$one_line .= my_chomp($_) for (@lines); | |
#say $one_line; |
This file contains 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
專業發展與領導能力開發 | |
柯承恩 台灣大學管理學院兼任教授 | |
柯承恩教授的這場演講是本學期課程的第一場演講,主要談論身為一個領導人,他所需具備的專業以及必備的能力、氣質。一言以蔽之,領導決定團體得成敗。 | |
整場演講聽下來,我個人的觀點不盡然跟柯教授相同,甚至有些地方、某些價值觀是和柯教授這場演講提到的所相違背的。柯教授一再強調,身為一個專業的領導人,他並不需要具備太多的專業能力,專職於領導職責就好。假若只有專業能力,沒有領導力的話帶領團隊的風險比較高。但是。反過來說,假若在上位的領導人本身沒有相足夠的專業能力,他又如何使被他所領導的團隊成員所信服呢? | |
這裡躺著一個人,他知道如何集合比他能幹的人在他身邊 -- 鋼鐵大王卡內基墓誌銘 | |
相信卡內基本人一定也具備對於鋼鐵產業的相關專業,如此才能使那些比他能幹的人所信服、為他工作。 |
OlderNewer