Skip to content

Instantly share code, notes, and snippets.

View wesinator's full-sized avatar

Wes wesinator

View GitHub Profile
@hereismari
hereismari / msi-gtx1060-ubuntu-18.04-deeplearning.md
Last active March 17, 2025 01:30
Setting up a MSI laptop with GPU (gtx1060), Installing Ubuntu 18.04, CUDA, CDNN, Pytorch and TensorFlow
@Jiab77
Jiab77 / libreoffice-6.x-plus-dark-theme-elementaryos.md
Last active June 27, 2024 21:08
Just a quick gist to keep track of what was needed to have the latest libreoffice version with Dark Theme and the ElementaryOS Icon pack to be accorded with the ElementaryOS distribution.

LibreOffice 6.x with Dark Theme and Icons for ElementaryOS

Just a quick gist to keep track of what was needed to have the latest libreoffice version with Dark Theme and the ElementaryOS Icon pack to be accorded with the ElementaryOS distribution.

Get the software

If you never used ppa before, you will need to install this package first software-properties-common.

sudo apt install software-properties-common
@mlaferrera
mlaferrera / yara_dispatcher.py
Last active October 3, 2020 17:39
initial yara dispatcher plugins
#!/usr/bin/env python3
# Copyright 2014-2017 PUNCH Cyber Analytics Group
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
@dodying
dodying / chromium-command-line-switches.md
Last active March 28, 2025 20:47
[List of Chromium Command Line Switches] https://peter.sh/experiments/chromium-command-line-switches/ #chrome #lookup

There are lots of command lines which can be used with the Google Chrome browser. Some change behavior of features, others are for debugging or experimenting. This page lists the available switches including their conditions and descriptions. Last automated update occurred on 2018-10-20.

Condition Explanation
-- Report pseudo allocation traces. Pseudo traces are derived from currently active trace events.
--/prefetch:1 /prefetch:# arguments to use when launching various process types. It has been observed that when file reads are consistent for 3 process launches with the same /prefetch:# argument, the Windows prefetcher starts issuing reads in batch at process launch. Because reads depend on the process type, the prefetcher wouldn't be able to observe consistent reads if no /prefetch:# arguments were used. Note that the browser process has no /prefetch:# argument; as such a
@kseki
kseki / clam-full-scan.sh
Created October 26, 2018 13:28
ClamAV cron setting
#!/bin/sh
echo =========================================
date
clamscan / \
--infected \
--recursive \
--max-filesize=200M \
--max-scansize=200M \
--log=/var/log/clamav/clamscan.log \
--move=/var/log/clamav/virus \
@MNovak12
MNovak12 / switch_python_version.sh
Last active July 21, 2020 13:32
Switch python version
#!/bin/bash -e
VERSION=$1
rm /usr/local/bin/python
ln -s /usr/local/bin/python"$VERSION" /usr/local/bin/python
rm /usr/local/bin/pip
ln -s /usr/local/bin/pip"$VERSION" /usr/local/bin/pip
@paralax
paralax / censys.go
Last active May 29, 2019 10:37
search censys from the CLI
package main
import (
"encoding/json"
"fmt"
"github.com/abadojack/gocensys"
"log"
"os"
"strings"
)
@kvnbias
kvnbias / uefi-startup-fixer.sh
Last active May 17, 2020 14:09
uefi-startup-fixer.sh
os=$(echo -n $(cat /etc/*-release 2> /dev/null | grep ^ID= | sed -e "s/ID=//" | sed -e 's/"//g'))
if [ -d /sys/firmware/efi/efivars ] && [ ! -f "/boot/efi/startup.nsh" ]; then
sudo mkdir -p /boot/efi/EFI/boot
if [ -d "/boot/efi/EFI/refind" ]; then
sudo cp -a /boot/efi/EFI/refind/refind_x64.efi /boot/efi/EFI/boot/bootx64.efi
elif [ -d "/boot/efi/EFI/grub" ]; then
sudo cp -a /boot/efi/EFI/grub/grubx64.efi /boot/efi/EFI/boot/bootx64.efi
elif [ -d "/boot/efi/EFI/GRUB" ]; then
@Blevene
Blevene / IOCs
Last active May 25, 2020 03:57
Winnit: More than Just Windows and Gates, IOCs
#Source Blog Post
https://medium.com/chronicle-blog/winnti-more-than-just-windows-and-gates-e4f03436031a
---
#Yara Rules
---
rule WinntiLinux_Dropper : azazel_fork
{
meta:
desc = "Detection of Linux variant of Winnti"
@9b
9b / README
Last active August 6, 2019 20:45
Small script to request WHOIS information from RiskIQ
Modify the script to include your username and API key.
Create a virtualenv to keep your space clean:
$ virtualenv -p python3 venv3
Activate it:
$ source venv3/bin/activate