Angular doesn’t depend on jQuery. In fact, the Angular source contains an embedded lightweight alternative: jqLite. Still, when Angular detects the presence of a jQuery version in your page, it uses that full jQuery implementation in lieu of jqLite. One direct way in which this manifests itself is with Angular’s element abstraction. For example, in a directive you get access to the element that the directive applies to:
| #!/bin/bash | |
| # This gist contains pre-commit hooks to prevent you from commiting bad code or to the wrong branch. | |
| # There are six variants that I have built: | |
| # - pre-commit: stops commits to master/main/develop branches. | |
| # - pre-commit-2: also includes a core.whitespace check. | |
| # - pre-commit-3: the core.whitespace check and an EOF-newline-check. | |
| # - pre-commit-4: only the core.whitespace check. | |
| # - pre-commit-5: elixir formatting check. | |
| # - pre-commit-6: prettier formatting check. | |
| # Set the desired version like this before proceeding: |
| <div class="form-group"> | |
| <label for="state" class="col-sm-2 control-label">State</label> | |
| <div class="col-sm-10"> | |
| <select class="form-control" id="state" name="state"> | |
| <option value="">N/A</option> | |
| <option value="AK">Alaska</option> | |
| <option value="AL">Alabama</option> | |
| <option value="AR">Arkansas</option> | |
| <option value="AZ">Arizona</option> | |
| <option value="CA">California</option> |
- Fig - Fast, isolated development environments using Docker
- Packer - Tool for creating identical machine images
- decking - Create, manage and run clusters of Docker containers
- Ansible
- Kubernetes - Container Cluster Manager
| //C# port of the https://github.com/kloon/WooCommerce-REST-API-Client-Library | |
| //Including handling of woocommerce insisting on uppercase UrlEncoded entities | |
| public class WoocommerceApiClient | |
| { | |
| private static byte[] HashHMAC(byte[] key, byte[] message) | |
| { | |
| var hash = new HMACSHA256(key); | |
| return hash.ComputeHash(message); | |
| } |
| <select name=""> | |
| <option value="USD" selected="selected">United States Dollars</option> | |
| <option value="EUR">Euro</option> | |
| <option value="GBP">United Kingdom Pounds</option> | |
| <option value="DZD">Algeria Dinars</option> | |
| <option value="ARP">Argentina Pesos</option> | |
| <option value="AUD">Australia Dollars</option> | |
| <option value="ATS">Austria Schillings</option> | |
| <option value="BSD">Bahamas Dollars</option> | |
| <option value="BBD">Barbados Dollars</option> |
No, seriously, don't. You're probably reading this because you've asked what VPN service to use, and this is the answer.
Note: The content in this post does not apply to using VPN for their intended purpose; that is, as a virtual private (internal) network. It only applies to using it as a glorified proxy, which is what every third-party "VPN provider" does.
- A Russian translation of this article can be found here, contributed by Timur Demin.
- A Turkish translation can be found here, contributed by agyild.
- There's also this article about VPN services, which is honestly better written (and has more cat pictures!) than my article.
In this tutorial, I will be explaining how to set up a simple webhook to relay your tweets to a Discord channel
- Go to https://zapier.com/ and create an account (if you don't already have one).
- Find the Discord channel in which you would like to send Tweets
Disclaimer: This piece is written anonymously. The names of a few particular companies are mentioned, but as common examples only.
This is a short write-up on things that I wish I'd known and considered before joining a private company (aka startup, aka unicorn in some cases). I'm not trying to make the case that you should never join a private company, but the power imbalance between founder and employee is extreme, and that potential candidates would
| #!/bin/bash | |
| D0=$(TZ=UTC date --date="$(date --date="2015-12-07T08:27:12+0000")"); | |
| for block in `seq 398784 16616 $((382168 + (16616*48)))`; | |
| do DD=$(TZ=UTC date --date="$(date --date="$D0") +727 hours +5 minutes +2 seconds"); | |
| D0=$DD; | |
| echo "$block - $DD"; | |
| done |