Skip to content

Instantly share code, notes, and snippets.

View c01nd01r's full-sized avatar

Stanislav c01nd01r

View GitHub Profile

Если бы я строил полную учебную программу по computer science, то мат основа там была бы примерно такая:

  1. Логика и дискретная математика. Тут же основы теории множеств и теории чисел. Эти штуки можно изучать в изоляции от всего остального, многим даже далеким от математики эти темы нравятся (особенно теория чисел), и эта среда хорошо подходит для привыкания к мат. доказательствам, индукции и пр.

  2. Мат анализ. Не критично, но как минимум для тренировки мозга очень важный курс, можно экспрессом.

  3. Линейная алгебра. Сильно зависит от будущих целей. Если интересна графика, игры, виртуальная реальность — то линейная алгебра обязательна. Но если нет — то как минимум экспрессом один курс желателен. Отлично вправляет мозги, развивает абстрактное мышление, очень важное в программировании в целом. Представлять себе многомерные структуры и их взаимосвязь — это очень круто. Главное в линейке не попасться в ту же ловушку, в которую попадаются при изучении мат. анализа: в этих штуках можно запомнить механически прав

@githubutilities
githubutilities / README.md
Last active September 3, 2019 19:16
Mac first aid
@bahmutov
bahmutov / bio.md
Last active January 28, 2020 01:35
Performance measurement using Chrome DevTools code snippets

Gleb Bahmutov is JavaScript ninja, image processing expert and software quality fanatic. After receiving a PhD in computer science from Purdue University, Gleb worked on laser scanners, 3D reconstruction, and panorama-based virtual tours at EveryScape. Later Gleb switched to writing browser data visualization software at MathWorks. After a year, Gleb went back to the startup environment and developed software quality analysis tools at uTest (now Applause). Today Gleb is developing real-time financial analysis tools at Kensho. He blogs about software development topics at http://bahmutov.calepin.co/ and links his projects at http://glebbahmutov.com/. You can follow him and his work @bahmutov

@exdeniz
exdeniz / autofill-reset.css
Created May 24, 2020 00:56
Full reset autofill
input:-webkit-autofill,
input:-webkit-autofill::first-line,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus,
select:-webkit-autofill,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus {
@busypeoples
busypeoples / IntroductionToFlow.md
Last active June 29, 2020 08:22
Introduction To Flow

Introduction To Flow

Intended for developers interested in getting started with Flow. At the end of this introduction, you should have a solid understanding of Flow and how to apply it when building an application.

Covers all the basics needed to get started with Flow.

Covers all the basic needed to get started with Flow and ReactJS.

function partition(inputArray, callback) {
const result = {};
for (const [indexOfValue, value] of inputArray.entries()) {
const propertyKey = callback(value, indexOfValue);
if (propertyKey === null || propertyKey === '') {
continue;
}
if (!{}.hasOwnProperty.call(result, propertyKey)) {
result[propertyKey] = [];
}
@AbraXabra
AbraXabra / index.php
Created June 25, 2017 07:32
Настройки Bitrix для MAMP PRO
Прописываем в VirtualHost:
php_admin_value mbstring.func_overload 2
php_admin_value mbstring.internal_encoding utf-8
@nemethmik
nemethmik / main.dart
Created January 19, 2019 07:19
A self-contained runnable Flutter example of using StatefulBuilder to make a wrapper context for Form.of (line 21) to return the parent form (line 11)
import "package:flutter/material.dart";
//https://github.com/flutter/flutter/issues/26772#issuecomment-455674193
main() {runApp(MaterialApp(home:HomeScreen()));}
class HomeScreen extends StatefulWidget {@override createState() {return _HomeScreen();}}
class _HomeScreen extends State<StatefulWidget> {
String data;
final GlobalKey<FormState> formKey = GlobalKey<FormState>();
@override Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(title: Text("Home")),

restore

https://effector.now.sh/en/api/effector/restore

Используется тогда, когда необходимо из ивента напрямую выставить значение в стор в обход .on.

Аналог без restore:

const $store = createStore('');
const event = createEvent();
$store.on(event, (_, payload) => payload);
@zorgsoft
zorgsoft / user.php
Created February 17, 2012 13:48
Использование jQuery и Ajax в Codeigniter (Урок
<div id="ajax_login">
<form action="">
Login: <input type="text" name="user_login" id="user_login"><br>
Password: <input type="password" name="user_password" id="user_password"><br>
<input type="button" name="send_data" id="send_data" value="Send">
</form>
</div>
<script type="text/javascript">
$('#send_data').live('click', (function(){
// Сначала присваеваем переменным значения из наших полей ввода