-
Install needed adobe apps from adobe creative cloud.
-
Open Terminal.
-
Copy-paste the below command to your terminal and run it (enter password when asked).
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
import Swiper from "swiper/bundle"; | |
import "swiper/swiper-bundle.css"; | |
window.addEventListener( | |
"load", | |
() => { | |
// swiper | |
var slider = document.querySelectorAll(".swiper-container"); | |
for (let index = 0; index < slider.length; index++) { | |
slider[index].classList.add("swiper-container-" + index); |
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 sure you are pulling ALL your posts from the ghost API [No limit] | |
function LatestPost (props) { | |
const [ postNum, setPostNum] = useState(3); // Default number of posts dislplayed | |
function handleClick() { | |
setPostNum(prevPostNum => prevPostNum + 3) // 3 is the number of posts you want to load per click | |
} |
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
import React, { useState, useEffect } from "react"; | |
import Posts from "./Posts"; | |
import posts from "./postsArray"; | |
const postsPerPage = 3; | |
let arrayForHoldingPosts = []; | |
const App = () => { | |
const [postsToShow, setPostsToShow] = useState([]); | |
const [next, setNext] = useState(3); |
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
if ($('.swiper-container').length > 0) { //some-slider-wrap-in | |
let swiperInstances = []; | |
$(".swiper-container").each(function(index, element){ //some-slider-wrap-in | |
const $this = $(this); | |
$this.addClass("instance-" + index); //instance need to be unique (ex: some-slider) | |
$this.parent().find(".swiper-pagination").addClass("pagination-" + index); | |
$this.parent().find(".swiper-button-prev").addClass("prev-" + index); //prev must be unique (ex: some-slider-prev) | |
$this.parent().find(".swiper-button-next").addClass("next-" + index); //next must be unique (ex: some-slider-next) | |
swiperInstances[index] = new Swiper(".instance-" + index, { //instance need to be unique (ex: some-slider) | |
// your settings ... |
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
alexcvzz.vscode-sqlite | |
andys8.jest-snippets | |
apollographql.vscode-apollo | |
austincummings.razor-plus | |
bobsparadox.seti-black | |
BriteSnow.vscode-toggle-quotes | |
christian-kohler.npm-intellisense | |
christian-kohler.path-intellisense | |
CoenraadS.bracket-pair-colorizer | |
dbaeumer.vscode-eslint |
If you're using a high-end bluetooth headset on your Macbook Pro it's likely your mac is using an audio codec which favors battery efficiency over high quality. This results in a drastic degradation of sound, the SBC codec is the likely culprit, read more about it here.
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
#!/bin/bash | |
if [ -z "$1" ]; then | |
echo "waiting for the following arguments: username + max-page-number" | |
exit 1 | |
else | |
name=$1 | |
fi | |
if [ -z "$2" ]; then |
- Homebrew/terminal/bash
- OSX Productivity - Window Management/Quick Launcher/Hyperswitch
- OSX Settings - Dock/Finder
- Web Browser - Extensions - AdBlock, Privacy Badger, OneTab, JSONViewer, Stylus, Vue Devtools, React Devtools
- Node.js - nvm
- Code Editor - vs code
- Code Editor Extensions
- Break timer and Flux
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
xcode-select --install | |
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" | |
brew update | |
brew cask install iterm2 | |
# update iterm2 settings -> colors, keep directory open new shell, keyboard shortcuts | |
brew install bash # latest version of bash | |
# set brew bash as default shell | |
brew install fortune | |
brew install cowsay | |
brew install git |
NewerOlder