I hereby claim:
- I am avosa on github.
- I am websteravosa (https://keybase.io/websteravosa) on keybase.
- I have a public key ASB5NqOCH06BYlKTk-2JHTvAm09F6IcN8tTLfTPkChbfBwo
To claim this, I am signing this object:
| #!/bin/bash | |
| echo "Enter directory you want to copy latest file from" | |
| read DEST | |
| function checkForNewestFile(){ | |
| NEWEST=`ls -tr1d "${MY_DIR}/"*.${FILEEXT} 2>/dev/null | tail -1` | |
| if [ -z "${NEWEST}" ] ; then | |
| echo "No newest file to copy" | |
| exit 1 |
I hereby claim:
To claim this, I am signing this object:
| for Y in {2017..2020} | |
| do | |
| mkdir $Y | |
| cd $Y | |
| for M in {01..12} | |
| do | |
| mkdir $M | |
| cd $M | |
| for D in {01..31} | |
| do |
| var now = new Date(); | |
| var seconds = now.getSeconds(); | |
| var minutes = now.getMinutes(); | |
| var hours = now.getHours(); | |
| var day = now.getDay(); | |
| var month = now.getMonth(); | |
| var year = now.getFullYear(); | |
| var days = [ | |
| "Sunday", | |
| "Monday", |
Code is clean if it can be understood easily – by everyone on the team. Clean code can be read and enhanced by a developer other than its original author. With understandability comes readability, changeability, extensibility and maintainability.
| HTTP status code symbols for Rails | |
| Thanks to Cody Fauser for this list of HTTP responce codes and their Ruby on Rails symbol mappings. | |
| Status Code Symbol | |
| 1xx Informational | |
| 100 :continue | |
| 101 :switching_protocols | |
| 102 :processing |
| # Dynamically creating repetitive methods using Metaprogramming in Ruby | |
| class Eat | |
| meals = %w(lunch supper breakfast) | |
| meals.each do |meal| | |
| define_method("#{meal}_meal") do |args| | |
| puts "I ate: #{args} for: #{meal}" | |
| end | |
| end |
2019-06-03
Note that Office2019 DO NOT support activate via simple copy/paste plist license file which is the simplest way to activate Office 2016. Fortunately, you can also use the VL Serializer tool, just install Office 2019 and Serializer, then run Serializer to activate.