Skip to content

Instantly share code, notes, and snippets.

View Macsch15's full-sized avatar

Maciej Schmidt Macsch15

View GitHub Profile
<?php
function findDuplicate(array $numbers) {
$a = $numbers[0];
$b = $numbers[0];
while (true) {
$a = $numbers[$a];
$b = $numbers[$numbers[$b]];
sudo chown -R testuser:testuser /var/www/test/public_html
:root {
--blue: #007bff;
--indigo: #6610f2;
--purple: #6f42c1;
--pink: #e83e8c;
--red: #dc3545;
--orange: #fd7e14;
--yellow: #ffc107;
--green: #28a745;
--teal: #20c997;
/*! *****************************************************************************
Copyright (c) Microsoft Corporation. All rights reserved.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
this file except in compliance with the License. You may obtain a copy of the
License at http://www.apache.org/licenses/LICENSE-2.0
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
MERCHANTABLITY OR NON-INFRINGEMENT.
[
{
"regex": "360Spider(-Image|-Video)?",
"category": "Search bot",
"url": "http://www.so.com/help/help_3_2.html",
"producer": {
"url": "",
"name": "Online Media Group, Inc."
},
"name": "360Spider"
.aaa
.aarp
.abarth
.abb
.abbott
.abbvie
.abc
.able
.abogado
.abudhabi
101com.com
101order.com
123found.com
123freeavatars.com
16
180hits.de
180searchassistant.com
1999
1rx.io
2019
const explodeArray = (flatArray, segments) => {
let container = [];
for (let iterator = 0, key = -1; iterator < flatArray.length; iterator++) {
if (iterator % segments === 0) {
key++;
container[key] = [];
}
container[key].push(flatArray[iterator]);
@Macsch15
Macsch15 / tor_ip_list.txt
Created October 10, 2019 13:36
TOR IP addresses
1.161.127.192
102.165.51.33
103.15.28.215
103.208.220.122
103.208.220.226
103.234.220.195
103.249.28.195
103.28.53.138
103.73.67.198
103.75.190.11
City Name = "Aachen, DE" Location = "EUR|DE|GM011|AACHEN" Country = "Germany"
City Name = "Aalborg, DK" Location = "EUR|DK|DA007|AALBORG" Country = "Denmark"
City Name = "Aalesund, NO" Location = "EUR|NO|NO007|AALESUND" Country = "Norway"
City Name = "Aare, SE" Location = "EUR|SE|SW006|AARE" Country = "Sweden"
City Name = "Aarhus, DK" Location = "EUR|DK|DA001|AARHUS" Country = "Denmark"
City Name = "Aba, NG" Location = "AFR|NG|NI008|ABA" Country = "Nigeria"
City Name = "Abadan, IR" Location = "MEA|IR|IR016|ABADAN" Country = "Iran"
City Name = "Abakan, RU" Location = "ASI|RU|RS033|ABAKAN" Country = "Russia"
City Name = "Abbotsford, CA" Location = "NAM|CA|BC|ABBOTSFORD" Country = "Canada"
City Name = "Abeokuta, NG" Location = "AFR|NG|NI000|ABEOKUTA" Country = "Nigeria"