Skip to content

Instantly share code, notes, and snippets.

@rohithravi08
rohithravi08 / quick-start.md
Created November 19, 2019 20:15
Build and Test Fedora-Coreos-Pinger Locally by Overriding RPM in FCOS
$ git clone https://src.fedoraproject.org/rpms/rust-fedora-coreos-pinger.git
$ cd rust-fedora-coreos-pinger && mkdir output

Create a Dockerfile which has the following:

FROM fedora:rawhide
WORKDIR /rpm
COPY . .
RUN dnf install -y rpmdevtools fedpkg dnf-plugins-core && \
@rohithravi08
rohithravi08 / quick-start.md
Created November 19, 2019 20:19
Build and Test Fedora-Coreos-Pinger Locally by Overriding RPM in FCOS
$ git clone https://src.fedoraproject.org/rpms/rust-fedora-coreos-pinger.git
$ cd rust-fedora-coreos-pinger && mkdir output

Create a Dockerfile which has the following:

FROM fedora:rawhide
WORKDIR /rpm
COPY . .
RUN dnf install -y rpmdevtools fedpkg dnf-plugins-core && \
@rohithravi08
rohithravi08 / hello_world.py
Created November 19, 2019 22:22
Hello World Examples
class HelloWorld:
def __init__(self, name):
self.name = name.capitalize()
def sayHi(self):
print "Hello " + self.name + "!"
hello = HelloWorld("world")
hello.sayHi()
@rohithravi08
rohithravi08 / hello_world.md
Last active November 19, 2019 22:31
Hello World Examples

Run ruby hello_world.rb or python hello_world.py to print Hello World

@rohithravi08
rohithravi08 / hello_world.py
Created November 20, 2019 20:08
Hello World Examples
class HelloWorld:
def __init__(self, name):
self.name = name.capitalize()
def sayHi(self):
print "Hello " + self.name + "!"
hello = HelloWorld("world")
hello.sayHi()
@rohithravi08
rohithravi08 / hello_world.py
Created November 20, 2019 20:11
Hello World Examples
class HelloWorld:
def __init__(self, name):
self.name = name.capitalize()
def sayHi(self):
print "Hello " + self.name + "!"
hello = HelloWorld("world")
hello.sayHi()
@rohithravi08
rohithravi08 / hello_world.py
Created November 20, 2019 22:52
Hello World Examples
class HelloWorld:
def __init__(self, name):
self.name = name.capitalize()
def sayHi(self):
print "Hello " + self.name + "!"
hello = HelloWorld("world")
hello.sayHi()
@rohithravi08
rohithravi08 / hello_world.py
Created November 20, 2019 23:03
Hello World Examples
class HelloWorld:
def __init__(self, name):
self.name = name.capitalize()
def sayHi(self):
print "Hello " + self.name + "!"
hello = HelloWorld("world")
hello.sayHi()
@rohithravi08
rohithravi08 / hello_world.py
Created November 20, 2019 23:04
Hello World Examples
class HelloWorld:
def __init__(self, name):
self.name = name.capitalize()
def sayHi(self):
print "Hello " + self.name + "!"
hello = HelloWorld("world")
hello.sayHi()
@rohithravi08
rohithravi08 / hello_world.py
Created November 21, 2019 17:24
Hello World Examples
class HelloWorld:
def __init__(self, name):
self.name = name.capitalize()
def sayHi(self):
print "Hello " + self.name + "!"
hello = HelloWorld("world")
hello.sayHi()