- Install
styled-components
npm install --save styled-components
- Require in your namespace
["styled-components" :default styled]
| #!/usr/bin/env sh | |
| # AWS CLI Profile picker | |
| # Recommended alias: `awsp` | |
| function aws-profiles() { | |
| export AWS_PROFILE=$(aws configure list-profiles | fzf) | |
| } | |
| # AWS CLI Region picker | |
| # Recommended alias: `awsr` |
styled-componentsnpm install --save styled-components
["styled-components" :default styled]
| (ns my-shadow-app.dev-server | |
| (:require [clj-http.client :as client] | |
| [clojure.string :as string] | |
| [shadow.http.push-state :as push-state]) | |
| (:import [org.apache.http NoHttpResponseException])) | |
| (defn handler | |
| [{:keys [uri http-config body headers request-method] :as request}] | |
| (if-not (string/starts-with? uri "/api") | |
| (push-state/handle request) |
I hereby claim:
To claim this, I am signing this object:
| #!/usr/bin/env bash | |
| # Ensure this file is executable via `chmod a+x setup` | |
| # create .bash_profile | |
| mkdir ~/bin | |
| mkdir ~/.bash | |
| wget -O ~/.bash/git-prompt.sh https://raw.githubusercontent.com/git/git/master/contrib/completion/git-prompt.sh | |
| wget -O ~/.bash_profile https://gist.githubusercontent.com/ian-moore/7d13a5846350dfcd52674538898a0ca8/raw/b3490e824ce01dbeb6edc1a116b68bd7641a9772/.bash_profile |
| source ~/.bash/git-prompt.sh # Show git branch name | |
| export GIT_PS1_SHOWCOLORHINTS=true # Show branch name in color | |
| # Prompt | |
| export PROMPT_COMMAND='__git_ps1 "\e[37m[\t] \e[33m\w\e[0m" "\e[92m\n\\\$\e[0m "' | |
| # Modify PATH | |
| export PATH=~/bin:~/.local/bin:$PATH |
| $taskName = 'ForceClockSynchronization' | |
| $trigger = new-scheduledtasktrigger ` | |
| -once ` | |
| -at (get-date) ` | |
| -RepetitionInterval (New-TimeSpan -Hours 1) ` | |
| -RepetitionDuration ([system.timespan]::MaxValue) | |
| $stopService = new-scheduledtaskaction ` | |
| -execute net ` |
| [xml]$xmlFile = get-content 'C:\Users\imoore\Desktop\SomeCompany.SomeProject.xml' | |
| $rootNamespace = 'SomeCompany.SomeProject.' | |
| $word = New-Object -ComObject Word.Application | |
| $document = $word.Documents.Add() | |
| $selection = $word.Selection | |
| $selection.Style = 'Heading 1' | |
| $selection.TypeText('Project Plugins') |