Skip to content

Instantly share code, notes, and snippets.

View vsmida's full-sized avatar

Vladimir Smida vsmida

View GitHub Profile
@suhajdab
suhajdab / getCircadianValues.js
Last active September 3, 2024 02:04
Calculate Color Temperature and Brightness for current time in HomeyScript
/**
* Adjust Color temperature and Brightness based on time of day
* as if it were April 16th, a nice long spring day in southern Sweden
*/
const VARIABLE_PREFIX = 'CircadianRhythm_';
const MIN_BRIGHTNESS = 0.12;
const MAX_BRIGHTNESS = 1;
const sys = await Homey.system.getInfo();
@timrobertson100
timrobertson100 / feedback.MD
Created October 14, 2015 10:17
Feedback on meetup

I'd like to thank all the organizers, host and presenter for their time and effort yesterday. I am excited to see a growing tech meetup community which I hope to participate fully in. I enjoyed meeting people, and Peter's presentation.

I'd like to provide feedback, which I hope is constructive for future events.

I thought the session was slightly misleading in the advertising. I had expected to hear about real experience of big data analysis using spark and specifically on machine learning algorithms - perhaps touching on topics like infrastructure tuning, runtime performance on various workloads, partitioning strategies or which primitives of spark are suited to which statistical analyses etc. I think the presentation was more geared at watching someone go through some "hello world" level examples and without real experience of "big" data - a 3 node temporary cluster built from desktops is rather early in a big data infrastructure adoption path.

It is totally necessary to have more introductory lev

@t-io
t-io / osx_install.sh
Last active January 2, 2026 16:35
Install most of my Apps with homebrew & cask
#!/bin/sh
echo Install all AppStore Apps at first!
# no solution to automate AppStore installs
read -p "Press any key to continue... " -n1 -s
echo '\n'
echo Install and Set San Francisco as System Font
ruby -e "$(curl -fsSL https://raw.github.com/wellsriley/YosemiteSanFranciscoFont/master/install)"
echo Install Homebrew, Postgres, wget and cask
ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)"
@chitchcock
chitchcock / 20111011_SteveYeggeGooglePlatformRant.md
Created October 12, 2011 15:53
Stevey's Google Platforms Rant

Stevey's Google Platforms Rant

I was at Amazon for about six and a half years, and now I've been at Google for that long. One thing that struck me immediately about the two companies -- an impression that has been reinforced almost daily -- is that Amazon does everything wrong, and Google does everything right. Sure, it's a sweeping generalization, but a surprisingly accurate one. It's pretty crazy. There are probably a hundred or even two hundred different ways you can compare the two companies, and Google is superior in all but three of them, if I recall correctly. I actually did a spreadsheet at one point but Legal wouldn't let me show it to anyone, even though recruiting loved it.

I mean, just to give you a very brief taste: Amazon's recruiting process is fundamentally flawed by having teams hire for themselves, so their hiring bar is incredibly inconsistent across teams, despite various efforts they've made to level it out. And their operations are a mess; they don't real

@clintel
clintel / gist:1155906
Created August 19, 2011 02:40
Fenced code in bullet lists with GitHub-flavoured MarkDown??

Fenced code blocks inside ordered and unordered lists

  1. This is a numbered list.

  2. I'm going to include a fenced code block as part of this bullet:

    Code
    More Code