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
// by https://t.me/shakhzodme | |
[][ | |
(![] + [])[+[]] + (![] + [])[!+[] + !+[]] + (![] + [])[+!+[]] + | |
(!![] + [])[+[]] | |
][ | |
([][ | |
(![] + [])[+[]] + (![] + [])[!+[] + !+[]] + (![] + [])[+!+[]] + | |
(!![] + [])[+[]] | |
] + [])[!+[] + !+[] + !+[]] + |
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
nums = list(range(20)) | |
evens = [num for num in nums if num%2==0] | |
odds = [num for num in nums if num%2!=0] | |
print(evens) | |
print(odds) | |
print(sum(evens)) | |
print(sum(odds)) |
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 sums(nums: number[]): {odds: number, evens: number} { | |
let odds: number = 0 | |
let evens: number = 0 | |
for(let num of nums) { | |
if(num%2==0) evens += num; | |
else odds += num; | |
} | |
return { odds, evens }; |
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
{ | |
"workbench.colorTheme": "JetBrains Darcula Theme", | |
"editor.fontFamily": "'jetbrains mono', monospace", | |
"editor.fontSize": 20, | |
"window.zoomLevel": 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
use std::{ | |
env, | |
fs::{self, File}, | |
path::Path, | |
}; | |
pub fn config() { | |
let config_path = format!( | |
"/home/{}/.xonfig/", | |
env::var("LOGNAME").unwrap_or(".config".to_owned()) |
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
export default { | |
"red": "\x1b[31m%s\x1b[0m", | |
"blue": "\x1b[36m%s\x1b[0m", | |
"purple":"\x1b[35m%s\x1b[0m", | |
"green":"\x1b[32m%s\x1b[0m", | |
"yellow":"\x1b[33m%s\x1b[0m", | |
} |
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
Bir qo'lda Qur'onu bittasida jom, | |
Ba'zida halolmiz, ba'zida harom, | |
Feruza gumbazli osmon ostida | |
Na chin musulmonmiz, na kofir tamom. | |
Men keldimu, dunyo ko'rdimi foyda? | |
Ketsam martabasi osharmi? Qayda! | |
Hech kim tushuntirib bera olmadi: | |
Kelishim - ketishim sababi qayda. |
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
package main | |
import ( | |
"encoding/json" | |
"fmt" | |
"io" | |
"net/http" | |
) | |
func main() { |
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 { MyContext, MyConversation } from "../config/bot.ts"; | |
import { createConversation } from "https://deno.land/x/[email protected]/conversation.ts"; | |
import { bot } from "../config/index.ts"; | |
import { InlineKeyboard } from "../deps.ts"; | |
const kv = await Deno.openKv() | |
const ADMIN = "5317740617" | |
const GROUP = "-4124723873" | |
async function meme(conversation: MyConversation, ctx: MyContext) { |
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
package utils | |
import ( | |
"fmt" | |
"os" | |
"strings" | |
) | |
func ReadENV(key string) (value string) { | |
var result string |
OlderNewer