Skip to content

Instantly share code, notes, and snippets.

View lucmski's full-sized avatar
🏠
Working from home

lucmski

🏠
Working from home
View GitHub Profile
@lucmski
lucmski / GoogleDorking.md
Created June 21, 2019 13:59 — 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"
@lucmski
lucmski / glide.yaml
Last active November 9, 2022 22:17
for browsing/editing data from https://github.com/mdiplo/Medias_francais [WIP]
package: github.com/lucmski/Medias_francais
import:
- package: github.com/gosimple/slug
- package: github.com/jinzhu/gorm
subpackages:
- dialects/mysql
- package: github.com/k0kubun/pp
- package: github.com/mattn/go-sqlite3
- package: github.com/qor/admin
- package: github.com/qor/media
@lucmski
lucmski / Dockerfile
Created June 20, 2019 16:31
Example of dockerfile for front/backend in node.js v11.x and alpine
FROM node:11-alpine as builder
ENV NODE_ENV=production
WORKDIR /usr/src/app
COPY front/package.json front/yarn.lock ./front/
COPY server/package.json server/yarn.lock ./server/
WORKDIR /usr/src/app/server
RUN yarn --frozen-lockfile
WORKDIR /usr/src/app/front
twarc
requests
@lucmski
lucmski / README.md
Last active July 13, 2019 14:45
hoaxy backend + alpine

Create Hoaxy db:

docker run --name hoaxy-psql -itd --restart always \
  --publish 5432:5432 \
  --volume /srv/docker/postgresql:/var/lib/postgresql \
  --env 'PG_TRUST_LOCALNET=true' \
  --env 'DB_USER=hoaxy' --env 'DB_PASS=pizza' \
  --env 'DB_NAME=hoaxy' \
  sameersbn/postgresql:9.6-2
@lucmski
lucmski / MySQL_5-7_macOS.md
Created March 12, 2019 16:28 — forked from robhrt7/MySQL_5-7_macOS.md
Install MySQL 5.7 on macOS using Homebrew

This is a fork of original gist https://gist.github.com/nrollr/3f57fc15ded7dddddcc4e82fe137b58e, with slight changes on pointing to 5.7 version branch, instead of 8 (latest default of MySQL in Hombrew).

Install MySQL 5.7 on macOS

This procedure explains how to install MySQL using Homebrew on macOS (Sierra 10.12 and up)

Install Homebrew

  • Installing Homebrew is effortless, open Terminal and enter :
    $ /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
  • Note: Homebrew will download and install Command Line Tools for Xcode 8.0 as part of the installation process.

Keybase proof

I hereby claim:

To claim this, I am signing this object: