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
Windows Registry Editor Version 5.00 | |
[HKEY_CLASSES_ROOT\Directory\shell\RightClickForBash] | |
@="Open Bash Shell Here" | |
[HKEY_CLASSES_ROOT\Directory\shell\RightClickForBash\Command] | |
@="c:\cygwin64\bin\bash.exe" | |
[HKEY_CLASSES_ROOT\DesktopBackground\shell\RightClickForBash] | |
@="Open Bash Shell Here" | |
[HKEY_CLASSES_ROOT\DesktopBackground\shell\RightClickForBash\Command] | |
@="c:\cygwin64\bin\bash.exe" | |
[HKEY_CLASSES_ROOT\Folder\shell\RightClickForBash] |
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
--------------------------------------------------- | |
-- Users table | |
--------------------------------------------------- | |
CREATE TABLE [Accounts].[Users] | |
( | |
[UserId] INT IDENTITY(1,1) NOT NULL, | |
[Username] VARCHAR(50) NOT NULL, | |
[Email] VARCHAR(255) NOT NULL, | |
[EmailIsVerified] BIT NOT NULL CONSTRAINT [DF_Users_EmailIsVerified] DEFAULT 0, | |
[CreationDate] DATETIME NOT NULL CONSTRAINT [DF_Users_CreationDate] DEFAULT GETDATE(), |
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
SELECT * FROM Inspections.SearchableTemplates | |
WHERE CONTAINS(*, '"test*"') |
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
// characters.c | |
// Author: Caleb Everett | |
// Assignment: #3 | |
// Created on 6/8/2014 | |
// Purpose: Generate two random characters using one of four functions and user input, includes | |
// Mersenne-twister implementation based on the pseudocode from the Wikipedia article | |
// (http://en.wikipedia.org/wiki/Mersenne_twister#Pseudocode) | |
#include <stdio.h> | |
#include <time.h> |
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
// funnamegame.c | |
// Assignment: 4 | |
// Author: Caleb Everett | |
// Creation Date: 6/12/2014 | |
#include <stdio.h> | |
#include <string.h> | |
#include <memory.h> | |
#include <ctype.h> | |
#define CREATE |
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 $a static | |
#define $b const | |
#define $c char | |
#define $d * | |
#define $e VOWELS | |
#define $f "AEIOU" | |
#define $g NAME_GAME_FORMAT | |
#define $h "%s, %s, bo-b%s\r\nBanana-fana fo-f%s\r\nFee-Fi-mo-m%s\r\n%s!\r\n" | |
#define $i int | |
#define $j PrintNameGame |
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
$color-header: #fff | |
$color-alttext: #fff | |
a | |
background-color: $color-header | |
border-radius: 40px | |
color: $color-alttext | |
transition: color ease 0.75s, background-color ease 0.75s, border-radius ease 1s | |
&:hover |
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
float fast_inverse_sqrt(float number) | |
{ | |
long i; | |
float x2, y; | |
const float threehalfs = 1.5F; | |
x2 = number * 0.5F; | |
y = number; | |
i = *(long*)&y; | |
i = 0x5f3759df - (i >> 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
#pragma once | |
#ifndef INCLUDE_PHOENIX_EVID_H | |
#define INCLUDE_PHOENIX_EVID_H | |
enum EVID : unsigned int { | |
EVID_TICK = 1, | |
EVID_SWITCH_TO_FOREGROUND = 2, | |
EVID_SWITCH_TO_BACKGROUND = 3 | |
}; |
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.Diagnostics; | |
using System.Text; | |
namespace norepeat | |
{ | |
public static class Extensions | |
{ | |
public static string FormatForPadZeroUpTo( this int range ) | |
{ |
OlderNewer