Awesome List Updates on Feb 09, 2015
7 awesome lists updated today.
🏠 Home · 🔍 Search · 🔥 Feed · 📮 Subscribe · ❤️ Sponsor
1. Awesome Javascript
Loaders
- ESL (⭐843) - Module loader browser first, support lazy define and AMD.
2. Awesome Remote Job
Articles & Posts
3. Awesome Ruby
Natural Language Processing
- Pragmatic Segmenter (⭐540) - Pragmatic Segmenter is a rule-based sentence boundary detection gem that works out-of-the-box across many languages.
4. Awesome Talks
Functional Programming
- Extreme Cleverness: Functional Data Structures in Scala by Daniel Spiewak [39:24]
5. Awesome Elixir
Eventhandling
- reaxive (⭐281) - Reaxive is a reactive event handling library, inspired by Elm and Reactive Extensions.
Examples and funny stuff
- dice (⭐15) - Roll the dice, in Elixir.
HTTP
- http (⭐12) - HTTP server for Elixir.
6. Htaccess
Rewrite and Redirection / Force HTTPS Behind a Proxy
Force HTTPS Behind a Proxy
Useful if you have a proxy in front of your server performing TLS termination.
RewriteCond %{HTTP:X-Forwarded-Proto} !https
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}
Rewrite and Redirection / Alias a Single Directory
Alias a Single Directory
RewriteEngine On
RewriteRule ^source-directory/(.*) /target-directory/$1 [R=301,L]
Rewrite and Redirection / Alias “Clean” URLs
Alias “Clean” URLs
This snippet lets you use “clean” URLs -- those without a PHP extension, e.g. example.com/users
instead of example.com/users.php
.
RewriteEngine On
RewriteCond %{SCRIPT_FILENAME} !-d
RewriteRule ^([^.]+)$ $1.php [NC,L]
Security / Deny Access to Hidden Files and Directories
Deny Access to Hidden Files and Directories
Hidden files and directories (those whose names start with a dot .
) should most, if not all, of the time be secured. For example: .htaccess
, .htpasswd
, .git
, .hg
...
RewriteCond %{SCRIPT_FILENAME} -d [OR]
RewriteCond %{SCRIPT_FILENAME} -f
RewriteRule "(^|/)\." - [F]
Alternatively, you can just raise a “Not Found” error, giving the attacker no clue:
RedirectMatch 404 /\..*$
Miscellaneous / Switch to Another PHP Version
Switch to Another PHP Version
If you’re on a shared host, chances are there are more than one version of PHP installed, and sometimes you want a specific version for your website. The following snippet should switch the PHP version for you.
AddHandler application/x-httpd-php56 .php
# Alternatively, you can use AddType
AddType application/x-httpd-php56 .php
7. Awesome Courses
Courses / Machine Learning
- CS 231n Convolutional Neural Networks for Visual Recognition Stanford University
- Computer Vision has become ubiquitous in our society, with applications in search, image understanding, apps, mapping, medicine, drones, and self-driving cars. This course is a deep dive into details of the deep learning architectures with a focus on learning end-to-end models for these tasks, particularly image classification. During the 10-week course, students will learn to implement, train and debug their own neural networks and gain a detailed understanding of cutting-edge research in computer vision.
- Lecture Notes
- Lecture Videos
- Github Page
- Prev: Feb 10, 2015
- Next: Feb 08, 2015