- רשימת נאמנים (לחצו כאן)
- רשימת מומחים (לחצו כאן)
This file contains hidden or 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
| static Node<int> CreateSortedList() { | |
| Console.WriteLine("Enter value: "); | |
| int v = int.Parse(Console.ReadLine()); | |
| // create first value | |
| // on every next value push it in the right place | |
| Node<int> head = null; | |
| while (v != -1) { | |
| if (head == null) { |
This file contains hidden or 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
| import asyncio | |
| import discord | |
| from discord.ext.commands import Paginator as CommandPaginator | |
| from utils.overwrites import Embed | |
| from config import Config | |
| class CannotPaginate(Exception): | |
| pass |
This file contains hidden or 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
| // Usage: Copy the code into a bookmark value, once you click on it the answers will be sorted | |
| javascript: total=[],Array.from(document.querySelectorAll(".grade-text")).forEach(t=>{total.push(Number(t.textContent.split(" ")[1]))}),alert(`ממוצע: ${total.reduce((t,e)=>t+e)/total.length}`); | |
| // Actual Code (Don't copy this - Just for reading) | |
| total = [] | |
| Array.from(document.querySelectorAll('.grade-text')).forEach(el => { | |
| total.push(Number(el.textContent.split(' ')[1])) | |
| }) |
This file contains hidden or 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
| // Usage: Copy the code into a bookmark value, once you click on it the answers will be sorted | |
| javascript: total=[],Array.from(document.querySelectorAll(".mat-list-item-content")).forEach(t=>{text=t.childNodes[2].childNodes[1].getElementsByTagName("strong")[0].textContent,text&&total.push(Number(text))}),alert(`ממוצע: ${total.reduce((t,e)=>t+e)/total.length}`) | |
| // Actual Code (Don't copy this - Just for reading) | |
| total = [] | |
| Array.from(document.querySelectorAll('.mat-list-item-content')).forEach(el => { | |
| text = el.childNodes[2].childNodes[1].getElementsByTagName('strong')[0].textContent | |
| if (text) { | |
| total.push(Number(text)) |
This file contains hidden or 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
| // Usage: Copy the code into a bookmark value, once you click on it the answers will be sorted | |
| javascript: var jq=document.createElement("script");jq.src="https://code.jquery.com/jquery-3.4.1.min.js",document.getElementsByTagName("head")[0].appendChild(jq),setTimeout(()=>{elems=$("app-item.list-single-item").sort((e,t)=>Number($(t).find(".votesArea .score").text())-Number($(e).find(".votesArea .score").text())).clone(),$("app-item.list-single-item").remove(),$(".response-count-title").after(elems)},1000); | |
| // Actual Code (Don't copy this - Just for reading) | |
| var jq = document.createElement('script'); | |
| jq.src = "https://code.jquery.com/jquery-3.4.1.min.js"; | |
| document.getElementsByTagName('head')[0].appendChild(jq); |
This file contains hidden or 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
| function devtoolsToggle(open_state) { | |
| if (open_state) { | |
| // opened | |
| } else { | |
| // closed | |
| } | |
| } | |
| // Is opened |