Skip to content

Instantly share code, notes, and snippets.

Avatar
🏠
Working from home

Alec Brunelle aleccool213

🏠
Working from home
View GitHub Profile
View Brew Cask Apps
# Installs Brew Cask apps for a new Mac OS installation
brew cask install google-cloud-sdk font-fira-code-nerd-font
brave-browser spotify visual-studio-code discord spectacle notion
authy firefox authy alfred nextdns zoom
ishowu-instant insomnia dash bartender slack
docker microsoft-outlook
View github_issues_list_query.ts
const GITHUB_ISSUES_LIST_QUERY = gql`
${GITHUB_ORG_INFO_CARD_FRAGMENT}
${GITHUB_ISSUE_COUNT_CARD_FRAGMENT}
${GITHUB_ISSUE_INFO_CARD_FRAGMENT}
query GithubIssuesListContainerQuery {
...GithubOrgInfoCardFragment
issues {
...GithubIssueCountCardFragment
pageInfo {
endCursor
View github_issue_list_container_fragment_types.tsx
import { GithubIssueInfoCardFragment } from "../../graphql-types";
interface GithubIssueInfoCardProps {
issueDetails: GithubIssueInfoCardFragment;
}
View notifications_list_query.ts
import {
GITHUB_ISSUE_INFO_CARD_FRAGMENT,
GithubIssueInfoCard,
} from "./GithubIssueInfoCard";
const NOTIFICATIONS_LIST_QUERY = gql`
${GITHUB_ISSUE_INFO_CARD_FRAGMENT}
query NotificationsContainerQuery {
notifications {
totalCount
View github_issue_list_container_fragment.tsx
const GITHUB_ISSUES_LIST_QUERY = gql`
${GITHUB_ISSUE_INFO_CARD_FRAGMENT}
query GithubIssuesListContainerQuery {
organization {
id
name
}
issues {
totalCount
pageInfo {
View github_issue_list_container_no_fragment.tsx
const GITHUB_ISSUES_LIST_QUERY = gql`
query GithubIssuesListContainerQuery {
organization {
id
name
}
issues {
totalCount
pageInfo {
endCursor
View test-and-release.yml
# .github/workflows/test-and-release.yaml
name: Test and Release
on: [push]
jobs:
test-and-release:
name: Run tests and release
runs-on: ubuntu-18.04
steps:
View publish-config-package.json
"publishConfig": { "access": "public", "branches": ["master"] }
View circleci_cypress_parallel_builds_example.yml
cypress-my-app:
working_directory: '~/Development/myapp'
parallelism: 3
steps:
- run:
name: 'Run cypress tests'
command: |
cypress run --record -- --parallel --group $CIRCLE_JOB --ci-build-id $CIRCLE_WORKFLOW_ID