⬥ Project 6 —— MyReads-React
╭── <Rubric>
│
☐ ├── ⟐ README file
☐ │ ├── Clear formatting
☐ │ ├── Neat organization
☐ │ ╰── Easy-to-follow instructions
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="100" height="50" id="getelements"> | |
<text font-size="16" x="10" y="20"> | |
document.getElementsByClassName(<tspan fill="red">\'red test\'</tspan>); | |
</text> | |
</svg> | |
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="100" height="50" id="queryselector"> | |
<text font-size="16" x="10" y="20"> | |
document.querySelector(\"<tspan fill="red">div.user-panel.main</tspan> input[name=\'login\']\"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Source: https://stackoverflow.com/a/11213851 | |
$.ajax({ | |
url: "YOUR FOLDER", | |
success: function(data){ | |
$(data).find("a:contains(.jpg)").each(function(){ | |
// will loop through | |
var images = $(this).attr("href"); | |
$('<p></p>').html(images).appendTo('a div of your choice') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
wget https://docs.openvinotoolkit.org/archives/2019_R3.1.zip | |
unzip -q 2019_R3.1.zip -d openvino_temp | |
rm 2019_R3.1.zip | |
mv openvino_temp/home/jenkins/agent/workspace/openvino/documentation/upload_documentation/automation/scripts/upload_documentation/OVINO/2019_R3.1/ OpenVINO_Docs | |
rm -rf openvino_temp |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
git pull | |
echo "Backup this repo to GitHub Arctic Code Vault" > ice_ice_baby.md | |
git add . | |
git commit -m "arctic code vault commit" | |
git push origin master |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#shamelessly copied from here https://discuss.pytorch.org/t/utility-function-for-calculating-the-shape-of-a-conv-output/11173/7 | |
# original docs at https://pytorch.org/docs/master/nn.html#conv2d | |
import math | |
def num2tuple(num): | |
return num if isinstance(num, tuple) else (num, num) | |
def conv2d_output_shape(h_w, kernel_size=1, stride=1, pad=0, dilation=1): | |
h_w, kernel_size, stride, pad, dilation = num2tuple(h_w), \ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Tar and compress files using tqdm or pv for a progress bar. | |
# * Safety | |
# NOTE: These are disabled by default in this template but should be | |
# enabled when feasible. Documentation is from the Bash man page. | |
# ** errexit |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
OlderNewer