Skip to content

Instantly share code, notes, and snippets.

g.co, Google's official URL shortcut (update: or Google Workspace's domain verification, see bottom), is compromised. People are actively having their Google accounts stolen.

Someone just tried the most sophisticated phishing attack I've ever seen. I almost fell for it. My mind is a little blown.

  1. Someone named "Chloe" called me from 650-203-0000 with Caller ID saying "Google". She sounded like a real engineer, the connection was super clear, and she had an American accent. Screenshot.

  2. They said that they were from Google Workspace and someone had recently gained access to my account, which they had blocked. They asked me if I had recently logged in from Frankfurt, Germany and I said no.

  3. I asked if they can confirm this is Google calling by emailing me from a Google email and they said sure and sent me this email and told me to look for a case number in it, which I saw in

@danidiaz
danidiaz / netrw.txt
Created October 7, 2016 20:57
Vim's netrw commands.
--- ----------------- ----
Map Quick Explanation Link
--- ----------------- ----
< <F1> Causes Netrw to issue help
<cr> Netrw will enter the directory or read the file |netrw-cr|
<del> Netrw will attempt to remove the file/directory |netrw-del|
<c-h> Edit file hiding list |netrw-ctrl-h|
<c-l> Causes Netrw to refresh the directory listing |netrw-ctrl-l|
<c-r> Browse using a gvim server |netrw-ctrl-r|
<c-tab> Shrink/expand a netrw/explore window |netrw-c-tab|
@bradtraversy
bradtraversy / mysql_cheat_sheet.md
Last active January 28, 2025 10:28
MySQL Cheat Sheet

MySQL Cheat Sheet

Help with SQL commands to interact with a MySQL database

MySQL Locations

  • Mac /usr/local/mysql/bin
  • Windows /Program Files/MySQL/MySQL version/bin
  • Xampp /xampp/mysql/bin

Add mysql to your PATH

@masterje
masterje / gist:e0764fc7ad197155e3e0561e4339ae0d
Last active January 28, 2025 10:25
using AWS CLI with Digitalocean Spaces 2024
#using ubuntu22 in this doc
#you must have an existing digitalocean spaces account or bucket
#install awscli
root@kansas:/home/masterje# apt install awscli
#you will need to use the --endpoint option
root@kansas:/home/masterje# aws s3 ls --endpoint=https://sgp1.digitaloceanspaces.com
Unable to locate credentials. You can configure credentials by running "aws configure".
@Artefact2
Artefact2 / README.md
Last active January 28, 2025 10:25
GGUF quantizations overview

Which GGUF is right for me? (Opinionated)

Good question! I am collecting human data on how quantization affects outputs. See here for more information: ggerganov/llama.cpp#5962

In the meantime, use the largest that fully fits in your GPU. If you can comfortably fit Q4_K_S, try using a model with more parameters.

llama.cpp feature matrix

See the wiki upstream: https://github.com/ggerganov/llama.cpp/wiki/Feature-matrix

@dbgso
dbgso / sequence_viewer.html
Created January 28, 2019 09:50
PlantUMLで作成したシーケンス画像のヘッダ自動スクロールビューア
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Document</title>
<style>
#header {
@taviso
taviso / emoji.sh
Created August 29, 2019 18:14
UNIX signals as emoji
declare -ar _status=(
[ 0]=😀 # Success
[ 1]=🤨 # Error
[129]=📞 # SIGHUP
[130]=🛑 # SIGINT
[131]="(╯°□°)╯︵ ┻━┻" # SIGQUIT
[132]=👮 # SIGILL
[133]=🐍 # SIGTRAP
[134]=💥 # SIGABRT
@victorwyee
victorwyee / cleanest.sh
Last active January 28, 2025 10:16
Looping over tuples in Bash
declare -a elems=(
"a 1"
"b 2"
"c 3 word"
"d 4"
)
for elem in "${elems[@]}"; do
read -a strarr <<< "$elem" # uses default whitespace IFS
echo ${strarr[0]} ${strarr[1]} ${strarr[2]}
@veekaybee
veekaybee / normcore-llm.md
Last active January 28, 2025 10:15
Normcore LLM Reads

Anti-hype LLM reading list

Goals: Add links that are reasonable and good explanations of how stuff works. No hype and no vendor content if possible. Practical first-hand accounts of models in prod eagerly sought.

Foundational Concepts

Screenshot 2023-12-18 at 10 40 27 PM

Pre-Transformer Models

-- Licensed under the MIT License, Copyright (c) 2024 jack.ink
local function resume_with_error_check(thread: thread, ...: any): ()
local success, message = coroutine.resume(thread, ...)
if not success then
print(string.char(27) .. "[31m" .. message)
end
end