Skip to content

Instantly share code, notes, and snippets.

View kiliczsh's full-sized avatar
:octocat:
fresh over

Muhammed Kılıç kiliczsh

:octocat:
fresh over
View GitHub Profile
@kiliczsh
kiliczsh / cssheart.html
Last active August 8, 2023 11:58
Rainbow Colors
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<style>
/* Set the background color for the whole page */
body {
background-color: #ffb6c1; /* peach background color */
display: flex;
var longestPalindrome = function(str) {
let strLen = str.length;
let maxLen = 0, leftResult = 0, rightResult = 0, index = 0;
while(index < strLen){
let left = index-1;
while(left >= 0 && str[index] == str[left]){
left--;
@kiliczsh
kiliczsh / coffeePrices.json
Created December 7, 2021 14:53
Coffee Prices for Turkey
[
{
"name":"A Roasting Lab",
"website":"https://www.aroastinglab.com/kahveler",
"kargo":11,
"products":[
{
"name":"Brazil Serra Negra (1000 Gram) Filtre Kahve",
"price":299.9,
"amount":1000,
@kiliczsh
kiliczsh / logo
Last active December 20, 2020 17:28

Keybase proof

I hereby claim:

  • I am kiliczsh on github.
  • I am kilic (https://keybase.io/kilic) on keybase.
  • I have a public key ASChVTd8RdMsR94wQHTBjLGnc6BfkZIytqzfnoG8u6lauAo

To claim this, I am signing this object:

@kiliczsh
kiliczsh / youtube-playlist-total-lengt-finder.js
Created March 25, 2020 14:13
Youtube Playlist Total Time Length Finder for Firefox Web Console
var collection = document.getElementsByClassName("style-scope ytd-thumbnail-overlay-time-status-renderer");
var arr = []
for (var i = 0; i < collection.length; i++) {
if (collection[i].tagName.endsWith('SPAN')) {
arr.push(collection[i]);
}
}
@kiliczsh
kiliczsh / install_ruby.sh
Created September 15, 2018 07:38
install_ruby.sh
#!/bin/bash
# Bash Menu Script Example
sudo apt update
PS3='Please enter your choice: '
options=("Just Ruby" "Rbenv" "RVM" "Quit")
select opt in "${options[@]}"
do
case $opt in
"Option 1")
echo "you chose choice 1"
#!/bin/sh
# make executable terminal:~chmod +x install_wireshark_ubuntu.sh
# run as terminal:~./install_wireshark_ubuntu.sh
echo "Adding Wireshark to Application Repository"
sudo add-apt-repository ppa:wireshark-dev/stable
echo "running apt-get update command"
sudo apt-get update
echo "started to install wireshark"
sudo apt-get install wireshark -y