Skip to content

Instantly share code, notes, and snippets.

View meow464's full-sized avatar
🦉
vibing

meow464

🦉
vibing
View GitHub Profile
-- The Fortran compiler identification is unknown
-- The C compiler identification is GNU 11.4.0
-- Detecting Fortran compiler ABI info
-- Detecting Fortran compiler ABI info - done
-- Check for working Fortran compiler: /home/tuco/Projects/LFortran/lfortran/inst_main/bin/lfortran - skipped
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
#!/usr/bin/env python
"""
The script builds OpenCV.framework for iOS.
The built framework is universal, it can be used to build app and run it on either iOS simulator or real device.
Usage:
./build_framework.py <outputdir>
By cmake conventions (and especially if you work with OpenCV repository),
the output dir should not be a subdirectory of OpenCV source tree.
@meow464
meow464 / gist:117b1541bb389ee2dd2b86278670c8c8
Created September 1, 2021 16:53
Compares the outputs of setup.py bdist | sdist between two branches.
#!/bin/sh
# this script must be run from the same directory as kivy-ios (the repo)
# it should not be run inside kivy-ios (the repo)
# you should create a branch "master_setup_cfg_test", add and commit the
# empty files "pyproject.toml" and "setup.cfg"
# perl was complaining on my machine
export LC_ALL=en_US.UTF-8
#!/bin/sh
echo "Don't run this script, read it!!!";
exit 1;
# create the venv
mkdir kivy_test
cd kivy_test
python3.7 -m venv kivy_venv
source kivy_venv/bin/activate
@meow464
meow464 / gtk_list_box_row_scrollable.py
Last active April 16, 2021 21:13
Gtk.ListBox programmatically scroll to Gtk.ListBoxRow
# Copyright (c) 2021 CEO of Programming <[email protected]>
# GPG Fingerprint: 0D0B9511F2B562DC59A2BB3538A6B4C850773FAC
# All rights reserved.
# Redistribution and use in source and binary forms, with or without modification,
# are permitted provided that the following conditions are met:
# 1. Redistributions of source code must retain the above copyright notice,
# this list of conditions and the following disclaimer.