This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
set -eu | |
version="1.0.11" | |
download_dir="$HOME/e1s_downloads/${version}" | |
bin_dir="$HOME/.local/bin" | |
[ ! -d "$download_dir" ] && mkdir -p "$download_dir" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"fmt" | |
"reflect" | |
) | |
// Name of the struct tag used in examples | |
const tagName = "validate" |
command
node index.js test1
node index.js test2
result
- NPM scripts CLI.
- Save script information in
package.scripts.json
in root. - Every script item contains script key, script value, script description, script updated time, script author, script memo.
- Save script information in
- Item can add, edit, remove, list in CLI.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env sh | |
# https://github.com/rauchg/wifi-password | |
version="0.1.0" | |
# locate airport(1) | |
airport="/System/Library/PrivateFrameworks/Apple80211.framework/Versions/Current/Resources/airport" | |
if [ ! -f $airport ]; then | |
echo "ERROR: Can't find \`airport\` CLI program at \"$airport\"." | |
exit 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import axios from 'axios'; | |
import * as jwt from 'jsonwebtoken'; | |
import * as jwksClient from 'jwks-rsa'; | |
import jwtDecode, { JwtHeader } from 'jwt-decode'; | |
/** | |
* @see {@link https://github.com/expo/expo/blob/sdk-44/packages/expo-apple-authentication/src/AppleAuthentication.types.ts#L147} | |
* An object representing the tokenized portions of the user's full name. Any of all of the fields | |
* may be `null`. Only applicable fields that the user has allowed your app to access will be nonnull. | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const crypto = require('crypto'); | |
const PASSWORD = "098f6bcd4621d373cade4e832627b4f6" | |
, MESSAGE = 'test'; | |
function InvalidSignatureError() { | |
Error.captureStackTrace(this, this.constructor); | |
} | |
function encipher(message, password, callback) { |
Title | author | level |
---|---|---|
JavaScript Fundamentals Before Learning React | Robin Wieruch | beginner |
Software Design Patterns: Best Practices for Software Developers | C. H. Afzal | beginner |
Modern C++ Concurrency: Get the most out of any machine | Rainer Grimm | advanced |
Intermediate JavaScript: Building Frontend Components | Educative | intermediate |
C++ Standard Library including C++ 14 & C++ 17 | Rainer Grimm | beginner |
Complete JavaScript Course: Build a Real World App from Scratch | Baptiste Pesquet | beginner |
An Introduction to Programming in Go | Educative | beginner |
C++17 in Detail: A Deep Dive | Bartłomiej Filipek | beginner |
NewerOlder