1.sh
:
#!/bin/sh
set -eux
rm -rf rubygems bundler
git clone https://github.com/rubygems/rubygems
git clone https://github.com/rubygems/bundler
#!/usr/bin/env bash | |
# builds mpv & mpv.app on Apple silicon (M1 / M2) Macs | |
# run this script from the root directory of the mpv repo | |
# if anything fails, gtfo | |
set -ex | |
meson setup build | |
meson compile -C build |
const puppeteer = require('puppeteer-extra'); | |
const StealthPlugin = require('puppeteer-extra-plugin-stealth'); | |
const AdblockerPlugin = require('puppeteer-extra-plugin-adblocker'); | |
(async() => { | |
puppeteer.use(AdblockerPlugin({ blockTrackers: true })); | |
puppeteer.use(StealthPlugin()); | |
puppeteer.use(require('puppeteer-extra-plugin-anonymize-ua')()) | |
puppeteer.use(require('puppeteer-extra-plugin-user-preferences')({userPrefs: { |
private fun signin() { | |
lifecycleScope.launch(errorHandler { signup() }) { | |
val result = oneTapClient.suspendBeginSignInRequest(buildSignInRequest()) | |
loginResult.launch( | |
IntentSenderRequest.Builder(result.pendingIntent) | |
.build() | |
) | |
} | |
} |
Roadmap: microsoft/TypeScript-Website#94
Updates: microsoft/TypeScript-Website#130
Design - Figma
Dev: Start off, what is Gatsby -> https://www.gatsbyjs.org
Why do I think Gatsby is a good fit -> https://www.gatsbyjs.org/blog/2020-01-23-why-typescript-chose-gatsby/
#include <iostream> | |
//Node class | |
class Node { | |
private: | |
//private members | |
int data; | |
Node *next; | |
public: |
Code is clean if it can be understood easily – by everyone on the team. Clean code can be read and enhanced by a developer other than its original author. With understandability comes readability, changeability, extensibility and maintainability.
# GIT heart FZF | |
# ------------- | |
is_in_git_repo() { | |
git rev-parse HEAD > /dev/null 2>&1 | |
} | |
fzf-down() { | |
fzf --height 50% --min-height 20 --border --bind ctrl-/:toggle-preview "$@" | |
} |