Skip to content

Instantly share code, notes, and snippets.

@nickysixer
nickysixer / .htaccess
Created April 3, 2018 18:07
Develop Locally, Use Images from Production
RewriteCond %{REQUEST_URI} ^/wp-content/uploads/[^\/]*/.*$
RewriteRule ^(.*)$ https://[production_website].com/$1 [QSA,L]
@nickysixer
nickysixer / style.css
Last active June 14, 2018 15:35
Normalize word-wrap on Divi Theme sites
#et-secondary-menu li, #top-menu li, .et_pb_gallery_item, .et_pb_portfolio_item, .et_pb_blurb_content, .et_pb_tabs_controls, .et_pb_tab, .et_pb_slide_description, .et_pb_pricing_heading, .et_pb_pricing_content, .et_pb_promo_description, .et_pb_newsletter_description, .et_pb_counter_title, .et_pb_circle_counter, .et_pb_number_counter, .et_pb_toggle_title, .et_pb_toggle_content, .et_pb_contact_main_title, .et_pb_testimonial_description_inner, .et_pb_team_member, .et_pb_countdown_timer_container, .et_pb_post, .et_pb_text, .product, .et_pb_widget {
word-wrap: normal;
}
@nickysixer
nickysixer / cloudSettings
Last active April 16, 2020 01:47
VS Code Preferences
{"lastUpload":"2020-04-16T01:47:52.683Z","extensionVersion":"v3.4.3"}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@nickysixer
nickysixer / cmd.md
Last active August 24, 2022 14:19
Removed untracked files from repo

git rm -r --cached . && git add . && git commit -am "Remove ignored files"