Skip to content

Instantly share code, notes, and snippets.

View cborac's full-sized avatar
🎵
Sunflower - Rex Orange County

Bora Ciner cborac

🎵
Sunflower - Rex Orange County
View GitHub Profile
import glob
import os
import shutil
try:
shutil.rmtree("./export")
except Exception:
pass
os.mkdir("./export")
@cborac
cborac / test.bat
Last active February 3, 2023 23:26
echo "Hello World"
exit
[
{
"date": "6.03.2023",
"items": [
"Ezogelin çorba",
"Etli kuru fasulye",
"Tereyagli brokoli",
"Pirinç pilavi",
"Osmanli tulumba",
"Salat bar/meyve"
const f = [new BigNumber("1"), new BigNumber("1")];
let i = 2;
function factorial(n) {
if (typeof f[n] != 'undefined')
return f[n];
var result = f[i - 1];
for (; i <= n; i++)
f[i] = result = result.multiply(i.toString());
return result;
// ==UserScript==
// @name LearningApps
// @version 1.1
// @description Solve ma homework!
// @author Sardonyx78
// @include https://learningapps.org/*
// @grant none
// ==/UserScript==
(function () {
@cborac
cborac / LearningAppsHackSource.js
Last active May 21, 2021 06:15
Are you bored from doing your LearningApps Homeworks? just use this script
(function () {
'use strict';
function randomInRange(min, max) {
return (Math.floor((Math.random() * (max - min) + 1) + min));
}
return function () {
const i = document.querySelectorAll("iframe");
console.log()
{
"compilerOptions": {
"module": "commonjs",
"target": "es2019",
"types": [
"node"
],
"strict": true,
"moduleResolution": "node",
"declaration": false,
// Just execute this script on console on a board
Array.from(document.getElementsByClassName("hCL")).filter(x => !x.src.startsWith("https://i.pinimg.com/75x75_RS")).forEach(x => {
const btn = document.createElement("button")
btn.onclick = () => window.open(x.src.split("/236x/").join("/originals/"))
btn.innerHTML = "Download"
btn.style = "height: 25px; width: auto; position: absolute; z-index: 100;"
x.parentElement.parentElement.parentElement.parentElement.parentElement.parentElement.parentElement.parentElement.parentElement.prepend(btn)
})
--[[
▄▄▄▄ ▄▄▄ ▄████▄ ██ ▄█▀▓█████▄ ▒█████ ▒█████ ██▀███ █████▒██▓ ███▄ █ ▓█████▄ ▓█████ ██▀███
▓█████▄ ▒████▄ ▒██▀ ▀█ ██▄█▒ ▒██▀ ██▌▒██▒ ██▒▒██▒ ██▒▓██ ▒ ██▒ ▓██ ▒▓██▒ ██ ▀█ █ ▒██▀ ██▌▓█ ▀ ▓██ ▒ ██▒
▒██▒ ▄██▒██ ▀█▄ ▒▓█ ▄ ▓███▄░ ░██ █▌▒██░ ██▒▒██░ ██▒▓██ ░▄█ ▒ ▒████ ░▒██▒▓██ ▀█ ██▒░██ █▌▒███ ▓██ ░▄█ ▒
▒██░█▀ ░██▄▄▄▄██ ▒▓▓▄ ▄██▒▓██ █▄ ░▓█▄ ▌▒██ ██░▒██ ██░▒██▀▀█▄ ░▓█▒ ░░██░▓██▒ ▐▌██▒░▓█▄ ▌▒▓█ ▄ ▒██▀▀█▄
░▓█ ▀█▓ ▓█ ▓██▒▒ ▓███▀ ░▒██▒ █▄░▒████▓ ░ ████▓▒░░ ████▓▒░░██▓ ▒██▒ ░▒█░ ░██░▒██░ ▓██░░▒████▓ ░▒████▒░██▓ ▒██▒
░▒▓███▀▒ ▒▒ ▓▒█░░ ░▒ ▒ ░▒ ▒▒ ▓▒ ▒▒▓ ▒ ░ ▒░▒░▒░ ░ ▒░▒░▒░ ░ ▒▓ ░▒▓░ ▒ ░ ░▓ ░ ▒░ ▒ ▒ ▒▒▓ ▒ ░░ ▒░ ░░ ▒▓ ░▒▓░
▒░▒ ░ ▒ ▒▒ ░ ░ ▒ ░ ░▒ ▒░ ░ ▒ ▒ ░ ▒ ▒░ ░ ▒ ▒░ ░▒ ░ ▒░ ░ ▒ ░░ ░░ ░ ▒░ ░ ▒ ▒ ░ ░ ░ ░▒ ░ ▒░
░ ░ ░ ▒ ░ ░ ░░ ░ ░ ░ ░ ░ ░ ░ ▒ ░ ░ ░ ▒ ░░ ░ ░ ░ ▒ ░ ░ ░ ░ ░ ░ ░ ░ ░░ ░
░ ░ ░░ ░ ░ ░ ░
TypeScript 13 hrs 33 mins █████████████████░░░░ 81.4%
JavaScript 1 hr 19 mins █▋░░░░░░░░░░░░░░░░░░░ 7.9%
Other 40 mins ▊░░░░░░░░░░░░░░░░░░░░ 4.0%
JSON 33 mins ▋░░░░░░░░░░░░░░░░░░░░ 3.4%
HTML 12 mins ▎░░░░░░░░░░░░░░░░░░░░ 1.2%