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
[General] | |
IsBacklightEnabled=false | |
LightpackMode=Ambilight | |
[Device] | |
Brightness=100 | |
ColorDepth=128 | |
Gamma=2.004 | |
RefreshDelay=100 | |
Smooth=5 |
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 Preferences" | |
reveal pane id "com.apple.preference.trackpad" | |
end tell | |
tell application "System Events" to tell process "System Preferences" | |
-- Uncheck lookup & data detectors | |
tell tab group 1 of window "Trackpad" | |
click radio button "Point & Click" | |
click checkbox 1 | |
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 Preferences" | |
reveal pane id "com.apple.preference.trackpad" | |
end tell | |
tell application "System Events" to tell process "System Preferences" | |
-- Uncheck Zoom | |
tell tab group 1 of window "Trackpad" | |
click radio button "Scroll & Zoom" | |
click checkbox 2 | |
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
<Box> | |
{posts | |
.filter(post => post.node.title.length > 0) | |
.map(({ node: post }, index) => { | |
return ( | |
<Box key={post.id}> | |
<Link to={post.slug} className={linkStyles}> | |
<Timestamp>{post.date}</Timestamp> | |
<h3>{post.title}</h3> | |
<div |
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
/******************************************************************************* | |
LIGHTSWITCH: A DARK MODE SWITCHER WITH USER OVERRIDE | |
By Nick Punt 10/26/2018 | |
How to use: | |
* Create two color schemes in CSS under the classes 'light' and 'dark' | |
* Add the class 'light' or 'dark' to your body as your default color scheme | |
* Add button to page with id 'lightswitch', which lets users change/override |
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
div.kr-editable.canvas_ranges_editor--root--1O0sYyVL { | |
color: #dedede; | |
background-color: #2b2b2b; | |
} | |
div.kr-span { | |
color: #e6e6e6; | |
} | |
div.left_rail_view--root--21r3Zn9y.left_rail_view--expanded--1yBdK1dz { |