Awesome PHP has been relocated permanently to its own Github repository. No further updates will made to this gist.
Please open an issue for any new suggestions.
| #!/usr/bin/perl | |
| # Author: Todd Larason <jtl@molehill.org> | |
| # $XFree86: xc/programs/xterm/vttests/256colors2.pl,v 1.2 2002/03/26 01:46:43 dickey Exp $ | |
| # use the resources for colors 0-15 - usually more-or-less a | |
| # reproduction of the standard ANSI colors, but possibly more | |
| # pleasing shades | |
| # colors 16-231 are a 6x6x6 color cube | |
| for ($red = 0; $red < 6; $red++) { |
Awesome PHP has been relocated permanently to its own Github repository. No further updates will made to this gist.
Please open an issue for any new suggestions.
| /* | |
| * jQuery Double Tap | |
| * Developer: Sergey Margaritov (github.com/attenzione) | |
| * License: MIT | |
| * Date: 22.10.2013 | |
| * Based on jquery documentation http://learn.jquery.com/events/event-extensions/ | |
| */ | |
| (function($){ |
| Starting from balanced: | |
| (sys, eng, wep) | |
| (1.5, 1.5, 3.0) = right | |
| (1.5, 3.0, 1.5) = up | |
| (3.0, 1.5, 1.5) = left | |
| (1.0, 1.0, 4.0) = right, right | |
| (2.5, 2.5, 1.0) = left, up | |
| (1.0, 4.0, 1.0) = up, up | |
| (2.5, 1.0, 2.5) = left, right | |
| (4.0, 1.0, 1.0) = left, left |
| -- default script for clink, called by init.bat when injecting clink | |
| -- !!! THIS FILE IS OVERWRITTEN WHEN CMDER IS UPDATED | |
| -- !!! Use "%CMDER_ROOT%\config\<whatever>.lua" to add your lua startup scripts | |
| -- luacheck: globals clink | |
| -- At first, load the original clink.lua file | |
| -- this is needed as we set the script path to this dir and therefore the original | |
| -- clink.lua is not loaded. |
Charts are from different sources and thus colors are inconsistent, please carefully read the chart's legends.
Like this? Check React Native vs Flutter: https://gist.github.com/tkrotoff/93f5278a4e8df7e5f6928eff98684979
2026: Not working anymore
| import {Injectable} from '@angular/core'; | |
| import {DateAdapter} from '@angular/material'; | |
| import {addDays, addMonths, addYears, format, getDate, getDaysInMonth, getMonth, getYear, parse, setDay, setMonth, toDate} from 'date-fns'; | |
| // CONFIG. Use environment or something for a dynamic locale and settings | |
| import {es as locale} from 'date-fns/locale'; | |
| const WEEK_STARTS_ON = 1; // 0 sunday, 1 monday... | |
| export const MAT_DATE_FNS_DATE_FORMATS = { |
| #!/bin/bash | |
| if [ "$1" == "--version" ]; then | |
| version=$(reg.exe query 'HKEY_CURRENT_USER\Software\Google\Chrome\BLBeacon' /v version | grep version) | |
| echo $version | sed -r -e 's/version\s+REG_SZ\s+/Google Chrome /' | |
| exit | |
| fi | |
| userprofile=$(cmd.exe /C 'echo %userprofile%' | tr -d '\r\n') | |
| cypress_folder="$HOME/.config/Cypress" |
| name: Code Style | |
| on: | |
| pull_request: | |
| branches: [ "master" ] | |
| push: | |
| branches: [ "master" ] | |
| tags: [ "*.*.*" ] | |
| jobs: |
The package that linked you here is now pure ESM. It cannot be require()'d from CommonJS.
This means you have the following choices:
import foo from 'foo' instead of const foo = require('foo') to import the package. You also need to put "type": "module" in your package.json and more. Follow the below guide.await import(…) from CommonJS instead of require(…).