Skip to content

Instantly share code, notes, and snippets.

--testbench
library ieee;
use ieee.std_logic_1164.all;
use ieee.numeric_std.all ;
entity tb_shift_dev is
generic(
clk_time: time:= 10 ns;
capacity: integer:= 15);
end entity;
# Клонируем исходный репозиторий без рабочего каталога (--bare)
git clone --bare https://github.com/exampleuser/old-repository.git
cd old-repository.git
# Делаем mirror-push(будут скопированы все ветки и тэги) в новый репозиторий
git push --mirror https://github.com/exampleuser/new-repository.git
cd ..
# Удаляем папку с репозиторием

SSL upgrades on rubygems.org and RubyInstaller versions

UPDATE 2014-12-21: RubyGems 1.8.30, 2.0.15 and 2.2.3 have been released. It requires manual installation, please see instructions below.


Hello,

If you reached this page, means you've hit this SSL error when trying to

@alexprivalov
alexprivalov / bridge.cpp
Last active August 29, 2015 14:14 — forked from pazdera/bridge.cpp
/*
* Example of `bridge' design pattern
* Copyright (C) 2011 Radek Pazdera
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
* This program is distributed in the hope that it will be useful,
#include <map>
#include <iostream>
// "Flyweight"
class Character
{
public:
virtual ~Character() {}
virtual void display() const = 0;
#include <iostream.h>
class MisDepartment
{
public:
void submitNetworkRequest()
{
_state = 0;
}
bool checkOnStatus()
@alexprivalov
alexprivalov / iterator.cpp
Created January 25, 2015 22:13
Iterator design pattern
#include <iostream>
using namespace std;
class Stack
{
int items[10];
int sp;
public:
friend class StackIter;
Stack()
#include <iostream>
using namespace std;
class Base
{
void a()
{
cout << "a ";
}
void c()
#include <iostream>
#include <string.h>
class Thousand;
class Hundred;
class Ten;
class One;
class RNInterpreter
{
#include <iostream>
#include <vector>
using namespace std;
class Component
{
public:
virtual void traverse() = 0;
};