Replaced | Rust replacement | GH |
---|---|---|
ls | exa | https://github.com/ogham/exa |
grep | ripgrep | https://github.com/BurntSushi/ripgrep |
cat | bat | https://github.com/sharkdp/bat |
du | dust | https://github.com/bootandy/dust |
ps | procs | https://github.com/dalance/procs |
find | fd | https://github.com/sharkdp/fd |
sed | sd | https://crates.io/crates/sd |
Search sql like | fselect | https://crates.io/crates/fselect |
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 python3 | |
# | |
# Helper script to do major version upgrades of a cloudnative-pg based | |
# PostgreSQL cluster. | |
# | |
# Usage: python3 upgrade-pg.py <cluster-name> <new-pg-version> | |
# | |
# Example: python3 upgrade-pg.py my-backend-db 17.0 | |
# | |
# Make sure to include major and minor version in the pg version. |
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
The MIT License | |
Copyright 2018-2019 Jakub Jirutka <[email protected]>. | |
Permission is hereby granted, free of charge, to any person obtaining a copy | |
of this software and associated documentation files (the "Software"), to deal | |
in the Software without restriction, including without limitation the rights | |
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
copies of the Software, and to permit persons to whom the Software is | |
furnished to do so, subject to the following conditions: |
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
javascript:(function() { | |
if (!angular) { | |
alert('Not a angular application or window.angular not found'); | |
return; | |
} | |
var entryNode = document.querySelector('[ng-app]') || document.querySelector('.ng-scope'); | |
if (!entryNode) { | |
alert('No entryPoint found'); |
If you encounter the following:
GitHub rate limit reached. To increase the limit use GitHub authentication.
Run jspm endpoint config github to set this up.
Sources :
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 lan.dk.podcastserver.utils.multipart; | |
import lan.dk.podcastserver.utils.MimeTypeUtils; | |
import org.apache.commons.lang3.StringUtils; | |
import org.slf4j.Logger; | |
import org.slf4j.LoggerFactory; | |
import javax.servlet.ServletOutputStream; | |
import javax.servlet.http.HttpServletRequest; | |
import javax.servlet.http.HttpServletResponse; |