BookmarkLet for MarkDown

Some works to implement bmLet (BookmarkLet) for MarkDown .

  1. TitleURL

    javascript:(function(d){var x=d.createElement(‘input’);x.type=’text’;x.value='[‘+d.title+’](‘+d.URL+’)’;d.body.appendChild(x);x.focus();d.execCommand(‘copy’);d.body.removeChild(x);})(document)

    javascript:(function(d){var x=d.createElement(‘input’);x.type=’text’;x.value='[‘+d.title+’](‘+d.URL+’)’;d.body.appendChild(x);x.select();x.setSelectionRange(0, 99999);d.execCommand(‘copy’);x.parentNode.removeChild(x);})(document)

  2. #MarkUP

    javascript:(function(d){var x=d.createElement(‘pre’);x.appendChild(d.createTextNode(‘## [‘+d.title+”]\n(“+d.URL+’)’));d.body.appendChild(x);d.execCommand(‘copy’);d.body.removeChild(x);})(document)

    javascript:(function(d){var x=d.createElement(‘textarea’);x.appendChild(d.createTextNode(‘## [‘+d.title+”\n](“+d.URL+’)’));d.body.appendChild(x);x.select();d.execCommand(‘copy’);d.body.removeChild(x);})(document)

  3. +MarkItem

    javascript:(function(d){var x=d.createElement(‘pre’);x.appendChild(d.createTextNode(‘+ [‘+d.title+”\n](“+d.URL+’)’));d.body.appendChild(x);d.execCommand(‘copy’);d.body.removeChild(x);})(document)

  4. =MarkIt

    javascript:(function(d){var x=d.createElement(‘textarea’);x.appendChild(d.createTextNode(‘- [‘+d.title+”\n](“+d.URL+’)’));d.body.appendChild(x);x.select();d.execCommand(‘copy’);d.body.removeChild(x);})(document)

  5. etc .

Continue reading “BookmarkLet for MarkDown”

ffmpeg merge multiple streams

ffmpeg -i input1.mkv -i input2.webm -i input3.mov \
-filter_complex '[0:v:0][0:a:0][1:v:0][1:a:0][2:v:0][2:a:0]concat=n=3:v=1:a=1[outv][outa]' \
-map '[outv]' -map '[outa]' output.mp4
  • See also [ffmpeg – Merge two video clips into one | Unix & Linux Stack Exchange
    ]

    ffmpeg \
      -i input1.mp4 \
      -i input2.mp4 \
      -filter_complex '[0:v]pad=iw*2:ih[int];[int][1:v]overlay=W/2:0[vid]' \
      -map [vid] \
      -c:v libx264 \
      -crf 23 \
      -preset veryfast \
      output.mp4

關於同文堂 bookmarklet 的二三事

  1. openfoundry 出現 , 亦參見此處
  2. 個人曾改寫為 Maxthon add-on.
  3. bookmarklet 有時行,有時不行,這篇文章 [新同文堂 Bookmarklet 失效] 解說得很詳細,也有提供解決辦法。但是解法中的 [RawGit] 也即將失效,可以轉移陣地到下列 services.

~~~~

The following free services offer fantastic alternatives to some or all of RawGit’s functionality. You may like them even more than RawGit.

~~~~

https://cdn.rawgit.com/stargazer8tw/samples/fe8d4f5d89aebff0359b7f3ea52e141a1d92dcf5/tongwen_bookmarklet/js/bookmarklet_tw.js
==>
https://cdn.jsdelivr.net/gh/stargazer8tw/samples@fe8d4f5d89aebff0359b7f3ea52e141a1d92dcf5/tongwen_bookmarklet/js/bookmarklet_tw.js

 

未完,待續。

Hello world!

Welcome to your new Blog! We’re really excited to see what you do with it.

This draft post is here to show you what your posts will look like and to give you a few tips on getting started. Feel free to edit it, delete it or keep it saved as a draft for reference later.

Publishing

If you’re familiar with WordPress, you’ll be right at home. To get started creating your own posts head to your Dashboard and click Add New to bring up the editor. Fill it up with whatever you choose; it could be a recipe, a review of a new product you love, or simply a new idea that needs to be shared with the world. The world is your oyster.

Hit Publish and that’s it – your post will be live and ready for reading.

The new post will be included in the Reader of other members and may also make an appearance on the Community front page, (vivaldi.net).

P.S. Don’t forget to share your new creation far and wide! Tag Vivaldi (on Twitter or Facebook) and we’ll help you spread the word about your new blog.

Customization

There are a number of ways to customize the look of your new Blog. Head to you site’s Admin Dashboard to adjust the theme, site icon, header images, page layouts, custom widgets and much more. Many of these settings can be found in the Appearance menu.

Import

To import content from another blog, select Tools > Import from menu in your dashboard. Right now there are importers for WordPress, Blogger and Tumblr. If you’d like to import content from another service, let us know!

FAQ

What is the Vivaldi Community?

A place for our friends to hang out online. We want to create a place where people can publish, read and discuss ideas with likeminded folks from around the world. We hope you like it.

Do I have to use Vivaldi’s browser to be here?

No. Many Community members use our browser. But many don’t. Everyone is welcome.

What’s included?

Every member gets a free webmail account ([email protected]), access to the Vivaldi Forums and a free Blog with a custom domain (yourblog.vivaldi.net).

What’s the catch?

We have no plans to monetize, share your data or start charging for any of these services. The Community is simply a way for us to give back something to our users. No catch.

Help and Feedback

Help articles for the Community can be found at help.vivaldi.com. If something seems off or you run into a bug, please let us know by using our contact form or leaving a comment in the forum.

Have a read of our Terms of Use and Privacy Policy and let us know if you have any questions.

Enjoy, and welcome!