#!/bin/bash
export PATH=$PATH:/home/rudy/bin
export PS1='\u@\h:\w\$ '
export LS_COLORS='no=00:fi=00:di=01;34:ln=01;36:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.bat=01;32:*.BAT=01;32:*.btm=01;32:*.BTM=01;32:*.cmd=01;32:*.CMD=01;32:*.com=01;32:*.COM=01;32:*.dll=01;32:*.DLL=01;32:*.exe=01;32:*.EXE=01;32:*.7z=01;31:*.ace=01;31:*.ACE=01;31:*.arj=01;31:*.bz2=01;31:*.cpio=01;31:*.deb=01;31:*.dz=01;31:*.gz=01;31:*.jar=01;31:*.lzh=01;31:*.lzma=01;31:*.rar=01;31:*.RAR=01;31:*.rpm=01;31:*.rz=01;31:*.tar=01;31:*.taz=01;31:*.tb2=01;31:*.tbz2=01;31:*.tbz=01;31:*.tgz=01;31:*.tlz=01;31:*.trz=01;31:*.txz=01;31:*.tz=01;31:*.tz2=01;31:*.xz=01;31:*.z=01;31:*.Z=01;31:*.zip=01;31:*.ZIP=01;31:*.zoo=01;31:*.aac=01;35:*.AAC=01;35:*.anx=01;35:*.asf=01;35:*.ASF=01;35:*.au=01;35:*.axa=01;35:*.axv=01;35:*.avi=01;35:*.AVI=01;35:*.bmp=01;35:*.BMP=01;35:*.divx=01;35:*.DIVX=01;35:*.flac=01;35:*.FLAC=01;35:*.gif=01;35:*.GIF=01;35:*.jpg=01;35:*.JPG=01;35:*.jpeg=01;35:*.JPEG=01;35:*.m2a=01;35:*.M2A=01;35:*.m2v=01;35:*.M2V=01;35:*.m4a=01;35:*.M4A=01;35:*.m4p=01;35:*.M4P=01;35:*.m4v=01;35:*.M4V=01;35:*.mid=01;35:*.midi=01;35:*.mka=01;35:*.mkv=01;35:*.MKV=01;35:*.mov=01;35:*.MOV=01;35:*.mp3=01;35:*.MP3=01;35:*.mp4=01;35:*.MP4=01;35:*.mp4v=01;35:*.mpc=01;35:*.MPC=01;35:*.mpeg=01;35:*.MPEG=01;35:*.mpg=01;35:*.MPG=01;35:*.nuv=01;35:*.oga=01;35:*.ogv=01;35:*.ogx=01;35:*.ogg=01;35:*.OGG=01;35:*.pbm=01;35:*.pgm=01;35:*.png=01;35:*.PNG=01;35:*.ppm=01;35:*.qt=01;35:*.ra=01;35:*.RA=01;35:*.ram=01;35:*.RAM=01;35:*.rm=01;35:*.RM=01;35:*.spx=01;35:*.svg=01;35:*.svgz=01;35:*.tga=01;35:*.TGA=01;35:*.tif=01;35:*.TIF=01;35:*.tiff=01;35:*.TIFF=01;35:*.vob=01;35:*.VOB=01;35:*.wav=01;35:*.WAV=01;35:*.wma=01;35:*.WMA=01;35:*.wmv=01;35:*.WMV=01;35:*.xbm=01;35:*.xcf=01;35:*.xpm=01;35:*.xspf=01;35:*.xwd=01;35:*.XWD=01;35:*.xvid=01;35:'
export LS_OPTIONS='-F -b -T 0 --color=auto'
alias d='dir'
alias dir='/bin/ls $LS_OPTIONS --format=vertical'
alias ls='/bin/ls $LS_OPTIONS'
alias mc='. /usr/share/mc/bin/mc-wrapper.sh'
alias v='vdir'
alias vdir='/bin/ls $LS_OPTIONS --format=long'
2017/05/25
slackware 14.2 bashrc
Slackware 14.2 has many changes since version 14.0. So far the most annoying to me is the prompt under console and the ls colors. So I figured I should copy/paste the definitions from 14.0 into a .bashrc
2017/04/30
Stylish for g00gle
@namespace url(http://www.w3.org/1999/xhtml);
@-moz-document domain("www.google.com") {
.ads-ad
{ display: none !important }
}
new FB Stylish for Firefox
FB did a major change on their web site so many Id and classes were changed, old Stylish template doesnt work anymore as it used to be. So here's my first attempt to rewrite it:
*(Updated 20170801)
*(Updated 20170801)
@namespace url(http://www.w3.org/1999/xhtml);
@-moz-document domain("www.facebook.com") {
.groupSkyAux,
#pagelet_pymk_timeline,
.contentArea,
.rightCol,
#pagelet_rhc_footer,
#appsNav,
#outdatedBrowserBanner,
.fbPageBannerInner,
#u_jsonp_8_n,
._1vc-,
.ego_section,
.mts,
.home_right_column,
#substream_0
{background:none !important;display:none !important}
.textInput
{color:black !important;}
}
Styilish for Twitter
this is a work in progress:
Firefox + Stylish addon
this code removes "Moments":
Firefox + Stylish addon
this code removes "Moments":
@namespace url(http://www.w3.org/1999/xhtml);
@-moz-document domain("twitter.com") {
.moments
{ display:none !important }
}
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
- grab the aproppiate MongoDB from Slackbuilds to your version of Slackware.
- install it as usual with upgradepkg --install-new, but dont start it now
- grab binaries from https://www.mongodb.com/download-center
- unpack them
- overwrite unpacked binaries in /usr/bin
- and now you can start the server and restart Apache if needed
Labels:
command line,
MongoDB,
network administration,
slackware,
upgrades
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:
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}
}
Labels:
Facebook,
Firefox,
Nasty dialogs,
No Ads,
Stylish
Subscribe to:
Posts (Atom)