$ sudo apt-get install texlive-full pandoc
This file contains hidden or 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
while true; do date; ls -la; sleep 2; done; |
This file contains hidden or 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
require "squib" | |
light = "#F3EFE3" | |
dark = "#230602" | |
# Squib::Deck.new(cards: 2) do | |
# background color: "white" | |
# text str: %w(Hello World!) | |
# save_png prefix: "basic_" | |
# end |
This file contains hidden or 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
#-*- encoding: utf-8 -*- | |
import psycopg2 | |
class PostgreSQL: | |
connects = { | |
"host": "host" | |
"port": "5432", | |
"dbname": "dbname", | |
"user": "postgres", | |
"password": "postgres", |
This file contains hidden or 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
/* | |
* [Compile] | |
* g++ -std=c++11 string.cpp -o string | |
*/ | |
#include <iostream> | |
using namespace std; | |
int main( |
This file contains hidden or 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
/* | |
* [Compile] | |
* g++ -std=c++11 price.cpp -o price | |
*/ | |
#include <iostream> | |
#include <vector> | |
#include <math.h> | |
using namespace std; |