Skip to content

Instantly share code, notes, and snippets.

@KeyC0de
KeyC0de / windows_locale_names.txt
Last active November 2, 2020 13:25
Locale names, can be used in various programming languages.
af
af-ZA
am
am-ET
ar
ar-AE
ar-BH
ar-DZ
ar-EG
ar-IQ
;This program calculates and displays the factorial of the number 3, using a recursive procedure
;Fact (n) = n * fact (n-1) for n > 0
section .text
global _start ;must be declared for using gcc
_start: ;tell linker entry point
mov bx, 3 ;for calculating factorial 3
;------------------------------------------------------------------------------
; CHANGELOG:
;
; Sep 13 2007: Added more misspellings.
; Added fix for -ign -> -ing that ignores words like "sign".
; Added word beginnings/endings sections to cover more options.
; Added auto-accents section for words like fiancée, naïve, etc.
; Feb 28 2007: Added other common misspellings based on MS Word AutoCorrect.
; Added optional auto-correction of 2 consecutive capital letters.
; Sep 24 2006: Initial release by Jim Biancolo (http://www.biancolo.com)
#include <stdio.h>
#include <stdlib.h>
#include "circularLinkedList.h"
// solve the Josephus problem
int josephusSolve(int N, int M)
{
// Create a List with N soldiers
Node* L = createCircularLList(N);
Node* dead = NULL; // to free the dead soldier Node
gcc -g to compile a program and include debugging information
start - begin exexuting your program
list - examine your source code from within the debugger
step - execute the next line of your program
next - execute the next line of your program, but if it's a subroutine call, treat the entire subroutine as a single line
print - examine the contents of a variable
x - examine memory directly
Red: energetic, sexy, bold
Orange: creative, friendly, youthful
Yellow: sunny, inventive, optimism
Green: growth, organic, instructional
Blue: professional, medical, tranquil, trustworthy
Purple: spiritual, wise, evocative
Black: credible and powerful
White: simple, clean, pure
Pink: fun and flirty
Brown: rural, historical, steady
<?xml version="1.0" encoding="utf-16"?>
<ArrayOfProfile>
<Profile>
<ProfileName>Alien: Isolation</ProfileName>
<Executeables>
<string>ai.exe</string>
<string>alien isolation/ai.exe</string>
</Executeables>
<Settings>
<ProfileSetting>
@echo off
REM sigcheck.exe needs to be either in the path or in the "Start in" folder of the shortcut in the Send To menu
REM "Send To" shortcuts are in: C:\Users\USERNAME\AppData\Roaming\Microsoft\Windows\SendTo
REM where USERNAME should be replaced with your logged in name in Windows
TITLE=Sigcheck - VirusTotal - HerdProtect
IF [%1]==[] GOTO EMPTY
echo Parameter: %1
IF EXIST %1\* GOTO FOLDER
set PARAMTYPE=FILE
@echo off
reg add HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Run /v nameAsItWillAppearInTheRegistry /t reg_sz /d C:\Path\to\executable.bat/or.ex
^g:: ; Text–only paste from ClipBoard
Clip0 = %ClipBoardAll%
ClipBoard = %ClipBoard% ; Convert to text
Send ^v ; For best compatibility: SendPlay
Sleep 50 ; Don't change clipboard while it is pasted!
ClipBoard = %Clip0% ; Restore original ClipBoard
VarSetCapacity(Clip0, 0) ; Free memory
Return