Skip to content

Instantly share code, notes, and snippets.

View vovs03's full-sized avatar
💭
λ Functional Pro | Haskell

Vλadimir Pavλychev vovs03

💭
λ Functional Pro | Haskell
View GitHub Profile
@jodosha
jodosha / README.md
Created September 7, 2017 14:34
Mount Hanami inside Rails

1. Setup

rails new blog
cd blog
hanami new bookshelf
vim Gemfile # add `hanami`
bundle
vim bookshelf/config/environment.rb # See Note 1
@gurland
gurland / main.py
Last active December 7, 2023 11:08
How to delete all your messages from chat in telegram? Easy, just use this program
# Copyright (c) 2017 Stanislav Bobokalo & Alexey Borontov
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
# The above copyright notice and this permission notice shall be included in all
@fedorkk
fedorkk / sublime_plugins.txt
Last active February 2, 2018 09:24
My list of plugins for Sublime3
"AdvancedNewFile",
"Alignment",
"All Autocomplete",
"BracketHighlighter",
"CJSX Syntax",
"Colorsublime",
"ESLint",
"FileDiffs",
"Gist",
"GitSavvy",
@gambala
gambala / application_helper.rb
Last active August 1, 2017 16:27
http://images inside https://site with proxying in nginx
module ApplicationHelper
def http_url(url)
return url if Rails.env.development?
"/http_proxy?url=#{url}"
end
end
@tomshen
tomshen / youtube-download.md
Created May 25, 2017 13:00
How to Download a YouTube Video in MP4 with Subtitles

How to Download a YouTube Video in MP4 with Subtitles

Install youtube-dl:

brew install youtube-dl
pip install youtube-dl

and run the following:

1. Знание основ Ruby, фреймворка Ruby on Rails
- http://guides.rubyonrails.org/
- http://rusrails.ru/
Вопросы:
1. Чем отличается статическая и динамическая типизации в языках программирования?
2. Какие виды наследования поддерживаются в Ruby?
3. Что такое модуль? Какая разница между классом и модулем?
4. Какие есть уровни контроля доступа к методам для классов и модулей?
5. Какие есть способы вызова методов в Ruby?
6. Что означает ключевое слово self?
@egorsmkv
egorsmkv / metrials-go.md
Last active April 20, 2024 12:43
Материалы по Go (golang): мануалы, статьи, книги и ссылки на сообщества

Материалы по Go (golang)

На русском языке

Мануалы и туториалы

  • [Введение в программирование на Go][1]
  • [Маленькая книга о Go][3]
  • [Эффективный Go][2]
  • Есть еще [Краткий пересказ Effective Go на русском языке][4], но 2009 года
@trikitrok
trikitrok / embedded_c_testing_tdd_resources.md
Created December 20, 2016 08:37
Resources for embedded C testing and TDD

Ruby Association Certified Ruby Examination Gold Sample Questions

Q1. Assume that the following code must have the stated execution result.

__(1)__
x.each_line { |line| puts line }

[Execution Result]
apple

Ruby Association Certified Ruby Examination Silver Sample Questions

Q1. Which of the following have true values in Ruby? (Choose two.)

  • (a) ""
  • (b) 0
  • (c) false
  • (d) nil