eBay Bad Sellers

There are plenty of “Bad-Buyers” websites,
for sellers to be adding to their “ignore list”,
but not much of (if any) “bad seller” lists,


From time to time you hear of a seller that sends partial-delivery,
Or even avoid sending anything at all (especially if you place a very small order),
After two or three months when you’ll send them a message,
They will act *all “surprised”* and if you are lucky you might get your money back,
that is, if they will bothered to answer you at all,
and it wasn’t too long until you’ve opened a case with either eBay/PayPal.

why wouldn’t you just avoid that scenario at all?
apparently my other article JavaScript Ninja – Crowd Wisdom eBay Enhancements was so popular, that I’ve actually got address by few of my blog-readers,
sharing some ‘horror’-stories about recent purchases,
We’ve had a new idea:

A seller blacklist

Continue reading

FFMPEG – Real Proper Hard-Burn Subtitle Onto A Video

Full Hebrew Support. No gibberish.

  1. CONVERT.
    Use Subtitle-Workshop📎︎ and save your subtitle as .ass(Advanced SubStation Alpha).
  2. Resolve Gibberish.
    Open the .ass file using either:
    – Notepad2 📎︎ and click File→Encoding→UTF-8
    or
    – Notepad++ 📎︎ and click Encoding→Encode in UTF-8 without BOM.
  3. Better Presentation.
    Open the .ass file using Notepad2 or Notepad++, and replace:

    Format: Name, Fontname, Fontsize, PrimaryColour, SecondaryColour, OutlineColour, BackColour, Bold, Italic, Underline, StrikeOut, ScaleX, ScaleY, Spacing, Angle, BorderStyle, Outline, Shadow, Alignment, MarginL, MarginR, MarginV, Encoding
    Style: Default,Tahoma,24,&H00FFFFFF,&H00FFFFFF,&H00FFFFFF,&H00C0C0C0,-1,0,0,0,100,100,0,0.00,1,2,3,2,20,20,20,1
    

    with

    Format: Name, Fontname, Fontsize, PrimaryColour, SecondaryColour, OutlineColour, BackColour, Bold, Italic, Underline, StrikeOut, ScaleX, ScaleY, Spacing, Angle, BorderStyle, Outline, Shadow, Alignment, MarginL, MarginR, MarginV, Encoding
    Style: Default,Tahoma,20,&H00FFFFFF,&H00FFFFFF,&H00000000,&H00000000,-1,0,0,0,100,100,0,0,1,1,0,2,10,10,20,1
    

    You may change the font-family, font-size, border color, etc.. to your liking..

  4. Run:
    ffmpeg -i video.mp4 -vf "ass=subtitle.ass" out_video.mp4
    or : ffmpeg -hide_banner -y -i "video.mp4" -filter_complex "[0:v]ass=subtitle.ass[VIDEO];" -map "[VIDEO]" -preset veryslow -crf 21 -pix_fmt yuv420p -movflags "+faststart" out_video.mp4 (advance filtering example).

FFMPEG Use In Product Review For Time-Lapse

I’ve bought 3 clocks from eBay seller (good4deal999) that offered a “Travel Quartz” quality clocks,

When two of the 3 started showing wrong hour I’ve decided to record them all together for as long as my phone’s camera will allow (two hours with the lowest pixel settings)

They are all the SAME initial state (the one on the left is just at an angle to the camera)

In-fact the one on the right even got the first battery, so it should, be ahead in few seconds but it is delayed for -5 minutes every ~hour.
The one in the middle is just F*CKED up entirely. the one on the left, as the ONLY one actually working :..(

– – – – – –
Took it with my Samsung phone on tripod.
Original file: 20160912_003810.mp4
Recorded video was two hours and 18 minutes (2:18:23) and about 3 Gigabytes (3.22GB)
Resolution is VGA 640x480, which is quite low but in close-up.
In order to rotate it (filmed on the side), fix it (double frames due to Samsung’s camera bug), remove background sound of me (kind’a) snoring (it was just before bed), make it ready for web-streaming better and speed it up x5 times more fast (which saves me uploading 3Giga, plus it helps identify the problem better
I’ve used the following FFMPEG command line:

ffmpeg -y -hide_banner -i 20160912_003810.mp4 -an -vf "transpose=2,mpdecimate,setpts=N/FRAME_
RATE/TB,setpts=0.2*PTS" -preset veryslow -tune zerolatency -pix_fmt yuv420p -movflags "+faststart" -crf 23 "output.mp4"

Full FFMPEG Output:
Continue reading

How To Wire An Israeli Electrical-Socket

Diagram Of Connections You Need To Do,
In-Order To Match The New Israeli Electrical-Standard Of Electric Socket|Outlet|Plug.

האיור הבא מפרט את החיבורים, אותם עליך לבצע
על מנת לחבר בהצלחה שקע ותקע על פי הסטנדרט הישראלי החדש

Wiring An Israeli/European Plug/Socket/Outlet חיבור שקע/תקע ישראלי/אירופי

Chocolate-Muffins – Sugar Free And Gluten-Free

Easy no-sugar, no gluten receipt for sweet&gooey Cocoa muffins,
with Chia seeds, walnuts, raisins and cranberries, the sweetness comes from two bananas and an apple,
And it contains no processed-vegetable-oil (such as Canola or Sunflower..) in-favor of raw-whole organic sesame-seeds paste.

Continue reading

Solved: Home-Plants Anti-Aphids

Easy Solution

Ha.. Funny!, Solution As Both answer; and dissolving of one substance into another

Mix 5 drops of Fairy dish-soap in 3 cups of tap-water,

2016-07-14 21.43.34

add few drops of squeezed/preserved lemon-juice, to make the solution slightly acidic,

2016-07-14 21.43.14

pour the solution into a small spray-bottle, preferably one with a wide-spray function (aerosol-like)
(an empty Windex bottle will be perfect for this).

2016-07-14 21.42.58

vigorously spray the leaves and stoke of every plant (but not the soil) with the solution,
do it at night, for two nights in a row,

while the aphids will die-out quite fast,
the ants that gorge on the aphids will still come for few more days.

Animated Israel Flag

Although Israel’s independence-day (Yom Ha’atzmaut) is not quite-here just yet, (about a ~week from today, [–which is my birthday ;) 🎂] ).

High Quality [415KB]
icompile.eladkarako.com_free_download_free_usage_israel_flag_with_wind_movement_high_quality

Slimmed-Down Quality [191KB]
icompile.eladkarako.com_free_download_free_usage_israel_flag_with_wind_movement_slimmed_down_quality

Technical information, and how I’ve done it..

I’ve used the high-resolution 1280×931 pixelsof the Israel-flag from wikipedia.org/wiki/File:Flag_of_Israel.svg
https://upload.wikimedia.org/wikipedia/commons/thumb/d/d4/Flag_of_Israel.svg/1280px-Flag_of_Israel.svg.png


“feeding it” to a graphic-processing script I’ve wrote for Photoshop, the script slightly warp the edges and “pass a wave” through the center-of-interest of the image,
which required an intelligent algorithm I’ve developed from scratch.. naturally..
– providing extremely edge-smoothing (4×4 pixels for EACH PIXEL!!)
– 40 frames (smooth animation)
– the wave animation is created by a 60% Amplitude/ 40% appearence / 40deg angle wave-riding through the center-of interest of the image, simulate ~4% bump (you can actually calculate it using few university-level physics-101 formulas) and returning-phase (those terms probably won’t tell n00b$ nothing..) of 100 event-phases.
– the gif is high-quality 8bit (256 colors), continues animation with 50 msec delay between frames (calculated)

– “About”:
Flag Of Israel Wiki: English/Hebrew

– More “About”:
http://www.mfa.gov.il/mfa/aboutisrael/israelat50/pages/the%20flag%20and%20the%20emblem.aspx


– Licensing And Usage limitation:
This file is ineligible for copyright and therefore in the public domain because it consists entirely of information that is common property and contains no original authorship..
Anyway.. it should be used according to the Israeli Flag, Emblem and Anthem Law (1949), or the Israeli Protection of Symbols Law (1974), and according to the ordinances promulgated pursuant to these two laws.

Continue reading

I Saw A Lovely Street-Art In Germany Today!

I EVERYTHING Matrix, I think it is well established of the fact I am a man, a software-engineer and a “bit” (01..) of a computer-geek

I’ve happened to spot this (really nicely done-) street-art, on the “bumps” near a zebra-crossing, just before an important meeting in Germany, which really made my day:

capturing the essence of this magical-scene ;)
icompile.eladkarako.com_matrix_bullet_stop

10 minutes after – I’ve noticed another ~”sign”~

icompile.eladkarako.com_glitch_in_the_matrix

;]

Making XDA Code Readable Using JavaScript && CSS3

before:

icompile.eladkarako.com_xda_code_before

Running this:

(function(css_code){
  'use strict';

  /* shortcuts */

  NodeList.prototype.filter = Array.prototype.filter;
  NodeList.prototype.map = Array.prototype.map;
  NodeList.prototype.forEach = Array.prototype.forEach;


  /* add new CSS */

  document.querySelector('body').appendChild(
                                              (function(element, text_content){
                                                 element.appendChild(text_content);
                                                 return element;
                                              }(
                                                  document.createElement("style")
                                                , document.createTextNode(css_code)
                                              ))  
                                            );

  /* find code-sections, and replace them with new design */

  document.querySelectorAll('div > div[class*="smallfont"]').filter(function(element){
    return -1 !== element.innerText.toLowerCase().indexOf('code:');
  }).map(function(element){
    return element.nextElementSibling; /*will be <pre>*/
  }).forEach(function(element){
    element.parentNode.innerHTML = '<textarea code-content readonly>' + element.innerHTML + '</textarea>';
  });


}(
[ ''
, '[code-content]{'
, '  word-break:           break-all;'
, '  white-space:          pre-wrap;'
, ''
, '  font:                 12pt "Courier New", Consolas, monospace;'
, '  line-height:          16pt;'
, '  font-weight:          normal;'
, ''
, '  color:                rgba(0,0,0,.9);'
, '  background:           rgba(240,240,240,1);'
, '  text-shadow:          0 0 .2px;'
, '  -webkit-text-stroke:  1px rgba(0,0,0,.2);'
, ''
, '  border-radius: 4px;'
, '  box-shadow: 0 0 5px rgba(0,0,0,.2);'
, '  border: 1px solid rgba(0,0,0,.2);'
, ''
, '  padding:              5px 10px 20px;'
, '  margin:               5px;'
, '  width:                100%;'
, '  height:               200px;'
, '  resize:               none;'
, '}'
].join("\n")
));

after:

icompile.eladkarako.com_xda_code_after

apart from enlarging the container,
replacing <pre> with <textarea> (readonly)
allows easier use of [CTRL]+[A] (select all) and other [HOME] [END] copy&&paste combination.

and yes, there is a bookmarklet version (of course):

javascript:(function(css_code){NodeList.prototype.filter=Array.prototype.filter;NodeList.prototype.map=Array.prototype.map;NodeList.prototype.forEach=Array.prototype.forEach;document.querySelector("body").appendChild(function(element,text_content){element.appendChild(text_content);return element}(document.createElement("style"),document.createTextNode(css_code)));document.querySelectorAll('div > div[class*="smallfont"]').filter(function(element){return-1!==element.innerText.toLowerCase().indexOf("code:")}).map(function(element){return element.nextElementSibling}).forEach(function(element){element.parentNode.innerHTML="<textarea code-content readonly>"+element.innerHTML+"</textarea>"});return true})('[code-content]{word-break:break-all;white-space:pre-wrap;font:12pt "Courier New","Consolas",monospace;line-height:16pt;font-weight:normal;color:rgba(0,0,0,.9);background:rgba(240,240,240,1);text-shadow:0 0 .2px;-webkit-text-stroke:1px rgba(0,0,0,.2);border-radius:4px;box-shadow:0 0 5px rgba(0,0,0,.2);border:1px solid rgba(0,0,0,.2);padding:5px 10px 20px;margin:5px;width:100%;height:200px;resize:none;}');

Download Host Logos

Few common file-hosting logos you can embedded in your site’s global-stylesheet,
to give your download links a nicer, more appealing look.
There are two variations which, by the content of the href attribute’s content will assign a logo the the link,
– it is all done in pure CSS, so you know it’s fast..
– and it does not require (unless of course you want to) any content-modification (works on-the-fly).

icompile.eladkarako.com_hosts_logo_result

Continue reading

JavaScript Ninja – So You Want To Get A YouTube Video Streams Resource Without Ajax’ing Around? DAAAA!!!

Hello Readers! some time ago I’ve made a nice little Git repository named YouTube Downloader having most of raw resources I’ve gathered around which may be useful if you are intereseted in in-depth-understanding of the the YouTube JavaScript Player API Reference

(which is a nice mental leap towards making an hybrid (Android) APP or using the more challenging YouTube Android Player API or just making a bookmarklet or even yet another youtube downloader website/extension [please don’t!] ;) )

anyway..
..here is what you are really in for:

sources = (function(sources, tmp){
  return sources.split(',').map(function(source){
    tmp = {};
    source.split('&').forEach(function(part){
      part = part.split('=');
      tmp[ part[0] ] = decodeURIComponent( part[1] );
    });
    return tmp;
  });
}(
  ytplayer.config.args.url_encoded_fmt_stream_map
, []
));

and now for a pro tip, a zero-effort JSON beautifier formatting trick:

console.log(JSON.stringify(
sources
, null, 2));

hey! it’s probably even works with most of embedded youtube plugin, since it uses almost no dependencies by the very raw YouTube-Player “API/SDK” (which YouTube itself uses…)

..give it a try on this lovely video:

:)


edit: Tip: ǡre yoǘ ȃ coʍʍʌ-ϝiɍst Nåƶɨ? (*cough* *cough* me?)
this will ease your O.C.D.:

sources = JSON.stringify(sources, null, 2).replace(/,\n /g, "\n ,")

icompile.eladkarako.com_javascript_comma_first_2016-01-31_011351

or BETTER YET:

sources = JSON.stringify(sources, null, 2).replace(/,\n /g, "\n ,").replace(/ *(,(\ +))/g,"$2,")

who does not love a little bit of JavaScript RegEx backtrace replacing :)

icompile.eladkarako.com_javascript_comma_first_better_format_2016-01-31_011351

Oh yeah! comma-first bliss ;)

So Long LinkedIn, and Thanks for All the ????

Never used it,
it never used by anyone else anyway, part of spying or pesky HR agents bugging me from East Coast in the middle of the night :|

don’t need it:
KILL IT! KILL IT! KILL IT!
cleanup!!

Unbelievable Useful Trick To Prevent Laptop-2-Floor Interface

20151205_0530531

This little knot helped to save my lenovo from meeting the floor in numerous times before,

this is the story of the most recent event: ;)
– 4am,
– big wool socks,
– below zero temperature outside,
– all night coding (as usual, who needs to sleep.. ;) ),
– on the way to the 14th cup’o-coffee… tripping the wire (again..),

#environmentally_challenged
anyone else ? :)

I’m Dreaming Of A #FFFFFF Christmas…

❄❆❆❅❄❅❅❅❄❆❆❄❆❆❄❅❅❄❅❄❅❅❄❆❆❆❆❄❄❄❆❅❄❆❆❆❄❆❅❆❆❄❆❆❄❅❄❅❆❄❆❄❅❄❆❄❅❅❅❆❅❄❆❅❆❅❄❆❅❄❅❅❆❄❅❆❅❅❄❄❅❄❄❄❆❅❄❆❅❄❄❄❅❅❅❆❆❆❄❆❄❆❆❅❄❅❅❅❄❆❆❄❆❆❄❅❅❄❅❄❅❅❄❆❆❆❆❄❄❄❆❅❄❆❆❆❄❆❅❆❆❄❆❆❄❅❄❅❆❄❆❄❅❄❆❄❅❅❅❆❅❄❆❅❆❅❄❆❅❄❅❅❆❄❅❆❅❅❄❄❅❄❄❄❆❅❄❆❅❄❄❄❅❅❅❆❆❆❄❆❄❆❆❅❄❅❅❅❄❆❆❄❆❆❄❅❅❄❅❄❅❅❄❆❆❆❆❄❄❄❆❅❄❆❆❆❄❆❅❆❆❄❆❆❄❅❄❅❆❄❆❄❅❄❆❄❅❅❅❆❅❄❆❅❆❅❄❆❅❄❅❅❆❄❅❆❅❅❄❄❅❄❄❄❆❅❄❆❅❄❄❄❅❅❅❆❆❆❄❆❄❆❆❅❄❅❅❅❄❆❆❄❆❆❄❅❅❄❅❄❅❅❄❆❆❆❆❄❄❄❆❅❄❆❆❆❄❆❅❆❆❄❆❆❄❅❄❅❆❄❆❄❅❄❆❄❅❅❅❆❅❄❆❅❆❅❄❆❅❄❅❅❆❄❅❆❅❅❄❄❅❄❄❄❆❅❄❆❅❄❄❄❅❅❅❆❆❆❄❆

…and..
hanuka_icompile.eladkarako.com_2