- git checkout -f force overwrite of current changes | dumps any changes like if you accidently delete something
git commit --allow-empty -m "run-ci"
- git checkout master
- git pull
/* | |
App: Spotify | |
Problem statement: | |
After a user searches for a song, how often is any song clicked on | |
from among the search results? | |
System nouns: | |
* Catalog (contains Songs) |
https://www.ssllabs.com/ssltest/index.html |
ssh-keygen -i -f ssh2_key.pub
xxxxxxx-create-sftp <foldername> "<ssh_key>" xxxxxxx-create-sftp foldername "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABA[...]"
# FOUND THIS THREAD ON STACKOVERFLOW FROM 2017! OH JOY! | |
# https://stackoverflow.com/questions/43012715/morse-audio-decoding-using-python | |
# There is a script in an archive circa 2011!!! EVEN BETTER!!! | |
# Downloaded the [archive](https://code.google.com/archive/p/morse-to-text/source/default/source) | |
# Updated for python3 by following the comments in stackoverflow article BUT..... | |
# Install missing packages BUT..... | |
# Forget to update the path in the script to python3 so I lazily changed from python to python3 | |
# Still didn't work because the actual path was......different => run which python! | |
# Of course works perfectly for their sample files! BUT.... for our file the script did not recognize the long pulse | |
# Trial and error on changing the band value in the script |
Build error tips
package main | |
import ( | |
"bufio" | |
"fmt" | |
"os" | |
"path/filepath" | |
"regexp" | |
"strings" | |
) |
5xx errors | |
Probably a timeout | |
Can you see evidence of a request in the logs (web layer) or do you see evidence of a hole where they seem to have missed a call if they send multiple calls | |
Could be they made ran into an error on their end and never made it our servers at all | |
Do they have retries set up | |
Does the payload meet size requirements | |
A gateway timeout could be something ephemeral like unlucky timing with one of our deployments or something |
//THIS IS MINE TM | |
var columnNames = Object.keys(data[0]);//get the column names into an array | |
for (var name in columnNames){ | |
datagrid.addColumn(columnNames[name],datagrid.DATA_TYPE_STRING);//addColumn header name for grid | |
} | |
//TAG VALUE and AOI ARE ARRAYS & CANNOT ADD ARRAY TO CELL | |
//SO IF [] then space and .join otherwise | |
for (var response in data){ //for each response | |
var feedback_details = Object.values(data[response]); //store in an array | |
for (var detail in feedback_details){ //go through each response |