国内从 Docker Hub 拉取镜像有时会遇到困难,此时可以配置镜像加速器。Docker 官方和国内很多云服务商都提供了国内加速器服务。
Dockerized 实践 https://github.com/y0ngb1n/dockerized
Ubuntu 16.04+、Debian 8+、CentOS 7+
国内从 Docker Hub 拉取镜像有时会遇到困难,此时可以配置镜像加速器。Docker 官方和国内很多云服务商都提供了国内加速器服务。
Dockerized 实践 https://github.com/y0ngb1n/dockerized
Ubuntu 16.04+、Debian 8+、CentOS 7+
# PyTorch bit packing inspired by np.packbits / np.unpackbits. Feature request: https://github.com/pytorch/pytorch/issues/32867 | |
import math | |
import torch | |
def tensor_dim_slice(tensor, dim, dim_slice): | |
return tensor[(dim if dim >= 0 else dim + tensor.dim()) * (slice(None), ) + (dim_slice, )] | |
#@torch.jit.script | |
def packshape(shape, dim : int = -1, mask : int = 0b00000001, dtype = torch.uint8, pack = True): |
:: Save this as SteamTrackingFix.bat and place it in your Godot folder. | |
:: The name doesn't really matter, but you may need to enable viewing file extensions in Windows to save it as a batch file. | |
:: Run this again if Godot updates and steam tracking stops working. | |
@echo off | |
echo ----- | |
echo Don't forget to add '/K godot.exe' to your Steam Godot Launch Options! | |
echo ----- | |
:: BatchGotAdmin | |
:------------------------------------- |
#!/bin/bash | |
# Update and upgrade system packages | |
sudo apt update | |
sudo apt upgrade -y | |
# Install required packages | |
sudo apt install -y wget git build-essential cmake libprotobuf-dev protobuf-compiler libsqlite3-dev zlib1g-dev osmium-tool nodejs npm nginx | |
# Download OSM data for Berlin |
/****************************************************************************** | |
* This script detects the Konami code | |
* (Full Konami Code obtained from: http://en.wikipedia.org/wiki/Konami_Code) | |
* If the Konami code is detected the function called "startUpKonami" is invoked. | |
* You can do whatever you want on "startUpKonami". Right now this method just: | |
* - Detachs the Konami code detection (so no further detections can happen). | |
* - Invokes an external function. | |
* | |
* Note: In case the user presses keys like "shift", "caps lock", "Ctrl"... | |
* the code will have to be reentered from scratch |
-- show running queries (pre 9.2) | |
SELECT procpid, age(clock_timestamp(), query_start), usename, current_query | |
FROM pg_stat_activity | |
WHERE current_query != '<IDLE>' AND current_query NOT ILIKE '%pg_stat_activity%' | |
ORDER BY query_start desc; | |
-- show running queries (9.2) | |
SELECT pid, age(clock_timestamp(), query_start), usename, query | |
FROM pg_stat_activity | |
WHERE query != '<IDLE>' AND query NOT ILIKE '%pg_stat_activity%' |
dataset | meta data | contents | with audio |
---|---|---|---|
200DrumMachines | 7371 one-shots | yes | |
AAM | onsets, pitches, instruments, melody instrument, keys, chords, tempo, beats | 3000 (artificial) tracks | yes |
ACM_MIRUM | tempo | 1410 excerpts (60s) | yes |
ACPAS | aligned audio and scores | 2189 performances of 497 scores | downloadable |
AcousticBrainz-Genre | 15-31 genres with 265-745 subgenres | audio features for over 2000000 songs | no |
I like to use webpack and npm. And since Material Design Icons has a nice and neat npm package, I usually just import it. However, if you want a higher score on, eg, PageSpeed or Pingdom, you'll need to get rid of the ?v=<version>
-string, as they see the version string as socalled cache busting.
Modifying the output CSS file manually isn't the right solution, as we want something automated. And we do, since we're using webpack in the first place. So we'll insert the content of the node_modules/mdi/scss/materialdesignicons
into our own _mdi.scss
-file, and exchange the parts that contains the nasty version string. This way we don't have to maintain a copy of Material Design Icons or any of their files, and it's not going to break any updates from their side.
The version string resides inside node_modules/mdi/scss/_path.scss
, which contains the @font-face
-selector we want to edit. So by copying the seletor into our n
Although Microsoft does not support Windows XP updates any more, I’m sure there are still many users using it due to their personal habits or job demands. Therefore XP’s product keys may be necessary even now, and Fuwn provided you with the most comprehensive Windows XP product keys here, just in order to provide some convenience.
The following CD-KEYs are official and original from Microsoft, mainly used for Windows XP Professional Service Pack 2/3 VOL/VLK system images which are the easiest ones to find on the Internet. Their biggest advantage is your Windows XP will be activated after using these CD-KEYs to complete installation.
// Windows XP Pro Product Keys //
This is not working complete code.
This is strictly a v0, scrapy, proof of concept for the first version of a personal AI Assistant working end to end in just ~322 LOC.
It's only a frame of reference for you to consume the core ideas of how to build a POC of a personal AI Assistant.
To see the high level of how this works check out the explanation video. To follow our agentic journey check out the @IndyDevDan channel.
Stay focused, keep building.