NOTE: this gist is outdated, refer to this repository instead - https://github.com/ghaiklor/iterm-fish-fisher-osx
- Download and install iTerm2 (it has better color fidelity than the built in Terminal).
package main | |
import ( | |
"database/sql" | |
"database/sql/driver" | |
"errors" | |
"fmt" | |
_ "github.com/mattn/go-sqlite3" | |
) |
create temporary table temp (symbol varchar(255), open decimal, high decimal, low decimal, close decimal, volume varchar(255), date date ); | |
create table if not exists stocks (id serial primary key, symbol varchar(255), open decimal, high decimal, low decimal, close decimal, volume varchar(255), date date, created_at timestamp, updated_at timestamp); | |
copy temp (symbol, date, open, high, low, close, volume) from '/path/to/file.csv' with delimiter ',' csv header; | |
delete from stocks using temp where stocks.date = temp.date and stocks.symbol = temp.symbol; | |
insert into stocks (symbol, open, high, low, close, volume, date) select symbol, open, high, low, close, volume, date from temp; |
from abc import ABC, ABCMeta, abstractmethod | |
from collections import namedtuple | |
from itertools import count | |
PayloadFactory = namedtuple('PayloadFactory', [ | |
'good', 'created', 'queued', 'unchanged', 'requires_auth', | |
'permission_denied', 'not_found', 'invalid', 'error' | |
]) | |
""" |
NOTE: this gist is outdated, refer to this repository instead - https://github.com/ghaiklor/iterm-fish-fisher-osx
import asyncio | |
from concurrent import futures | |
import functools | |
import inspect | |
import threading | |
from grpc import _server | |
def _loop_mgr(loop: asyncio.AbstractEventLoop): |
A referral link such as, https://www.gitshowcase.com/invitation/1951fdg, the Fetched URL, is replaced with https://www.gitshowcase.com/, the Canonical URL, as tested with Post Inspector, hence it becomes necessary to post via the LinkedIn REST API
1) Default Application Permissions:
#cloud-config | |
package_update: true | |
package_upgrade: true | |
runcmd: | |
# install docker | |
- curl -fsSL https://get.docker.com -o get-docker.sh && sh get-docker.sh && rm get-docker.sh | |
import Quartz as QZ | |
import Quartz.CoreGraphics as CG | |
import AppKit as AK | |
import numpy as np | |
import numpy.typing as npt | |
import typing as t | |
Matcher = t.Callable[[dict[str, t.Any]], bool] |