Use :remote => true option on link_to and paginate Region index page
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# run it as DEBUG=true rails test | |
if ENV['DEBUG'] | |
Rails.logger = Logger.new(STDOUT) | |
Rails.logger.level = Logger::INFO | |
Rails.logger.datetime_format = "" | |
Rails.logger.formatter = proc do |severity, _time, _progname, msg| | |
"#{severity.green}: #{msg}\n" | |
end | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Precompile all JS/CSS in root of app/assets/stylesheets and app/assets/javascripts | |
config.assets.precompile += | |
Dir[::Rails.root.join('app/assets/*/*.{js,css,coffee,sass,scss}*')]. | |
map { |i| File.basename(i).sub(/(\.js)?\.coffee$/, '.js') }. | |
map { |i| File.basename(i).sub(/(\.css)?\.(sass|scss)$/, '.css') }. | |
reject { |i| i =~ /^application\.(js|css)$/ } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
; Rbutton related | |
#SingleInstance Force | |
SendMode Input | |
Process, Priority, , High | |
SetBatchLines, -1 | |
; ahk Mozilla... | |
SetTitleMatchMode, Regex | |
; Capslock related | |
SetCapsLockState, AlwaysOff |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: 2 | |
jobs: | |
checkout_and_deps: | |
docker: | |
- image: circleci/ruby:2.5.1-node-browsers | |
steps: | |
- checkout | |
- run: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### NOT A SCRIPT, JUST A REFERENCE! | |
# install dante-server | |
sudo apt update | |
sudo apt install dante-server | |
# or download latest dante-server deb for Ubuntu, works for 16.04. and 18.04: | |
wget http://archive.ubuntu.com/ubuntu/pool/universe/d/dante/dante-server_1.4.2+dfsg-2build1_amd64.deb | |
# or older version: | |
wget http://ppa.launchpad.net/dajhorn/dante/ubuntu/pool/main/d/dante/dante-server_1.4.1-1_amd64.deb |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# vim: set ft=python: | |
# see the README at https://gist.github.com/phiresky/4bfcfbbd05b3c2ed8645 | |
# source: https://github.com/mpv-player/mpv/issues/2149 | |
# source: https://github.com/mpv-player/mpv/issues/566 | |
# source: https://github.com/haasn/gentoo-conf/blob/nanodesu/home/nand/.mpv/filters/mvtools.vpy | |
import vapoursynth | |
core = vapoursynth.get_core() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.git | |
.gitignore | |
/doc | |
.yardoc | |
coverage | |
jsdoc | |
/tmp | |
/log | |
Dockerfile | |
Dockerfile.prod |
Эта инструкция собрана по крупицам анонов и призвана помочь всем тем, кто не знает как скачивать личные документы из вк. Часто возникает один вопрос:
Можно ли скачивать личные документы конкретного пользователя вк?
Да, можно и нужно. Читай подробнее инструкцию и поймешь как это сделать.
- Заходим на vk.com/docs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); | |
:root:-moz-lwtheme-brighttext { | |
--chrome-background-color: #424242 !important; | |
--chrome-color: #8f8f8f !important; | |
--chrome-secondary-background-color: #363636 !important; | |
--toolbox-border-bottom-color: #333333 !important; | |
--url-and-searchbar-border-color: #333333 !important; | |
--focus-ring-box-shadow: #191917 !important; | |
--url-and-searchbar-background-color: #363636 !important; |