Skip to content

Instantly share code, notes, and snippets.

@kupuguy
kupuguy / index.html
Created November 10, 2016 14:42
Pure CSS Ticker (Horizontal)
<h1>Pure CSS Ticker (No-JS)</h1>
<h2>A smooth horizontal news like ticker using CSS transform on infinite loop</h2>
<div class="ticker-wrap">
<div class="ticker">
<div class="ticker__item"><img src="http://ichef-1.bbci.co.uk/news/235/cpsprodpb/16663/production/_92374719_mediaitem92374348.jpg" width="100" > Letterpress chambray brunch.</div>
<div class="ticker__item"><img src="http://ichef-1.bbci.co.uk/news/235/cpsprodpb/16663/production/_92374719_mediaitem92374348.jpg" width="100" > Vice mlkshk crucifix beard chillwave meditation hoodie asymmetrical Helvetica.</div>
<div class="ticker__item"><img src="http://ichef-1.bbci.co.uk/news/235/cpsprodpb/16663/production/_92374719_mediaitem92374348.jpg" width="100" > Ugh PBR&B kale chips Echo Park.</div>
<div class="ticker__item"><img src="http://ichef-1.bbci.co.uk/news/235/cpsprodpb/16663/production/_92374719_mediaitem92374348.jpg" width="100" > Gluten-free mumblecore chambray mixtape food truck. </div>
<div class="ticker__item">Authentic bitters seitan pu
@dhaupin
dhaupin / dev_cli_cpanel_update_hooks.txt
Created April 28, 2017 15:03
Example - WHM/cPanel Update Hooks
# https://documentation.cpanel.net/display/SDK/Guide+to+Standardized+Hooks+-+The+manage_hooks+Utility
# To add a script to upcp schema (as a hook)
/usr/local/cpanel/bin/manage_hooks add script /root/src/cpanel-hooks/postupcp.sh --manual --category System --event upcp --stage post
# To remove a script as hook from upcp schema
/usr/local/cpanel/bin/manage_hooks delete script /root/src/cpanel-hooks/postupcp.sh --manual --category System --event upcp --stage post
# To list current hooks (
/usr/local/cpanel/bin/manage_hooks list