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
list='src/framework src/mlt++ src/melt src/modules src/swig profiles'; \ | |
for subdir in $list; do \ | |
/Applications/Xcode.app/Contents/Developer/usr/bin/make -s -C $subdir depend || exit 1; \ | |
/Applications/Xcode.app/Contents/Developer/usr/bin/make -C $subdir all || exit 1; \ | |
done | |
clang: error: unknown argument: '-fno-tree-dominator-opts' [-Wunused-command-line-argument-hard-error-in-future] | |
clang: note: this will be a hard error (cannot be downgraded to a warning) in the future | |
clang: error: unknown argument: '-fno-tree-pre' [-Wunused-command-line-argument-hard-error-in-future] | |
clang: note: this will be a hard error (cannot be downgraded to a warning) in the future | |
make[1]: *** [depend] 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
--Bluetooth for VirtualBox | |
--delay 5 | |
set question to display dialog "Manage Bluetooth for ... " buttons {"VirtualBox", "Cancel", "Mac OS"} default button "Cancel" cancel button "Cancel" with icon caution with title "Bluetooth" giving up after 30 | |
set answer to button returned of question | |
if answer is equal to "VirtualBox" then | |
-- delay 30 | |
try |
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
/Users/ku/Desktop/Arduino.app/Contents/Resources/Java/hardware/tools/esp8266/xtensa-lx106-elf/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld: /var/folders/q6/zj07wtbs2wscjh0j9z1rg_dm0000gn/T/build1213722952246011698.tmp/fitocube.cpp.elf section `.text' will not fit in region `iram1_0_seg' | |
/Users/ku/Desktop/Arduino.app/Contents/Resources/Java/hardware/tools/esp8266/xtensa-lx106-elf/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/lib/libc.a(lib_a-freer.o):(.literal+0x1c): undefined reference to `_sbrk_r' | |
/Users/ku/Desktop/Arduino.app/Contents/Resources/Java/hardware/tools/esp8266/xtensa-lx106-elf/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/lib/libc.a(lib_a-freer.o): In function `_malloc_trim_r': | |
mallocr.c:(.text+0x366): undefined reference to `_sbrk_r' | |
mallocr.c:(.text+0x38f): undefined reference to `_sbrk_r' | |
mallocr.c:(.text+0x3a0): undefined reference to `_sbrk_r' | |
/Users/ku/Desktop/Arduino.app/Contents/Resources/Java/hardware/tools/esp8266/x |
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
#Deploy and rollback on Heroku in staging and production | |
task :deploy_staging => ['deploy:set_staging_app', 'deploy:push', 'deploy:restart', 'deploy:tag'] | |
task :deploy_production => ['deploy:set_production_app', 'deploy:push', 'deploy:restart', 'deploy:tag'] | |
namespace :deploy do | |
PRODUCTION_APP = 'YOUR_PRODUCTION_APP_NAME_ON_HEROKU' | |
STAGING_APP = 'YOUR_STAGING_APP_NAME_ON_HEROKU' | |
task :staging_migrations => [:set_staging_app, :push, :off, :migrate, :restart, :on, :tag] | |
task :staging_rollback => [:set_staging_app, :off, :push_previous, :restart, :on] |
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 json | |
import codecs | |
import requests | |
import random | |
def get_states(reference = ["150sk30", "150sk40"]): | |
states = {} | |
anyAvailable = False | |
body = requests.get('https://ws.ovh.com/dedicated/r2/ws.dispatcher/getAvailability2').json() | |
for r in reference: |
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
# Tested on Online.net Ubuntu 14.04-2 x64 | |
sudo apt-get install curl | |
sudo ssh-keygen -t rsa -b 4096 -C "test@test.test" | |
wget https://raw.github.com/progrium/dokku/v0.3.18/bootstrap.sh | |
sudo DOKKU_TAG=v0.3.18 bash bootstrap.sh | |
# setup dokku plugins | |
cd /var/lib/dokku/plugins/ | |
sudo git clone https://github.com/ribot/dokku-slack slack | |
sudo git clone https://github.com/bigboxsoftware/dokku-sidekiq sidekiq |
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
RUN: | |
sudo visudo | |
ADD LINE: | |
user_name ALL=(ALL) NOPASSWD: ALL |
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
# List of images | |
# https://openvz.org/Download/template/precreated | |
cd /var/lib/vz/template/cache/ | |
wget http://download.openvz.org/template/precreated/ubuntu-14.04-x86_64.tar.gz | |
wget http://download.openvz.org/template/precreated/ubuntu-14.04-x86_64.tar.gz.asc | |
# Show key | |
gpg ubuntu-14.04-x86_64.tar.gz.asc | |
# Example: gpg: Signature made Sat May 16 00:57:35 2015 CEST using DSA key ID A7A1D4B6 | |
gpg --keyserver pgpkeys.mit.edu --recv-key A7A1D4B6 |
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
# add to /etc/default/locale | |
LANG="en_US.UTF-8" | |
LC_ALL="en_US.UTF-8" |
OlderNewer