![]() I appreciate the ability to copy & paste a custom icon into the selected icon in the new application’s “Get Info” dialog box. Follow me on Twitter, Mastodon, and GitHub. HTML, CSS, JavaScript, Unicode, performance, and security get me excited. I work on Chrome DevTools and the V8 JavaScript engine at Google. Got any nice ideas? Let me know by leaving a comment! About me Just to give another example, you could very easily create an app that minifies all JavaScript and CSS files in a specific folder. Needless to say, the possibilities are endless. Python -m SimpleHTTPServer 8080 &> /dev/null & After appifying it, you won’t even need to open the terminal for it anymore. The following shell script will use Python to launch a local web server from a specific directory and open the index page in your default browser of choice. Say you’re working on a project and you want to debug it from a web server. Launch a local web server from a directory Without the &, Chromium would exit as soon as you quit Terminal.app. The & at the end is not a typo it is there to make sure Chromium is launched in a separate thread. Applications/Chromium.app/Contents/MacOS/Chromium -enable-benchmarking -enable-extension-timeline-api& On Windows, you can create a shortcut and set the parameters you want in its properties on a Mac, you’ll need to launch it from the command line every time. I like to run Chrome/Chromium with some command-line switches or flags enabled. Note that this will work for any file or folder, not just.
0 Comments
Leave a Reply. |