UPDATE a fork of this gist has been used as a starting point for a community-maintained "awesome" list: machine-learning-with-ruby Please look here for the most up-to-date info!
- liblinear-ruby: Ruby interface to LIBLINEAR using SWIG
| --- | |
| apiVersion: v1 | |
| kind: ConfigMap | |
| metadata: | |
| name: recyclarr | |
| namespace: media | |
| data: | |
| recyclarr.yaml: | | |
| sonarr: | |
| sonarr-main: |
This simple script will take a picture of a whiteboard and use parts of the ImageMagick library with sane defaults to clean it up tremendously.
The script is here:
#!/bin/bash
convert "$1" -morphology Convolve DoG:15,100,0 -negate -normalize -blur 0x1 -channel RBG -level 60%,91%,0.1 "$2"
| $red: rgb(255,87,32); | |
| $red-alt: rgb(255,28,60); | |
| $orange: rgb(255, 192, 65); | |
| $orange-alt: rgb(255, 149, 0); | |
| $yellow: rgb(255,239,65); | |
| $yellow-alt: rgb(255,192,1); | |
| $green: rgb(162, 235, 61); |
Attention: the list was moved to
https://github.com/dypsilon/frontend-dev-bookmarks
This page is not maintained anymore, please update your bookmarks.
| <% base_url = "http://youdomain.com/" %> | |
| <% pages = sitemap.resources.find_all{|p| p.source_file.match(/\.html/) } %> | |
| <?xml version="1.0" encoding="UTF-8"?> | |
| <urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"> | |
| <% pages.each do |p| %> | |
| <url> | |
| <loc><%= base_url + p.destination_path.gsub('index.html','') %></loc> | |
| <% if priority = p.metadata[:page]['priority'] %> | |
| <priority><%= priority %> </priority> | |
| <% end %> |
| <% base_url = "http://youdomain.com/" %> | |
| <% pages = sitemap.resources.find_all{|p| p.source_file.match(/\.html/) } %> | |
| <?xml version="1.0" encoding="UTF-8"?> | |
| <urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"> | |
| <% pages.each do |p| %> | |
| <url> | |
| <loc><%= base_url + p.destination_path.gsub('index.html','') %></loc> | |
| <% if priority = p.metadata[:page]['priority'] %> | |
| <priority><%= priority %> </priority> | |
| <% end %> |
| <% pages = sitemap.resources.find_all{|p| p.source_file.match(/\.html/) } %> | |
| <?xml version="1.0" encoding="UTF-8"?> | |
| <urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"> | |
| <% pages.each do |p| %> | |
| <url> | |
| <loc>http://youdomain.com/<%=p.destination_path.gsub('/index.html','')%></loc> | |
| <priority>0.7</priority> | |
| </url> | |
| <% end %> | |
| </urlset> |
| #!/usr/bin/env sh | |
| ## | |
| # This is script with usefull tips taken from: | |
| # https://github.com/mathiasbynens/dotfiles/blob/master/.osx | |
| # | |
| # install it: | |
| # curl -sL https://raw.github.com/gist/2108403/hack.sh | sh | |
| # |