Skip to content

Instantly share code, notes, and snippets.

View micronull's full-sized avatar
☮️

Stepan I. micronull

☮️
View GitHub Profile
@markodvornik
markodvornik / Hack-WD-MCHD.md
Last active June 16, 2024 06:11
How to hack the "WD My Cloud Home Duo" into a decent home media center

WD My Cloud Home Duo Hack

🚩 NOTE: in late 2022 WD introduced a firmware release in which they locked root user access over "serial connection". The methods described in this post are therefore irrelevant and do not work anymore. Feel free to discus other alternatives in the comments below. This was also the final firmware release for this product as it entered EOL in June 2023.

TL;DR

A simple How-To on turnning your WD My Cloud Home in to fully pledged Linux box and install some usefull apps (SSH & SFTP server, Torrent client, ...).

  • Connect to the device with USB serial cable.
@newcloudtech
newcloudtech / karma.config.js
Last active June 15, 2021 04:00
Webpack and karma configs
var webpackConfig = require('../webpack.config.js');
module.exports = function () {
autoWatch: true,
frameworks: ['jasmine'],
preprocessors: {
'../app/**/*.js': ['webpack'],
'../app/**/scripts/**/*.js': ['coverage']
},
webpack: {
resolve: webpackConfig.resolve,
# original idea from http://gis.stackexchange.com/questions/73946/automatically-download-and-merge-webmap-tiles-into-one-big-image
# pre-requisite: imagemagick
# ( e.g. sudo apt-get imagemagick )
X1=0
Y1=0
X2=9
Y2=13
Z=4
for x in `seq $X1 $X2`; do
@phillipalexander
phillipalexander / SourceCodeSearchEngines.md
Last active August 22, 2024 16:26
Source Code Search Engines You Can Use For Programming Projects

Source Code Search Engines

NOTE: This list is almost entirely copy/pasted from THIS awesome article. I've made my own personal edits (adding some additional content) which is why I keep it here.

Every day meanpath crawls over 200 million websites capturing the visible text, HTML source code, CSS and Javascript. This information is used by many companies to monitor the growth of web facing technology.

@zackthehuman
zackthehuman / hexagons.js
Created February 20, 2012 03:46
Drawing a hexagonal grid with HTML canvas
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>Canvas Hexagonal Map</title>
<style type="text/css">
canvas {
border:0;
display:block;
margin:0 auto;