antani
This commit is contained in:
commit
02322903c5
5 changed files with 29 additions and 0 deletions
6
README.md
Normal file
6
README.md
Normal file
|
@ -0,0 +1,6 @@
|
|||
# Correct Horse Battery Staple
|
||||
|
||||
![](https://imgs.xkcd.com/comics/password_strength.png)
|
||||
|
||||
Data stolen from:
|
||||
* https://bitbucket.org/jvdl/correcthorsebatterystaple
|
20
chbs.sh
Executable file
20
chbs.sh
Executable file
|
@ -0,0 +1,20 @@
|
|||
#!/bin/sh
|
||||
|
||||
# WTFPL !
|
||||
|
||||
datadir="./data"
|
||||
separator='-'
|
||||
words=4
|
||||
|
||||
for arg in "$@"
|
||||
do
|
||||
case $arg in
|
||||
-s=*|--separator=*)
|
||||
separator="${arg#*=}"
|
||||
shift
|
||||
;;
|
||||
esac
|
||||
done
|
||||
|
||||
correcthorse=$(cat $datadir/* | sed 's/,/\n/g' | shuf | tail -n $words | sed "s/$/$separator/; s/\b\(.\)/\u\1/" | tr -d \[:space:\])
|
||||
echo $correcthorse$(shuf -i0-9 -n1)
|
1
data/jargon.txt
Normal file
1
data/jargon.txt
Normal file
File diff suppressed because one or more lines are too long
1
data/science-terms.txt
Normal file
1
data/science-terms.txt
Normal file
|
@ -0,0 +1 @@
|
|||
acceleration,acid,action,activation,adaptation,adaptations,aerostats,algae,alkali,allele,amplitude,anemometer,animal,atom,atomic,axle,balanced,banka,barometer,barrier,basin,battery,beach,bio-nano,bioalcohol,biodiesel,biodiversity,biofuel,biogas,biomass,biome,biotic,bitumen,bladed,blizzard,bond,breeder,breeze,bubble,buoyancy,calorie,camouflage,canopy,canyon,capillary,carbon,carnivore,catalyst,cell,chain,chemical,chimney,circuit,cirrus,clathrate,clearing,climate,cloud,clouds,coal,coefficient,cold,combustion,compass,competition,complex,composition,compound,compressed,concentrated,condensation,conduction,coniferous,conservation,constraint,contour,convection,conversion,cooker,cooling,covalent,cover,crest,crop,cross-linked,crude,crust,cumulonimbus,cumulus,current,cycle,cycling,deciduous,decomposer,decomposition,deep,deforestation,density,dependent,depolymerization,deposition,desert,design,diatomic,diesel,diffraction,direction,disease,dominance,dominant,drilling,dune,dyson,easterly,ecology,economy,ecosystem,efficiency,electrical,electricity,electromagnetic,electron,electrons,element,endangered,endothermic,energy,engine,entropy,environment,environmental,enzyme,equation,erosion,estuary,evaporation,exchange,exothermic,external,extinction,factor,farm,farming,fauna,field,fischer-tropsch,flood,flooding,flora,flywheel,food,force,forecast,forest,form,formula,fossil,francis,freezing,frequency,freshwater,friction,front,fuel,fusion,gases,gasohol,gauge,gene,generator,geothermal,glacier,global,grassland,gravity,grid,ground,habitat,halogen,heat,heat-,heating,herbivore,heterogeneous,heterozygous,high-altitude,homogeneous,homozygous,host,humus,hurricane,hydro,hydroelectricity,hydrogen,hydropower,hypothesis,igneous,implosion,improvement,inclined,increased,independent,indicator,inertia,inhibitor,instrument,interdependence,ionic,isotope,kaplan,kinetic,kytoon,lack,lake,land,landforms,latitude,legends,length,levels,lever,light,limiting,lines,liquid,living,longitude,machine,magnetohydrodynamic,maps,marine,mass,matter,measurement,mechanical,meiosis,melting,metal,metals,metamorphic,meteorologists,methane,methanol,method,metric,mitosis,mixture,model,molecule,momentum,motion,mountain,moving,natural,neap,neutral,neutron,newton’s,niche,nimbus,nitrogen,noble,non-native,nuclear,nucleus,number,nutrients,ocean,octet,omnivore,osmotic,over,oxidation,oxygen,panel,parasite,particle,particles,pattern,peat,periodic,petroleum,photosynthesis,photovoltaic,physical,piezoelectricity,plain,plane,plant,plate,platform,pneumatics,polar,pollutant,pollution,polymer,population,populations,potential,power,precipitate,precipitation,predator,pressure,prey,prism,process,producer,product,propellant,protist,proton,pulley,pump,punnett,pyramid,pyrolysis,quality,radiation,rain,rainforest,reactant,reaction,reactor,recessive,recycle,recycling,reduction,refined,refinery,relationships,renewable,replacement,reprocessing,reproduction,reserve,resource,resources,respiration,restoration,rock,rose,run-off,salt,sands,satellite,savannah,savonius,scavenging,scientific,screw,sedimentary,sedimentation,sexual,shale,shelter,simple,small,soil,solar,solid,sonoluminescence,sound,space,species,spectroscope,speed,sphere,spills,spring,square,station,stationary,steam,stirling,storage,straight,stranded,stratus,subatomic,sublimation,subscript,substance,sulfur-iodine,surface,sustainable,symbiotic,symbol,synfuel,syngas,synthesis,system,table,taiga,tectonics,temperate,temperature,terrestrial,tesla,theory,thermal,thermometer,thorium,thunderstorm,tidal,tide,time,topographic,topsoil,tornado,tower,transition,transmutation,tributaries,tropical,tropism,trough,tundra,turbine,turbines,turgot,tyson,unbalanced,universal,updraft,uranium,vacuum,valence,valleys,vane,vaporization,variable,vegetable,vegetation,vehicle,velocity,vibration,virus,viscosity,volume,vortex,warm,warming,water,wave,wavelength,weather,weathering,wedge,well,westerly,wetland,wetlands,wheel,wind,wood,zero-point,zone,Hydrogen,Helium,Lithium,Beryllium,Boron,Carbon,Nitrogen,Oxygen,Fluorine,Neon,Sodium,Magnesium,Aluminum,Silicon,Phosphorus,Sulfur,Chlorine,Argon,Potassium,Calcium,Scandium,Titanium,Vanadium,Chromium,Manganese,Iron,Cobalt,Nickel,Copper,Zinc,Gallium,Germanium,Arsenic,Selenium,Bromine,Krypton,Rubidium,Strontium,Yttrium,Zirconium,Niobium,Molybdenum,Technetium,Ruthenium,Rhodium,Palladium,Silver,Cadmium,Indium,Tin,Antimony,Tellurium,Iodine,Xenon,Cesium,Barium,Lanthanum,Cerium,Praseodymium,Neodymium,Promethium,Samarium,Europium,Gadolinium,Terbium,Dysprosium,Holmium,Erbium,Thulium,Ytterbium,Lutetium,Hafnium,Tantalum,Tungsten,Rhenium,Osmium,Iridium,Platinum,Gold,Mercury,Thallium,Lead,Bismuth,Polonium,Astatine,Radon,Francium,Radium,Actinium,Thorium,Protactinium,Uranium,Neptunium,Plutonium,Americium,Curium,Berkelium,Californium,Einsteinium,Fermium,Mendelevium,Nobelium,Lawrencium,Rutherfordium,Dubnium,Seaborgium,Bohrium,Hassium,Meitnerium,Darmstadtium,Roentgenium,Copernicium,Nihonium,Flerovium,Moscovium,Livermorium,Tennessine,Oganesson,
|
1
data/wordlist.txt
Normal file
1
data/wordlist.txt
Normal file
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue