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> | |
#include <windows.h> | |
#include <Wincrypt.h> | |
int main(int argc, char *argv[]) | |
{ | |
/* Declare variables */ | |
HCRYPTPROV hCryptProv; | |
BYTE pbData[16]; |
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
/* A tiny BASIC interpreter */ | |
#include <string.h> | |
#include <stdio.h> | |
#include <setjmp.h> | |
#include <math.h> | |
#include <ctype.h> | |
#include <stdlib.h> | |
#define NUM_LAB 100 |
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
using System; | |
using System.Text; | |
Console.WriteLine("ABCDEFGHIJKLMNOPQRSTUVWXYZ"); | |
Console.WriteLine(SmallCaps("ABCDEFGHIJKLMNOPQRSTUVWXYZ")); | |
/// <summary> | |
/// Gets a the first match in capital letters as small caps. | |
/// </summary> | |
/// <param name="text">The text.</param> |
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
$url = "https://raw.githubusercontent.com/NonlinearFruit/Creeds.json/master/creeds/keachs_catechism.json" | |
$parts = $url.Split("/") | |
$index = $parts.count - 1 | |
$filename = $parts.GetValue($index).ToString().Replace("_", "-").Replace(".json", ".html") | |
$response = Invoke-WebRequest -Uri $url -UseBasicParsing | |
$creed = $response | ConvertFrom-Json | |
foreach ($data in $creed.data) | |
{ | |
"<li id=`"q$($data.Number)`">" | Out-File -FilePath $filename -Append | |
$question = $data.Question.Replace("'", "’") |
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
<?php | |
/* | |
* Roughly sorts a list of scripture references in the following format: | |
* Ezekiel 8:5-18; Psalm 44:20-21; 1 Chronicles 28:9; | |
* | |
* I'm not proud of this script, and there is no real bounds or value checking. Recycle this code at your own risk! | |
*/ | |
$books = array( | |
'Genesis', | |
'Exodus', |
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
Const ForWriting = 2 | |
data = "" | |
fileName = WScript.Arguments.Item(0) | |
Set fso = CreateObject("Scripting.FileSystemObject") | |
Set f = fso.OpenTextFile(fileName) | |
Do Until f.AtEndOfStream | |
buf = f.Read(1) | |
data = data & "\x" & Hex(Asc(buf)) | |
Loop | |
f.Close |
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
/* | |
This source code contains a authentication routine that will | |
validate Microsoft CD Keys. It is meant that this source code | |
is a learning tool and not a PIRACY tool. It is also meant to | |
show how a large corporation like Microsoft spend MILLIONS of | |
dollars on development and come up with this protection scheme. | |
*BorlandC 3.1 was used to compile this successfully. | |
It is a crime to redistribute these routines in a commercial |
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
// This file was initially generated by Windows Terminal 1.3.2651.0 | |
// It should still be usable in newer versions, but newer versions might have additional | |
// settings, help text, or changes that you will not see unless you clear this file | |
// and let us generate a new one for you. | |
// To view the default settings, hold "alt" while clicking on the "Settings" button. | |
// For documentation on these settings, see: https://aka.ms/terminal-documentation | |
{ | |
"$schema": "https://aka.ms/terminal-profiles-schema", |
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
// | |
// The following are implementations of Microsoft RTL functions not | |
// include in the Borland RTL. | |
// | |
// Functions: | |
// _fmsbintoieee() | |
// _fieeetomsbin() | |
// _dmsbintoieee() | |
// _dieeetomsbin() | |
// |
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
// ----------------------------------------------------------------------- | |
// <copyright file="LinkifyTextView.cs" company="Conglomo"> | |
// Copyright 2019 Peter Chapman. All rights reserved. | |
// </copyright> | |
// ----------------------------------------------------------------------- | |
namespace Conglomo.AndroidSupport | |
{ | |
using Android.Content; | |
using Android.Runtime; |
NewerOlder