Skip to content

Instantly share code, notes, and snippets.

View AnishGG's full-sized avatar
🏠
Working from home

Anish Gulati AnishGG

🏠
Working from home
View GitHub Profile
@AnishGG
AnishGG / test_harris.py
Created January 11, 2021 09:08
Logs for test_harris.py
/root/Install-OpenCV/Ubuntu/polymage/sandbox/tests
root@f2371e50f133:~/Install-OpenCV/Ubuntu/polymage/sandbox/tests# py.test-3 test_harris.py
=============================================================================================== test session starts ===============================================================================================
platform linux -- Python 3.8.5, pytest-4.6.9, py-1.8.1, pluggy-0.13.0
rootdir: /root/Install-OpenCV/Ubuntu/polymage/sandbox/tests
collected 1 item
test_harris.py F [100%]
==================================================================================================== FAILURES =====
@AnishGG
AnishGG / Flowpix_example.scala
Created June 30, 2020 12:34
function overloading
case class Anish[T](data: T){
var z = data
}
case class somethingelse(){
def func1(data: Anish[Int]) = {
}
def func1(data: Anish[Double]) = {
@AnishGG
AnishGG / demo.sif
Created June 11, 2019 06:58
Updated demo by morevnaproject
<?xml version="1.0" encoding="UTF-8"?>
<canvas version="1.0" width="480" height="270" xres="2834.645752" yres="2834.645752" view-box="-4.000000 2.250000 4.000000 -2.250000" antialias="1" fps="24.000" begin-time="0f" end-time="4s 18f" bgcolor="0.500000 0.500000 0.500000 1.000000">
<name>Synfig Animation 1</name>
<meta name="background_first_color" content="0.880000 0.880000 0.880000"/>
<meta name="background_rendering" content="1"/>
<meta name="background_second_color" content="0.650000 0.650000 0.650000"/>
<meta name="background_size" content="15.000000 15.000000"/>
<meta name="grid_color" content="0.623529 0.623529 0.623529"/>
<meta name="grid_show" content="0"/>
<meta name="grid_size" content="0.250000 0.250000"/>
@AnishGG
AnishGG / lottie-test.sif
Created April 28, 2019 06:40
Synfig test file for star layer animation
<?xml version="1.0" encoding="UTF-8"?>
<canvas version="1.0" width="480" height="270" xres="2834.645752" yres="2834.645752" view-box="-4.000000 2.250000 4.000000 -2.250000" antialias="1" fps="24.000" begin-time="0f" end-time="5s" bgcolor="0.500000 0.500000 0.500000 1.000000">
<name>Synfig Animation 1</name>
<meta name="background_first_color" content="0.880000 0.880000 0.880000"/>
<meta name="background_rendering" content="1"/>
<meta name="background_second_color" content="0.650000 0.650000 0.650000"/>
<meta name="background_size" content="15.000000 15.000000"/>
<meta name="grid_color" content="0.623529 0.623529 0.623529"/>
<meta name="grid_show" content="0"/>
<meta name="grid_size" content="0.250000 0.250000"/>
@AnishGG
AnishGG / 2.txt
Created April 13, 2019 15:05
Output for ls -al /usr/local/bin/gcc*
lrwxr-xr-x 1 mohsin admin 29 Mar 26 19:24 /usr/local/bin/gcc-8 -> ../Cellar/gcc/8.3.0/bin/gcc-8
lrwxr-xr-x 1 mohsin admin 32 Mar 26 19:24 /usr/local/bin/gcc-ar-8 -> ../Cellar/gcc/8.3.0/bin/gcc-ar-8
lrwxr-xr-x 1 mohsin admin 32 Mar 26 19:24 /usr/local/bin/gcc-nm-8 -> ../Cellar/gcc/8.3.0/bin/gcc-nm-8
lrwxr-xr-x 1 mohsin admin 36 Mar 26 19:24 /usr/local/bin/gcc-ranlib-8 -> ../Cellar/gcc/8.3.0/bin/gcc-ranlib-8
@AnishGG
AnishGG / 1.txt
Created April 13, 2019 15:03
Output for `brew info gcc`
gcc: stable 8.3.0 (bottled), HEAD
GNU compiler collection
https://gcc.gnu.org/
/usr/local/Cellar/gcc/8.2.0 (1,413 files, 295.5MB)
Poured from bottle on 2019-01-02 at 18:44:59
/usr/local/Cellar/gcc/8.3.0 (1,413 files, 288.6MB) *
Poured from bottle on 2019-03-26 at 19:24:35
From: https://github.com/Homebrew/homebrew-core/blob/master/Formula/gcc.rb
==> Dependencies
Required: gmp ✔, isl ✔, libmpc ✔, mpfr ✔
@AnishGG
AnishGG / out.txt
Created April 10, 2019 18:10
PKG_CONFIG_PATH="/usr/local/opt/libffi/lib/pkgconfig" pkg-config --print-errors --cflags glibmm-2.4
-I/usr/local/Cellar/libffi/3.2.1/lib/libffi-3.2.1/include -I/usr/local/Cellar/glibmm/2.60.0/include/glibmm-2.4 -I/usr/local/Cellar/glibmm/2.60.0/lib/glibmm-2.4/include -I/usr/local/Cellar/glib/2.60.0_1/include -I/usr/local/Cellar/glib/2.60.0_1/include/glib-2.0 -I/usr/local/Cellar/glib/2.60.0_1/lib/glib-2.0/include -I/usr/local/opt/gettext/include -I/usr/local/Cellar/pcre/8.43/include -I/usr/local/Cellar/libsigc++/2.10.1/include/sigc++-2.0 -I/usr/local/Cellar/libsigc++/2.10.1/lib/sigc++-2.0/include
@AnishGG
AnishGG / new_output.txt
Created April 10, 2019 17:44
brew info libffi
libffi: stable 3.2.1 (bottled), HEAD [keg-only]
Portable Foreign Function Interface library
https://sourceware.org/libffi/
/usr/local/Cellar/libffi/3.2.1 (16 files, 296.8KB)
Poured from bottle on 2019-01-23 at 22:12:47
From: https://github.com/Homebrew/homebrew-core/blob/master/Formula/libffi.rb
==> Options
--HEAD
Install HEAD version
==> Caveats
@AnishGG
AnishGG / log_output.txt
Last active April 27, 2019 23:24
Output after running `2-build-debug.sh`
Going to configure...
~/Repos/synfig/_production/ETL
checking build system type... x86_64-apple-darwin18.2.0
checking host system type... x86_64-apple-darwin18.2.0
checking target system type... x86_64-apple-darwin18.2.0
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /Users/mohsin/Repos/synfig/ETL/config/install-sh -c -d
checking for gawk... no
checking for mawk... no
@AnishGG
AnishGG / XML::LibXML output
Created April 6, 2019 00:02
Installation for XML::LibXML fails
# === Configure Requires ===
#
# Module Want Have
# ------------------- ---- ----
# ExtUtils::MakeMaker 6.17 7.34
#
# === Configure Suggests ===
#
# Module Want Have
# -------- ------- -------