This file contains 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
https://takeout.google.com/ | |
http://nearby.org.uk/convert-saved-places.php | |
https://kml2gpx.com/?results |
This file contains 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
https://www.facebook.com/groups/375161055994516 | |
kuldnebors.ee | |
okidoki | |
kv.ee | |
city24.ee | |
soov | |
Kinnisvara24 | |
osta.ee |
This file contains 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
WWOOF - http://www.wwoof.org/ | |
Help Exchange http://www.helpx.net/ | |
Global Ecovillage Network ecovillage.org/ |
This file contains 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
Dm__________Gm | |
Нежность....Нега... | |
_________C | |
Я в тебя плыву,лечу.... | |
F___________________B | |
Я лучом,дождем и снегом | |
В твою душу постучу. | |
Gm | |
Прошепчу тебе признанье |
This file contains 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
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/ |
This file contains 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
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` |
This file contains 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
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 |
This file contains 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
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 |
This file contains 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
# For each database: | |
ALTER DATABASE century21_development CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci; | |
# For each table: | |
SELECT CONCAT('ALTER TABLE `', TABLE_NAME,'` CONVERT TO CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;') AS mySQL FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_SCHEMA= "century21_development" | |
# For each column: | |
select CONCAT('ALTER TABLE `', TABLE_SCHEMA, '.', TABLE_NAME,'` CHANGE ',COLUMN_NAME,' ', COLUMN_NAME, ' ', DATA_TYPE,'(',CHARACTER_MAXIMUM_LENGTH,') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;') as column_alter from INFORMATION_SCHEMA.COLUMNS WHERE DATA_TYPE IN('varchar', 'text') AND TABLE_SCHEMA = 'century21_development' |
This file contains 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
require 'open-uri' | |
require 'nokogiri' | |
domain = 'https://slavmir.fm' | |
Nokogiri::HTML(open(domain + '/blogs/programmy')).css('.article_preview').to_a.each do |v| | |
url = domain + v.attributes['href'].value | |
Nokogiri::HTML(open(url)).css('.track-play').to_a.each do |z| | |
`curl "#{z.attributes['data-play-music'].value}" -O` |