This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
lib, | |
buildGoModule, | |
fetchFromGitHub, | |
dbus, | |
libGL, | |
libX11, | |
libXcursor, | |
libXinerama, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"embed" | |
"fmt" | |
"log" | |
"net/http" | |
) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
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" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
buildPythonApplication, | |
writeScriptBin, | |
someDep, | |
python3, | |
... | |
} | |
buildPythonApplication { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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")) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mykey: some string value | |
myListKey: | |
- string element | |
- string element | |
- dict_key: value | |
other_key: value | |
- dict_key: Bob | |
other_key: is a dumb dumb |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-------------------------------------------------- | |
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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$$$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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#cloud-config | |
system_info: | |
default_user: | |
name: vagrant | |
chpasswd: | |
list: | | |
vagrant:vagrant | |
expire: false | |
runcmd: | |
- service sshd start |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
class Poop { | |
public: | |
Poop(int i, int j) : | |
x(i), | |
y(j) {} | |
int x = 0; | |
int y = 0; |
NewerOlder