Skip to content

My tech notes

My tech notes

  • Home
  • About this blog
  • WordPress useful links
    • Home
    • 2016
Uncategorized

Tell another server to run a shell script

michael December 19, 2016

ssh user@xxx.xxx.xxxx.xxx ./myscript.sh $para

programming python

Python readline like function

michael December 18, 2016

raw_input() If the prompt argument is present, it is written to standard output without a trailing newline. The function then reads a line from input, converts it to a string…

software video

Synchronizing Video on Multiple PCs Using Adobe Director

michael December 18, 2016

http://www.bitstormweb.com/tools-resources/synchronizing-video-on-multiple-pcs-using-adobe-director.html

Mac video

Miro has ffmpeg in it you can use

michael December 17, 2016

Download Miro video converter and install it into you applications folder. open a terminal and type (withour the quotes): “cd /Applications/Miro Video Converter.app/Contents/Resources”

Mac video

Convert movie to iMovie ProRes format

michael December 17, 2016

link ffmpeg -i input.mov -vcodec prores -profile:v NUMBER -an output.mov imovie audio: Audio: aac (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 129 kb/s this one works: ffmpeg -i /Users/aaa/soccer/takes/video_01_03.MTS -vcodec…

mysql

Delete duplicate db records

michael November 28, 2016

DELETE n1 FROM `memehk_scan` n1, `memehk_scan` n2 WHERE n1.id > n2.id AND n1.youtube_code = n2.youtube_code learn from SOF

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)’

Posts pagination

1 2

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.