Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
get community.centminmod.com list of fontawesome html references
curl -s https://community.centminmod.com/ | grep -Eoih class\=\"[^\"]*\" | fgrep 'fa-' | sed -e 's|^class="fa ||g' -e 's|\"||g' -e 's| Tooltip||' -e 's|class=||' -e 's|xbOffCanvasExpand fa ||' | tr " " "\n" | sort -u
fa-bars
fa-btc
fa-caret-down
fa-caret-right
fa-cc-mastercard
fa-cc-paypal
fa-cc-visa
fa-chevron-down
fa-chevron-up
fa-commenting
fa-comments
fa-comments-o
fa-creditcards
fa-envelope-o
fa-external-link-square
fa-facebook
fa-file-text-o
fa-folder-o
fa-fw
fa-gavel
fa-github
fa-google-plus
fa-home
fa-life-ring
fa-link
fa-medium
fa-rss
fa-rss-square
fa-search
fa-sign-in
fa-sitemap
fa-twitter
fa-user-plus
fa-user-secret
fa-youtube-play
domain=community.centminmod.com
urls="https://$domain/ https://$domain/media/ https://$domain/showcase/ https://$domain/threads/featured https://$domain/find-new/posts?recent=1 https://$domain/forums/centmin-mod-news.3/ https://$domain/threads/centmin-mod-123-09beta01-github-stats-for-2018.16379/"

rm -rf fontawesome-list.txt
for l in $urls; do curl -s $l | grep -Eoih class\=\"[^\"]*\" | fgrep 'fa-' | sed -e 's|^class="fa ||g' -e 's|\"||g' -e 's| Tooltip||' -e 's|class=||' -e 's|xbOffCanvasExpand fa ||' | tr " " "\n" | sort -u >> fontawesome-list.txt; done; cat fontawesome-list.txt | sort -u | fgrep 'fa-'
cat fontawesome-list.txt | sort -u | fgrep 'fa-'
fa-bars
fa-btc
fa-calendar
fa-caret-down
fa-caret-right
fa-cc-mastercard
fa-cc-paypal
fa-cc-visa
fa-chevron-down
fa-chevron-up
fa-cog
fa-commenting
fa-comments
fa-comments-o
fa-creditcards
fa-envelope-o
fa-external-link-square
fa-eye
fa-facebook
fa-file-text-o
fa-folder-o
fa-fw
fa-gavel
fa-github
fa-google-plus
fa-home
fa-life-ring
fa-link
fa-lock
fa-map-marker
fa-medium
fa-picture-o
fa-rss
fa-rss-square
fa-search
fa-search-plus
fa-sign-in
fa-sitemap
fa-star
fa-star-half-empty
fa-thumbs-o-up
fa-thumbs-up
fa-thumb-tack
fa-trophy
fa-twitter
fa-user-plus
fa-user-secret
fa-youtube-play

from pixelexit fontawesome+ 1.5.20 xenbase XML file

cat style-XenBase-Parent-DO-NOT-EDIT.xml | grep -Eoih class\=\"[^\"]*\" | fgrep 'fa-' | sed -e 's|^class="fa ||g' -e 's|\"||g' -e 's| Tooltip||' -e 's|class=||' -e 's|xbOffCanvasExpand fa ||' | grep -v '{xen' | tr " " "\n" | sort -u
fa-android
fa-apple
fa-arrow-up
fa-bar-chart
fa-bars
fa-bell
fa-bolt
fa-calendar
fa-caret-down
fa-chevron-down
fa-chevron-up
fa-cog
fa-commenting
fa-comments
fa-comments-o
fa-dot-circle-o
fa-envelope
fa-envelope-o
fa-exclamation-triangle
fa-eye
fa-facebook
fa-file-text-o
fa-flag
fa-folder-o
fa-fw
fa-gavel
fa-github
fa-globe
fa-google-plus
fa-home
fa-instagram
fa-key
fa-keyboard-o
fa-lg
fa-life-ring
fa-link
fa-linkedin
fa-lock
fa-map-marker
fa-newspaper-o
fa-outdent
fa-paint-brush
fa-pencil
fa-phone
fa-picture-o
fa-pinterest
fa-reddit
fa-rocket
fa-rss
fa-rss-square
fa-search
fa-share
fa-shield
fa-sign-in
fa-sitemap
fa-star
fa-steam
fa-tags
fa-thumbs-o-up
fa-thumbs-up
fa-thumb-tack
fa-times
fa-toggle-right
fa-trash
fa-trophy
fa-tumblr
fa-twitch
fa-twitter
fa-university
fa-user
fa-user-plus
fa-users
fa-user-secret
fa-user-times
fa-vimeo-square
fa-vk
fa-youtube-play
cat style-XenBase-Parent-DO-NOT-EDIT.xml | grep 'toggleClass'
        $('.xbOffCanvasContainer').toggleClass("marginLeft");
        $('.xbOffCanvasContainer').toggleClass("marginRight");
        $(this).children('.xbOffCanvasExpand').toggleClass('fa-flip-vertical ');

xf media gallery

cat addon-XenGallery.xml | grep -Eoih class\=\"[^\"]*\" | fgrep 'fa-' | sed -e 's|^class="fa ||g' -e 's|\"||g' -e 's| Tooltip||' -e 's|class=||' -e 's|xbOffCanvasExpand fa ||' | grep -v '{xen' | grep 'fa-' | tr " " "\n" | sort -u
dimmed
fa-arrows
fa-arrows-h
fa-arrows-v
fa-ban
fa-bars
fa-calendar
fa-comment
fa-{$comment.content_icon}
fa-comments
fa-crop
fa-download
fa-eye
fa-film
fa-folder-open
fa-lg
fa-pencil
fa-picture-o
fa-play
fa-plus
fa-plus-square-o
fa-rotate-left
fa-rotate-right
fa-search-plus
fa-stack
fa-stack-1x
fa-stack-2x
fa-star
fa-star-half-empty
fa-tag
fa-th
fa-thumbs-o-up
fa-thumbs-up
fa-tint
fa-trash-o
fa-user
fa-users
redText
star

flatawesome+ style property = Style Properties: [XB] Misc Pages

Use Font Awesome via Locally

from

styles/xenbase/font-awesome/css/font-awesome.min.css

to

fontawesome-small/fontawesome.css

and

from

    <link rel="preload" as="style" onload="this.rel = 'stylesheet'" href='/styles/xenbase/font-awesome/css/font-awesome.min.css'>
    <link rel="preload" href="/styles/xenbase/font-awesome/fonts/fontawesome-webfont.woff2?v=4.7.0" as="font" type="font/woff2" crossorigin="anonymous">

to

    <link rel="preload" as="style" onload="this.rel = 'stylesheet'" href='/fontawesome-small/fontawesome.css'>
    <link rel="preload" href="/fontawesome-small/FontAwesome.woff2" as="font" type="font/woff2" crossorigin="anonymous">

remove

<style>
@font-face{font-family:'FontAwesome';src:url('//community.centminmod.com/styles/xenbase/font-awesome/fonts/fontawesome-webfont.eot?v=4.7.0');src:url('//community.centminmod.com/styles/xenbase/font-awesome/fonts/fontawesome-webfont.eot?#iefix&v=4.7.0') format('embedded-opentype'),url('//community.centminmod.com/styles/xenbase/font-awesome/fonts/fontawesome-webfont.woff2?v=4.7.0') format('woff2'),url('//community.centminmod.com/styles/xenbase/font-awesome/fonts/fontawesome-webfont.woff?v=4.7.0') format('woff'),url('//community.centminmod.com/styles/xenbase/font-awesome/fonts/fontawesome-webfont.ttf?v=4.7.0') format('truetype'),url('//community.centminmod.com/styles/xenbase/font-awesome/fonts/fontawesome-webfont.svg?v=4.7.0#fontawesomeregular') format('svg');font-weight:normal;font-style:normal}.fa{display:inline-block;font:normal normal normal 14px/1 FontAwesome;font-size:inherit;text-rendering:auto;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.fa-fw{width:1.28571429em;text-align:center}.fa-search:before{content:"\f002"}.fa-chevron-up:before{content:"\f077"}.fa-chevron-down:before{content:"\f078"}.fa-comments:before{content:"\f086"}.fa-sign-in:before{content:"\f090"}.fa-twitter:before{content:"\f099"}.fa-facebook:before{content:"\f09a"}.fa-github:before{content:"\f09b"}.fa-rss:before{content:"\f09e"}.fa-link:before{content:"\f0c1"}.fa-bars:before{content:"\f0c9"}.fa-google-plus:before{content:"\f0d5"}.fa-caret-down:before{content:"\f0d7"}.fa-caret-right:before{content:"\f0da"}.fa-comments-o:before{content:"\f0e6"}.fa-sitemap:before{content:"\f0e8"}.fa-file-text-o:before{content:"\f0f6"}.fa-folder-o:before{content:"\f114"}.fa-rss-square:before{content:"\f143"}.fa-external-link-square:before{content:"\f14c"}.fa-youtube-play:before{content:"\f16a"}.fa-cc-visa:before{content:"\f1f0"}.fa-cc-mastercard:before{content:"\f1f1"}.fa-cc-paypal:before{content:"\f1f4"}.fa-user-plus:before{content:"\f234"}.fa-medium:before{content:"\f23a"}.fa-commenting:before{content:"\f27a"}
</style>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment