This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
nico@jerry ~/Devs/Embedded/nico ±master » make | |
rm -f build/*.o ; rm -f test1.out | |
gcc -Isrc -I../Unity/src -DTEST ../Unity/src/unity.c src/ProductionCode.c test/TestProductionCode.c test/test_runners/TestProductionCode_Runner.c -o test1.out | |
clang: error: no such file or directory: 'src/ProductionCode.c' | |
clang: error: no such file or directory: 'test/TestProductionCode.c' | |
clang: error: no such file or directory: 'test/test_runners/TestProductionCode_Runner.c' | |
make: *** [default] Error 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
nico@jerry ~/Devs/Embedded/code/SandBox » make | |
make -i -f MakefileCppUTest.mk | |
compiling AllTests.cpp | |
compiling LedDriverTest.cpp | |
compiling LedDriver.c | |
Building archive lib/libSandBox_CppUTest.a | |
ar: creating archive lib/libSandBox_CppUTest.a | |
a - objs/./src/LedDriver/LedDriver.o | |
Linking SandBox_CppUTest_tests | |
Undefined symbols for architecture x86_64: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### Keybase proof | |
I hereby claim: | |
* I am nledez on github. | |
* I am nledez (https://keybase.io/nledez) on keybase. | |
* I have a public key whose fingerprint is B3D4 F06F 8728 8566 2CF7 0F05 53AE 376C B253 0749 | |
To claim this, I am signing this object: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# Cookbook Name:: apache | |
# Recipe:: default | |
# | |
# Copyright 2014, YOUR_COMPANY_NAME | |
# | |
# All rights reserved - Do Not Redistribute | |
# | |
# | |
# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
upstream {{ hostname }} { | |
server {{ remote }}; | |
} | |
# HTTPS server | |
server { | |
listen 443; | |
server_name {{ hostname }}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/^From: .*@computerfutures\.fr.*$/ REJECT Je vous ai deja dit que je ne voulais plus vos mails |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for c in server.startssl.crt sub.class1.server.ca.pem server.crt ; do | |
echo "======== $c" | |
cat $c | |
done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import salt.loader | |
def get_user_key(username): | |
__states__ = salt.loader.states(__opts__, __salt__) | |
out = '' | |
for key in __pillar__.get('ssh_keys', {}).get(username, {}).get('ssh_auth', []): | |
__states__['ssh_auth.present'](key, 'root') | |
out += '{}\n'.format(key) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{curl,wget -O -} http://{debian,ubuntu}.cozycloud.cc/install-cozy-{debian-jessie,ubuntu-trusty}.sh | [get_cmd=curl] {ba,z,}sh - | |
curl http://debian.cozycloud.cc/install-cozy-debian-jessie.sh | get_cmd=curl sh - | |
wget -O - http://debian.cozycloud.cc/install-cozy-debian-jessie.sh | bash - | |
curl http://ubuntu.cozycloud.cc/install-cozy-ubuntu-trusty.sh | get_cmd=curl zsh - | |
And all other variations... | |
The only limitation is in URL: | |
http://debian.cozycloud.cc/install-cozy-debian-jessie.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
wget https://files.cozycloud.cc/cozy-raspberrypi-2.0.0-rc1.zip | |
unzip cozy-raspberrypi-2.0.0-rc1.zip | |
sudo dd bs=bs=1M if=cozy-raspberrypi-2.0.0.img of=/dev/sdX # Put your sd card device here | |
# On first boot: | |
ssh pi@<ip> | |
# password: raspberry | |
sudo -s |
OlderNewer