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
-Dsun.java2d.uiScale.enabled=false | |
-Dide.ui.scale=1.0 |
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
~# cat overlay.sh | |
#!/bin/sh -e | |
modprobe overlay | |
mkdir -p /overlay | |
mount -t tmpfs tmpfs /overlay | |
mkdir -p /overlay/blk |
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 Box2D | |
import Box2D.b2 as b2 | |
class b2Separator: | |
""" | |
* Convex Separator for Box2D Flash | |
* | |
* This code has been ported to Python by Stephen Tian from the Java port by Chad Palsulich of the Flash original written by Antoan Angelov. |
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
from threading import Thread | |
from pyray import * | |
from raylib import * | |
from time import sleep | |
# control variables | |
downloadPressed = False | |
uploadPressed = 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
import uuid | |
from pathlib import Path | |
import sh | |
import fire | |
import yaml | |
DEFAULT_GAME_PATH = '/home/izot/Downloads/torrents/The-Last-Starship-Alpha-5a_setup.exe' | |
DEFAULT_BOTTLE_LIB_PATH = '/home/izot/Downloads/_bottle_area' |
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
from flask import Flask | |
import webview | |
import sys | |
import threading | |
app = Flask(__name__) | |
@app.route('/') | |
def hello_world(): | |
return 'Hello World!' |
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/bash | |
# Variables | |
OE_USER="odoo" | |
OE_HOME="/$OE_USER" | |
OE_HOME_EXT="/$OE_USER/${OE_USER}-server" | |
INSTALL_WKHTMLTOPDF="True" | |
OE_PORT="8069" | |
OE_VERSION="15.0" | |
OE_SUPERADMIN="admin" |
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
class StateMachine: | |
states = ["NO STATE"] | |
user_states = {} | |
def __init__(self,states): | |
if states: | |
self.states.extend(states) | |
else: | |
raise ValueError("StateMachine must have at least one state") | |
def next(self,user_id): |
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
rm -rf ~/.config/JetBrains/GoLand2021.3/eval | |
rm -rf ~/.config/JetBrains/GoLand2021.3/options/other.xml | |
touch ~/.config/JetBrains/GoLand2021.3/options/other.xml | |
sed -i -E 's/<property name=\"evl.*\".*\/>//' ~/.config/JetBrains/GoLand2021.3/options/other.xml | |
rm -rf ~/.java/.userPrefs/jetbrains/goland |
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
# Define the function | |
function find-and-activate | |
for dir in (find . -type d) | |
if test -f $dir/activate.fish | |
. $dir/activate.fish | |
return | |
end | |
end | |
end |
NewerOlder