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
echo synIDattr(synID(line('.'), col('.'), 0), 'name') |
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
#!/bin/sh | |
pg_restore -h {host} -d {database} -U {user} -p {port} backup.dmp |
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
/* | |
* [Compile] | |
* g++ -std=c++11 ball.cpp -o ball | |
*/ | |
#include <vector> | |
#include <iostream> | |
using namespace std; |
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
/* | |
* [Compile] | |
* g++ -std=c++11 number.cpp -o number | |
*/ | |
#include <iostream> | |
#include <vector> | |
using namespace std; |
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
/* | |
* [Compile] | |
* g++ -std=c++11 price.cpp -o price | |
*/ | |
#include <iostream> | |
#include <vector> | |
#include <math.h> | |
using namespace std; |
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
/* | |
* [Compile] | |
* g++ -std=c++11 string.cpp -o string | |
*/ | |
#include <iostream> | |
using namespace std; | |
int main( |
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
#-*- encoding: utf-8 -*- | |
import psycopg2 | |
class PostgreSQL: | |
connects = { | |
"host": "host" | |
"port": "5432", | |
"dbname": "dbname", | |
"user": "postgres", | |
"password": "postgres", |
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
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 |