{description}
{link to issue tracking card}
{background}
/* istanbul ignore file */ | |
/* tslint:disable */ | |
/* eslint-disable */ | |
import type { Application } from '../models/Application'; | |
import { request as __request } from '../core/request'; | |
export class ApplicationsService { | |
/** | |
* Gets all Applications. |
#!/bin/sh | |
# list of configured VPNs: `nmcli con show | grep vpn` | |
uuid="049b2d60-b816-4640-b33e-659920598c19" | |
active_uuid='' | |
for r in $(nmcli -t -f UUID,TYPE con show --active); do | |
ctype="${r##*:}" | |
if [ "$ctype" = 'vpn' ]; then |
{ | |
"vim.disableAnnoyingNeovimMessage": true, | |
"extensions.ignoreRecommendations": false, | |
"editor.fontFamily": "Operator Mono", | |
"javascript.validate.enable": false, | |
"editor.tabSize": 2, | |
"editor.renderWhitespace": "boundary", | |
"editor.cursorStyle": "underline", | |
"editor.insertSpaces": true, | |
"files.exclude": { |
on is_running(appName) | |
tell application "System Events" to (name of processes) contains appName | |
end is_running | |
if is_running("Spotify") then | |
tell application "Spotify" | |
set currentArtist to artist of current track as string | |
set currentTrack to name of current track as string | |
return currentArtist & " - " & currentTrack |
# zshell | |
sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)" | |
# TODO: create and pull my dotfiles repo | |
# homebrew | |
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" | |
# homebrew packages | |
brew install |
{ | |
// http://eslint.org/docs/rules/ | |
"ecmaFeatures": { | |
"binaryLiterals": false, // enable binary literals | |
"blockBindings": false, // enable let and const (aka block bindings) | |
"defaultParams": false, // enable default function parameters | |
"forOf": false, // enable for-of loops | |
"generators": false, // enable generators | |
"objectLiteralComputedProperties": false, // enable computed object literal property names |
# Your init script | |
# | |
# Atom will evaluate this file each time a new window is opened. It is run | |
# after packages are loaded/activated and after the previous editor state | |
# has been restored. | |
# | |
# An example hack to log to the console when each text editor is saved. | |
# | |
# atom.workspace.observeTextEditors (editor) -> | |
# editor.onDidSave -> |
const entryCount = 2; | |
const corsProxyUrl = 'https://crossorigin.me'; | |
const feedUrl = 'http://feeds.bbci.co.uk/news/world/rss.xml'; | |
const googleUrl = `http://ajax.googleapis.com/ajax/services/feed/load?v=1.0&q=${feedUrl}&num=${entryCount}`; | |
const url = `${corsProxyUrl}/${googleUrl}`; | |
const logFeeds = response => response.responseData.feed.entries.map(console.log); | |
fetch(url) |