Skip to content

Instantly share code, notes, and snippets.

View GokhanPolat's full-sized avatar
🏠
Working from home

Gökhan Polat GokhanPolat

🏠
Working from home
View GitHub Profile
@GokhanPolat
GokhanPolat / ebook-viewer-theme02.css
Last active February 28, 2023 12:54
calibre e-book viewer css
html {
font-family: sans-serif;
-webkit-text-size-adjust: 100%;
-ms-text-size-adjust: 100%;
}
body {
margin: 0;
}
@GokhanPolat
GokhanPolat / emacs-solidity-config.el
Created April 27, 2021 07:21
emacs-solidity package configs
#
# this code block part of ~/.doom.d/config.el
#
(require 'flycheck)
;; (setq solidity-solc-path "/usr/local/bin/solc")
(setq-default solidity-solc-path "~/.doom.d/solc-solium-wrapper.sh")
(setq solidity-solium-path "/usr/local/bin/solium")
@GokhanPolat
GokhanPolat / solc-wrapper.sh
Last active April 27, 2021 07:16
solc wrapper for emacs-solidity package
#!/bin/sh
#
# Wrapper for running solc from flycheck-solidity.
#
# If DOOM Emacs is used, this file must be ~/.doom.d/solc-wrapper.sh
#
set -e
/usr/local/bin/solc \
@openzeppelin/=$(git rev-parse --show-toplevel)/node_modules/@openzeppelin/ \
@GokhanPolat
GokhanPolat / stations.csv
Last active October 21, 2022 07:21
pyradio playlist file
# YERLI RADYOLAR
Açık Radyo https://stream.34bit.net/ar.opus
Pal FM https://moondigitaledge.radyotvonline.net/palfm/playlist.m3u8
Pal Station https://moondigitaledge.radyotvonline.net/palstation/playlist.m3u8
Pal Nostalji https://moondigitaledge.radyotvonline.net/palnostalji/playlist.m3u8
Radyo Viva https://moondigitaledge.radyotvonline.net/radyoviva/playlist.m3u8
Kent Fm https://moondigitaledge.radyotvonline.net/kentfm/playlist.m3u8
# TURKULER
TURKU - Pal Doğa https://ssl4.radyotvonline.com/radyohome/paldogahome.stream_aac/playlist.m3u8
@GokhanPolat
GokhanPolat / castero_podcast_links.txt
Created May 12, 2020 12:11
Exported podcast list from castero, for importing see castero --help
@GokhanPolat
GokhanPolat / castero.conf
Last active May 12, 2020 11:54
castero configuration file
# castero configuration file
# https://github.com/xgi/castero
[client]
# Whether to ask for confirmation before deleting a feed.
# default: False
delete_feed_confirmation = False
# The minimum number of feeds before the client asks you for confirmation
@GokhanPolat
GokhanPolat / install_castero.sh
Created May 12, 2020 11:53
castero manual Installation
#!/bin/zsh
# Installing castero from source code on macOS X.
# castero - TUI podcast client for the terminal.
# https://github.com/xgi/castero
# Clone repo
git clone --recurse-submodules https://github.com/xgi/castero.git
@GokhanPolat
GokhanPolat / alacritty.yml
Created February 12, 2020 14:36
Deletes the whole line on the MacOS X with cmd+Backspace in Alacritty. (macOS Mojave)
key_bindings:
- { key: Back, mods: Command, chars: "\x15" }
@GokhanPolat
GokhanPolat / Homebrew Install Specific Version of Formula.org
Last active February 7, 2020 18:03
Homebrew Install Specific Version of Formula
cd $(brew --repo homebrew/core)
git log master -- Formula/mpv.rb
commit 214fbf099806e2c79ec0f214e12b5becca988011
Author: BrewTestBot <homebrew-test-bot@lists.sfconservancy.org>
@GokhanPolat
GokhanPolat / .wcalcrc
Created November 11, 2019 07:17
wcalc settings and preferences for Turkish notation (~/.wcalcrc)
color = yes
engineering = never
history_limit = no
precision_guard = yes
print_delimiters = yes
thousands_delimiter = .
decimal_delimiter = ,
colors[approx_answer] = boldcyan
colors[exact_answer] = boldgreen
colors[prompt] = boldblue