Skip to content

My tech notes

My tech notes

  • Home
  • About this blog
  • WordPress useful links
    • Home
    • michael
    • Page 4
applescript Mac

AppleScript and Text Encodings

michael October 29, 2016

learned from applescript_and_text_encodings my usage write this_data to the open_target_file as «class utf8» starting at eof “as «class utf8»” is the code to made it export as unicode text file…

Uncategorized

update mysql table from another table

michael October 25, 2016

ref: from SOF UPDATE tableB t1 INNER JOIN tableA t2 ON t1.id = t2.id SET t1.name = t2.name

php

download big file with file_put_contents

michael May 21, 2016

$dl_res= file_put_contents( $savetoDir.$lk , fopen(“http://www.mediacast.com.hk/hkdigitallife/”.$lk, ’r’));

Mac software

How to launch OSX app in another language

michael April 16, 2016

Take iCal as example, open it in Japanese /Applications/iCal.app/Contents/MacOS/iCal -AppleLanguages ’(ja)’ This part calls the app /Applications/xxx.app/Contents/MacOS/xxx This part is the param -AppleLanguages ’(ja)’

Mac

osx tunneling

michael March 31, 2016

ssh -D 8080 -C -N username@example.com Chrome advanced settings Change proxy settings… SOCKS Proxy Enter 127.0.0.1 Enter port 8080 Save changes

hardware Linux

rpi static ip sample

michael March 30, 2016

This is old New one for Jessi is <here> (under construction) # The loopback interface auto lo iface lo inet loopback auto eth0 iface eth0 inet static address 192.168.1.55 gateway…

Linux

PL2102 driver for synology

michael March 25, 2016

http://www.openremote.org/pages/viewpage.action?pageId=21037948&focusedCommentId=21037989&#comment-21037989

Linux Mac

osx kill a screen session

michael February 15, 2016

screen -X -S quit

electronics

Voltage doubler

michael February 9, 2016

Scanned from a valuable book

Book_C 022 +- transformer

michael February 9, 2016

Posts pagination

1 … 3 4 5 … 14

« Previous Page — Next Page »

Categories

  • applescript
  • Arduino
  • audio
  • css
  • electronics
  • frameworks
  • hardware
  • html
  • javascript
  • Linux
  • Mac
  • mysql
  • php
  • programming
  • python
  • RPi
  • software
  • Synology_nas
  • Uncategorized
  • video

My tech notes

Copyright © All rights reserved | Blogus by Themeansar.