2016/10/18

MongoDB 3.2 on Slackware 14.0

Slackbuilds already have premade packages for MongoDB but the problem is, sometimes they are outdated. Some people might not want to upgrade their Slackware installation, and since I'm in such situation, here is my recipe

  1. grab the aproppiate MongoDB from Slackbuilds to your version of Slackware. 
  2. install it as usual with upgradepkg --install-new, but dont start it now
  3. grab binaries from https://www.mongodb.com/download-center
  4. unpack them
  5. overwrite unpacked binaries in /usr/bin
  6. and now you can start the server and restart Apache if needed

2016/09/24

vmware tools kernel headers

command line to fix the issue with the kernel header path on slackware for vmware tools configurator:

ln -s /usr/src/linux-$(uname -r)/include/generated/uapi/linux/version.h /usr/src/linux-$(uname -r)/include/linux/version.h

2016/02/26

FB Clean Stylish

another post of the same thing: how to get rid of annoying suggestions and ads

get Firefox + Stylish

inside Stylish create the following style:

@namespace url(http://www.w3.org/1999/xhtml);

@-moz-document domain("facebook.com") {
.uiTextareaAutogrow, .inputtext { color: black ; background-color:white }
#u_jsonp_5_1p,
._5ciw, .rhcFooter,
#appsNav,
#pagesNav,
#interestsNav,
#developerNav,
#listsNav,

#pagelet_bookmark_nav,
#u_jsonp_2_29,
#nf_megaphone_school_add,

#stream_story_525363c9273e41d84248140,

.stream_story_525363c9273e41d84248140,

#pagelet_stream_pager,

#‎u_0_30‬,

#rightCol,

#pagelet_side_ads,

#pagelet_pymk_timeline,

#escapeHatchMinimal_4__g,

#rightColWrap,

‪#‎pagelet_pymk_timeline‬,

‪#‎pagelet_megaphone‬,

‪#‎findFriendsNav‬,

.UIStandardFrame_SidebarAds,

.MessagingNetegoSidebar,

‪#‎MessagingNetegoSidebar‬,

‪#‎pagelet_bookmark_nav‬,

‪#‎pagelet_relationships‬,

‪#‎profile‬-friends-footer,

.pagelet_stream_pager,

‪#‎pagelet_stream_pager‬,

.rightCol,

‪#‎rightCol‬,

.rightColumnWrapper,

‪#‎rightColumnWrapper‬,

‪#‎pagelet_right_sidebar‬,

.pagelet_right_sidebar,

.fbTimelineSideAds,

#rightCol ‪#‎pagelet_ego_pane‬ .ego_column:nth-child(1),

.fbPhotoSnowboxAds,

.fbPhotoSnowboxAdsSide,

.fbEmu.fbEmuBlock.fbEmuEgo[id*="-id_"],

a[href*="/campaign/111111"], /* REMOVED TEMPORARY */

.fbEmuMarketplace,

‪#‎egoRefreshAds‬,

‪#‎pagelet_ego_pane_m‬,

‪#‎pagelet_ego_pane_w‬,

/* OLD STYLES */

.profile_sidebar_ads, .sidebar_ads, .adcolumn_header, .admarket_ad,

.ad_story, .social_ad_advert, .ads_feedback, .next_ad_button, .more_ads

{background:none !important;display:none !important}

}