Skip to content

Instantly share code, notes, and snippets.

@alexmanzo
alexmanzo / button.js
Last active September 12, 2019 20:35
Sample JS for Drupal + Storybook projects
/*
The code below is an example of writing JS code within Savas Labs Drupal projects using Storybook.
This does not work for event binding in Storybook, only on the Drupal site.
All JS files should be stored in the {theme}/storybook/components directory in the folder corresponding with
the appropriate component. For example, the below code would be stored in storybook/components/atoms/button.
All .js or .ts files within the storybook/components directory are compiled into {theme}/build/scripts.js.
@joepie91
joepie91 / vpn.md
Last active May 3, 2024 10:58
Don't use VPN services.

Don't use VPN services.

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.