Skip to content

Instantly share code, notes, and snippets.

View podarok's full-sized avatar
🏠
Working from home

Andrii Podanenko podarok

🏠
Working from home
View GitHub Profile

RTAI installation for ubuntu 14.04

Preparation

Switch user mode

sudo su

download and unzip

@podarok
podarok / rubyoncentos.sh
Created October 15, 2015 09:51 — forked from lovellfelix/rubyoncentos.sh
Install Ruby with Bundler on CentOS 6.5 [RVM Example]
#!/bin/bash
echo "Starting Installation..."
# Install dependencies
yum install gcc-c++ patch readline readline-devel zlib zlib-devel libyaml-devel libffi-devel openssl-devel make bzip2 autoconf automake libtool bison iconv-devel ruby-devel libxml2 libxml2-devel libxslt libxslt-devel git
# Install Ruby from rvm
\curl -sSL https://get.rvm.io | bash -s stable --ruby
@podarok
podarok / drupal.conf
Last active February 20, 2017 11:55
server {
listen 80; # redundant in new nginx versions
server_name yourserver.com www.yourserver.com;
root /usr/share/nginx/www/drupal;
access_log off;
fastcgi_param SCRIPT_NAME $fastcgi_script_name;
location ~ \..*/.*\.php$ {
return 403;
/*
* V4L2 video capture example
*
* This program can be used and distributed without restrictions.
*
* This program is provided with the V4L2 API
* see http://linuxtv.org/docs.php for more information
*/
#include <stdio.h>