Skip to content

Instantly share code, notes, and snippets.

Avatar
💭
...

Ladislas de Toldi ladislas

💭
...
View GitHub Profile
View Terminal Config
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>BackgroundBlur</key>
<real>0.61689897017045459</real>
<key>BackgroundColor</key>
<data>
YnBsaXN0MDDUAQIDBAUGFRZYJHZlcnNpb25YJG9iamVjdHNZJGFyY2hpdmVyVCR0b3AS
AAGGoKMHCA9VJG51bGzTCQoLDA0OVU5TUkdCXE5TQ29sb3JTcGFjZVYkY2xhc3NPEC8w
@ladislas
ladislas / config
Created Apr 15, 2014
keep ssh connection alive
View config
Host *
ServerAliveCountMax 5
ServerAliveInterval 10
@ladislas
ladislas / brew.sh
Last active Aug 29, 2015
Brew formulas to be installed
View brew.sh
#!/usr/bin/env bash
ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)"
# Make sure we’re using the latest Homebrew
brew update
# Upgrade any already-installed formulae
brew upgrade
@ladislas
ladislas / make without std flags
Last active Aug 29, 2015
Compilation output without std flags
View make without std flags
# Ladislas in ~/dev/leka/moti/src/moti
± |dev ✗| → make
-------------------------
Arduino.mk Configuration:
- [AUTODETECTED] CURRENT_OS = MAC
- [USER] ARDMK_DIR = /Users/Ladislas/dev/leka/moti/Arduino-Makefile
- [USER] ARDUINO_DIR = /Applications/Arduino.app/Contents/Resources/Java
- [AUTODETECTED] ARDUINO_VERSION = 105
- [DEFAULT] ARCHITECTURE =
- [DEFAULT] VENDOR = arduino
@ladislas
ladislas / make with std flags
Created Aug 12, 2014
Compilation output with std flags
View make with std flags
# Ladislas in ~/dev/leka/moti/src/moti
± |dev ✗| → make
-------------------------
Arduino.mk Configuration:
- [AUTODETECTED] CURRENT_OS = MAC
- [USER] ARDMK_DIR = /Users/Ladislas/dev/leka/moti/Arduino-Makefile
- [USER] ARDUINO_DIR = /Applications/Arduino.app/Contents/Resources/Java
- [AUTODETECTED] ARDUINO_VERSION = 105
- [DEFAULT] ARCHITECTURE =
- [DEFAULT] VENDOR = arduino
@ladislas
ladislas / auto-lib.py
Created Aug 18, 2014
Python script to auto-find libraries dependencies for gcc
View auto-lib.py
# !/usr/bin/python
import os
import re
import sys
# Set variables
USER_LIB_PATH = sys.argv[1]
USER_LIBS = [] ;
includeRegex = re.compile("(?<=^\#include\s[\<\"])(.*)(?=\.h[\>\"])", re.DOTALL|re.M)
@ladislas
ladislas / ttylog-target-destination.patch
Last active Aug 29, 2015
ttylog target destination patch
View ttylog-target-destination.patch
ttylog - change the install target destination from 'sbin' to 'bin' for homebrew formula
===========================================================
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -22,6 +22,6 @@ SET(ttylog_executable_HDRS
ADD_EXECUTABLE(ttylog ${ttylog_executable_SRCS})
# add install targets:
-INSTALL(TARGETS ttylog DESTINATION sbin)
+INSTALL(TARGETS ttylog DESTINATION bin)
@ladislas
ladislas / Makefile
Last active Aug 29, 2015
Drone.io Makefile
View Makefile
### DISCLAIMER
### This is an example Makefile and it MUST be configured to suit your needs.
### For detailled explanations about all the avalaible options,
### please refer to https://github.com/sudar/Arduino-Makefile/blob/master/arduino-mk-vars.md
### PROJECT_DIR
### This is the path to where you have created/cloned your project
PROJECT_DIR = /home/ubuntu/src/github.com/WeAreLeka/Bare-Arduino-Project
### AVR_GCC_VERSION
View Brew cask staged installation
# ladislas @LadBookPro.local in ~
→ brew cask doctor
==> OS X Release:
10.10
==> OS X Release with Patchlevel:
10.10.2
==> Hardware Architecture:
intel-64
==> Ruby Version:
2.0.0-p481
@ladislas
ladislas / auto lib build output
Created Apr 5, 2015
Build output for auto lib detection
View auto lib build output
# ladislas @pc28.home in ~/dev/leka/Bare-Arduino-Project/src/BarProject
± |update-arduino-mk ✗| → make
-------------------------
Arduino.mk Configuration:
- [AUTODETECTED] CURRENT_OS = MAC
- [USER] ARDUINO_DIR = /Applications/Arduino.app/Contents/Java/
- [USER] ARDMK_DIR = /Users/ladislas/dev/leka/Bare-Arduino-Project/Arduino-Makefile
- [AUTODETECTED] ARDUINO_VERSION = 163
- [DEFAULT] ARCHITECTURE = avr
- [DEFAULT] VENDOR = arduino