Skip to content

Instantly share code, notes, and snippets.

View siteshwar's full-sized avatar

Siteshwar Vashisht siteshwar

View GitHub Profile
@siteshwar
siteshwar / Greeting with Fish Logo
Last active January 4, 2021 18:36
Greeting with Colored Fish Logo
@siteshwar
siteshwar / gist:5472814
Created April 27, 2013 11:45
Fish Right Prompt
function fish_right_prompt
echo "I am on right"
end
@siteshwar
siteshwar / gist:5472821
Created April 27, 2013 11:48
Multicolor Right Prompt
function fish_right_prompt I am
set_color green
echo 'I am green'
set_color red
echo "I am red"
end
@siteshwar
siteshwar / installed-rpms
Created February 9, 2015 15:48
installed-rpms
[root@Jolla ~]# rpm -qa
qt5-qtmultimedia-5.2.1+git4-1.15.12.armv7hl
libqtwebkit5-5.2.0+git4-1.14.3.armv7hl
jolla-messages-settings-0.4.31.3-10.44.1.jolla.armv7hl
glibc-common-2.15-1.3.1.armv7hl
libjollasignonuiservice-qt5-plugin-0.0.41-10.13.5.jolla.armv7hl
sailfish-silica-background-qt5-0.9.1-10.5.2.jolla.armv7hl
libqt5sparql-tracker-0.2.14-1.5.7.armv7hl
libsocialcache-qml-plugin-0.0.30-1.12.2.armv7hl
qmf-notifications-plugin-all-translations-pack-0.0.1-10.1.3.jolla.noarch
#include <iostream>
class Foo {
public:
Foo() { std::cout << "Foo::Foo()" << std::endl; }
Foo(const Foo& y) { std::cout << "Foo::Foo(const Foo&)" << std::endl; }
};
void func(const Foo& ref) { }