Skip to content

Instantly share code, notes, and snippets.

@minivan
minivan / setup.sh
Created September 19, 2012 09:23
Ubuntu dev env setup
# 1. install ZSH
echo "Installing ZSH..."
sudo apt-get update && sudo apt-get install zsh
# 2. install ohmyzsh
echo "Installing Oh My ZSH"
wget https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh -O - | zsh
# 3. change shell
chsh -s `which zsh`
@minivan
minivan / Thesis topics
Last active December 23, 2015 11:09
My ideas for the FAF thesis
## What the Chord
wave reader şi frequency/code definer
[image 1](https://fbcdn-sphotos-h-a.akamaihd.net/hphotos-ak-prn1/v/996822_10152210464500744_1032794499_n.jpg?oh=36e5305a18f9e2e10b1014aa9a5af16c&oe=523D7592&__gda__=1379793786_11d416fe3f09c9af44d94d06a554a14c)
[image 2](https://fbcdn-sphotos-h-a.akamaihd.net/hphotos-ak-prn1/v/1234977_10152210464505744_687873926_n.jpg?oh=1aec873e71dda77d759c473f9f5e1d70&oe=523D6039&__gda__=1379774417_02c0c3d0a6575ffac7e48983879da321)
[image 3](https://fbcdn-sphotos-h-a.akamaihd.net/hphotos-ak-frc1/v/599262_10152210464495744_1663866883_n.jpg?oh=56d57f56585ed9da4fd01ba620a3a9b9&oe=523D7084&__gda__=1379783970_bf7415346538a7ffa9b6cce46f9d8ed4)
{
"caret_style": "phase",
"check_for_rvm": true,
"close_windows_when_empty": true,
"color_scheme": "Packages/Tomorrow Color Schemes/Tomorrow-Night.tmTheme",
"folder_exclude_patterns":
[
".git",
".bundle",
".sass-cache",
@minivan
minivan / index.html.erb
Last active August 29, 2015 14:21
The RailsGirls Demo Project Tip #4. Index file before.
<nav class="navbar navbar-default">
<div class="container-fluid">
<div class="navbar-header">
<a class="navbar-brand" href="#">Azi tu Mâine eu</a>
</div>
<div class="navbar-collapse">
<ul class="nav navbar-nav">
<li>
<%= link_to("Postare nouă", new_post_path) %>
/*!
* Start Bootstrap - Landing Page Bootstrap Theme (http://startbootstrap.com)
* Code licensed under the Apache License v2.0.
* For details, see http://www.apache.org/licenses/LICENSE-2.0.
*/
body,
html {
width: 100%;
height: 100%;
@minivan
minivan / application.html.erb
Created May 22, 2015 17:49
azitumaine.eu application layout
<!DOCTYPE html>
<html>
<head>
<title>Azi tu Mâine Eu</title>
<%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true %>
<%= javascript_include_tag 'application', 'data-turbolinks-track' => true %>
<%= csrf_meta_tags %>
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css">
</head>
<body>
@minivan
minivan / index.html.erb
Created May 23, 2015 00:39
The app/views/posts/index.html.erb after the addition of two new fields
<%= cl_image_tag(post.image.path, width: 500, class: 'img-responsive img-thumbnail') %>
@minivan
minivan / index.html.erb
Created May 23, 2015 00:40
The app/views/posts/index.html.erb after the addition of two new fields
<nav class="navbar navbar-default">
<div class="container-fluid">
<div class="navbar-header">
<a class="navbar-brand" href="#">Azi tu Mâine eu</a>
</div>
<div class="navbar-collapse">
<ul class="nav navbar-nav">
<li>
<%= link_to("Postare nouă", new_post_path) %>
@minivan
minivan / input.md
Last active November 12, 2015 03:17
CourseWork. Assignment 1. Input

Hello FAF, this is a document

So we're trying to do interesting documents

They are actually quide hard Not that easy

What happens if we do ##this?

How about *this*?

@minivan
minivan / output.html
Last active March 8, 2016 17:27
CourseWork. Assignment 1. Output.
<h1>Hello FAF, this is a document</h1>
<p>So we're trying to do interesting documents</p>
<p>They are actually quide <strong>hard</strong>
Not that <em>easy</em></p>
<p>What happens if we do ##this?</p>
<p>How about <code><em>this</strong></em>?</p>