Skip to content

Instantly share code, notes, and snippets.

View cagils's full-sized avatar

Cagil Seker cagils

View GitHub Profile
@cagils
cagils / Pitch Black Theme.reg
Created July 27, 2023 09:37 — forked from AveYo/. Pitch Black Theme.reg
Pitch Black Theme.reg - now for Ctrl+Alt+Del (and logon on 11) as well - revised 2022-06-16
Windows Registry Editor Version 5.00
; Pitch Black Theme preset by AveYo, AccentPalette idea by /u/Egg-Tricky
; for Ctrl+Alt+Del, Logon, Taskbar, Start Menu, Action Center (10 & 11)
; revised 2022-06-16: show active taskbar button in accent color
[-HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Accent]
[HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Accent]
"AccentColorMenu"=dword:aa000000 ; Window borders and titlebar
"StartColorMenu"=dword:aa202020 ; Modals in UWP ex. Apply new refresh rate in 10
@cagils
cagils / Go overview.md
Created December 29, 2022 10:11 — forked from BrianWill/Go overview.md
Go language overview for experienced programmers

The Go language for experienced programmers

Why use Go?

  • Like C, but with garbage collection, memory safety, and special mechanisms for concurrency
  • Pointers but no pointer arithmetic
  • No header files
  • Simple, clean syntax
  • Very fast native compilation (about as quick to edit code and restart as a dynamic language)
  • Easy-to-distribute executables
@cagils
cagils / BreathingAnimation.js
Last active February 5, 2024 12:55
React Native Breath In/Out Animation
/ ====================================================================
// A MODIFIED VERSION OF THE APPLE WATCH LIKE BREATHING ANIMATION
// Cagil Seker [ÇAĞIL ŞEKER] (MadChuckle) - cagils@gmail.com
// ORIGINAL IDEA: Jimmy Cook (https://www.youtube.com/watch?v=dhF1kp0rGak)
// ====================================================================
import React, {useRef} from 'react';
import {Animated, Dimensions, Easing, StyleSheet, View} from 'react-native';
const {width, height} = Dimensions.get('window');
@cagils
cagils / RecursiveRoundRobinTreeLeafTraversal.js
Last active August 27, 2018 08:46
A RRR-TL Traversal is an hierarchical algorithm that gives each sub-tree equal priority among its siblings with respect to its parent recursively
// ====================================================================
// RECURSIVE ROUND ROBIN (RRR) TREE LEAF TRAVERSAL ALGORITHM (JS ES6+)
// METHOD IDEA: Cagil Seker [ÇAĞIL ŞEKER] (MadChuckle) - cagils@gmail.com
// SAMPLE ALGORITHM: Apass.Jack (https://cs.stackexchange.com/users/91753/apass-jack)
// ====================================================================
// This is a gist for my (MadChuckle) question at StackOverflow
// Link: 'https://cs.stackexchange.com/questions/95951/is-there-a-name-and-efficient-algorithm-for-this-tree-traversal-method'
//
// This is based on the the pseudo code (and later an implementation) from Apass.Jack
//