Fortunatly we could use pre-built gccemacs right now.
Those two repos did the greate job for us.
https://github.com/twlz0ne/nix-gccemacs-darwin
https://github.com/twlz0ne/nix-gccemacs-sierra
Here is the tutorial:
Fortunatly we could use pre-built gccemacs right now.
Those two repos did the greate job for us.
https://github.com/twlz0ne/nix-gccemacs-darwin
https://github.com/twlz0ne/nix-gccemacs-sierra
Here is the tutorial:
[alias]
# list all aliases
la = "!git config -l | grep alias | cut -c 7-"
# log as graph tree
ls = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --all --branches
# formated log with stats
ll = log --pretty=format:'* %Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --decorate --numstat --all --branches
# log as series of patches
fl = log -p
This is a fork of and builds upon the work of Eddie Webb's search and Matthew Daly's search explorations.
It's built for the Hugo static site generator, but could be adopted to function with any json index compatible with Fuse fuzzy search library.
To see it in action, go to craigmod.com and press CMD-/
and start typing.
;; Assign typescript-mode to .tsx files | |
(add-to-list 'auto-mode-alist '("\\.tsx\\'" . typescript-mode)) | |
(require 'mmm-mode) | |
(setq mmm-global-mode t) | |
(setq mmm-submode-decoration-level 0) ;; Turn off background highlight | |
;; Add css mode for CSS in JS blocks | |
(mmm-add-classes | |
'((mmm-styled-mode |
#!/bin/bash | |
## Generic installation on all nodes | |
sysctl -w net.ipv4.ip_forward=1 | |
sed -i 's/#net.ipv4.ip_forward=1/net.ipv4.ip_forward=1/g' /etc/sysctl.conf | |
sudo sysctl -p /etc/sysctl.conf | |
swapoff -a | |
sed -i '2s/^/#/' /etc/fstab |
We need to create a virtual env for our app to run in: More Here Run this command in whatever folder you want to create your venv folder
python -m venv ./venv
React recently introduced an experimental profiler API. This page gives instructions on how to use this API in a production release of your app.
Table of Contents
React DOM automatically supports profiling in development mode for v16.5+, but since profiling adds some small additional overhead it is opt-in for production mode. This gist explains how to opt-in.
To use pug and stylus on the webpack template vue-cli provides, simply run | |
npm i --save-dev pug pug-loader stylus stylus-loader | |
Then add the attributes to the .vue root tags, eg: | |
<template lang="pug"></template> | |
<style lang="stylus"></style>. |