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/sh | |
# template script for running a command as user | |
# The presumption is that this script will be executed as root from a launch daemon | |
# or from some management agent. To execute a single command as the current user | |
# you can use the `runAsUser` function below. | |
# by Armin Briegel - Scripting OS X | |
# |
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
# Credit goes to the blog post for the command: | |
# https://derflounder.wordpress.com/2023/09/26/managing-the-click-wallpaper-to-reveal-desktop-setting-in-macos-sonoma/ | |
#!/bin/bash | |
# Get the logged-in user's username | |
loggedInUser=$(stat -f%Su /dev/console) | |
# Write the default value for the logged-in user | |
sudo -u "$loggedInUser" /usr/bin/defaults write com.apple.WindowManager EnableStandardClickToShowDesktop -bool false |
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
# source: https://community.jumpcloud.com/t5/community-scripts/using-dockutil-to-set-a-user-s-dock/m-p/1897 | |
#!/bin/bash | |
# check if dockutil is installed, install if it's not. | |
dockutil="/usr/local/bin/dockutil" | |
if [[ -x $dockutil ]]; then | |
echo "dockutil found, no need to install" | |
else | |
echo "dockutil could not be found, installing..." | |
curl -L --silent --output /tmp/dockutil.pkg "https://github.com/kcrawford/dockutil/releases/download/3.1.3/dockutil-3.1.3.pkg" >/dev/null |
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
# ignore the "bit" stuff.. only relevant to my custom jekyll fork | |
desc 'create new post or bit. args: type (post, bit), title, future (# of days)' | |
# rake new type=(bit|post) future=0 title="New post title goes here" slug="slug-override-title" | |
task :new do | |
require 'rubygems' | |
require 'chronic' | |
type = ENV["type"] || "post" | |
title = ENV["title"] || "New Title" |
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
<<<<<<< HEAD:html/sites/mothersclick.com/themes/mothersclick/preprocess/preprocess-node.inc | |
$vars['share_post'] = _share_posts($vars['node']); | |
} | |
======= | |
global $share_horizontal; | |
$share_horizontal = array('video', 'smackdown', 'photo'); | |
if (in_array($vars['node']->type, $share_horizontal)) { | |
$vars['share_post_horizontal'] = _share_posts($vars['node']); | |
} | |
else { |
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
<<<<<<< HEAD:html/sites/mothersclick.com/themes/mothersclick/preprocess/preprocess-node.inc | |
if ($vars['field_ref1'][0]['view']) { | |
$vars['entry_first'] = $vars['field_ref1'][0]['view']; | |
} | |
if ($vars['field_ref2'][0]['view']) { | |
$vars['entry_second'] = $vars['field_ref2'][0]['view']; | |
} | |
======= |
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
<<<<<<< HEAD:html/sites/mothersclick.com/themes/mothersclick/styles/view-styles.css | |
.photo-challenge-front .more-link { | |
margin-top: 5px; | |
======= | |
.photo-challenge-front .photo-challenge-option img { | |
border: none; | |
display: block; | |
background: #000000; | |
margin: 10px auto 30px; | |
height: 112px; |
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
diff --git a/html/sites/all/themes/rubik/cube/cube.info b/html/sites/all/themes/rubik/cube/cube.info | |
index 60985ca..92c5b40 100644 | |
--- a/html/sites/all/themes/rubik/cube/cube.info | |
+++ b/html/sites/all/themes/rubik/cube/cube.info | |
@@ -11,7 +11,6 @@ stylesheets[screen][] = "style.css" | |
regions[header] = "Header" | |
regions[content] = "Content" | |
regions[left] = "Left" | |
-regions[right] = "Right" | |