-
First you need
docker
,brew
,XQuartz
andsocat
on your host. -
Now run this in new terminal :
socat TCP-LISTEN:6000,reuseaddr,fork UNIX-CLIENT:"$DISPLAY"
#!/bin/bash | |
echo "Installing TextLive" | |
sudo apt install -y texlive-latex-extra | |
sudo apt install -y texlive-lang-english texlive-lang-spanish texlive-bibtex-extra | |
# sudo apt autoremove |
""" | |
A bare-bones SVG SketchBook - Licensed under GPL v3.0 | |
Alexandre B A Villares - http://abav.lugaralgum.com | |
in collaboration with Foad S. Farimani https://twitter.com/fsfarimani | |
v2020_12_19 exporting SVG now! | |
v2020_12_20 line mode & circle mode | |
""" | |
add_library('svg') |
""" | |
More naive graph drawing | |
Using Processing Python mode | |
To run this you'll need: | |
https://abav.lugaralgum.com/como-instalar-o-processing-modo-python/index-EN.html | |
""" | |
nodes = [] | |
edges = [] | |
NODE_SIZE = 50 # Diâmetro dos nodes |
First you need docker
, brew
, XQuartz
and socat
on your host.
Now run this in new terminal :
socat TCP-LISTEN:6000,reuseaddr,fork UNIX-CLIENT:"$DISPLAY"
Package pytranslate, introduced through merge #15 and #17 as a loadable package in Maxima provides Maxima to Python translation functionality. It was developed under the mentorship of Dimiter Prodanov and Robert Dodier as an [INCF](https://www.incf.org/activities/training/google-sum
cmake_minimum_required(VERSION 3.1) | |
project(OpenCL_Example) | |
find_package(OpenCL REQUIRED) | |
include_directories(${OpenCL_INCLUDE_DIRS}) | |
link_directories(${OpenCL_LIBRARY}) | |
add_executable(main main.c) | |
target_include_directories(main PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}) |
C++ package management can be complicated.
Below are some key tools involved:
Make runs commands defined in a Makefile, for example, to build and install programs with the compiler and linker. For our purposes, we won't worry about what this looks like; you only need to understand its purpose in relation to CMake.
def matprint(mat, fmt="g"): | |
col_maxes = [max([len(("{:"+fmt+"}").format(x)) for x in col]) for col in mat.T] | |
for x in mat: | |
for i, y in enumerate(x): | |
print(("{:"+str(col_maxes[i])+fmt+"}").format(y), end=" ") | |
print("") | |
# Try it! | |
import numpy as np |
<html> | |
<head> | |
<!-- | |
@tag hta:application | |
@attribute ApplicationName Sets the name of the HTA. | |
@attribute Border [Thick]|Thin|None | |
@attribute BorderStyle [Normal]|Raised|Sunken|Complex|Static | |
@attribute Caption [Yes]|No |