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
var gulp = require('gulp'), | |
jade = require('gulp-jade'), | |
stylus = require('gulp-stylus'), | |
autoprefixer = require('gulp-autoprefixer'), | |
csso = require('gulp-csso'), | |
imagemin = require('gulp-imagemin'), | |
uglify = require('gulp-uglify'), | |
concat = require('gulp-concat'), | |
browserSync = require('browser-sync'), | |
clean = require('gulp-clean'), |
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
block carouselVars | |
.carousel(class=carouselClassName) | |
.carousel-nav.carousel-nav-prev | |
.carousel-content | |
ul | |
mixin carousel-slide(skin) | |
li.carousel-slide(class=skin === 'light' ? 'carousel-slide-light' : 'carousel-slide-dark') | |
block |
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
tell application "System Events" | |
if frontmost of process "kitty" then | |
set visible of process "kitty" to false | |
else | |
set frontmost of process "kitty" to true | |
tell process "kitty" | |
set cmd to "command" | |
tell application "System Events" | |
keystroke cmd | |
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
global frontApp, frontAppName, windowTitle | |
set windowTitle to "" | |
tell application "System Events" | |
set frontApp to application process "Code" | |
set frontAppName to name of frontApp | |
tell process frontAppName | |
tell (1st window whose value of attribute "AXMain" is true) | |
set windowTitle to value of attribute "AXTitle" | |
end tell | |
end tell |
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
tell application "System Events" | |
tell application process "Code" | |
return value of attribute "AXDocument" of window 1 | |
end tell | |
end tell |
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
sudo atsutil databases -remove | |
atsutil server -shutdown | |
atsutil server -ping |
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
#!/usr/bin/env bash | |
# ~/.macos — https://mths.be/macos | |
# Close any open System Preferences panes, to prevent them from overriding | |
# settings we’re about to change | |
osascript -e 'tell application "System Preferences" to quit' | |
# Ask for the administrator password upfront | |
sudo -v |
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
#!/usr/bin/env bash | |
if test ! "$( command -v brew )"; then | |
echo "Installing homebrew" | |
ruby -e "$( curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install )" | |
fi | |
# Install command-line tools using Homebrew. | |
# Make sure we’re using the latest Homebrew. |
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
{ | |
"$schema": "vscode://schemas/color-theme", | |
"type": "light", | |
"colors": { | |
"activityBar.background": "#ffffff", | |
"activityBar.border": "#00000000", | |
"activityBar.foreground" "#bec9d3", | |
"activityBarBadge.background": "#000000", | |
"activityBarBadge.foreground": "#ffffff", | |
"badge.background": "#000000", |
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
{ | |
"id": "root", | |
"states": { | |
"Search Bar": { | |
"id": "Search Bar", | |
"states": { | |
"Inactive": { | |
"id": "Inactive", | |
"states": {}, | |
"on": { |
OlderNewer