Bash script to:
- Iterate all commits made within a Git repository.
- List every object at each commit.
javascript:(function(){if(location.href.indexOf('http')!=0){input=prompt('URL:','http://');if(input!=null){location.href='http://web.archive.org/web/*/'+input}}else{location.href='https://alternativeto.net/browse/search/?q=%27+window.location.hostname.replace("www.","").split(".")[0];}})(); |
javascript:(function(){if(location.href.indexOf('http')!=0){input=prompt('URL:','http://');if(input!=null){location.href='https://hn.algolia.com/?q=%27+input}}else{location.href=%27https://hn.algolia.com/?q=%27+location.href;}})(); |
javascript:(function(){if(location.href.indexOf('http')!=0){input=prompt('URL:','http://');if(input!=null){location.href='http://web.archive.org/web/*/'+input}}else{location.href='http://web.archive.org/web/*/'+location.href;}})(); |
" ~/.vimrc | |
" ... | |
" Check syntax in Vim asynchronously and fix files, with Language Server Protocol (LSP) support | |
Plugin 'dense-analysis/ale' | |
" ... | |
" dense-analysis/ale options | |
let g:ale_history_log_output = 1 | |
let g:ale_use_global_executables = 1 |
FROM centos | |
RUN yum groupinstall -y "Development Tools" \ | |
&& yum -y install epel-release \ | |
&& yum clean all | |
RUN yum -y install \ | |
git \ | |
ninja-build \ | |
libunwind \ | |
freetype-devel \ | |
gmp-devel \ |
#!/usr/bin/env bash | |
while read user; do | |
echo $user | |
curl -u '<crowdapplogin>:<crowdapppassword>' --header "Content-Type: application/json" -d "{\"name\": \"$user\"}" "https://<crowdhost>/rest/usermanagement/1/group/user/direct?groupname=jira-users&username=$user" | |
done < usersnameslist |
console.table( | |
[] | |
.concat(Array.prototype.slice.call(document.getElementsByClassName('bX'))) | |
.concat(Array.prototype.slice.call(document.getElementsByClassName('bV dj'))) | |
.map( | |
function(i){ | |
if (i.href) | |
return decodeURIComponent(i.href.replace(/^.*url\?q=([^&]*)&.*$/,'$1')) | |
} | |
)) |
export PATH=/C/Python36:/C/Python36/Scripts:$PATH |
Inspired by https://dev.to/ricardomol/note-taking-from-the-command-line-156
Add the following to your ~/.bashrc
or ~/.bash_profile
# to take quick notes on useful commands
notes() {
echo $1 >> $HOME/notes.md