- index.html
- style.css
- js.js
- mailer.php
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
[ | |
{ | |
"id": "CoenraadS.bracket-pair-colorizer-2", | |
"name": "bracket-pair-colorizer-2", | |
"publisher": "CoenraadS", | |
"version": "0.2.0" | |
}, | |
{ | |
"id": "dbaeumer.vscode-eslint", | |
"name": "vscode-eslint", |
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
function fieldSorterOptimized(fields) { | |
var dir = [], i, l = fields.length; | |
fields = fields.map(function(o, i) { | |
if (o[0] === "-") { | |
dir[i] = -1; | |
o = o.substring(1); | |
} else { | |
dir[i] = 1; | |
} | |
return o; |
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
<?php | |
function add_my_query_var( $link, $query ) { | |
$utm_source = $_GET['utm_source']; //get sort value | |
if ( isset($utm_source) ) { //if browsing posts by votes | |
$link = add_query_arg( 'utm_source', $utm_source, $link ); | |
} | |
$utm_medium = $_GET['utm_medium']; //get sort value | |
if ( isset($utm_medium) ) { //if browsing posts by votes | |
$link = add_query_arg( 'utm_medium', $utm_medium, $link ); |
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
public loginNoLock(username: string, password: string): void { | |
const postData = { | |
username, | |
password, | |
client_id: environment.Auth0.clientID, | |
connection: 'Username-Password-Authentication', | |
scope: environment.Auth0.scope | |
}; | |
const req = this.http.post('https://' + environment.Auth0.domain + '/oauth/ro', postData, { |
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
public signUpNoLock(username: string, password: string, name: string) { | |
const postData = { | |
client_id: environment.Auth0.clientID, | |
email: username, | |
password, | |
connection: 'Username-Password-Authentication', | |
user_metadata: { name } | |
}; | |
const req = this.http.post('https://' + environment.Auth0.domain + '/dbconnections/signup', postData, { |
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
<input class="sign-up__form-input" type="email" name="email" id="email" placeholder="{{ 'Email' }}" | |
[(ngModel)]="email" (keyup.enter)="keytab($event)"> | |
<input class="sign-up__form-input" type="password" name="password" id="password" placeholder="{{ 'Password' }}" | |
[(ngModel)]="password" (keyup.enter)="keytab($event)"> | |
<button >{{ 'ForgotPassword' }}?</button> | |
<button id="login_submit" class="" | |
(click)="loginNoLock(email, password)"> | |
{{ 'SignInLogin' }} | |
</button> |
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
// Portguese(pt) localization of ps.waltheri.net | |
// Localized name: Portuguese | |
{ | |
// Top navigation | |
nav: { | |
pattern_search: "Busca por padrões", | |
database: "Navegar no banco de dados", | |
about: "Sobre", | |
facebook: "Página do Facebook" |
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
#301 Redirects for .htaccess | |
#Redirect a single page: | |
Redirect 301 /pagename.php http://www.domain.com/pagename.html | |
#Redirect an entire site: | |
Redirect 301 / http://www.domain.com/ | |
#Redirect an entire site to a sub folder | |
Redirect 301 / http://www.domain.com/subfolder/ |
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
# -*- encoding: utf-8 -*- | |
# | |
# Python Script - Numeros da Megasena | |
# Faz o download do arquivo da Caixa Economica Federal, com todos os resultados | |
# da Mega já obtidos. Faz uma contagem simples e mostras, em ordem decrescente, | |
# a quantidade de vezes que os nros já foram sorteados. | |
# | |
# Author: Sergio Berlotto <sergio.berlotto@gmail.com> | |
# Author website: http://berlotto.github.io | |
# Licence: GPLv3 |
OlderNewer