App-Cheats

 view release on metacpan or  search on metacpan

cheats.txt  view on Meta::CPAN

1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
    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

6205
6206
6207
6208
6209
6210
6211
6212
6213
6214
6215
6216
6217
6218
6219
6220
6221
6222
6223
6224
6225
6226
6227
6228
6229
6230
6231
6232
6233
6234
6235
6236
6237
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.229 second using v1.01-cache-2.11-cpan-e9199f4ba4c )