Skip to content

Instantly share code, notes, and snippets.

View tapyu's full-sized avatar
🛰️

Rubem Pacelli tapyu

🛰️
View GitHub Profile

ZSH CheatSheet

This is a cheat sheet for how to perform various actions to ZSH, which can be tricky to find on the web as the syntax is not intuitive and it is generally not very well-documented.

Strings

Description Syntax
Get the length of a string ${#VARNAME}
Get a single character ${VARNAME[index]}
@pineapplehunter
pineapplehunter / dsp_filterplot.jl
Last active August 21, 2022 13:42
Julia DSP.jl Filter plot like MATLAB zplane
using DSP
using RecipesBase
@recipe function plot(
f::FilterCoefficients;
xguide = "Real part",
yguide = "Imaginary part",
legend = true,
unitcolor = :auto,
zerocolor = :auto,
@sundowndev
sundowndev / GoogleDorking.md
Last active June 28, 2024 15:21
Google dork cheatsheet

Google dork cheatsheet

Search filters

Filter Description Example
allintext Searches for occurrences of all the keywords given. allintext:"keyword"
intext Searches for the occurrences of keywords all at once or one at a time. intext:"keyword"
inurl Searches for a URL matching one of the keywords. inurl:"keyword"
allinurl Searches for a URL matching all the keywords in the query. allinurl:"keyword"
intitle Searches for occurrences of keywords in title all or one. intitle:"keyword"
@scottnath
scottnath / gist:e8029389409bb592b235
Created March 4, 2015 22:05
git: delete local/remote branches

delete local

git branch -d name-of-branch

delete remote - NOTE: powerful!

git push origin :name-of-branch

# Hello, and welcome to makefile basics.
#
# You will learn why `make` is so great, and why, despite its "weird" syntax,
# it is actually a highly expressive, efficient, and powerful way to build
# programs.
#
# Once you're done here, go to
# http://www.gnu.org/software/make/manual/make.html
# to learn SOOOO much more.