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
/home/cosku/Desktop/mono-MonoGame-13d6249/MonoGame.Framework/Linux/Graphics/Effect/EffectPass.cs(58,36): error CS1502: The best overloaded method match for `OpenTK.Graphics.OpenGL.GL.ProgramParameter(int, OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb, int)' has some invalid arguments | |
/usr/lib/mono/gac/OpenTK/1.1.0.0__bad199fe84eb3df4/OpenTK.dll (Location of the symbol related to previous error) | |
/home/cosku/Desktop/mono-MonoGame-13d6249/MonoGame.Framework/Linux/Graphics/Effect/EffectPass.cs(58,36): error CS1503: Argument `#2' cannot convert `OpenTK.Graphics.OpenGL.Version32' expression to type `OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb' | |
/home/cosku/Desktop/mono-MonoGame-13d6249/MonoGame.Framework/Linux/Graphics/Effect/EffectPass.cs(59,36): error CS1502: The best overloaded method match for `OpenTK.Graphics.OpenGL.GL.ProgramParameter(int, OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb, int)' has some invalid arguments | |
/usr/lib/mono/gac/OpenTK/1.1.0.0__bad199fe84eb3df4/OpenTK.dll (Location of |
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
package main | |
import ( | |
al "github.com/tapir/allegro5" | |
"github.com/tapir/allegro5/imageio" | |
"runtime" | |
"log" | |
) | |
func init() { |
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
str = "testtesttest<!--m-->testtesttest" | |
local s, e = string.find(str, "<!--", 0) | |
print(s, e) | |
local s, e = string.find(str, "<!--m", 0) | |
print(s, e) | |
-- Output: | |
-- 13, 15 | |
-- nil, nil |
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
package main | |
import ( | |
"bytes" | |
"crypto" | |
"crypto/rsa" | |
"crypto/sha1" | |
"crypto/x509" | |
"encoding/base64" | |
"encoding/pem" |
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
export default class HomeScreen extends React.Component { | |
constructor(props) { | |
super(props); | |
this.state = {token: ''}; | |
this.getToken = this.getToken.bind(this); | |
getToken(); | |
} | |
getToken() { | |
AsyncStorage.getItem('JWT_TOKEN') |
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
# don't run as root | |
# install conda | |
curl https://repo.anaconda.com/pkgs/misc/gpgkeys/anaconda.asc | gpg --dearmor > conda.gpg | |
install -o root -g root -m 644 conda.gpg /usr/share/keyrings/conda-archive-keyring.gpg | |
sudo gpg --keyring /usr/share/keyrings/conda-archive-keyring.gpg --no-default-keyring --fingerprint 34161F5BF5EB1D4BFBBB8F0A8AEB4F8B29D82806 | |
echo "deb [arch=amd64 signed-by=/usr/share/keyrings/conda-archive-keyring.gpg] https://repo.anaconda.com/pkgs/misc/debrepo/conda stable main" | sudo tee -a /etc/apt/sources.list.d/conda.list | |
sudo apt update | |
apt install conda |
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
node.rules = [ | |
{ | |
matches = [ | |
{ | |
node.name = "~ardour*" | |
} | |
] | |
actions = { | |
update-props = { | |
node.autoconnect = false |