Package Management (link)
- leaf-keywords
- el-get
- hydra
- package-utils
Mute these words in your settings here: https://twitter.com/settings/muted_keywords | |
ActivityTweet | |
generic_activity_highlights | |
generic_activity_momentsbreaking | |
RankedOrganicTweet | |
suggest_activity | |
suggest_activity_feed | |
suggest_activity_highlights | |
suggest_activity_tweet |
For a while, JSX
and new es6 syntax had flaky support in emacs, but there's been huge work on a lot of packages. Using emacs for JavaScript with React, ES6, and Flow (or Typescript, etc) is really easy and powerful in Emacs these days.
This is how you can work on modern web development projects with full support for tooling like JSX, Flow types, live eslint errors, automatic prettier.js formatting, and more.
Set up web-mode
web-mode
provides most of the underlying functionality, so a huge shout-out to the maintainer(s) there.
// ==UserScript== | |
// @name Standardnotes RTL Support | |
// @namespace https://ilola.ir | |
// @version 1.1 | |
// @description Change directions of Arabic and Persian lines. | |
// @author Eman Amini | |
// @match https://app.standardnotes.org/ | |
// @grant none | |
// ==/UserScript== | |
var css = ".rtl {direction: rtl;} strong, b {font-weight: 900;} #note-text-editor {font-family: IRANSansWebNoEn, DroidSans, sans-serif !important; text-align: justify;}", |
A tiny (265 byte) utility to create state machine components using two pure functions.
The API is a single function that accepts 2 pure functions as arguments:
I'm going to walk you through the steps for setting up a AWS Lambda to talk to the internet and a VPC. Let's dive in.
So it might be really unintuitive at first but lambda functions have three states.
- No VPC, where it can talk openly to the web, but can't talk to any of your AWS services.
- VPC, the default setting where the lambda function can talk to your AWS services but can't talk to the web.
- VPC with NAT, The best of both worlds, AWS services and web.
import sys, marshal, functools, subprocess | |
child_script = """ | |
import marshal, sys, types; | |
fn, args, kwargs = marshal.load(sys.stdin) | |
marshal.dump( | |
types.FunctionType(fn, globals())(*args, **kwargs), | |
sys.stdout) | |
""" |
#!/bin/bash --noprofile | |
# DO ALMOST ANYTHING PUBLIC LICENSE | |
# Everyone is permitted to copy and distribute verbatim or modified | |
# copies of this code for any purpose as long as any "Credit" | |
# lines are not removed. | |
#Credit: /u/linuxversion | |
#<your Credit line here, if you want> |