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
class P{static void Main(){for(int i=0;i++<100;)System.Console.Write($"{(i%3*i%5<1?0:i):#}{i%3:;;Fizz}{i%5:;;Buzz}\n");}} |
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
#!/usr/bin/python | |
# _____ _ _____ | Desc: Get HTML contents of URL & output to file | |
# |_ _| | ___ _|__ / | Author: TkrZ | |
# | | | |/ / '__|/ / | Usage: 'getHTML.py URL FILE*' | * = optional parameter | |
# | | | <| | / /_ | i.e 'getHTML.py http://google.com' | output defaults to 'output.txt' | |
# |_| |_|\_\_| /____| | or 'getHTML.py http://google.com file.txt' | | |
import sys, urllib.request | |
o = 'output.txt' |
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.Drawing; | |
using System.Linq; | |
using System.Security.Cryptography; | |
var filePath = "rndImg.png"; | |
var width = 1920; | |
var height = 1080; | |
var bmp = new Bitmap(width, height); |
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 transposeEncryptMessage = (string, col) => [...Array(col)].map((_, i) => [...Array(Math.ceil(string.length / col))].reduce((acc, _, n) => { | |
if (n * col + i < string.length) | |
acc += string[n * col + i] | |
return acc; | |
}, [])).join(''); | |
col = 8; | |
string = "Cenoonommstmme oo snnio. s s c"; | |
len = string.length; | |
rows = Math.ceil(len / col); |
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
from pathlib import Path | |
from pydub import AudioSegment | |
from concurrent.futures import ThreadPoolExecutor, as_completed | |
OUTPUT_FOLDER_NAME = 'outputFiles' | |
OUTPUT_FOLDER = Path(OUTPUT_FOLDER_NAME) | |
OUTPUT_EXTENSION = 'mp3' | |
OUTPUT_BITRATE = '320k' | |
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
from pathlib import Path | |
from pydub import AudioSegment | |
from concurrent.futures import ThreadPoolExecutor, as_completed | |
OUTPUT_FOLDER_NAME = 'outputFiles' | |
OUTPUT_FOLDER = Path(OUTPUT_FOLDER_NAME) | |
OUTPUT_EXTENSION = 'mp3' | |
OUTPUT_BITRATE = '320k' | |