Instantly share code, notes, and snippets.

View goto.rb
#!/usr/bin/env ruby
require 'optparse'
def convert_to_path(f, is_file)
ret = f.gsub(/^([A-Z]):/) { |m| "/mnt/#{m[0].downcase}" }
ret = ret.gsub(/\\/, "/")
ret = ret + "/../" if is_file
return ret
end
View 00_README.md

Default Graphic Configuration

Installation

Check which is the startup file through the command:

which startup
View Procfile
web: node .
View pos.rb
#!/usr/bin/env ruby
# Reconstruct position
f = 0
for a in 0...25
for b in 0...25
next if b == a
for c in 0...25
View Makefile
CXX = g++
CXXFLAGS = --std=c++11 -g -I. -Wall
default:
$(CXX) $(CXXFLAGS) main.cpp -o main
.PHONY: clean
clean:
rm -rf main
View state2_hash.json
{
"Alabama": "AL",
"Alaska": "AK",
"American Samoa": "AS",
"Arizona": "AZ",
"Arkansas": "AR",
"California": "CA",
"Colorado": "CO",
"Connecticut": "CT",
"Delaware": "DE",
View Evolutionary.tex
\documentclass[]{standalone}
\usepackage{tikz}
\begin{document}
\tikzstyle{scale all}=[every node/.style={scale=#1}, scale=#1]
\tikzset{
solution/.pic = {
View Trajectory.tex
\documentclass[tikz]{standalone}
\usepackage{pgfplots}
\usepackage{amsmath}
\usepackage{tikz-3dplot}
\pgfplotsset{compat=1.14}
\tikzset{>=latex}
\begin{document}
View Dockerfile
FROM debian:7.11
LABEL Description "Building Machine for VBox"
LABEL Vendor "Matteo Ragni, Alessandro Mazzalai"
LABEL Mantainer "info@ragni.me"
LABEL Version "1.0"
RUN apt-get update
RUN apt-get install -y --no-upgrade --no-install-recommends \
View lectures.md

Riassunto lezioni

(per il gruppo A-L)

24 Febbraio

  • Introduzione alla console
    • cd
    • pwd
    • ls