Skip to content

Instantly share code, notes, and snippets.


Akın Özgen akinozgen

Block or report user

Report or block akinozgen

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
akinozgen / sars-cov-2.dat
Last active Apr 7, 2020
sars-cov2-genom (JSON file @ bottom)
View sars-cov-2.dat
a: white
g: black
t: blue
c: red
1 attaaaggtt tataccttcc caggtaacaa accaaccaac tttcgatctc ttgtagatct
61 gttctctaaa cgaactttaa aatctgtgtg gctgtcactc ggctgcatgc ttagtgcact
121 cacgcagtat aattaataac taattactgt cgttgacagg acacgagtaa ctcgtctatc
181 ttctgcaggc tgcttacggt ttcgtccgtg ttgcagccga tcatcagcac atctaggttt
akinozgen / currently_playing.bash
Last active Jan 27, 2020
get title and artist from playerctl an join
View currently_playing.bash
#!/usr/bin/env bash
echo "$(playerctl -p spotify metadata | grep xesam: | awk '{ if ($2 == "xesam:title") { print $3; } }') by $(playerctl -p spotify metadata | grep xesam: | awk '{ if ($2 == "xesam:artist") { print $3; } }')"
conky -q -c $HOME/.config/conky/conky-grey.conf
conky -q -c $HOME/.config/conky/conky.conf
# read
View jamaljs blog first step.js
// Örnek 1. Standart statik içerik
customTags: ['theme', 'example', 'akinozgen', 'profile-image', 'user-avatar'],
autoId: true,
originalNames: true
const context = div(
{ class: 'form-group' },
input({ type: 'text', class: 'form-control', name: 'username' })
View jamaljs blog overloads.js
jTable(): HTMLElement;
jTable(children: string|HTMLElement): HTMLElement;
jTable(children: Array<string|HTMLElement>): HTMLElement;
jTable(attributes: Object<string, string|number|function>, children: string|HTMLElement): HTMLElement;
jTable(attributes: Object<string, string|number|function>, children: Array<string|HTMLElement>): HTMLElement;
View jamaljs blog create.js
new Jml.create('#root', /* Herhangi bir jamaljs DOM fonksiyonu */);
akinozgen / jamaljs blog
Last active Dec 14, 2019
jamaljs blog snippets
View jamaljs blog
<script src=""></script>


npm install jamal

View son-depremler-api.php
header('Content-type: text/json');
$content = iconv('windows-1254', 'utf-8', file_get_contents(""));
preg_match_all("/<pre>(.*?)<\/pre>/s", $content, $pre);
$rows = explode("\n", str_replace(["<pre>", "</pre>"], "", $pre[0][0]));
for ($i = 0; $i < 7; $i++) array_shift($rows);
View .zshrc
# If you come from bash you might have to change your $PATH.
# export PATH=$HOME/bin:/usr/local/bin:$PATH
# Path to your oh-my-zsh installation.
export ZSH=$HOME/.oh-my-zsh
# Set name of the theme to load --- if set to "random", it will
# load a random theme each time oh-my-zsh is loaded, in which case,
# to know which specific one was loaded, run: echo $RANDOM_THEME
# See
You can’t perform that action at this time.