О последствиях избыточной заботы матерей о детях.
О том, как найти свою нишу в бизнесе.
Как правильно работать с людьми.
// ==UserScript== | |
// @name Gitlab project favicon | |
// @author Stanislav Popov | |
// @version 0.1 | |
// @namespace popstas.ru | |
// @description Use og:image as favicon on Gitlab pages | |
// @unwrap | |
// @noframes | |
// @run-at document-end | |
// @updateURL https://gist.github.com/popstas/9d17c1b0e1772a84581b3af8a342ad73/raw/1f2c562a128568e1b220457bdab1e9d60dc1467d/gitlab-project-favicon.user.js |
[ | |
{ | |
"name": "Ubuntu AppIndicators", | |
"url": "https://github.com/ubuntu/gnome-shell-extension-appindicator" | |
}, | |
{ | |
"name": "Ubuntu Dock", | |
"url": "https://micheleg.github.io/dash-to-dock/" | |
}, | |
{ |
#!/usr/bin/env node | |
// replace all UTC dates to local dates in pipe | |
// usage: docker logs -t container_name | docker-logs-localtime | |
// install: | |
// curl https://gist.githubusercontent.com/popstas/ffcf282492fd78389d1df2ab7f31052a/raw/505cdf97c6a1edbb10c3b2b64e1836e0627b87a0/docker-logs-localtime > /usr/local/bin/docker-logs-localtime && chmod +x /usr/local/bin/docker-logs-localtime | |
// alternative: https://github.com/HuangYingNing/docker-logs-localtime | |
const pad = d => (d > 9 ? d : '0' + d); |
'''Trains a simple deep NN on the MNIST dataset. | |
Gets to 98.40% test accuracy after 20 epochs | |
(there is *a lot* of margin for parameter tuning). | |
2 seconds per epoch on a K520 GPU. | |
''' | |
from __future__ import print_function | |
import os | |
# os.environ['CUDA_VISIBLE_DEVICES']='-1' |
<?php | |
$filename = 'planfix-tasks.json'; | |
if($_POST['tasks']) { | |
file_put_contents($filename, $_POST['tasks']); | |
return; | |
} | |
$lists = json_decode(file_get_contents($filename)); | |
foreach($lists as $listName => $data) { |
{ | |
"annotations": { | |
"list": [ | |
{ | |
"builtIn": 1, | |
"datasource": "-- Grafana --", | |
"enable": true, | |
"hide": true, | |
"iconColor": "rgba(0, 211, 255, 1)", | |
"name": "Annotations & Alerts", |
/* | |
стиль используется для личного ПФ | |
раскрашен нормально только планировщик | |
https://gist.github.com/popstas/6de4dee93916da01d92d188127c57911 | |
*/ | |
:root { | |
--bg: #121212; | |
--bg-hover:#333; | |
--card-bg: #1E1E1E; |
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases. | |
SendMode Input ; Recommended for new scripts due to its superior speed and reliability. | |
LeftX := 0 | |
LeftY := 0 | |
RightX := 2560 | |
RightY := -920 | |
ResetWindowSize() { | |
WinGet activeWin, ID, A | |
posX := 0 |