Skip to content

Instantly share code, notes, and snippets.

☀️
Catching the sun

Dmitry Polushkin dmitry

☀️
Catching the sun
Block or report user

Report or block dmitry

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View a.json
[{"id":4,"folder":"music\/\u041c\u043e\u043a\u0440\u043e\u0443\u0441\u043e\u0432","filename":"\u0410\u0445, \u043a\u0430\u043a \u0445\u043e\u0447\u0435\u0442\u0441\u044f \u043f\u0440\u043e\u0441\u043d\u0443\u0442\u044c\u0441\u044f \u0420 \u041c\u043e\u043a\u0440\u043e\u0443\u0441\u043e\u0432 \u0415 \u0417\u044f\u0442\u0435\u0432\u0430.mp3","name":"\u0420\u043e\u043c\u0430\u043d \u041c\u043e\u043a\u0440\u043e\u0443\u0441\u043e\u0432 \u0438 \u0415\u043a\u0430\u0442\u0435\u0440\u0438\u043d\u0430 \u0417\u044f\u0442\u0435\u0432\u0430 - \u0410\u0445, \u043a\u0430\u043a \u0445\u043e\u0447\u0435\u0442\u0441\u044f \u043f\u0440\u043e\u0441\u043d\u0443\u0442\u044c\u0441\u044f","artist":"\u0420\u043e\u043c\u0430\u043d \u041c\u043e\u043a\u0440\u043e\u0443\u0441\u043e\u0432 \u0438 \u0415\u043a\u0430\u0442\u0435\u0440\u0438\u043d\u0430 \u0417\u044f\u0442\u0435\u0432\u0430","title":"\u0410\u0445, \u043a\u0430\u043a \u0445\u043e\u0447\u0435\u0442\u0441\u044f \u043f\u0440\u043e\u0441\u043d\u0443\u0442\u044c\u0441\u044f","genre
View vue-i18n-async.js
import merge from 'lodash.merge';
export default {
data() {
return {
translationMessageLoaded: false
};
},
created() {
if (!this.$root.i18nComponents) {
View gist:f8c5c2b7c8bfafbcc4ded36c3f1f562e
https://takeout.google.com/
http://nearby.org.uk/convert-saved-places.php
https://kml2gpx.com/?results
@dmitry
dmitry / gist:da7d835307d77ecc6d9c597c6fbf09e4
Created Jul 29, 2019
Kinnisvara недвижимость эстония продажа
View gist:da7d835307d77ecc6d9c597c6fbf09e4
https://www.facebook.com/groups/375161055994516
kuldnebors.ee
okidoki
kv.ee
city24.ee
soov
Kinnisvara24
osta.ee
View gist:c0fef7c87041a76589fad9e61bdd521e
WWOOF - http://www.wwoof.org/
Help Exchange http://www.helpx.net/
Global Ecovillage Network ecovillage.org/
View Алег Русак и Алеся Алисиевич - Я Дарю Тебе Мечту
Dm__________Gm
Нежность....Нега...
_________C
Я в тебя плыву,лечу....
F___________________B
Я лучом,дождем и снегом
В твою душу постучу.
Gm
Прошепчу тебе признанье
View gist:b8d741a3862ba950a85aeb04d2d13319
https://fasttext.cc/docs/en/supervised-tutorial.html
https://www.samtalksml.net/aligning-vector-representations/
https://medium.com/@makcedward/from-my-experience-i-just-try-a-magic-number-d4dcc6179ea3
https://habr.com/ru/post/436878/
View weather-rain-estonia.rb
require 'open-uri'
urls = %w(3 6 9 12 15 18 21 24 27 30 33 36 39 42 45 48 54 60 66 72 84 96 108 120 132 144 156 168 180).map do |i|
"https://www.passageweather.com/maps/baltic/rain/%03d.png" % i
end
`wget #{urls.join(' ')}`
`convert -loop 0 -delay 50 *.png rain.gif`
`rm *.png`
View gist:2117358fc5018d407aee2b0a78486c34
https://answers.microsoft.com/en-us/skype/forum/skype_linux-skype_callms-skype_audioms/skype-for-linux-beta-sound-problem/6ea7f878-5c6c-42b3-bc86-cef605f13397
https://wiki.archlinux.org/index.php/PulseAudio
http://www.pc-freak.net/blog/how-to-fix-pulseaudio-and-skype-crappy-sound-glitches-choppy-sound-and-crackling-on-debian-gnu-linux/
https://askubuntu.com/questions/279407/how-to-disable-microphone-from-auto-adjusting-its-input-volume
@dmitry
dmitry / paperclip_cleanup_undeleted_files.rb
Last active Feb 8, 2018
Cleanup undeleted paperclip files from the filesystem
View paperclip_cleanup_undeleted_files.rb
a = Dir[Rails.root.join('public/system/photos/original/*').to_s]; 1
not_exists = a.map {|v| v.match(/\/([^\/]+)\.[^\/]*\z/).to_a[1].to_i } - Photo.pluck(:id)
not_exists.count
files = Dir[Rails.root.join('public/system/photos/**/*').to_s]; 1
match = Regexp.new("\/(#{not_exists.join('|')})\\.[^\/]*\\z")
matched = files.select {|v| v =~ match }; 1
You can’t perform that action at this time.