This file has been truncated, but you can view the full file.
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
2024-03-15 11:36:04.195 [info] (Client) Pylance async client (2024.2.3) started with python extension (2023.14.0) | |
2024-03-15 11:36:04.691 [info] [Info - 11:36:04 AM] (2125926) Pylance language server 2024.2.3 (pyright version 1.1.348, commit cfb1de0c) starting | |
2024-03-15 11:36:04.691 [info] [Info - 11:36:04 AM] (2125926) Server root directory: file:///home/tamas/.vscode/extensions/ms-python.vscode-pylance-2024.2.3/dist | |
2024-03-15 11:36:04.694 [info] [Info - 11:36:04 AM] (2125926) Starting service instance "llvmcraft" | |
2024-03-15 11:36:04.733 [info] [Info - 11:36:04 AM] (2125926) Setting pythonPath for service "llvmcraft": "/home/tamas/.local/share/hatch/env/virtual/knit/hPnSDupG/knit/bin/python" | |
2024-03-15 11:36:04.733 [info] [Info - 11:36:04 AM] (2125926) Setting environmentName for service "llvmcraft": "3.10.13 (knit venv)" | |
2024-03-15 11:36:04.734 [info] [Info - 11:36:04 AM] (2125926) Loading pyproject.toml file at /home/tamas/projects/llvmcraft/pyproject.toml | |
2024-03-15 11:36:04.736 [info] [Info - 11 |
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
❯ ./benchmark.py ~/src/CMake/build/compile_commands.json /home/tamas/projects/build-llvm/bin/clang-18 | |
Loading commands... | |
Benchmarking ProcessUNIX.c compilation... Mean: 0.045s | |
Benchmarking Base64.c compilation... Mean: 0.010s | |
Benchmarking Encodin |
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
#! /usr/bin/env python3 | |
import json | |
import os | |
import shlex | |
import subprocess as sp | |
import time | |
from contextlib import contextmanager | |
from pathlib import Path | |
from tempfile import TemporaryDirectory |
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
settings: | |
host: | |
os: Linux | |
arch: x86_64 | |
build_type: Release | |
build: | |
os: Linux | |
arch: x86_64 | |
build_type: Release |
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
'-DCMAKE_BUILD_TYPE=Release', | |
'-DENABLE_X86_RELAX_RELOCATIONS=ON', | |
'-DCLANG_DEFAULT_CXX_STDLIB=libc++', | |
'-DCLANG_DEFAULT_LINKER=lld', | |
'-DCLANG_DEFAULT_OBJCOPY=llvm-objcopy', | |
'-DCLANG_DEFAULT_RTLIB=compiler-rt', | |
'-DCLANG_DEFAULT_UNWINDLIB=libunwind', | |
'-DCLANG_ENABLE_BOOTSTRAP=ON', | |
'-DCLANG_LINKS_TO_CREATE=clang++;clang-cpp', | |
'-DLLVM_BUILD_TESTS=OFF', |
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
--bind | |
/tmp | |
/tmp | |
--symlink | |
usr/sbin | |
/sbin | |
--ro-bind | |
/media | |
/media | |
--symlink |
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
use std::env; | |
use std::mem; | |
use std::os::raw::c_int; | |
use std::path::PathBuf; | |
use std::ptr; | |
use anyhow::Result; | |
use sciter::dom; | |
use sciter::dom::event::{EventHandler, DRAW_EVENTS, EVENT_GROUPS}; | |
use sciter::dom::{Element, HELEMENT}; |
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
[tool.poetry] | |
name = "pretty_plz" | |
version = "0.1.3" | |
description = "pretty_plz is a tool that turns utility scripts into runnable commands" | |
authors = ["Tamás Szelei <[email protected]>"] | |
license = "MIT" | |
homepage = "https://github.com/sztomi/pretty_plz/" | |
repository = "https://github.com/sztomi/pretty_plz/" | |
keywords = ["productivity", "commandline", "cli"] | |
classifiers = [ |
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 <chrono> | |
#include <iostream> | |
#include <mutex> | |
#include <thread> | |
struct ExpensiveFoo | |
{ | |
ExpensiveFoo() | |
{ | |
std::cout << "ExpensiveFoo default constructor... "; |
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
// class Enemies, function Update(): | |
if (CONFIG::debug) | |
{ | |
if (FlxG.keys.SHIFT && FlxG.keys.justPressed("D")) | |
{ | |
// kill all enemies | |
for each ( var enemy : Enemy in members) | |
{ | |
if (enemy.alive && enemy.exists) |
NewerOlder