Skip to content

Instantly share code, notes, and snippets.

View matisiekpl's full-sized avatar

Mateusz Woźniak matisiekpl

  • Akademia Górniczo-Hutnicza w Krakowie
  • Rzeszów, Poland
  • 07:43 (UTC +02:00)
View GitHub Profile
@zthxxx
zthxxx / Activate Office 2019 for macOS VoL.md
Last active July 15, 2025 22:08
crack activate Office on mac with license file
@tegansnyder
tegansnyder / Preventing-Puppeteer-Detection.md
Created February 23, 2018 02:41
Preventing Puppeteer Detection

I’m looking for any tips or tricks for making chrome headless mode less detectable. Here is what I’ve done so far:

Set my args as follows:

const run = (async () => {

    const args = [
        '--no-sandbox',
        '--disable-setuid-sandbox',
        '--disable-infobars',
@dannote
dannote / final-cut-pro-trial-reset.swift
Last active July 7, 2025 09:00
Final Cut Pro X trial reset
#!/usr/bin/swift
// DISCLAIMER
// This script modifies an unencrypted file associated with the trial version of Final Cut Pro.
// Under the DMCA (17 U.S.C. § 1201), this modification does not qualify as circumvention of a technological
// protection measure (TPM), as it does not involve bypassing encryption, authentication, or similar protections.
// Distributing this code is therefore legal under the DMCA.
// This script is intended for educational and research purposes, such as exploring trial-related file structures,
@PurpleBooth
PurpleBooth / Dockerfile
Last active March 21, 2024 09:33
Create a static binary in go and put it in a from scratch docker container
FROM golang:1.9
WORKDIR /go/src/github.com/purplebooth/example
COPY . .
RUN go build -ldflags "-linkmode external -extldflags -static" -a main.go
FROM scratch
COPY --from=0 /go/src/github.com/purplebooth/example/main /main
CMD ["/main"]
@alexellis
alexellis / k8s-pi.md
Last active June 28, 2025 05:44
K8s on Raspbian
@vcabbage
vcabbage / Dockerfile
Last active November 21, 2018 20:06
Multi-stage Dockerfile
FROM golang:alpine AS build
ADD . /go/src/github.com/my/project
WORKDIR /go/src/github.com/my/project
RUN go build -o /mybinary ./cmd/mybinary
FROM alpine:latest
RUN apk add --no-cache ca-certificates
COPY --from=build /mybinary /mybinary
ENTRYPOINT ["/mybinary"]
@ali1234
ali1234 / aiyprojects-ubuntu.txt
Last active July 4, 2018 07:30
How to run the google aiyprojects voice kit code on Ubuntu desktop.
# set up a python virtualenv:
virtualenv --system-site-packages -p python3 google-assistant-sdk
# enter the virtualenv:
source google-assistant-sdk/bin/activate
# install dependencies:
pip3 install google-assistant-sdk[auth_helpers]==0.1.0 grpc-google-cloud-speech-v1beta1==0.14.0 protobuf==3.1.0
# the google code actually works out of the box on a default ubuntu install:
@ronapelbaum
ronapelbaum / .travis.yml
Created May 4, 2017 05:50
How to run ESLint in you travis CI
language: node_js
node_js:
- "6"
script:
- npm run lint
- npm run build
- npm test
@gokulkrishh
gokulkrishh / media-query.css
Last active July 12, 2025 23:39
CSS Media Queries for Desktop, Tablet, Mobile.
/*
##Device = Desktops
##Screen = 1281px to higher resolution desktops
*/
@media (min-width: 1281px) {
/* CSS */
@guillaumewuip
guillaumewuip / post-receive
Last active November 1, 2023 16:54
Git post-receive hook : build then run a docker container
#!/usr/bin/env bash
# A git post-receive hook
#
# On master branch only :
# 1. It builds a docker image named with the dir name
# 2. It then stop container of the same name, rm it and start a new one
## --- Config