![]() ![]() If someone shares the link containing the “paid” query param whoever they’re sharing with will see it without paying. You could also spoof as Google Bot (or another crawler) and skip the pay overlay. You could also read the source and reverse-engineer what query params work for this page. In principle you can display the whole things using a bit of CSS magic. This strictly isn’t a paywall, it’s all client-side and doesn’t check much. How I created the buying mechanism for the Sequelize ES6 Cheatsheet using and sprinkles of vanilla JavaScript. #payment Add a Vanilla JavaScript paywall to a Hugo site using It works out of the box better than Clipy (see below). MaccyĪ simple clipboard manager designed for OSX. ![]() Not many productivity apps, just Alfred, which I use as a better Spotlight Search and Clipy which is a clipboard manager. Import Cost: “Display import/require package size in the editor”, get it from the Visual Studio Marketplace, or ext install import-cost.Snazzy theme: same colour theme (snazzy) as I’ve got setup for the terminal for VSCode, get it from the Visual Studio Marketplace or ext install snazzy theme.npm Intellisense: “autocomplete npm modules in import statements”, get it from the Visual Studio Marketplace or ext install npm-intellisense from CMD + P menu.ESLint: “Integrates ESLint JavaScript into VS Code.”, get it from the Visual Studio Marketplace or ext install vscode-eslint from CMD + P menu.across code editors, get it here from the Visual Studio Marketplace or ext install EditorConfig from CMD + P menu ![]() helps you deal with tab size, trimming spaces etc. EditorConfig for VS Code: “EditorConfig helps developers define and maintain consistent coding styles between different editors and IDEs.” (see ), ie.Atom keymap: I’m not a fan of the default keybindings, this uses Atom-style ones, get it from the Visual Studio Marketplace or ext install atom-keybindings from CMD + P menu.: replace directory opened in VSCode with the current directory The VSCode command line tool usage examples: Use: Shell Command: Install 'code' command in PATH The way I see it editors like vim or Atom need a bit of config before being productive, and others like Sublime or IDEs (WebStorm) don’t have the same plugin ecosystem. I use Visual Studio Code, it strikes the right balance between usable out of the box and customisable. Enable the dev tools: Safari → Preferences → Advanced → Show develop menu in menu bar.Since it’s the default it’s also widely used by non-technical people. Safari - installed by default on Mac OSX, it’s a buggy browser, good to test using it since it surfaces weird SVG and cookies security policy quirks.Brave: auto-blocks ads and tracking, sort of the “play” browser, its dev tools are a buggier/less ergonomic version of Chrome dev tools (this is because Brave uses Chromium under the hood).Usually I install the React or Vue dev tools. Google Chrome: still a goto due to its solid and extensive dev tools.zshrc:Īs a developer it’s always good to have a few browsers and tools handy: Initialise by adding the following to your.Install using npm: npm install -global pure-prompt.(see Setup and configuration for how to get Node/npm up and running) It’s simple, clean but gives you enough information to be productive. itermcolors file and choosing the theme from (iTerm Preferences → Profile > Colors > Color Presets…). Using iterm-snazzy, which is a case of downloading the. iTerm Preferences → Profiles → select your profile → Advanced → Unlimited scrollback.When clicking files in iTerm2, open them in VSCode iTerm Preferences → Profiles → select your profile → Terminal tab → Unlimited scrollback.Fan of 16pt Monaco (12, 14 is just too small).iTerm Preferences → Profiles → select your profile → Text tab → Font section → Change font → Update font in the popup.iTerm Preferences → General, “Closing” → “Quit when all windows are closed”.iTerm Preferences → Profiles → select your profile → General tab → Working Directory section → Reuse previous session’s directory option.New session should start where previous left off ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |