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
diff --git a/sha1dc/sha1.c b/sha1dc/sha1.c | |
index 3a1735e..67cf753 100644 | |
--- a/sha1dc/sha1.c | |
+++ b/sha1dc/sha1.c | |
@@ -1829,25 +1829,9 @@ int SHA1DCFinal(unsigned char output[20], SHA1_CTX *ctx) | |
ctx->buffer[63] = (unsigned char)(total); | |
sha1_process(ctx, (uint32_t*)(ctx->buffer)); | |
output[0] = (unsigned char)(ctx->ihv[0] >> 24); | |
- output[1] = (unsigned char)(ctx->ihv[0] >> 16); | |
- output[2] = (unsigned char)(ctx->ihv[0] >> 8); |
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
--- interact.c_ 2016-11-03 16:19:44.646114334 -0400 | |
+++ interact.c 2016-11-03 16:15:20.402249954 -0400 | |
@@ -339,6 +339,25 @@ | |
oldbase = base; | |
/*printf("*******%d******\n", key);*/ | |
+ if (hexOrAscii) { | |
+ /* Hex-mode-only key binds */ | |
+ switch (key) | |
+ { |
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/bash | |
# Requirements: | |
# * qrencode <https://fukuchi.org/works/qrencode/> (apt-get install qrencode) | |
# * netcat <http://nc110.sourceforge.net/> | |
if [ -z "$1" ]; then | |
echo "Usage: $0 filename" >&2 | |
exit 2 | |
fi |
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
// Created by flarn2006 <flarn2006@gmail.com> | |
// Licensed under MIT License | |
using System; | |
using System.Runtime.InteropServices; | |
namespace YourNamespaceHere //TODO: change me | |
{ | |
static class ScreenTint | |
{ |
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
#--------------------------------------------------------------------------------- | |
.SUFFIXES: | |
#--------------------------------------------------------------------------------- | |
ifeq ($(strip $(DEVKITARM)),) | |
$(error "Please set DEVKITARM in your environment. export DEVKITARM=<path to>devkitARM") | |
endif | |
TOPDIR ?= $(CURDIR) | |
include $(DEVKITARM)/3ds_rules |
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 <Windows.h> | |
#include <LogitechLEDLib.h> | |
enum ChannelState { CS_LOW, CS_RISING, CS_HIGH, CS_FALLING }; | |
const ChannelState redStates[] = { CS_HIGH, CS_FALLING, CS_LOW, CS_LOW, CS_RISING, CS_HIGH }; | |
const ChannelState greenStates[] = { CS_RISING, CS_HIGH, CS_HIGH, CS_FALLING, CS_LOW, CS_LOW }; | |
const ChannelState blueStates[] = { CS_LOW, CS_LOW, CS_RISING, CS_HIGH, CS_HIGH, CS_FALLING }; | |
DWORD red, green, blue; |
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
<TaskerData sr="" dvi="1" tv="4.7m"> | |
<dmetric>1080.0,1920.0</dmetric> | |
<Profile sr="prof18" ve="2"> | |
<cdate>1428440396939</cdate> | |
<clp>true</clp> | |
<edate>1428440437425</edate> | |
<id>18</id> | |
<mid0>23</mid0> | |
<State sr="con0" ve="2"> | |
<code>120</code> |
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
Dwarf Fortress.exe | |
001A9C3A: 89 90 | |
001A9C3B: 01 90 | |
001A9C46: 89 90 | |
001A9C47: 30 90 | |
001A9C62: 89 90 | |
001A9C63: 08 90 | |
001A9C82: 89 90 | |
001A9C83: 08 90 |
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
// ==UserScript== | |
// @name Reddit 503 Auto Refresh | |
// @namespace flarn2006 | |
// @include http://www.reddit.com/* | |
// @include http://reddit.com/* | |
// @include https://www.reddit.com/* | |
// @include https://reddit.com/* | |
// @version 4 | |
// @grant none | |
// ==/UserScript== |
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.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
namespace MiscClasses | |
{ | |
public class MostRecentStack<T> : IEnumerable<T> | |
{ | |
private int capacity; |