Skip to content

Instantly share code, notes, and snippets.

View davidcortesortuno's full-sized avatar
🍊

David Ignacio Cortes davidcortesortuno

🍊
  • Universidad Técnica Federico Santa María
  • Chile
View GitHub Profile
@kristerw
kristerw / build-gcc-offload-nvptx.sh
Last active February 26, 2025 14:50
Build GCC with support for offloading to NVIDIA GPUs
#!/bin/sh
#
# Build GCC with support for offloading to NVIDIA GPUs.
#
work_dir=$HOME/offload/wrk
install_dir=$HOME/offload/install
# Location of the installed CUDA toolkit
@jnaecker
jnaecker / git+overleaf+github.md
Last active March 10, 2025 21:00
Using Overleaf as your TeX editor but getting your files to Github

git + overleaf + github

Setup

Connect Overleaf and your local repo

  1. Make a new project on Overleaf.
  2. In the share menu, copy the link from "Clone with git"
  3. On your computer:
    • use cd to navigate to where you want to put your project
@AhmedMostafa16
AhmedMostafa16 / .font.conf
Created July 25, 2021 13:39
My .font.conf for perfect font rendering
<?xml version="1.0"?><!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<dir>~/.fonts</dir>
<!--
Documented at
http://linux.die.net/man/5/fonts-conf
To check font mapping run the command at terminal
$ fc-match 'helvetica Neue'