» Uncategorized の記事

~ Undefined symbol: _vDSP_mmul ~

connie 2019.12.11 | Uncategorized | | No Comments

add Accelerate.framework

add “-lc++” to Other Linker Flags in your Build Settings.

~ Xcode view 2 files side by side ~

connie 2019.05.03 | Uncategorized | | No Comments

Option Click the file and it will open to assistant editor side

SSH to NAS

cat /proc/sys/dev/raid/speed_limit_max
200000
cat /proc/sys/dev/raid/speed_limit_min
1000

echo 20000 > /proc/sys/dev/raid/speed_limit_min

check with cat /proc/mdstat

Before

1476352536417

After

1476352512955

~ enable airdrop in osx86 ~

connie 2016.06.19 | Uncategorized | | No Comments
cmd type in
defaults write com.apple.NetworkBrowser BrowseAllInterfaces 1
killall Finder

 

~ Openoffice 合併列印 ~

connie 2016.06.17 | Uncategorized | | No Comments

1)先準備一個excel

擷取

2)開多一個Word, 試位,沒問題就選擇repeat位置

擷取2

3) Insert repeat Zone Insert->Fields->Other

擷取3

4)Add database file,選擇返剛剛的excel file

擷取4

5)Type 選擇Mail merge Fileds , database selection找回剛剛加入的excel , 再找loop 的column

擷取5

6)成功會如下

擷取6

7)之後要preview 一下結果及print , tool->mail merge wizard

擷取7

8)按presonalize document load一野

擷取8

9)save merged document 看看,會生產一堆doc, 看看結果

擷取11

10)最後print

擷取11

 

~ USB boot ESXi installer ~

connie 2016.06.17 | ESXi, Uncategorized | | No Comments
  1. Download Rufus
  2. Download ESXI image
  3. Insert usb drive
  4. rufus

~ nas synology install and setup nano ~

connie 2016.05.04 | Uncategorized | | No Comments

Install Nano

ipkg update
ipkg install nano

nano /opt/etc/nanorc
uncomment the include line

Setup nano Fix bad regex error message

nano fix_bad_regex.sh

#!/bin/bash
NEW="\\\b"
DPATH="/opt/share/nano/*.nanorc"
BPATH="/opt/share/nano/"
[ ! -d $BPATH ] && mkdir -p $BPATH || :
for f in $DPATH
do
  if [ -f $f -a -r $f ]; then
    /bin/cp $f "$f.bak"
    sed -i "s/\\\</$NEW/g" "$f"
    sed -i "s/\\\>/$NEW/g" "$f"
   else
    echo "Error: Cannot read $f"
  fi
done

sh fix_bad_regex.sh

 

~ nas synology ipkg install ~

connie 2016.05.04 | Uncategorized | | No Comments
cd /volume1/public

wget http://ipkg.nslu2-linux.org/feeds/optware/syno-e500/cross/unstable/syno-e500-bootstrap_1.2-7_powerpc.xsh

sh syno-e500-bootstrap_1.2-7_powerpc.xsh

ipkg update

 

« Previous Page | HOME |

Smiley face

February 2020
S M T W T F S
« Dec    
 1
2345678
9101112131415
16171819202122
23242526272829