Skip to content

Instantly share code, notes, and snippets.

View elvircrn's full-sized avatar

Elvir Crnčević elvircrn

  • TU Graz
  • Graz/Sarajevo
View GitHub Profile
#include <vector>
#include <limits>
#include <algorithm>
#include <iomanip>
#include <sstream>
#include <utility>
#include <iostream>
#include <fstream>
inline dec(int x) {

Level 1

disp (a) -> display a

a.' -> transponovano

a' -> transponovano konjugovano

feval(X, Y, f);

# Level 1
disp (a) -> display a
a.' -> transponovano
a' -> transponovano konjugovano
feval(X, Y, f);
Package Manager console
Default project: InterkativnaMapa.DAL
EntityFramework\Enable-Migrations -Force
EntityFramework\Add-Migration migration
EntityFramework\Update-Database
/* Drop all non-system stored procs */
DECLARE @name VARCHAR(128)
DECLARE @SQL VARCHAR(254)
SELECT @name = (SELECT TOP 1 [name] FROM sysobjects WHERE [type] = 'P' AND category = 0 ORDER BY [name])
WHILE @name is not null
BEGIN
SELECT @SQL = 'DROP PROCEDURE [dbo].[' + RTRIM(@name) +']'
EXEC (@SQL)
@elvircrn
elvircrn / PV8.cpp
Last active December 30, 2016 00:04
template<class T, class U>
class Node
{
public:
T key;
U value;
std::shared_ptr<Node<T, U>> left, right;
Node() { }

User credentials:

  • Bibliotekar: username: bibliotekar0 password: aaa

  • Admin: username: admin password: admin

Select bracket content, f(v%y would do this:
f(: Move to the next ( on the current line
v: Start a visual selection
%: Select the text up to and including the next bracket
y: Yank the text
#include <iostream>
#include <cstdio>
#include <cstdlib>
#include <queue>
#include <cmath>
#include <stack>
#include <map>
#include <set>
#include <algorithm>
#include <sstream>