- AI Shift
- 社内SQL研修のために作った資料を公開します - (2021/06/21)
- CARTA HOLDINGS(旧VOYAGE GROUP)
- 技術広報が新卒研修<Open AIハッカソン>をスパイしてみた - (2023/04/11)
- @t_wadaに学ぶテスト駆動開発【CARTA 23新卒研修】 - (2023/04/19)
- Classi
- 当たり前にリリースしていく ~ 新卒研修編 - (2021/05/20)
- リモートワークのための質問力向上研修を実施しました - (2021/12/07)
- CyberZ
Discover gists
- This guide assumes you want to build the Unreal Engine 5 (UE5) editor from source in order to get a Windows Unreal Engine 5 Editor to share with a team or studio
- This was writen with the absolute minimum build requirements for our team to avoid taking more disk space and compile time than needed - please modify to fit your needs.
- Keep in mind that, as of writing, I have little experience with the Unreal build tools, I'm simply documenting what worked for me.
- Also see this excellent blog post especially if you are building Unreal Engine 4 (UE4): https://www.edwardbeazer.com/unreal-installed-builds-rocket-buids/
- If you do not have it already, download git bash. https://gitforwindows.org/
- Get access to the unreal source repo by following this guide: https://www.unrealengine.com/en-US/ue4-on-github
- Install Visual Studio 2019 on the C:\ drive for UE5 (Visual Studio 2017 for ue4)
- Make sure to install the desktop c++ components, windows sdk (current version should be selected by
Using Plex on Hetzner with Wireguard VPN (Docker). First, thanks to ShipkaChalk (https://gist.github.com/ShipkaChalk/629fdc42dad781776d2007fc502188f3) and his original tutorial that helped me a lot to get the client part. With this tutorial, you can route all Plex traffic via Wireguard out of another VPS (2$ IONOS Ubuntu VPS), this can be used for any container but here to bypass the Hetzner block by Plex.
-
Get yourself a Linux VPS (ex : Ubuntu 22.04)
-
Make all updates :
sudo apt update
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
app.use("/graphql", (req, res, next) => { | |
const startHrTime = process.hrtime(); | |
res.on("finish", () => { | |
if (req.body && req.body.operationName) { | |
const elapsedHrTime = process.hrtime(startHrTime); | |
const elapsedTimeInMs = | |
elapsedHrTime[0] * 1000 + elapsedHrTime[1] / 1e6; | |
logger.info({ | |
type: "timing", |
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
import torch | |
label = torch.LongTensor([4,1]) | |
out_mat = torch.FloatTensor( | |
[[0.1, 0.1, 0.1, 0.1, 0.5], | |
[0.6, 0.1, 0.1, 0.1, 0.0]]) | |
print "out_mat", out_mat |
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
# ffmpeg combo: equirect-to-cubemap (standard 6 faces + yaw:45° 4 horiz faces) | |
ffmpeg -i input.mp4 -filter_complex [0:v]split=2[in1][in2];[in1]v360=equirect:c3x2:out_forder=frblud,untile=3x2[out1];[in2]v360=equirect:c6x1:out_forder=frblud:yaw=45,crop=4/6*in_w:in_h:0:0,untile=4x1[out2] -map [out1] cubemap2\cubemap_frblud_%05d.jpg -map [out2] cubemap2\cubemap_45_frbl_%05d.jpg | |
# from equirectangular to standard cubemap | |
ffmpeg -i input.mp4 -vf "v360=equirect:c3x2:out_forder=frblud,untile=3x2" cubemap\cubemap_frblud_%05d.jpg | |
# from equirectangular to standard yaw:45° cubemap (no top/bottom) | |
ffmpeg -i input.mp4 -filter_complex "v360=equirect:c6x1:out_forder=frblud:yaw=45,crop=4/6*in_w:in_h:0:0,untile=4x1" cubemap\cubemap_45_frbl_%05d.jpg | |
# from equirectangular to 90° rectilinear persp | |
ffmpeg -i input.mp4 -vf "v360=e:rectilinear:h_fov=90:v_fov=90" output.mp4 |
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
// ==UserScript== | |
// @name Discord Token Login | |
// @namespace https://gist.github.com/m-Phoenix852/d63d869f16e40dac623c9aa347e8641a/ | |
// @version 1.1 | |
// @description Taking over discord's tokens! | |
// @author Phoenix852 | |
// @match *://discord.com/login | |
// @updateURL https://gist.github.com/m-Phoenix852/d63d869f16e40dac623c9aa347e8641a/raw/6d1ee63df17685e4ea06018bd8b47541d4261b82/index.user.js | |
// @grant none | |
// @iconURL https://i.imgur.com/rI8GsTz.png |
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
Compiling/installing the mesa virtio-venus-driver-(below done with new linux container) | |
For: Chrome OS crostini-default debian container bookworm | |
Best viewed in "raw" format | |
In chrome browser type or paste | |
chrome://flags |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
NewerOlder