It's time someone compiled a list of nationalities to use within a web application. This gist attempts to make a first move at that.
I've also compiled a list of countries
It's time someone compiled a list of nationalities to use within a web application. This gist attempts to make a first move at that.
I've also compiled a list of countries
SELECT (t1.id + 1) as gap_starts_at, | |
(SELECT MIN(t3.id) -1 FROM arrc_vouchers t3 WHERE t3.id > t1.id) as gap_ends_at | |
FROM arrc_vouchers t1 | |
WHERE NOT EXISTS (SELECT t2.id FROM arrc_vouchers t2 WHERE t2.id = t1.id + 1) | |
HAVING gap_ends_at IS NOT NULL | |
gap_starts_at - first id in current gap | |
gap_ends_at - last id in current gap | |
Reference: https://stackoverflow.com/a/6057665/6875460 |
<?php namespace App\Http; | |
use App\Http\Middleware\VerifyRecaptcha; | |
use Illuminate\Foundation\Http\Kernel as HttpKernel; | |
class Kernel extends HttpKernel | |
{ | |
/** | |
* The application's route middleware. | |
* |
<?php | |
/** | |
* Ranking Library | |
* contains alogrithms for story ranking | |
* Basically a PHP Implementation of reddits algorithms | |
* | |
* @author Lucas Nolte <[email protected]> | |
* @since 0.1 | |
* @package Polska Wiadomosc | |
* @subpackage Libraries |
require 'date' | |
# Actually doesn't matter WHAT you choose as the epoch, it | |
# won't change the algorithm. Just don't change it after you | |
# have cached computed scores. Choose something before your first | |
# post to avoid annoying negative numbers. Choose something close | |
# to your first post to keep the numbers smaller. This is, I think, | |
# reddit's own epoch. | |
$our_epoch = Time.local(2005, 12, 8, 7, 46, 43).to_time |
0-00.usa.cc | |
0-mail.com | |
0.pl | |
001.igg.biz | |
0039.cf | |
0039.ga | |
0039.gq | |
0039.ml | |
007addict.com | |
00b2bcr51qv59xst2.cf |
1. Get this file and save it to your hard drive: https://curl.haxx.se/ca/cacert.pem | |
2. Configure `curl.cainfo` in `php.ini` with the full path to the file downloaded in step 1. | |
3. Restart Apache. | |
Reference: https://stackoverflow.com/a/11910818 |
{ | |
"AC": ["+247-####"], | |
"AD": ["+376-###-###"], | |
"AE": ["+971-5#-###-####","+971-#-###-####"], | |
"AF": ["+93-##-###-####"], | |
"AG": ["+1(268)###-####"], | |
"AI": ["+1(264)###-####"], | |
"AL": ["+355(###)###-###"], | |
"AM": ["+374-##-###-###"], | |
"AN": ["+599-###-####","+599-###-####","+599-9###-####"], |
git add *
git stash
git pull