終於由beta 轉做正式版. Windows download link: https://www.google.com/chrome/browser/?platform=win64
限時免費 source: ozbargain.com.au
Convenient tools which can search and download subtitle automatically after Download Stations tasks completed, by specified directories that match the download station folders. python script, source here: https://github.com/Diaoul/subliminal
Created a base image and wanna fork for specific purpose, then eth0 (bridge) & eth1 (host-only) have no IP. reason: VMware Player automatically assigned new MAC address, yet CentOS does not aware solutions: – remove /etc/udev/rules.d/70-persistent-net.rules – edit /etc/sysconfig/network-scripts/ifcfg-eth0 (and/or eth1) , remove line UUID=…. and HWADDR=…. – reboot
– download jenkins.war from http://jenkins-ci.org/ – increase upload limit on /var/packages/Tomcat/target/src/webapps/manager/WEB-INF/web.xml
1 2 3 4 5 6 |
<multipart-config> <!-- 100MB max --> <max-file-size>104857600</max-file-size> <max-request-size>104857600</max-request-size> <file-size-threshold>0</file-size-threshold> </multipart-config> |
– edit username and roles on /var/packages/Tomcat/target/src/conf/tomcat-users.xml e.g. <user username="manager" password="manager" roles="manager-gui,manager-status"/> – config JENKINS_HOME on /var/packages/Tomcat/target/src/conf/context.xml
1 |
<Environment name="JENKINS_HOME" value="/volume2/homes/username/.jenkins" type="java.lang.String"/> |
Anywhere of your choice, remember to modify that directory, allow access by tomcat(http group). #cd /volume2/homes/ #chown username.http username #cd username && mkdir .jenkins && chmod 775 .jenkins – Control panel > Groups …
Amazon link (affiliated) Google Play Review
Use Debian chroot instead of ipkg (optware) on DSM 5.0. Here is a installation notes of XPEnology on HP N36L Prerequisite: add custom source: Package Centre > Settings > Package Sources Name: SynoCommunity Location: https://synocommunity.com/packages Readme: https://github.com/SynoCommunity/spksrc/blob/develop/spk/debian-chroot/src/app/help/enu/index.html Installation: – required python on SynoCommunity, DSM default python not OK. – select Debian Chroot and click install – after …
話說2008 年搬家既時候, 由LifeType upgrade 去WordPress, 因為MySQL database default latin1 既關係, 有很多comment 亂碼. 當時只有文章有backup, comment 已經 dump 左落.sql file, 唔識搞. 最近Google 其他野冇意間見到有關encoding, 終於救返了. ============================== e.g. backup.sql 有鬼畫符的文字:è€è±†ä½ åƒåŠ 電算盃呀???? 1. create database / tables, default collation utf8_generic_ci 2. import data
1 |
$ mysql -u user -ppassword < backup.sql |
3. export again as latin1
1 |
$ mysqldump -u user -ppassword -B dbName --tables plog_articles_comments --default-character-set=latin1 > comments-latin1.sql |
4. replace all “latin1” to “utf8”
1 2 |
cp comments-latin1.sql comments-utf8.sql sed -i -e "s/latin1/utf8/g" comments-utf8.sql |
5. final import back …
Movies:
Captain America: The Winter Solider
Divergent
雖然 Synolocker threat 唔影響 DSM 5.0, 以防萬一都係upgrade 左隱陣d 臺灣出現NAS勒索軟體災情,群暉證實舊版DSM漏洞釀災 Synology Advise Users of SynoLocker Ransomware Step 1: download download Nano-Boot 5.0.3.1 (DSM 5.0-4493) from http://www.xpenology.nl/boot-images/#IMG download DSM 5.0-4493 from official website http://www.synology.com/en-us/support/download/DS3612xs#download_tabs_dsm (direct link) download DSM 5.0-4493 update 3 from http://hkdl.synology.com/download/criticalupdate/update_pack/4493-3/synology_bromolow_3612xs.pat 其他 mirror sites: ukdl.synology | usdl.synology.com Step 2: write image to USB 打開 Win32DiskImager, select …