Determine Default App for File Type from Command Line / / No Comments One quality of life improvement any developer can make for themselves is ensuring different file types open in the app they’re most proficient in. If you know me, you know I prefer accomplishing as much as possible from the command line. The duti utility allows users to determine default file type from command line. The duti utility allows developers to query which app is the default for different file types. You can install duti with brew: brew install duti Once you have duti available, you can check on the default app for file type with the following command: ~ duti -x md Xcode.app /Applications/Xcode.app com.apple.dt.Xcode You can set the default app by using its package: duti... more → Posted in: JavaScript Tagged with: Command, default, determine, file, from, line, type
Set Brave as Default Browser from Command Line / / No Comments I’ve been a huge fan of the Brave web browser for years. They’re crypto-friendly, provide native ad-blocking features, and even provide Tor integration. Whenever I set up new systems, I automate Brave as the default browser. You can use the following shell command to set Brave as the default browser: open -a "Brave Browser" --args --make-default-browser Brave has been an excellent browser with a progressive outlook web browsing. I recommend everyone use Brave! The post Set Brave as Default Browser from Command Line appeared first on David Walsh Blog. David Walsh Blog… more → Posted in: JavaScript Tagged with: Brave, browser, Command, default, from, line
ECMAScript 2021 spec for JavaScript nears the finish line – InfoWorld / / No Comments ECMAScript 2021 spec for JavaScript nears the finish line InfoWorld “JavaScript” – Google News… more → Posted in: JavaScript Tagged with: 2021, ECMAScript, finish, InfoWorld, JavaScript, line, nears, spec
President Obama writes his first line of Javascript – Mashable / / No Comments CNET President Obama writes his first line of JavascriptMashableThe U.S. now has a “coder-in-chief:” President Barack Obama has written his first line of code. The president achieved the feat at an event for Hour of Code, a global effort to get kids involved in coding. The organization's website, Code.org, claims …Obama jumps in to Hour of Code event with a little JavaScriptCNETHere's the first line of code ever written by a US presidentQuartzObama Becomes First President to Write a Computer ProgramWiredForbes –Digital Trends –NBCNews.comall 579 news articles » JavaScript – Google News… more → Posted in: JavaScript Tagged with: first, JavaScript, line, Mashable, Obama, President, writes