- Markdown style
[![Watch the video](https://img.youtube.com/vi/nTQUwghvy5Q/default.jpg)](https://youtu.be/nTQUwghvy5Q)
- HTML style
<a href="http://www.youtube.com/watch?feature=player_embedded&v=nTQUwghvy5Q" target="_blank">
async function getAllDependents(packageName) { | |
const packages = [] | |
let offset = 0 | |
let json | |
do { | |
const response = await fetch(`https://www.npmjs.com/browse/depended/${packageName}?offset=${offset}`, { | |
"headers": { | |
"x-spiferack": "1" | |
}, |
I hereby claim:
To claim this, I am signing this object:
// works only for russian language but you can change arguments in meta.includes | |
// Open https://store.playstation.com/ru-ru/download/list and run script below | |
let games = []; | |
while ( | |
!document | |
.querySelector('.paginator-control__page-number--selected') | |
.nextElementSibling.classList.contains('paginator-control__arrow-navigation') |
#!/bin/bash | |
# | |
# The reason of creating this script is that Endpoint Security VPN installs it's own application firewall kext cpfw.kext | |
# which prevents for example PPTP connections from this computer, which is not appropriate if you need subj connection just | |
# from time to time | |
# | |
# Usage: ./checkpoint.sh | |
# | |
# The script checks if Enpoint Security VPN is running. If it is, then it shuts it down, if it is not, it fires it up. | |
# Or, make an Automator action and paste the script. |
# (c) 2020 Humu | |
# MIT License | |
from typing import Any | |
import github | |
AUTOMERGE_LABEL_NAME = 'automerge' |
const fs = require('fs') | |
const papaparse = require('papaparse') | |
// нужно вырезать строку с названием стоблцов | |
const csv = fs.readFileSync('./2018.csv', 'utf8') | |
const { data } = papaparse.parse(csv) | |
const realCashback = data.reduce((acc, item) => { |
const childProcess = require('child_process') | |
const type = process.argv[2] | |
const currentBranch = 'git branch' | |
const diff = 'git diff --name-only --diff-filter=ACMTUXB origin/develop...HEAD' | |
const filter = `${diff} | grep app/.*\\.${type === 'css' ? 'sss$' : 'js$ | grep -v json'}` | |
const lint = type === 'css' ? 'stylelint $LIST --syntax sugarss' : 'eslint $LIST' | |
const condition = `if [ "$LIST" ]; then ./node_modules/.bin/${lint}; fi` |
license: apache-2.0 |