Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@FREEWING-JP
FREEWING-JP / main.swift
Created October 22, 2016 15:30 — forked from segabor/main.swift
An UDP Server implementation in Swift
//
// main.swift
// UDP Server example
//
// Created by Sebestyén Gábor on 2015. 09. 12..
//
// Original source: http://www.cs.ucsb.edu/~almeroth/classes/W01.176B/hw2/examples/udp-server.c
import Foundation
@FREEWING-JP
FREEWING-JP / ssd1306_init.c
Created January 14, 2017 14:34 — forked from pulsar256/ssd1306_init.c
SSD 1306 Init Sequence
/**
* according to http://www.adafruit.com/datasheets/UG-2864HSWEG01.pdf Chapter 4.4 Page 15
*/
void ssd1306Init(void)
{
i2c_OLED_send_cmd(0xAE); // Set display OFF
i2c_OLED_send_cmd(0xD4); // Set Display Clock Divide Ratio / OSC Frequency
i2c_OLED_send_cmd(0x80); // Display Clock Divide Ratio / OSC Frequency
@FREEWING-JP
FREEWING-JP / README.md
Created January 19, 2017 14:43 — forked from jimklo/README.md
Fix for installing MediaTek USB(RT2870/RT2770/RT3X7X/RT537X) driver in OS X Mavericks
/*
* SEP firmware split tool
*
* Copyright (c) 2017 xerub
*/
#include <fcntl.h>
#include <stddef.h>
#include <stdio.h>
#include <stdlib.h>
/*
* DualSD.cpp
*
* Created on: 1 Nov 2016
* Author: ralim
*/
#include <SDCard.hpp>
SDCard::SDCard(SPI_HandleTypeDef* hspi, uint16_t cs1Pin,
@FREEWING-JP
FREEWING-JP / a.md
Created September 30, 2018 11:03 — forked from mala/a.md
Chrome ExtensionのLive HTTP Headersの調査(CoolBar.Pro導入 Extensionが何を行うかの調査)

Chrome ExtensionのLive HTTP Headersを調査した。Firefox用のものではない。Firefox用のものではない。

11/7追記

English version: https://translate.google.com/translate?sl=ja&tl=en&js=y&prev=_t&hl=ja&ie=UTF-8&u=https%3A%2F%2Fgist.github.com%2Fmala%2Fe87973df5029d96c9269d9431fcef5cb&edit-text=&act=url

Summary in english.

@FREEWING-JP
FREEWING-JP / rec_radiko_m4a.sh
Last active October 4, 2020 06:01 — forked from matchy256/rec_radiko.sh
簡易Radiko録音スクリプト M4A形式
#!/bin/bash
LANG=ja_JP.utf8
pid=$$
date=`date '+%Y-%m-%d-%H_%M'`
playerurl=http://radiko.jp/apps/js/flash/myplayer-release.swf
playerfile="/tmp/player.swf"
keyfile="/tmp/authkey.png"
@FREEWING-JP
FREEWING-JP / radiko_2020.sh
Last active October 29, 2021 07:34 — forked from soramugi/radiko.sh
radikoをlinuxで聞いたり録音したりするやつ 2020年対応版
#!/bin/bash
# https://mtunn.wordpress.com/odroid-u2★セットアップ/radikoの録音・再生(archlinux)/
pid=$$
wkdir='/var/tmp'
playerurl=https://radiko.jp/apps/js/flash/myplayer-release.swf
playerfile="${wkdir}/player.swf"
keyfile="${wkdir}/authkey.png"
auth1_fms="${wkdir}/auth1_fms_${pid}"
auth2_fms="${wkdir}/auth2_fms_${pid}"
@FREEWING-JP
FREEWING-JP / rol.im-securegoldenkeyboot
Created March 25, 2021 00:29 — forked from acepace/rol.im-securegoldenkeyboot
Secure Golden Key Boot: (MS16-094 / CVE-2016-3287 and MS16-100/ CVE-2016-332)
| |
| a w r i t e u p r e l e a s e b y r o l |
| ________ ___ ________ ________ |
| <_ __ \/ \/ \/ ____ \ |
| T T<___/\___/\_ /\ _/\ \__j _/ |
| | | T T T / \ T__\____ T |
| | | | | | \ / |T T T | |
| l__j_____l___j_l__><__j| | | | |
| T _______ T | ___j | l___j | |
| | T __T |_j l_______l________j |