Skip to content

Instantly share code, notes, and snippets.

Leandro Heck leoheck

Block or report user

Report or block leoheck

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@leoheck
leoheck / fix-ubuntu-18.10-on-dell-xps-9570
Last active Nov 7, 2019
Fix Ubuntu 18.10 on Dell XPS 9570
View fix-ubuntu-18.10-on-dell-xps-9570
#
# Run this from the Live USB.
#
#############################
# EDIT YOUR PARTITIONS HERE #
#############################
root_partition=/dev/nvm0n1p2
sudo mount ${root_partition} /mnt
@leoheck
leoheck / chroot.sh
Last active Oct 21, 2018
Chroot from Live USB
View chroot.sh
efi_partition=/dev/nvm0n1p1
root_partition=/dev/nvm0n1p2
sudo mount ${root_partition} /mnt
sudo mount ${efi_partition} /mnt/boot/efi
sudo mount --bind /dev /mnt/dev
sudo mount --bind /proc /mnt/proc
sudo mount --bind /sys /mnt/sys
sudo mount --bind /usr/ /mnt/usr
@leoheck
leoheck / fix-ccsv7-proj.sh
Created Mar 13, 2017
Script to refactor CCSv7 (Code Composer Studio) to run in linux
View fix-ccsv7-proj.sh
#!/bin/bash
# Leandro S. Heck (leoheck@gmail.com)
# PATHS IN MY HOST, CHANGE THIS ACCORDINGNLY
proj_name="seeds"
proj_path="/home/lheck/Desktop/$proj_name"
ccstudio_path="/repo/tools/TI/css/7.1.0/ccsv7"
workspace_path="/home/lheck/workspace_v7"
ti_path="/home/lheck/ti"
@leoheck
leoheck / guide-crosscompile-transmission-for-wd-my-cloud.md
Last active Oct 24, 2018 — forked from sled/guide.text
Guid to cross compile transmission 2.82 for Western Digital MyCloud
View guide-crosscompile-transmission-for-wd-my-cloud.md

########################################################

CROSS COMPILING TRANSMISSION 2.82 FOR WD MY CLOUD

########################################################

This is a guide to compile transmission 2.82 for the WD MyCloud 2/3/4 TB.

Because I didn't want to install the build tools and dependencies on my NAS I chose to setup a cross-compiler toolchain on my x86_64 Ubuntu 12.04 machine and create a .deb package that can be installed on the NAS. Furthermore the cross compiler can be used to compile anything for the My Cloud (printer drivers, etc.)

You can’t perform that action at this time.