App-Cheats

 view release on metacpan or  search on metacpan

cheats.txt  view on Meta::CPAN

    top: 15%;


#############################################################
## CSS - Blur
#############################################################

# Blur/Unblur (CSS,style)
# blanket is a direct child of body
function blur () {
    document.querySelector("#blanket").className = "overlay";
}
function unblur () {
    document.querySelector("#blanket").className = "";
}
.overlay{
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 10;
  background-color: rgba(0,0,0,0.5); /*dim the background*/
}


#############################################################
## CSS - Box

cheats.txt  view on Meta::CPAN

1. n = aaa
2. m = aaa
3. n = xyz
4. n = aaa

# Find out how many characters(length) are in a bash variable
n1=abcd
echo ${#n1}

# Remove from variable bash normal shortest
a="g2s -i ppb.gloascii -allow_overlays -ignore_errors"
echo ${a#*-}

# Remove from variable bash normal longest
a="g2s -i ppb.gloascii -allow_overlays -ignore_errors"
echo ${a##*-}

# Remove from variable bash reverse shortest
a="g2s -i ppb.gloascii -allow_overlays -ignore_errors"
echo ${a%-*}

# Remove from variable bash reverse longest
a="g2s -i ppb.gloascii -allow_overlays -ignore_errors"
echo ${a%%-*}

# View all bash variable with a matching name
echo ${!a*}

# Bash variable replacement uses:
echo "${f/\.mid}"    # Replace first occurrence
echo "${f//\.mid}"   # Replace all occurrences
echo "${f%\.mid}"    # Remove shortest match from end
echo "${f%%\.mid}"   # Remove longest match from end



( run in 0.321 second using v1.01-cache-2.11-cpan-9b1e4054eb1 )