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
// https://stackoverflow.com/questions/11355353/how-can-i-convert-qbasic-play-commands-to-something-more-contemporary | |
// file: play2wav.c by Alexey Frunze | |
#include <stddef.h> | |
#include <stdio.h> | |
#include <string.h> | |
#include <stdlib.h> | |
#include <ctype.h> | |
#include <math.h> | |
#ifndef M_PI |
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
#include <stdio.h> | |
const char fzKey[] = "FILEZILLA1234567890ABCDEFGHIJKLMNOPQRSTUVWXYZ"; | |
const int fzKeyLen = 45; | |
char *decrypt(const char *str, char *targetStr) { | |
int i = 0, oriLen = 0, pos; | |
if (!str || !targetStr) return 0; | |
*targetStr = 0; | |
for (; str[oriLen]; ++oriLen) |
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
#!/bin/sh | |
N=${1:-2} | |
git reset --soft HEAD~$N && | |
git commit --edit -m"$(git log --format=%B --reverse HEAD..HEAD@{1})" |
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
import React from "https://esm.sh/react@17.0.2"; | |
const App = () => { | |
return ( | |
<h1>Hello Deno Land!</h1> | |
); | |
}; | |
export default App; |
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
#!/bin/sh | |
set -e | |
HFILE=$1 | |
[ -f "$HFILE" ] || { echo "HTML File not found."; exit 1; } | |
PFILE=$( echo "${HFILE}" | sed 's/.html/.pdf/g' ) | |
TMPDIR=${TMPDIR:-${TEMP}} | |
TMPDIR=${TMPDIR:-${TMP}} |
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
//p2j: Parquet to JSON | |
package main | |
import ( | |
"encoding/json" | |
"flag" | |
"fmt" | |
log "github.com/sirupsen/logrus" | |
"os" |
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
# 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
%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/ |
OlderNewer