Skip to content

Instantly share code, notes, and snippets.

View lifeeric's full-sized avatar
📚
infinity Explorer

Eric R. lifeeric

📚
infinity Explorer
View GitHub Profile

Nginx Cheat sheet

install from source code

building nginx server the source is the ablity to add custom module,or essentially extend the standard nginx functionality.

required libraries:

$ sudo apt install libpcre3 libpcre3-dev zlib1g zlib1g-dev libssl-dev
@lifeeric
lifeeric / .md
Last active September 3, 2020 08:00
hulu css architecture
<div id="page">
  
  <div class="content-wrapper">
    <div class="Ribbon">
      <div class="row">
        ...
      </div>
    </div>

Screen Quick Reference

Basic

Description Command
Start a new session with session name screen -S <session_name>
List running sessions / screens screen -ls
Attach to a running session screen -x
Attach to a running session with name screen -r <session_name>
const bulkPhoneNumberList = invitations.map(person => {
return `{\"binding_type\":\"sms\",\"address\":\"+1${person.phone_number}\"}`;
});
const response = await client.notify
.services(process.env.TWILIO_NOTIFY_SID)
.notifications.create({
toBinding: phoneNumberList,
body: `Welcome to HyperCarrot! \nYou've been invited by ${orgName}. Click below to get started!\n${
process.env.FRONTEND_URL
patbenatar.advanced-new-file
formulahendry.auto-close-tag
formulahendry.auto-rename-tag
fosshaas.fontsize-shortcuts
BriteSnow.vscode-toggle-quotes
Zignd.html-css-class-completion
christian-kohler.npm-intellisense
christian-kohler.path-intellisense
octref.vetur
dbaeumer.vscode-eslint
alexcvzz.vscode-sqlite
andys8.jest-snippets
apollographql.vscode-apollo
austincummings.razor-plus
bobsparadox.seti-black
BriteSnow.vscode-toggle-quotes
christian-kohler.npm-intellisense
christian-kohler.path-intellisense
CoenraadS.bracket-pair-colorizer
dbaeumer.vscode-eslint
@lifeeric
lifeeric / GoogleDorking.md
Created June 26, 2021 05:41 — forked from sundowndev/GoogleDorking.md
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"

Finding US Numbers

Not everyone write numbers the same way. Some use sapaces, dashes, dots, and more. You can't find all numbers by just clicking find on page. Thas where RegExr comes in to help.

Summary

I have created an expression to find all US phone numbers on the page. A greate resource to help check your expression would be RegExr. Below I will have instruction on how it was built and works.

Find Any US Number;

@lifeeric
lifeeric / dataset-download.py
Created September 2, 2021 18:43 — forked from AlexTMjugador/dataset-download.py
Freesound API Python script to download original sound files
#!/usr/bin/python3
from freesound import FreesoundClient
from pyrate_limiter import Limiter, RequestRate, Duration
import requests
import fileinput
import os
CLIENT_ID = os.environ["CLIENT_ID"]