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
"use strict"; | |
function isAlpha(character){ | |
return (character>='a' && character<='z' )|| (character>='A' && character<='Z') || character=='_' || isNumric(character); | |
} | |
function isNumric(character){ | |
return (character>='0' && character<='9' ); | |
} | |
function tokenizier(source) | |
{ |
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
def encrypt(text,key): | |
if key>26: | |
key=key%26 | |
result='' | |
for char in text: | |
asciiCode=ord(char) | |
if asciiCode>=65 and asciiCode<=122: ## if character between a ...Z | |
charCode=asciiCode+key | |
if charCode>122: | |
charCode=charCode-26 |
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
//my algorithm | |
int width = image.Width;//need width of image | |
int height = image.Height;//need height of image | |
for (int x = 0; x < width; x++) | |
{ | |
//getting pixel from width and height | |
for (int y = 0; y <height; y++) | |
{ | |
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.Runtime.InteropServices; | |
using System.Text; | |
using System.Threading.Tasks; | |
namespace ConsoleApp2 | |
{ | |
class Program |
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; | |
using System.Threading.Tasks; | |
namespace ConsoleApp28 | |
{ | |
class Program | |
{ |