This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"key": "alt+cmd+left", | |
"command": "workbench.action.navigateBack" | |
}, | |
{ | |
"key": "ctrl+-", | |
"command": "-workbench.action.navigateBack" | |
}, | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ZSH history | |
HISTFILE=~/.zsh_history | |
HISTSIZE=999999999 | |
SAVEHIST=$HISTSIZE | |
setopt SHARE_HISTORY # Share history between all sessions. | |
setopt HIST_IGNORE_ALL_DUPS # Delete old recorded entry if new entry is a duplicate. | |
setopt HIST_IGNORE_SPACE # Don't record an entry starting with a space. | |
# NVM (must be loaded before OMZ as this snippet is fater then one used by nvm plugin) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
local ret_status="%(?:%{$fg_bold[green]%}➜ :%{$fg_bold[red]%}➜ )" | |
PROMPT='${ret_status} %{$fg[cyan]%}%~%{$reset_color%} $(git_prompt_info)' | |
ZSH_THEME_GIT_PROMPT_PREFIX="%{$fg_bold[blue]%}git:(%{$fg[red]%}" | |
ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%} " | |
ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg[blue]%}) %{$fg[yellow]%}✗" | |
ZSH_THEME_GIT_PROMPT_CLEAN="%{$fg[blue]%})" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const fetch = require("node-fetch"); | |
const domain = "YOUR-GITLAB-DOMAIN"; | |
const token = "YOUR-TOKEN"; | |
const forEachPage = async (url, callback) => { | |
const res = await fetch(url, { headers: { "PRIVATE-TOKEN": token } }); | |
const data = await res.json(); | |
const total = res.headers.get("x-total"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ make test | |
make lint && \ | |
(. .venv/bin/activate; DEBUG= PYTHONPATH=`pwd` nosetests --with-coverage --logging-level=WARNING --nocapture --no-skip --exe --cover-erase --cover-tests --cover-inclusive --cover-package=localstack --with-xunit --exclude='.venv.*' --ignore-files='lambda_python3.py' .) | |
(. .venv/bin/activate; flake8 --inline-quotes=single --show-source --max-line-length=120 --ignore=E128,W504 --exclude=node_modules,.venv*,dist .) | |
Starting mock SES (http port 4579)... | |
Starting mock CloudWatch Logs (http port 4586)... | |
Starting mock Redshift (http port 4577)... | |
Starting mock CloudFormation (http port 4581)... | |
Starting mock Firehose service (http port 4573)... | |
* Serving Flask app "firehose_api" (lazy loading) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/******/ (function(modules) { // webpackBootstrap | |
/******/ // The module cache | |
/******/ var installedModules = {}; | |
/******/ | |
/******/ // The require function | |
/******/ function __webpack_require__(moduleId) { | |
/******/ | |
/******/ // Check if module is in cache | |
/******/ if(installedModules[moduleId]) { | |
/******/ return installedModules[moduleId].exports; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*! | |
* Font Awesome Pro 5.1.0-11 by @fontawesome - https://fontawesome.com | |
* License - https://fontawesome.com/license (Commercial License) | |
*/ | |
import { faAddressBook } from './faAddressBook'; | |
import { faAddressCard } from './faAddressCard'; | |
import { faAdjust } from './faAdjust'; | |
import { faAlarmClock } from './faAlarmClock'; | |
import { faAlignCenter } from './faAlignCenter'; | |
import { faAlignJustify } from './faAlignJustify'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Custom event manager, which allows to add event listeners outside of Angular | |
* zone. | |
* | |
* See https://stackoverflow.com/a/45229997/1377864 for original idea | |
*/ | |
@Injectable() | |
export class CustomEventManager extends EventManager { | |
addGlobalEventListener(target: string, eventName: string, handler: Function): Function { | |
if (eventName.endsWith(NO_ZONE)) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ yarn list | |
yarn list v1.1.0 | |
├─ @types/[email protected] | |
│ └─ @types/node@* | |
├─ @types/[email protected] | |
│ ├─ @types/minimatch@* | |
│ ├─ @types/[email protected] | |
│ └─ @types/node@* | |
├─ @types/[email protected] | |
├─ @types/[email protected] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<!-- | |
This file is part of GtkSourceView | |
Copyright (C) 2006-2007 GtkSourceView team | |
Author: Yevgen Muntyan <[email protected]> | |
GtkSourceView is free software; you can redistribute it and/or | |
modify it under the terms of the GNU Lesser General Public |
NewerOlder