- You need to have the latest version of Node. Preferably, you're using 9.8.0, but the latest LTS should work as well.
- You should have
npxinstalled usingnpm install -g npx. - Install the React Developer Tools.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # encoding: utf-8 | |
| from requests import get | |
| from slugify import slugify | |
| import os, sys | |
| def main(stickerid): | |
| print("sticker.ly sticker pack downloader") | |
| print("Sticker ID:", stickerid) | |
| headers = { | |
| "User-Agent": "androidapp.stickerly/1.13.3 (G011A; U; Android 22; pt-BR; br;)", |
Problem: How can we preprocess JavaScript (at build-time or on the server-side) so engines like V8 don't have to spend as much time in Parse? This is a topic that involves generating either bytecode or a bytecode-like-abstraction that an engine would need to accept. For folks that don't know, modern web apps typically spend a lot longer in Parsing & Compiling JS than you may think.
- Yoav: This can particularly be an issue on mobile. Same files getting parsed all the time for users. Theoretically if we moved the parsing work to the server-side, we would have to worry about it less.
- One angle to this problem is we all ship too much JavaScript. That's one perspective. We could also look at preprocessing.
- We've been talking about this topic over the last few weeks a bit with V8. There were three main options proposed.
-
- Similar to what optimize-js does. Identify IIFEs and mark them as such so the browser and VMs heuristics will catch them and do a better job than today. optimize-js only tackles IIFE bu
A curated list of AWS resources to prepare for the AWS Certifications
A curated list of awesome AWS resources you need to prepare for the all 5 AWS Certifications. This gist will include: open source repos, blogs & blogposts, ebooks, PDF, whitepapers, video courses, free lecture, slides, sample test and many other resources.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [ | |
| { | |
| "key": "ctrl+d", | |
| "command": "editor.action.cutLines", | |
| "when": "editorTextFocus" | |
| }, | |
| { | |
| "key": "ctrl+o", | |
| "command": "workbench.action.gotoSymbol" | |
| }, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| /** | |
| * Generate a sequence of numbers for use in a pagination system, the clever way. | |
| * @author Bramus Van Damme <[email protected]> | |
| * | |
| * The algorithm always returns the same amount of items in the sequence, | |
| * indepdendent of the position of the current page. | |
| * | |
| * Example rows generated: |
