Skip to content

Instantly share code, notes, and snippets.

Привет всем зрителям на Ютубе!

Paul Zloi EvilFreelancer

Привет всем зрителям на Ютубе!
Block or report user

Report or block EvilFreelancer

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
phackwer / City Model
Created Jun 7, 2017
Laravel 5 - all cities, regions, states and countries from Gazeteer
View City Model
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
class City extends Model
* @var array
lloss / l.js
Last active Apr 14, 2017
View l.js
const axios = require("axios");
const urls = ['', ''];
async function asyncLoadAllTheChunks() {
const resps = await Promise.all(> axios.get(url)))
const [first, second] = resps;
тут первый ${first}
тут второй ${second}
View package.json
// ...
"scripts": {
"build": "neo build --config",
"start": "neo start --port 3001 --config",
// ...
// ...
View test-php-basic-auth.php
function require_auth() {
$AUTH_USER = 'admin';
$AUTH_PASS = 'admin';
header('Cache-Control: no-cache, must-revalidate, max-age=0');
$has_supplied_credentials = !(empty($_SERVER['PHP_AUTH_USER']) && empty($_SERVER['PHP_AUTH_PW']));
$is_not_authenticated = (
!$has_supplied_credentials ||
artizirk / readme.txt
Created Apr 10, 2015
Huawei E3372h-153
View readme.txt
Working Huawei E3372h-153 SETPORT mappings
replacing A1,A2 with FF turns off need for usb_modeswitch
sindresorhus / post-merge
Last active Mar 31, 2020
git hook to run a command after `git pull` if a specified file was changed.In this example it's used to run `npm install` if package.json changed and `bower install` if `bower.json` changed.Run `chmod +x post-merge` to make it executable then put it into `.git/hooks/`.
View post-merge
#!/usr/bin/env bash
# MIT © Sindre Sorhus -
# git hook to run a command after `git pull` if a specified file was changed
# Run `chmod +x post-merge` to make it executable then put it into `.git/hooks/`.
changed_files="$(git diff-tree -r --name-only --no-commit-id ORIG_HEAD HEAD)"
check_run() {
echo "$changed_files" | grep --quiet "$1" && eval "$2"
holms / gist:5005629
Last active Mar 19, 2020
midnight commander dark color theme
View gist:5005629
Edit mc’s ini file (either ~/.mc/ini or ~/.config/mc/ini) and look for the line [Colors]. Then, change the line base_color to this:
Gibbs / currency_symbols.php
Last active Jan 6, 2020
An array of currency symbols as HTML entities
View currency_symbols.php
$currency_symbols = array(
'AED' => '&#1583;.&#1573;', // ?
'AFN' => '&#65;&#102;',
'ALL' => '&#76;&#101;&#107;',
'AMD' => '',
'ANG' => '&#402;',
'AOA' => '&#75;&#122;', // ?
'ARS' => '&#36;',
'AUD' => '&#36;',
You can’t perform that action at this time.