Skip to content

Instantly share code, notes, and snippets.

@jihunhong
jihunhong / playYoutube.sh
Created November 16, 2020 14:02 — forked from hamidzr/playYoutube.sh
Play youtube videos from commandline to kodi / xbmc.
#!/bin/bash
REGEX="^.*((youtu.be\/)|(v\/)|(\/u\/\w\/)|(embed\/)|(watch\?))\??v?=?([^#\&\?]*).*"
ID=$1
if [ "$ID" == "" ];
then
echo "Syntax $0 <id|url>"
exit
fi
@jihunhong
jihunhong / I'm a night 🦉
Last active October 29, 2020 00:08
i'm an early
🌞 Morning 88 commits █▊░░░░░░░░░░░░░░░░░░░ 8.7%
🌆 Daytime 206 commits ████▎░░░░░░░░░░░░░░░░ 20.3%
🌃 Evening 533 commits ███████████░░░░░░░░░░ 52.4%
🌙 Night 190 commits ███▉░░░░░░░░░░░░░░░░░ 18.7%

I’m looking for any tips or tricks for making chrome headless mode less detectable. Here is what I’ve done so far:

Set my args as follows:

const run = (async () => {

    const args = [
        '--no-sandbox',
        '--disable-setuid-sandbox',
        '--disable-infobars',
@jihunhong
jihunhong / gist:58bdb883d10d360f513fec729f42bf8d
Created December 22, 2018 21:47 — forked from rxaviers/gist:7360908
Complete list of github markdown emoji markup

People

:bowtie: :bowtie: 😄 :smile: 😆 :laughing:
😊 :blush: 😃 :smiley: ☺️ :relaxed:
😏 :smirk: 😍 :heart_eyes: 😘 :kissing_heart:
😚 :kissing_closed_eyes: 😳 :flushed: 😌 :relieved:
😆 :satisfied: 😁 :grin: 😉 :wink:
😜 :stuck_out_tongue_winking_eye: 😝 :stuck_out_tongue_closed_eyes: 😀 :grinning:
😗 :kissing: 😙 :kissing_smiling_eyes: 😛 :stuck_out_tongue:
@jihunhong
jihunhong / README-Template.md
Created December 11, 2018 19:02 — forked from PurpleBooth/README-Template.md
A template to make good README.md

Project Title

One Paragraph of project description goes here

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites