Skip to content

Instantly share code, notes, and snippets.

View telmen's full-sized avatar

telmen telmen

View GitHub Profile
@telmen
telmen / search.c
Created March 22, 2023 14:31
shinee
#include <stdio.h>
int *search(int arr[], int value, int size) {
for (int i = 0; i < n; i++) {
if (arr[i] == target) {
return &arr[i];
}
}
return NULL; // if element not found, return NULL
}
{
"git.untrackedChanges": "separate",
"git.enableCommitSigning": true,
"git.confirmSync": false,
"git.autoRepositoryDetection": "openEditors",
"git.autorefresh": false,
"git.autofetch": true,
"editor.unicodeHighlight.nonBasicASCII": false,
"editor.wordWrapColumn": 100,
"editor.wordWrap": "wordWrapColumn",
.loader {
font-size: 10px;
width: 1em;
height: 1em;
border-radius: 50%;
animation: load5 1.1s infinite ease;
transform: translateZ(0);
}
.home-template .post-media .u-placeholder.horizontal:before {
content: unset;
}
.home-template .post-media .post-image {
object-fit: contain;
position: unset;
height: auto;
}
@telmen
telmen / result.md
Last active February 24, 2021 11:01
@telmen
telmen / google_podcast_to_opml.js
Last active August 1, 2023 00:42
Export Google Podcasts subscriptions to OPML file.
// To date(2021-02-08) Google Podcasts has no option to export a subscription list in any form.
async function getPodcastData(url) {
const domParser = new DOMParser()
const res = await fetch(url)
const html = await res.text()
const $ = domParser.parseFromString(html, 'text/html')
const title = text = $.querySelector('.AZqljb').getAttribute('data-title')
try {
@telmen
telmen / autoexec.cfg
Last active December 5, 2020 13:09
my csgo cfg
fps_max "700"
hud_showtargetid "1"
hud_scaling "0.95"
snd_mixahead "0.05"
snd_headphone_pan_exponent "2"
snd_musicvolume "0.0"
snd_tensecondwarning_volume "0.04"
m_rawinput "1"
@telmen
telmen / colors.md
Created August 3, 2020 09:25
General colors
"red": "hsl(5, 100%, 50%)",
"orange": "hsl(27, 100%, 50%)",
"yellow": "hsl(60, 100%, 50%)",
"green": "hsl(150, 100%, 43%)",
"cyan": "hsl(180, 100%, 50%)",
"blue": "hsl(210, 100%, 50%)",
"pink": "hsl(320, 90%, 70%)",
"transparent": "#ff000000",  // note: ff needed to force transparency

"fg": "#fff",

# Twitter
0.0.0.0 www.twitter.com
0.0.0.0 www.twittter.com
0.0.0.0 www.twttr.com
0.0.0.0 www.twitter.fr
0.0.0.0 www.twitter.jp
0.0.0.0 www.twitter.rs
0.0.0.0 www.twitter.uz
0.0.0.0 twitter.biz
0.0.0.0 twitter.dk
https://www.facebook.com/koreanfoodpark/
https://www.facebook.com/OhChicken-284478555235953/
https://www.facebook.com/bbqchickenmongolia/
https://www.facebook.com/mongoliacupchicken/