This file contains hidden or 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 argparse | |
from P4 import P4, P4Exception | |
def edit_files(p4, cl): | |
files = p4.run("describe", "-s", cl)[0]["depotFile"] | |
change = {"Change": "new", "Description": f"Checked out from CL{cl}"} | |
p4.input = change | |
change_output = p4.run("change", "-i") | |
new_cl = change_output[0].split()[1] |
This file contains hidden or 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
@echo off | |
powershell.exe -NoProfile -ExecutionPolicy Bypass -File "%~dp0ipview.ps1" %* |
This file contains hidden or 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
@echo off | |
:: Drop it in the root directory of a freshly cloned raylib. Run, and enjoy. | |
set "OUT=./out" | |
if not exist "%OUT%" mkdir "%OUT%" | |
cd "%OUT%" | |
set "cwd=%cd%" | |
:: Detect OS type and set the appropriate generator | |
set "uname=%OS%" |
This file contains hidden or 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
#include <X11/Xlib.h> | |
#include <X11/Xatom.h> | |
#include <X11/extensions/Xfixes.h> | |
int main() { | |
Display *dpy; | |
Window root; | |
int ev_base, err_base; | |
XEvent ev; | |
if (!(dpy=XOpenDisplay(0x0))) |
This file contains hidden or 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
using System; | |
using System.Collections.Generic; | |
using System.Diagnostics; | |
using System.IO; | |
using UnityEditor; | |
namespace UnityGuidRegenerator { | |
public class UnityGuidRegeneratorMenu { | |
[MenuItem("Tools/Regenerate All GUIDs")] | |
public static void RegenerateGuids() { |