Posts

Showing posts from December, 2018

How do I minify CSS classnames with Ember CLI?

Image
1 1 I looked through the docs on how to do this but nothing turned up. There's this: The compiled css-files are minified by broccoli-clean-css or broccoli-csso, if it is installed locally So I'm guessing it uses broccoli-clean-css by default which uses clean-css . I looked at both clean-css and csso and neither seem to have an option for mangling/minifying class names. So I looked at how the React / Webpack folks are doing it. They seem to use css-loader which relies on post-css . As far as I can tell, Ember doesn't use PostCSS out of the box? Question: how can I get Ember CLI to mangle class names and remove useless classes/IDs like .ember-view and #ember123 ? My motivation for this is I want to cache SSR content in Redis but my Redis instance is filling up so I need smaller payloads. Edit: I'm using ember-component-css but it doesn't have support for controlling all class names in a module. Looks like I'd have to migrate to ember-css-modules

Getting value of data point on a plot in octave

Getting value of data point on a plot in octave I am trying out octave as an alternative to matlab and it looks like the graph plot in octave is not as interactive as matlab I want to find out the value of the x and y coordinates of a data point on the plot by clicking on it I have seen the ginput function, but while my figure is open, if I call the function, click on a point in the figure and then press the Enter key, I get the following result: [x, y, buttons] = ginput () x = (0x0) y = (0x0) buttons = (0x0) While messing around I did manage to get proper coordinate values once figure(1); [x, y, buttons] = ginput () x = 69.09677419354838 y = 127.2917862029395 buttons = 13 but I am not sure what I did different, and I haven;t been able to make it happen again How can I click on a data point in in Octave figure and find it's value (both x and y, or at least just y)? Is it possible to select an exact data point on a plot using the ginput or any other function in Octave? Plea

Order of the Phoenix (Greece)

Image
Clash Royale CLAN TAG #URR8PPP Order of the Phoenix Τάγμα του Φοίνικος Grand Cross and Star of the Order of the Phoenix, III. type Awarded by the President of the Hellenic Republic Type Order Motto Εκ της τέφρας μου αναγεννώμαι Awarded for excellence in the public sphere or raising Greece's international standing Status Currently constituted Grades Grand Cross, Grand Commander, Commander, Golden Cross, Silver Cross Precedence Next (higher) Order of George I ( Kingdom ) Order of Honour ( Republic today ) Next (lower) Order of Beneficence Ribbon bar of the Silver Cross of the Order of the Phoenix The Order of the Phoenix (Greek: Τάγμα του Φοίνικος ) is an order of Greece, established on May 13, 1926, by the republican government of the Second Hellenic Republic to replace the defunct Royal Order of George I. The order was retained after the restoration of the monarchy in 1935 and continues to be awarded by the current Third Republic. The honour is bestowed by the Greek government