Skip to content

Instantly share code, notes, and snippets.

View greg-hellings's full-sized avatar

Greg Hellings greg-hellings

View GitHub Profile
{
lib,
buildGoModule,
fetchFromGitHub,
dbus,
libGL,
libX11,
libXcursor,
libXinerama,
package main
import (
"embed"
"fmt"
"log"
"net/http"
)
{
inputs.nixstable.url = "github.com:NixOS/nixos-23.11";
inputs.nixunstable.url = "github.com:NixOS/nixpkgs/unstable";
outputs = { nixstable, nixunstable, ... }@inputs:
let
overlay = final: prev:
let
overrides = [
"pkg1"
{
buildPythonApplication,
writeScriptBin,
someDep,
python3,
...
}
buildPythonApplication {
def palindrome(word: str) -> bool:
for x in range(0, len(word)):
if word[x] != word[len(word)-1-x]:
return False
return True
print(palindrome("racecar"))
print(palindrome("bird"))
mykey: some string value
myListKey:
- string element
- string element
- dict_key: value
other_key: value
- dict_key: Bob
other_key: is a dumb dumb
--------------------------------------------------
Teflo Framework v1.1.0
Copyright (C) 2020, Red Hat, Inc.
--------------------------------------------------
2021-04-27 08:20:16,469 WARNING Scenario workspace was not set, therefore the workspace is automatically assigned to the current working directory. You may experience problems if files needed by teflo do not exists in the scenario workspace.
2021-04-27 08:20:16,558 INFO
2021-04-27 08:20:16,559 INFO TEFLO RUN (START)
2021-04-27 08:20:16,559 INFO -------------------------------------------------------------------------------
2021-04-27 08:20:16,559 INFO * Data Folder : /tmp/0tve6a0oey
$$$Gen.1.1
In the beginning, God create the heaves and the earth.
$$$Gen.1.2
And the earth was without form, and void
And darkness was upon the face of the deep
$$$Gen.1.3
And the Spirit of God moved
#cloud-config
system_info:
default_user:
name: vagrant
chpasswd:
list: |
vagrant:vagrant
expire: false
runcmd:
- service sshd start
#include <iostream>
class Poop {
public:
Poop(int i, int j) :
x(i),
y(j) {}
int x = 0;
int y = 0;