made with esnextbin
This file contains hidden or 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
#!/bin/bash | |
# delete node_modules folder recursively from a specified path using command line | |
# taken from https://stackoverflow.com/questions/42950501/delete-node-modules-folder-recursively-from-a-specified-path-using-command-line | |
find . -name 'node_modules' -type d -prune -exec rm -rf '{}' + |
This file contains hidden or 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
# author @100ideas | |
# latest revision 2018-10-16 | |
function lsfuncs --description 'Print user-defined Fish functions (including any executable files in first path of $fish_user_paths).' | |
# NOT CURRENTLY USED | |
# eventually would be handy to return info on single command glob if provided via fish_opt & argparse | |
# i.e. `apropos` mode | |
# http://fishshell.com/docs/current/commands.html#fish_opt | |
set -l options (fish_opt -s a -l all) |
This file contains hidden or 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
{ | |
"version": "4.4.6", | |
"needsAdditionalLinksSeparator": false, | |
"type": "Conceptual Flow", | |
"relatedBooks": [], | |
"technology": "Data Management: File Management", | |
"title": "File System Programming Guide", | |
"assignments": [ | |
"Type/Guide", | |
"Topic/Data Management/File Management" |
This file contains hidden or 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
// remirror.js hellow world example code | |
// | |
// src | |
// https://github.com/ifiokjr/remirror/blob/master/docs/examples/document-model.tsx | |
// | |
// discussion | |
// https://discuss.prosemirror.net/t/using-with-react/904/14 | |
import React, { FunctionComponent, MouseEventHandler, useState } from 'react'; |
This file contains hidden or 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 {action, computed, observable, runInAction} from 'mobx'; | |
import Loadable from './loadable'; | |
export default class Loadable<T> { | |
// our state entity class | |
public static create<T>(val?: T) { | |
return new Loadable<T>(val); | |
} |
This file contains hidden or 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
#!/bin/bash | |
# delete-all-ds_store.command | |
##################################################################### | |
# @100ideas - 26 mar 2020 - MIT LICENSE | |
# | |
# recursively finds "hidden" .DS_store files under the directory | |
# from which this command is run, then offers delete prompt | |
# | |
# if you have just downloaded this file, open iterm.app, drag |
Hello, I personally was looking for a simple minimal script that performed just this function: parsing vtt, discarding timecodes, merging chronologically close lines into a larger block, and outputting the result in a human-readable txt file. Just wanted to say that in my use case I prefer the way it merges multiple lines into a less-fine-grained time code.
@glasslion, thanks a lot for sharing this script!
vtt2text.py is a nice little script by glasslion I just found that seems to do what I am looking for - convert subtitle file, even closed-captioning "roll-up" style webvtt formats like what I have, into human-friendly full-page transcript.
This file contains hidden or 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 | |
# | |
#!/usr/bin/env bash | |
#: Usage: brew lsbrews [OPTION] | |
#: | |
#: list name: description of all instealled "leaf" formulae | |
#: | |
# disables logging the script's contents to .bash_history | |
set +o history |
OlderNewer