Getting React and ES6 Syntax Highlighting in Sublime Text https://gunnariauvinen.com/getting-es6-syntax-highlighting-in-sublime-text/
Notes: Microblog-like status updates. You can subscribe to an RSS feed of this list.
Oct 2017
-
-
Repost from mikedoherty_ca:
“TODO: This is a temporary hack and will be removed.”
Narrator: It was not ever removed
-
I’m trying out vis.js for generating graph visualization. For every edge in my graph, I have a number that describes the strength of the connection between two nodes. I’d like to render the vis.js graph such that the nodes that have stronger relationships (higher edge values) are closer together (edge length is shorter).
I’ve set the relationship strength (an integer) as the “value” attribute for each edge, but this only seems to make the edge lines slightly thicker for higher values.
What options should I be looking at? I’m not sure if this is supposed to be a function of vis’s physics-based stabilization.
Thanks for advice!
-
An organisation tolerating dishonesty within its ranks isn’t surprising when the top leadership position is occupied by a habitual liar
-
Repost from SICKOFWOLVES:
SOMETIMES ITS FINE TO JUST SAY HEY THIS IS A LOT AND IM VERY TIRED SO YOU GUYS NEED TO GET MAD AT THE NEWS WITHOUT ME FOR A DAY
-
Imagine if the previous administration had called their critics “ingrates” or “enemy of the state”. It’s likely that the very same people supporting this administration would be up in arms
-
License acquired! Wait time a bit over two hours. And more accurate na yung height and weight lol
-
My biggest regret in life is not bringing my 3ds to this drivers license releasing queue
-
Repost from WorldofIsaac:
RT @WorldofIsaac: I tweet this Onion headline after every mass shooting. What an ugly truth
-
The world is terrible, yet still we soldier on
-
@TheDragonforge what time po pptq nyo next sunday?
-
Reply to:
@momblogger he complains of fabricated evidence after admitting he made up someone elseโs bank accounts
-
This, days after admitting to making up fake bank accounts of an opposition senator
Quoted PhilippineStar's tweet:@alexisbromero Duterte slams IBP for telling him not to be onion-skinned, claims “fabricated” evidence being used against him.
Sep 2017
-
Repost from b0rk:
-
Overcame laziness, but the draft didnt fire. Eternal it is then lol
-
High likelihood of laziness winning out though my internet is a bit crappy today
-
Repost from dailyzen:
Life hack: do nothing twice a day for 20 minutes.
-
Go out and do an IRL mtg draft tonight, or stay in and draft Eternal instead? lol
-
Repost from alicegoldfuss:
ME: work/life balance is important
ALSO ME: codes all night, ruins hands
-
Reply to:
@jack please keep the 140 limit
-
Posted on r/Steam: Is there any API or Service that lets me see my Steam play history?
Like, what games did I play on which dates, etc.
Logically since Steam logs my total hours played, it should be possible to track it on a daily basis based on the delta to the running total. IDK if there’s a way to get the historical data though
-
Woo Star Trek Discovery is on Netflix~
-
Reply to:
@jhaydreamer2 I actually forgot he was a senator. parang ngayon lang ulit siya nagsalita. mas bibo pa si nancy
-
@antuk1ng happy birthday!
-
Repost from ivanassen:
Levels of programmer enlightenment:
-
my software is shit
-
all software is shit
-
everything is shit
-
-
Reply to:
@fthilbay @mrsunlawyer can a case be filed against them for this?
-
apparently i dont internet enough
-
Stay safe out there tonight everyone
-
Repost from RegisAndanar:
This Filipino version of Do You Hear the People Sing gave me chills. #DiNyoBaNaririnig
-
Reply to:
@rovietoosin nanalo kayo?
-
Repost from jfkantrowitz:
Retweet if you want other people’s families to have health insurance. https://twitter.com/JohnJHarwood/status/910231408563638272
-
Repost from VeraMBergen:
“For years, Beijing and Russia have argued that sovereignty trumps human rights.”
Today Trump seemed to agree https://www.buzzfeed.com/johnhudson/why-trumps-un-speech-is-bad-news-for-human-rights-around
-
A liar, a misogynist, a drug addict, a fascist and a murderer walk into a bar. The bartender says “What can I get you Mr President?”
-
Repost from witchsenpai:
-
Reply to:
@rovietoosin sa hk ka lumaki?
-
Luhhh HK childhood memories ;_;
Quoted 9GAG's tweet:Toys ‘R’ Us Files For Bankruptcy In US And It’s Time To Say Bye To Our Childhood
-
Reply to:
@kottke there’s a woman in the Philippines who is said to have been born in 1897
-
Repost from theawkwardyeti:
my struggle http://theawkwardyeti.com
-
This administration complaining that the CHR focuses too much on their abuses is like software developers complaining that the testers focus too much on their bugs
-
I have an HTML page with around 10 charts generated by chart.js (so these are canvas elements). I want to be able to export the page content into a PDF file.
I’ve tried using jsPDF’s .fromHTML function, but it doesn’t seem to support exporting the canvas contents. (Either that or I’m doing it wrong). I just did something like:
$(".test").click(function() { var doc = new jsPDF() doc.fromHTML(document.getElementById("testExport")); doc.save('a4.pdf') });
Any alternative approaches would be appreciated.
-
I’m using ML8. I have a bunch of json documents in the database. Some documents have a certain property “summaryData”, something like:
{ ...(other stuff)... summaryData: { count: 100, total: 10000, summaryDate: (date value) } }
However, not all documents have this property. I’d like to construct an SJS query to retrieve those documents that don’t have this property defined. If it was SQL, I guess the equivalent would be something like “WHERE summaryData IS NULL”
I wasn’t sure what to search for in the docs. Any advise would be helpful.
-
Repost from jnery_newsstand:
To which a logical reply would be: Mr. President, you’re fixated on drugs. Are you a drug lord? https://twitter.com/momblogger/status/909001630229524480
-
Currently 1-1 in #mtg ph nationals. 1 more round of standard then four draft rounda today
-
Reply to:
@maro254 after ixalan is there now a better chance of duel decks pirates vs ninjas?
-
Repost from newsycombinator:
Top ES6 features by example https://blog.pragmatists.com/top-10-es6-features-by-example-80ac878794bb
-
I’m master ranked in eternal but cant get above silver in draft @_@
-
Reply to:
@emilyrauhala some speculate secdef floated the idea independently to generate outrage early and get the pres to change his mind
-
Reply to:
@econcepcion hindi ko alam kung ano iniimagine nila e. isubpoena by ng CHR ang Abu Sayaff for investigation?
-
Repost from TheMovementPHL:
READ AND SHARE: Legal advisory by lawyers group @nuplphilippines re random but mandatory bag searches by QC Police: https://m.facebook.com/story.php?story_fbid=831864423643378&id=823136361182851
-
Reply to:
@Westraid you can use sites like https://www.finder.com/a-z-of-international-netflix-tv-and-movie-lists to check