minted package
References:
[1] https://www.overleaf.com/learn/latex/Code_Highlighting_with_minted
Software Developer, Programming, Web resources and entertaiment. Desarrollo de software, programaciĆ³n, recursos web y entretenimiento.
minted package
References:
[1] https://www.overleaf.com/learn/latex/Code_Highlighting_with_minted
1)
In file included from main.cpp:8:0:
gluvi.h:10:10: fatal error: GL/glut.h: No such file or directory
#include <GL/glut.h> // ...when everyone else puts it here?
^~~~~~~~~~~
$ sudo apt-get install freeglut3-dev
2)
util.h: In function ‘double randhashd(unsigned int)’:
util.h:259:33: error: ‘UINT_MAX’ was not declared in this scope
{ return randhash(seed)/(double)UINT_MAX; }
#include <climits>
3)
array1.h: In constructor ‘Array1<T>::Array1(long unsigned int, const T*, long unsigned int)’:
array1.h:124:12: error: ‘memcpy’ is not a member of ‘std’
std::memcpy(data, data_, n*sizeof(T));
#include <cstring>
fincahuanaco@pisces:~/DRIVE/Research23/viscosity$ g++ testgl.cpp -lglut -lGLU -L/usr/lib -lGL
/usr/bin/ld: cannot find -lGL
collect2: error: ld returned 1 exit status
#Check symbolic link
#Update libGL link, first go to directory and update
$ cd /usr/lib/x86_64-linux-gnu
$ sudo ln -s libGL.so.1.7.0 libGL.so
#back to source directory and try again
[1] First OpenGL code http://www.codebind.com/linux-tutorials/install-opengl-ubuntu-linux/
$gsettings set org.gnome.desktop.interface gtk-theme 'Adwaita-dark'
References:
[1] https://askubuntu.com/questions/1047604/ubuntu-18-04-missing-global-dark-theme-option-in-gnome-tweak-tool
References:
[1] Short review https://neptune.ai/blog/graph-neural-network-and-some-of-gnn-applications
[2] Coding GNN https://keras.io/examples/graph/gnn_citations/
[2.1] https://keras.io/examples/graph/gat_node_classification/
[0] Create a Story using chatGPT
[1] Text to speach https://www.speachy.ai #no includes english/doesnt work
[2] Text and Speach to Video https://invideo.io/
[3] Free Atatars https://www.synthesia.io
[1] A new library for LLMs and NNs that provides visual
clustering analysis and model interpretability. Super useful.
!pip install arize-phoenix
[1] tools https://graphics.tudelft.nl/software/
[2] Surface from fluid in GPU https://github.com/xiaoxiaoyu1872/PostMPS
References:
[1] https://www.europeanvalley.es/noticias/el-espacio-latente-en-la-ia/
[2] https://rstudio-pubs-static.s3.amazonaws.com/840251_35002e1971484924bc78c24f442e530a.html
[1] https://imglarger.com/Cartoonizer
[2] https://vanceai.com/toongineer-cartoonizer/
[3] Prompt image to cartoon https://deepai.org/machine-learning-model/image-editor
[4] https://www.befunky.com/create/photo-to-cartoon/
[5] Head+ [Body models] https://imagetocartoon.com/ 10/week
[6] 4Adults AI https://metaroids.com/lists/adult-ai-art-tools-that-can-generate-nsfw-ai-images/
https://developer.mozilla.org/en-US/docs/WebAssembly/existing_C_to_wasm
#Alternative to wpa_supplicant
Creating connection(important don't remove --):
$ nmcli connection add type wifi con-name "myconname" ifname wlan0 ssid "eduroam" -- wifi-sec.key-mgmt wpa-eap 802-1x.eap ttls
802-1x.phase2-auth mschapv2 802-1x.identity "USERNAME"
$ sudo --ask nmcli c up myconname
$ ls /etc/NetworkManager/system-connections #show connections
$ cat /etc/NetworkManager/system-connections
/myconname #show file connection
$ nmcli con show myconname #show connection detailed
Error 1:
password for '802-1x.identity' not given in 'passwd-file'
Solution 1:
$ nmcli con up <myconname> passwd-file <mypassfile>
References:
[1] Single connection https://www.linuxfordevices.com/tutorials/ubuntu/connect-wifi-terminal-command-line
[2] https://vessokolev.blogspot.com/2018/08/using-nmcli-to-create-8021x-eap-ttls.html
Install pip if it doesn't exist
$curl -O https://bootstrap.pypa.io/get-pip.py
$python3 get-pip.py --user
$python3 -m pip list
$python3 -m pip install tensorflow --no-cache-dir #for space issue
Error during execution of: python3.8 -m venv myenv
Error: Command '['/path/to/desired/env/bin/python3.8', '-Im', 'ensurepip', '--upgrade', '--default-pip']' returned non-zero exit status 1.
Solution: Create a virtual environment using a especific python version
$virtualenv --python=$(which python3.7) envtf4p37
Tools:
[1] https://hidemy.name/en/proxy-checker
[2] Listing proxies by country https://www.proxynova.com/proxy-server-list/country-us
$ sudo apt-get install iotop
$ sudo iotop -a
$ sudo iotop -oPa -d 2 #more specific
$ iostat #activity by sda, sdb, etc.
jbd2
is a kernel thread that updates the filesystem journal.
References:
[1] Reduce firefox disk access https://gist.github.com/gagarine/5cf8f861abe0dd035b7af19e4f691cd8
[2] Monitoring disk activity(htop) https://askubuntu.com/questions/276669/how-to-monitor-disk-activity
$ stat wakeup.txt #get the inode
$ df -h wakeup.txt #get device name sdxy
$ sudo debugfs -R 'stat <586205>' /dev/sda1
Output:
Inode: 586205 Type: regular Mode: 0664 Flags: 0x80000
Generation: 1277687204 Version: 0x00000000:00000001
User: 1000 Group: 1000 Size: 31
File ACL: 0 Directory ACL: 0
Links: 1 Blockcount: 8
Fragment: Address: 0 Number: 0 Size: 0
ctime: 0x615eed87:dba39c9c -- Thu Oct 7 09:52:23 2021
atime: 0x64231159:334e6b48 -- Tue Mar 28 13:10:01 2023
mtime: 0x615eed87:dba39c9c -- Thu Oct 7 09:52:23 2021
crtime: 0x615eed87:dba39c9c -- Thu Oct 7 09:52:23 2021
Size of extra inode fields: 32
References:
[1] https://www.linuxshelltips.com/find-file-creation-date/
[2] https://www.baeldung.com/linux/get-file-creation-date
https://developer.download.nvidia.com/compute/redist/jp/v44/tensorflow/
tensorflow 1.15.x to 2.3.x
https://developer.download.nvidia.com/compute/redist/jp/v45/tensorflow/
tensorflow 1.15.x to 2.5.0
https://developer.download.nvidia.com/compute/redist/jp/v46/tensorflow/
tensorflow 1.15.x to 2.6.2(requires of h5py==3.1.0 and it requires pkconfig)
https://developer.download.nvidia.com/compute/redist/jp/v461/tensorflow/
tensorflow 2.7.x
Compatibility
tensorflow 2.5.0 requires numpy~=1.19.2
Under Python 3.6.9 (protobuf requires Python '>=3.7' but the running Python is 3.6.9)
Under Python 3.6.9 (protobuf requires Python '>=3.7' but the running Python is 3.6.9)
Change OS in Jetson
Download image and tool for write img
https://developer.nvidia.com/embedded/learn/get-started-jetson-nano-devkit#write
dd if=/path/to/your/isofile of=/your/usb/disk bs=8M status=progress
Runtastic (I uninstalled because force to update your device - Internet connection problems) Runkeeper (Wrong GPS tracking) Strava (Curr...