Cross-browser function to trigger DOM events.
#!/bin/sh | |
# Sublime Text 3 Install (last update: Monday 13 March 2017) | |
# | |
# No need to download this script, just run it on your terminal: | |
# | |
# curl -L git.io/sublimetext | sh | |
# Detect the architecture |
var express = require("express"); | |
var app = express(); | |
app.get("/restricted", function(req, res, next){ | |
// Grab the "Authorization" header. | |
var auth = req.get("authorization"); | |
// On the first request, the "Authorization" header won't exist, so we'll set a Response | |
// header that prompts the browser to ask for a username and password. |
clear | |
curdir="${0%/*}" | |
uglifyjs -v \ | |
$curdir/jquery/jquery.js \ | |
$curdir/twbs/js/bootstrap.js \ | |
$curdir/superfish/superfish.js \ | |
$curdir/site/js/site.js \ | |
-o $curdir/../../js/app.js \ | |
-m | |
echo 'JS files compiled successfully!' |
anglar.module('myApp',['ui']).config(["$provide", function($provide) { | |
return $provide.decorator("$http", ["$delegate", function($delegate) { | |
var get = $delegate.get; | |
$delegate.get = function(url, config) { | |
// Check is to avoid breaking AngularUI ui-bootstrap-tpls.js: "template/accordion/accordion-group.html" | |
if (!~url.indexOf('template/')) { | |
// Append ?v=[cacheBustVersion] to url | |
url += (url.indexOf("?") === -1 ? "?" : "&"); | |
url += "v=" + cacheBustVersion; | |
} |
- si el post original dice "mejor" skip it. | |
- si dice offtopic you should read it. | |
- si dije java y .net en la misma oracion skip it. | |
- Si melvyn arranco el post skip it. | |
- If it has more than 50 replies skip it. | |
- if marmolejos answered first skip it. | |
- if Orly quotes the rules skip it. | |
- if it contains php next, probably not worth it. | |
- si dice morrison, dodo o software libre skip it. |
Here are some guidelines that will make me actually like your amazing new web application!
-
Make sure encoding is handled properly every step of the way. If
’
comes out as’
, you’ve got a problem on your hands. 😊 -
Make it accessible. Turn off images, JavaScript, and CSS. If your website is still legible and usable (it’s okay if it’s just barely usable, or not particularly interactive) then you are already in the top 0.01%.
-
Check your grammar. One of the fastest ways to lose respect in a blog post (or worse — in body copy) is to make basic orthographical or grammatical mistakes. These include, but are not limited to:
- Missing apostrophes — [Bitbucket even did that][bitbucket-apostrophe-catastrophe].
Most active GitHub users (git.io/top)
The list would not be updated for now. Don't write comments.
The count of contributions (summary of Pull Requests, opened issues and commits) to public repos at GitHub.com from Wed, 21 Sep 2022 till Thu, 21 Sep 2023.
Because of GitHub search limitations, only 1000 first users according to amount of followers are included. If you are not in the list you don't have enough followers. See raw data and source code. Algorithm in pseudocode:
githubUsers
$ git branch -r --merged | | |
grep origin | | |
grep -v '>' | | |
grep -v master | | |
xargs -L1 | | |
awk '{split($0,a,"/"); print a[2]}' | | |
xargs git push origin --delete |
In this document I am using Sass's SCSS syntax. You can choose to use the indented syntax in sass, if you prefer it, it has no functional differences from the SCSS syntax.
For Less, I'm using the JavaScript version because this is what they suggest on the website. The ruby version may be different.