Skip to content

Instantly share code, notes, and snippets.

View akacdev's full-sized avatar

akac akacdev

View GitHub Profile
@chatchavan
chatchavan / README.md
Last active April 27, 2024 20:33
Setup Wifi on Raspberry Pi

Setup Wireless LAN for Raspberry Pi

The following guide describes how to setup Raspberry Pi to connect to Wifi. It was tested on the following environment:

  • Raspberry Pi Model B
  • Edimax EW-7811Un USB Wifi dongle
  • OS: Raspbian Jessie

Here are the overview of the steps:

@joshbuchea
joshbuchea / semantic-commit-messages.md
Last active November 19, 2024 19:30
Semantic Commit Messages

Semantic Commit Messages

See how a minor change to your commit message style can make you a better programmer.

Format: <type>(<scope>): <subject>

<scope> is optional

Example

@phegman
phegman / index.html
Last active March 11, 2023 11:37
Prevent non-numeric values in number input with JavaScript
<input
type="number"
id="number-input"
step="any"
pattern="[0-9\.\-]*" />
@matusnovak
matusnovak / README.md
Last active November 15, 2024 20:15
GPG + Git SSH Authentication and Signing on Windows 10

GPG + Git SSH Authentication and Signing on Windows 10

Introduction

This simple Gist will explain how to settup your GPG key to work for SSH authentication (with Git) and Git commit signing on Windows 10. This may seem straightforward on Linux, but there are certain tweaks needed on Windows.

No Cygwin, no MinGW, no Git Bash or any other Linux emulated environment. This works in pure Windows 10.

Software needed

@LeviSnoot
LeviSnoot / discord-timestamps.md
Last active November 19, 2024 20:03
Discord Timestamp Syntax

Discord Timestamps

Discord timestamps can be useful for specifying a date/time across multiple users time zones. They work with the Unix Timestamp format and can be posted by regular users as well as bots and applications.

The Epoch Unix Time Stamp Converter is a good way to quickly generate a timestamp. For the examples below I will be using the Time Stamp of 1543392060, which represents November 28th, 2018 at 09:01:00 hours for my local time zone (GMT+0100 Central European Standard Time).

Formatting

Style Input Output (12-hour clock) Output (24-hour clock)
Default <t:1543392060> November 28, 2018 9:01 AM 28 November 2018 09:01
@nwunderly
nwunderly / The_PirateStealer_Saga.md
Last active January 20, 2023 01:53
The_PirateStealer_Saga.md

The PirateStealer Saga: A tale of love, war, betrayal, and revenge

Intro

The following document chronicles my discovery of the incredibly riveting lore behind a particular open-source malware project.

@nwunderly
nwunderly / The_PirateStealer_Saga_Vol2.md
Last active January 20, 2023 01:53
The_PirateStealer_Saga_Vol2.md

The PirateStealer Saga, Volume 2: "Wait, This Is Still Going??"

Intro

This document is a follow-up to The PirateStealer Saga, detailing additional events that have occurred in the week since its writing.

@simoniz0r
simoniz0r / gsb.md
Last active September 24, 2024 02:25
Documentation for Google Safe Browsing undocumented API

https://transparencyreport.google.com/transparencyreport/api/v3/safebrowsing/status?site=domainhere:

When we get the results from the endpoint above, the actual results we want will be on the 3rd line. The first line will contain )]}', and the second line will be blank. Ignore both of those lines and get the results from the 3rd line.

Ex:

$ curl -sL 'https://transparencyreport.google.com/transparencyreport/api/v3/safebrowsing/status?site=testsafebrowsing.appspot.com' | tail -n -1
[["sb.ssr",3,1,0,1,1,0,1628410274243,"https://testsafebrowsing.appspot.com"]]
@nwunderly
nwunderly / discord-scams.md
Last active April 19, 2024 22:53
Discord anti-scam blogs!

Good morning friends. As some of you might have seen, Discord released two new safety-related blog posts today! I'd highly recommend reading them both and sharing them with your communities. Wanted to give a little commentary on them as well, as someone familiar with these scams.

Protecting Against Scams on Discord

https://discord.com/blog/protecting-users-from-scams-on-discord

This is a blog acknowledging the recent surge in scams on Discord. Notably, it also mentions the FTC's report indicating an internet-wide surge in scams in 2021. It discusses general advice for both general users and for server admins and mods. It's a pretty good writeup, but it is missing some things.

"Why Would Someone Want Access to My Account?"