Skip to content

Instantly share code, notes, and snippets.

@raicem
raicem / main.c
Created March 18, 2016 22:20
AVR Attiny13 Bisiklet Işığı Kodu
/*
* Created: 24.12.2014 12:32:24
* Author: Cem
* Versiyon Bilgisi: isikModu = 0 konumunda iken uyku moduna geçiliyor.
* islemci Hizi: 9.6 mHz
* avrdude -c usbasp -p attiny13 -U flash:w:main.hex
* -U lfuse:w:0x7a:m -U hfuse:w:0xff:m //CLKDIV8 sigortası kaldırıldı.
*/
#include <avr/io.h>
#include <avr/io.h>
#include <util/delay.h>
#include <avr/sleep.h>
#include <avr/interrupt.h></p>
#define led1 0
#define led2 2
#define tus 1</p>
uint8_t isikModu = 0;</p>
ISR(INT0_vect) //This is needed even if it does nothing in brackets.
{}
@raicem
raicem / HexToRgb.php
Last active June 27, 2017 22:12
Hex renk kodlarını rgba formatına dönüştüren fonksiyon ve testler - Function and tests to convert hex color codes to rgba format
<?php
/**
* Converts Hex color values into rgba format.
*
* @param string $hex
* @param mixed $alpha
* @return string
*/
function hexToRgb($hex, $alpha = 0)
@raicem
raicem / kinto-caps-swap-esc.diff
Last active June 18, 2020 07:52
Kinto/xkeysnail configuration for swapping capslock and escape
@@ -70,6 +70,8 @@
})
define_keymap(None,{
+ K("CAPSLOCK"): K("ESC"),
+ K("ESC"): K("CAPSLOCK"),
# Basic App hotkey functions
K("RC-Q"): K("Alt-F4"),
K("RC-H"): K("Alt-F9"),
*** Test Updates ***
2021-04-08 - version 1.0.0
* Initial submission.
*** Test Updates ***
2021-04-08 - version 1.1.0
* Updates.
2021-04-08 - version 1.0.0
* Initial submission.
[[subscriptions]]
[[subscriptions user_id="33"]]
[[subscriptions status="all"]]
[[subscriptions user_id="42" status="all"]]
<?php
echo 'Hello world';
*** WooCommerce Bookings Changelog ***
2023-04-27 - version 1.15.80
* Add - Test
2023-04-12 - version 1.15.79
* Add - Encryption to stored access, refresh, and sync keys for Google Calendar.
* Add - Support for the Accommodation Booking extension's Check-in and Check-out days.
* Dev - Bump WooCommerce "tested up to" version 7.5.
* Dev - Bump WooCommerce minimum supported version from 6.0 to 6.8.