Skip to content

Instantly share code, notes, and snippets.

{
"title": "Language toggler",
"rules": [
{
"description": "Language toggler on SHIFTS",
"manipulators": [
{
"conditions": [
{
"type": "input_source_if",
@daniepetrov
daniepetrov / .npmrc
Created November 1, 2019 12:52 — forked from ikaruce/.npmrc
.npmrc( proxy and strict-ssl setting )
proxy http://{proxy_server}:{proxy_port}
https-proxy http://{proxy_server}:{proxy_port}
strict-ssl=false
{
"compilerOptions": {
"module": "commonjs",
"target": "es6",
"baseUrl": ".",
"paths": {
"common/*": ["./src/common/*"],
"core/*": ["./src/core/*"]
}
},
@daniepetrov
daniepetrov / gist:e312e0f63547675326b53433dafeaa01
Created August 19, 2018 20:24 — forked from vargeorge/gist:8b20488b7d7b6c101b4b
Show full path on OS X terminal / iTerm before the $ prompt
1. Edit ~/.bash_profile and add the following line to show full path before the $ prompt.
For example, as user@hostname:path/to/directory$
# show path before the $ prompt
export PS1='\u@\H:\w$ '
2. Save file and restart terminal or run source command
$ source ~/.bash_profile