Skip to content

Instantly share code, notes, and snippets.

View evasilev's full-sized avatar
🚜
I may be slow to respond...

Jenia evasilev

🚜
I may be slow to respond...
View GitHub Profile
@evasilev
evasilev / curl.md
Created December 26, 2024 15:28 — forked from subfuzion/curl.md
curl POST examples

Common Options

-#, --progress-bar Make curl display a simple progress bar instead of the more informational standard meter.

-b, --cookie <name=data> Supply cookie with request. If no =, then specifies the cookie file to use (see -c).

-c, --cookie-jar <file name> File to save response cookies to.

@evasilev
evasilev / reverse-engineered-webpack-tailwind-styled-component.md
Created September 10, 2024 09:44 — forked from 0xdevalias/reverse-engineered-webpack-tailwind-styled-component.md
Deep Dive into reverse engineering how some webpacked code relates to the styled-components / Tailwind-Styled-Component libs

Reverse Engineered Webpack Tailwind-Styled-Component

Deep Dive into reverse engineering how some webpacked code relates to the styled-components / Tailwind-Styled-Component libs.

This was originally posted on the following issue, and the heading structure here will relate to the individual comments that were made there:

  • pionxzh/wakaru#40
    • [module-detection / smart-rename] styled-components / Tailwind-Styled-Component libs

For the more general case of 'module detection' (and related concepts), see these issues:

@evasilev
evasilev / _deobfuscating-unminifying-obfuscated-web-app-code.md
Created September 10, 2024 09:43 — forked from 0xdevalias/_deobfuscating-unminifying-obfuscated-web-app-code.md
Some notes and tools for reverse engineering / deobfuscating / unminifying obfuscated web app code
@evasilev
evasilev / reverse-engineering-golang.md
Created September 10, 2024 09:42 — forked from 0xdevalias/reverse-engineering-golang.md
Some notes, tools, and techniques for reverse engineering Golang binaries
@evasilev
evasilev / reverse-engineering-webpack-apps.md
Created September 10, 2024 09:42 — forked from 0xdevalias/reverse-engineering-webpack-apps.md
Some notes and techniques for reverse engineering Webpack (and a little bit about React/Vue/Angular) apps
@evasilev
evasilev / titleUrlMarkdownClip.js
Created September 3, 2024 08:41 — forked from idelem/titleUrlMarkdownClip.js
Bookmarklet to copy current page title and url in Markdown format to clipboard, like [title](url) - Usual for posting links to resources in README.md files
javascript:(function() {
function copyToClipboard(text) {
if (window.clipboardData && window.clipboardData.setData) {
/*IE specific code path to prevent textarea being shown while dialog is visible.*/
return clipboardData.setData("Text", text);
} else if (document.queryCommandSupported && document.queryCommandSupported("copy")) {
var textarea = document.createElement("textarea");
textarea.textContent = text;
@evasilev
evasilev / README.md
Created June 7, 2024 19:45 — forked from nmarley/README.md
Go / C++ bindings example

Go / C++ bindings example

This is an example of Go code calling to a C++ library with a C wrapper.

Build

go build  # this only ensures it compiles
@evasilev
evasilev / docker-compose.yaml
Created March 28, 2024 17:20 — forked from BoredHackerBlog/docker-compose.yaml
grafana loki docker-compose file and vector settings
version: "3"
networks:
loki:
services:
loki:
image: grafana/loki:2.4.0
volumes:
- ./loki:/etc/loki
@evasilev
evasilev / folder_structure.md
Created March 15, 2024 09:58 — forked from ayoubzulfiqar/folder_structure.md
The Folder Structure for Every Golang Project

Go - The Ultimate Folder Structure

Organizing your Go (Golang) project's folder structure can help improve code readability, maintainability, and scalability. While there is no one-size-fits-all structure, here's a common folder structure for a Go project:

project-root/
    ├── cmd/
    │   ├── your-app-name/
    │   │   ├── main.go         # Application entry point
    │   │   └── ...             # Other application-specific files
@evasilev
evasilev / web-servers.md
Created January 26, 2024 14:10 — forked from willurd/web-servers.md
Big list of http static server one-liners

Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.

Discussion on reddit.

Python 2.x

$ python -m SimpleHTTPServer 8000