Skip to content

Instantly share code, notes, and snippets.

View TinDang97's full-sized avatar
🌴
Get new challange

Tín Đặng TinDang97

🌴
Get new challange
  • Trustify Technology
  • Ho Chi Minh, Viet Nam
View GitHub Profile
@lynkos
lynkos / README.md
Last active April 9, 2025 18:20
Copy of README for Game Porting Toolkit (Apple)

Evaluation environment for Windows games 2.1 README

Version

Important

This is a copy of Read Me.rtf (i.e. attached documentation) for Apple's Game Porting Toolkit.

Typos present in the original document have not been corrected.

Overview

The evaluation environment for Windows games is now a subset of the expanded Game Porting Toolkit. The evaluation environment helps game developers try out their existing Windows games right on Apple Silicon Macs running macOS 14 or higher. Using community projects that bundle the evaluation environment, or building your own environment using the included binaries and installation and configuration inst

@santaklouse
santaklouse / CrossOver.sh
Last active May 14, 2025 22:38
unlimited CrossOver trial (MacOS)
#!/usr/bin/env bash
# checck if pidof exists
PIDOF="$(which pidof)"
# and if not - install it
(test "${PIDOF}" && test -f "${PIDOF}") || brew install pidof
# find app in default paths
CO_PWD=~/Applications/CrossOver.app/Contents/MacOS
test -d "${CO_PWD}" || CO_PWD=/Applications/CrossOver.app/Contents/MacOS
@h3ssan
h3ssan / JetBrains trial reset.md
Last active May 13, 2025 07:27
Reset all JetBrains products trial in Linux

In some cases, only these lines will work

for product in IntelliJIdea WebStorm DataGrip PhpStorm CLion PyCharm GoLand RubyMine; do
    rm -rf ~/.config/$product*/eval 2> /dev/null
    rm -rf ~/.config/JetBrains/$product*/eval 2> /dev/null
done

But if not, try these

@TinDang97
TinDang97 / build_ffmpeg_cuda_debian
Last active February 16, 2025 07:07
Build FFMPEG script with full feature, include scale_cuda, scale_npp, vpx, libx,...
#!/bin/bash
# https://github.com/markus-perl/ffmpeg-build-script
PROGNAME=$(basename $0)
VERSION=1.18
CWD=$(pwd)
PACKAGES="$CWD/packages"
WORKSPACE="$CWD/workspace"
CFLAGS="-I$WORKSPACE/include"
@tayvano
tayvano / gist:6e2d456a9897f55025e25035478a3a50
Created February 19, 2017 05:29
complete list of ffmpeg flags / commands
Originall From: Posted 2015-05-29 http://ubwg.net/b/full-list-of-ffmpeg-flags-and-options
This is the complete list that’s outputted by ffmpeg when running ffmpeg -h full.
usage: ffmpeg [options] [[infile options] -i infile]… {[outfile options] outfile}…
Getting help:
-h — print basic options
-h long — print more options
-h full — print all options (including all format and codec specific options, very long)
@olomix
olomix / bbtree.py
Created July 24, 2012 08:16
Balanced binary tree in Python
#!/usr/bin/env python2.7
import random
import subprocess
class Node(object):
def __init__(self, key, value):
self.key = key
self.value = value