This file contains 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
%define _snapid H8ZpNgIoPyvmkgxOWw5MSzsXK1wRZiHn | |
%define _snaprev 18 | |
Name: authy | |
Version: 2.2.3 | |
Release: 1%{?dist} | |
Summary: Two factor authentication desktop application | |
ExclusiveArch: x86_64 | |
License: Proprietary | |
URL: https://authy.com/ |
This file contains 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
# Custom Aliases | |
alias dir = ls | |
alias del = rm | |
alias ren = mv | |
alias move = mv | |
alias rmdir = rm | |
alias rd = rmdir | |
alias open = start |
This file contains 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
// Demo of unroll.h | |
#include "unroll.h" | |
int main() | |
{ | |
int v; | |
U_unroll(v, 17, { | |
printf("Up Unroll\n"); | |
}); |
This file contains 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
import os | |
from accelerate import Accelerator | |
from diffusers import StableCascadeDecoderPipeline, StableCascadePriorPipeline | |
from slugify import slugify | |
import torch | |
priorModelId = "stabilityai/stable-cascade-prior" | |
modelId = "stabilityai/stable-cascade" | |
dataType = torch.float32 #16 is buggy |
- Install Docker and ensure you can run docker ps correctly, add yourself to the docker group if necessary.
- Run
build-rocm.sh
builds a ROCm docker image for your Linux System. It is configured to use therender
group configured in your Linux distribution and ensure that/dev/kfd
and/dev/dri
are writeable by the render group users. Ensure you are added to the render group if necessary. - Run
launch-rocm.sh
if you wish to only use ROCm with the docker image you built.
This file contains 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
' Visual Basic Script program to reset the DMA status of all ATA drives | |
' Copyright © 2006 Hans-Georg Michna | |
' Version 2006-03-14 | |
' Works in Windows XP, probably also in Windows 2000 and NT. | |
' Does no harm if Windows version is incompatible. | |
If MsgBox("This program will now reset the DMA status of all ATA drives with Windows drivers." _ |
This file contains 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
from itertools import product, permutations | |
""" | |
if __name__ == '__main__': | |
for expr in generateOperators([2,3,4], ['+','-']): | |
print(expr) | |
""" | |
def alternateBetween(items, operators): | |
lenItems = len(items) |
This file contains 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
import React from "https://esm.sh/react@17.0.2"; | |
const App = () => { | |
return ( | |
<h1>Hello Deno Land!</h1> | |
); | |
}; | |
export default App; |
NewerOlder