Since unreal engines assets are binary encoded classical text based git diff/merge tools will give up on merge conflicts of unreal assets.
But fear not!
You can setup your git environment to actually be able to diff/merge these .uasset
files by using already built-in functionallity of the unreal editor!
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
(require 'url-http) | |
(defun insert-bibtex-from-doi () | |
(interactive) | |
(let* ((doi (string-trim (gui-get-primary-selection))) | |
(url (if (string-prefix-p "https://doi.org/" doi) | |
doi | |
(concat "https://doi.org/" doi))) | |
(url-request-method "GET") | |
(url-mime-accept-string "application/x-bibtex")) |
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/sh | |
# usage: | |
# $ export GITHUB_TOKEN=[token] | |
# $ rename-master-to-main.sh [org] [repo] | |
# generate GITHUB_TOKEN at https://github.com/settings/tokens/new with "repo" privileges | |
ORG="$1" | |
REPO="$2" | |
rm -rf $REPO |
Instructions to hack up WSL2 on Windows 10 Build 18917 to run k3s (Kubernetes) and rio
https://docs.microsoft.com/en-us/windows/wsl/wsl2-install
I already had Ubuntu-18.04 installed in wsl 1. So I just did wsl --set-version Ubuntu-18.04 2
Using Ubuntu 18.04 (I'm sure any distro will work), inside WSL2 download https://thirdpartysource.microsoft.com/download/Windows%20Subsystem%20for%20Linux%20v2/May%202019/WSLv2-Linux-Kernel-master.zip and extract to a folder. The latest version of the kernel source is available at (https://github.com/microsoft/WSL2-Linux-Kernel)
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
Nginx.conf | |
worker_processes auto; | |
events { | |
worker_connections 1024; | |
} | |
## HLS server streaming | |
rtmp { |
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
require 'nokogiri' | |
require 'open-uri' | |
require 'upmark' | |
require 'cgi' | |
require 'uri' | |
class TootReader | |
ACTIVITY_NAMESPACE = 'http://activitystrea.ms/spec/1.0/'.freeze | |
COMMENT_TYPE = 'http://activitystrea.ms/schema/1.0/comment'.freeze |
Stop! Go to https://github.com/ceejbot/mastodon-ansible where a cleaned-up version of this lives!
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
console.log(1); | |
(_ => console.log(2))(); | |
eval('console.log(3);'); | |
console.log.call(null, 4); | |
console.log.apply(null, [5]); | |
new Function('console.log(6)')(); | |
Reflect.apply(console.log, null, [7]) | |
Reflect.construct(function(){console.log(8)}, []); | |
Function.prototype.apply.call(console.log, null, [9]); | |
Function.prototype.call.call(console.log, null, 10); |
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
defaults write com.apple.Safari WebKitMediaPlaybackAllowsInline -bool false | |
defaults write com.apple.SafariTechnologyPreview WebKitMediaPlaybackAllowsInline -bool false | |
defaults write com.apple.Safari com.apple.Safari.ContentPageGroupIdentifier.WebKit2AllowsInlineMediaPlayback -bool false | |
defaults write com.apple.SafariTechnologyPreview com.apple.Safari.ContentPageGroupIdentifier.WebKit2AllowsInlineMediaPlayback -bool false |
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
#!/usr/bin/env zsh | |
# homebrew-pypi-poet for multiple packages. | |
# | |
# Usage: | |
# | |
# multipoet dep [dep ...] | |
# | |
# Example: | |
# |
NewerOlder