CLICK ME
yes, even hidden code blocks!
print("hello world!")
REGION=eu-west-1 | |
VER=2.1.8 | |
LANG=en | |
MODEL=en_core_web_sm-2.1.0 | |
RUNTIME=python3.7 | |
MODEL_URL=https://github.com/explosion/spacy-models/releases/download/$MODEL/$MODEL.tar.gz | |
docker run -v $(pwd):/out -it lambci/lambda:build-$RUNTIME \ | |
pip install spacy==$VER $MODEL_URL -t /out/build/spacy/python |
# http://bytefish.de/blog/first_steps_with_sqlalchemy/ | |
from sqlalchemy.ext.declarative import declarative_base | |
from sqlalchemy import create_engine | |
from datetime import datetime, timedelta | |
from sqlalchemy import Table, Column, Integer, String, DateTime, ForeignKey | |
from sqlalchemy.orm import relationship, backref | |
from sqlalchemy.orm import sessionmaker | |
Base = declarative_base() |
You have a repository, call it alice/repo
. You would like to transfer it to the user bob
, so it will become bob/repo
.
However, you make heavy use of the GitHub Pages feature, so that people are often accessing https://alice.github.io/repo/
. GitHub will helpfully redirect all of your repository stuff hosted on github.com after the move, but will not redirect the GitHub Pages hosted on github.io.
CODE!
Hello World, how is it going?
Option Explicit | |
Private JiraService As New MSXML2.XMLHTTP60 | |
Private JiraAuth As New MSXML2.XMLHTTP60 | |
Private sCookie | |
Const sJIRAUserID = "" | |
Const sJIRAPass = "" | |
Const url = "https://<name>.atlassian.net/rest/" | |
Private Sub Class_Initialize() | |
Dim sErg |
Sub ConvertToJiraTable() | |
Dim workingRange As Range, currCol As Range, currRow As Range | |
Dim rowIndex As Long, colIndex As Long | |
Dim output As String, cellVal As String, status As String | |
Dim statusHash As Dictionary | |
Dim cb As DataObject | |
Set cb = New DataObject | |
Set statusHash = New Dictionary | |
statusHash("Done") = "(/)" | |
statusHash("Not Done") = "(x)" |
Graphic via State of Florida CFO Vendor Payment Search (flair.myfloridacfo.com)
This is a quick command I use to snapshot webpages that have a fun image I want to keep for my own collection of WTFViz. Why not just right-click and save the image? Oftentimes, the webpage in which the image is embedded contains necessary context, such as captions and links to important documentation just incase you forget what exactly that fun graphic was trying to explain.