Skip to content

Instantly share code, notes, and snippets.

с посланием вы образно говоря вынимали из рукава трион за триллионом и таким образом предложили план развития страны совершенно удивительной это другая россия с другой инфраструктурой другой социальной системы но просто страна мечты но так и хочется спросить задать ваш любимый вопрос из высоцкого где деньги зен мы их заработали вообще во первых это все свойственно в результате кропотливой работы экспертного сообщества специалистов правительства администрации все полностью вписывается в бюджетное правило и на самом деле носит достаточно консервативный характер потому что некоторые эксперты считают что
доходов должно быть и будет больше значит нужно было бы запланировать и большие расходы потому что это напрямую должно отражаться на извините перспективах развития экономики ну в целом правильно но мы и восемнадцатом году дополнительно планировали направить на развитие экономики социальной сферы восемь триллионов а потом увеличивали эти расходы я думаю что вполне вероятно если все сложится так как говорят оптимис
@vinnitu
vinnitu / obiwan.m3u
Last active September 1, 2022 11:43
#EXTM3U
#EXTINF:-1, Обі-Ван Кенобі 1080 - s01e01
https://blackpearl.tortuga.wtf/content/stream/serials/obiwan.kenobi.s01e01.ci.mvo_76873/hls/1080/index.m3u8
#EXTINF:-1, Обі-Ван Кенобі hls - s01e01
https://blackpearl.tortuga.wtf/content/stream/serials/obiwan.kenobi.s01e01.ci.mvo_76873/hls/index.m3u8
@vinnitu
vinnitu / astronomy.js
Last active June 23, 2021 16:12
triangulate only
exports.KM_PER_AU = 1.4959787069098932e+8;
exports.DEG2RAD = 0.017453292519943296;
exports.RAD2DEG = 57.295779513082321;
const EARTH_FLATTENING = 0.996647180302104;
const EARTH_EQUATORIAL_RADIUS_KM = 6378.1366;
const EARTH_POLAR_RADIUS_KM = EARTH_EQUATORIAL_RADIUS_KM * EARTH_FLATTENING;
function inverse_terra(ovec) {
// Convert from AU to kilometers
const x = ovec[0] * exports.KM_PER_AU;
We can't make this file beautiful and searchable because it's too large.
-0.268,0.042,0.131,-0.110,-0.178,-0.030,-0.021,-0.109,0.212,-0.127,0.161,-0.093,-0.272,0.069,-0.068,0.205,-0.133,-0.154,-0.151,-0.063,-0.001,0.168,-0.040,0.047,-0.062,-0.350,-0.102,-0.040,-0.032,0.005,-0.003,0.096,-0.210,-0.083,0.044,0.182,-0.087,-0.107,0.186,-0.028,-0.273,-0.030,0.160,0.199,0.164,-0.070,0.016,-0.101,0.135,-0.285,-0.043,0.173,0.203,0.051,0.122,-0.151,-0.033,0.169,-0.169,0.040,0.046,-0.134,-0.037,-0.106,0.178,0.117,-0.133,-0.175,0.217,-0.110,-0.041,0.164,-0.144,-0.191,-0.339,0.017,0.425,-0.003,-0.110,0.040,-0.067,-0.046,-0.122,0.110,-0.089,0.012,-0.091,0.081,0.237,-0.069,0.029,0.190,0.036,-0.018,0.001,0.159,-0.113,-0.113,-0.132,-0.012,0.073,-0.076,-0.003,0.107,-0.156,0.108,-0.058,-0.076,-0.075,-0.070,-0.037,0.005,0.191,-0.188,0.126,0.103,-0.125,0.163,0.038,0.073,-0.057,-0.010,-0.111,-0.142,0.082,0.017,0.035,0.059
-0.173,0.016,0.118,-0.066,-0.143,-0.061,-0.069,-0.100,0.185,-0.154,0.162,-0.090,-0.249,0.086,-0.037,0.193,-0.137,-0.154,-0.146,-0.068,-0.042,0.110,-0.014,0.052,-0.080,-0.333,-0.111,-0
@vinnitu
vinnitu / App.vue
Last active June 10, 2020 18:13
test vue3 use
<template>
<button ref='button' @click='count++' v-resize='onResize'>count is {{ count }}</button>
</template>
<script>
export default {
data () {
return {
count: 8
}
(function(g,f){typeof exports==='object'&&typeof module!=='undefined'?f(exports,require('d3-selection'),require('@d3fc/d3fc-chart'),require('@d3fc/d3fc-rebind'),require('d3-scale'),require('d3-color'),require('d3-shape'),require('d3-array'),require('@d3fc/d3fc-series')):typeof define==='function'&&define.amd?define(['exports','d3-selection','@d3fc/d3fc-chart','@d3fc/d3fc-rebind','d3-scale','d3-color','d3-shape','d3-array','@d3fc/d3fc-series'],f):(g=g||self,f(g.fcWebgl={},g.d3,g.fc,g.fc,g.d3,g.d3,g.d3,g.d3,g.fc));}(this,function(exports, d3Selection, d3fcChart, d3fcRebind, d3Scale, d3Color, d3Shape, d3Array, d3fcSeries){'use strict';var cartesian = (function (xScale, yScale) {
var base = d3fcChart.chartCartesian(xScale, yScale);
var chart = function chart(selection) {
var result = base(selection);
selection.select('d3fc-canvas.plot-area').on('draw', function (d, i, nodes) {
var canvas = d3Selection.select(nodes[i]).select('canvas').node();
var series = base.canvasPlotArea();
seri
@vinnitu
vinnitu / gist:56f98e06a9fe0ee5e5347b949583ba8c
Created May 23, 2019 10:01
find xpath by content text, find text by xpath
function createXPathFromElement(elm) {
var allNodes = document.getElementsByTagName('*');
for (var segs = []; elm && elm.nodeType == 1; elm = elm.parentNode)
{
if (elm.hasAttribute('id')) {
var uniqueIdCount = 0;
for (var n=0;n < allNodes.length;n++) {
if (allNodes[n].hasAttribute('id') && allNodes[n].id == elm.id) uniqueIdCount++;
if (uniqueIdCount > 1) break;
};
topic: ~INTRODUCTIONS ()
?: () $$question = ?
u: (\[ _* \] _*) # grab params and main sentence
# sample sentence [ location:6 space:5 ] This is my input
# a param looks like location:100
@0 = ^burst('_0 " ") # get all variable assigns as facts
loop
{
$$tmp = first(@0subject) # pick off next param
Enter user name: me
HARRY: Your position is (,)
me: > [y:3 x:1 country:usa] Where I am?
HARRY: [ unknown-word unknown-word unknown-word ] your position is (, 3)