Skip to content

Instantly share code, notes, and snippets.

@typokign
typokign / zoomsucks.md
Last active September 8, 2023 05:06
Zoom Sucks

Zoom Sucks

  • Zoom abuses the installer flow on MacOS to bypass permissions dialogs (source)
  • Zoom sends identifying device info to Facebook, even when users don't have a Facebook account (source) (fixed)
  • A bug in Zoom sent identifying information (including email addresses and profile pictures) of thousands of users to strangers (source)
  • Zoom claims that meetings are end-to-end encrypted in their white paper and marketing materials, but meetings are only encrypted in transit, and are available in plaintext to Zoom servers and employees. (source)
  • zoomAutenticationTool can be used to escalat
@ageis
ageis / YubiKey-GPG-SSH-guide.md
Last active March 16, 2024 13:18
Technical guide for using YubiKey series 4 for GPG and SSH

YubiKey 4 series GPG and SSH setup guide

Written for fairly adept technical users, preferably of Debian GNU/Linux, not for absolute beginners.

You'll probably be working with a single smartcard, so you'll want only one primary key (1. Sign & Certify) and two associated subkeys (2. Encrypt, 3. Authenticate). I've published a Bash function which automates this slightly special key generation process.

@schmohlio
schmohlio / sse.go
Last active February 13, 2023 08:38 — forked from ismasan/sse.go
Example SSE server in Golang
// v2 of the great example of SSE in go by @ismasan.
// includes fixes:
// * infinite loop ending in panic
// * closing a client twice
// * potentially blocked listen() from closing a connection during multiplex step.
package main
import (
"fmt"
"log"
@kwilczynski
kwilczynski / ec2-associate-address.sh
Last active October 8, 2017 21:35
Associate Elastic IP to a Bastion host running in a Auto-Scaling Group (ASG).
#!/bin/bash
set -e
set -u
set -o pipefail
export PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
# The name of the EC2 tag that holds the Elastic IP address to use.
readonly TAG_NAME='PublicIP'
@dantswain
dantswain / gist:fdfb1c2c86e4d940a8f5
Last active May 3, 2020 04:05
Convert Elixir config.exs to Erlang sys.config
#!/usr/bin/env elixir
# Convert an Elixir config.exs to an erlang sys.config
#
# Usage: elixir_to_sys_config config.exs > sys.config
# First argument is the Elixir config.exs file
# Writes to stdout
# You probably want to set MIX_ENV accordingly
#
# 2015 by Dan Swain, dan.t.swain@gmail.com
# Hello, and welcome to makefile basics.
#
# You will learn why `make` is so great, and why, despite its "weird" syntax,
# it is actually a highly expressive, efficient, and powerful way to build
# programs.
#
# Once you're done here, go to
# http://www.gnu.org/software/make/manual/make.html
# to learn SOOOO much more.
@tylerwalts
tylerwalts / setupOSX.sh
Created March 5, 2014 19:56
This is a bash script to setup Mac OS X defaults on a new mac.
#!/bin/bash
#
# Set up OSX preferences
#
# Inspired by: https://github.com/mathiasbynens/dotfiles/blob/master/.osx
###########################################
# CONFIG
HOSTNAME="machiavellia"
TIMEZONE="America/Chicago" # 'systemsetup -listtimezones'
@Bqbqr
Bqbqr / #UTC Sur Freenode, Guide.
Last active December 15, 2015 08:09
Petit Guide sur ce qu'est le chan #UTC sur Freenode.
Bonjour!
Bienvenue sur le Chan de L'UTC!
Les patrons sont Bqbqr et MiLk133:
-Pose leur des questions directement si personne ne répond, il suffit de citer le pseudo dans le message pour qu'ils s'intérressent a toi.
-C'est eux qui ont le pouvoir de te bannir ou de te virer du channel si tu fais n'importe quoi.
FAQ:
@MiLk
MiLk / IA01-TP02.cl
Created November 12, 2011 14:03
ia01 tp02
(defvar initial '(0 0 0 1 0 1))
(defvar final '(1 1 1 1 1 1))
(defun inverser (x)
(if (= x 1) 0 1)
)
(defun new-state(state pos)
(when (<= (length state) (+ pos 1)) (return-from new-state state))
(let ((i 0)(new-list '()))
(dolist (arrow state new-list)
@MiLk
MiLk / tp3.c
Created October 18, 2011 13:02
TP3 NF16
#include "tp3.h"
// Fonctions à réaliser
task * cree_tache(char caract[MAX_NOM + 1], int duree)
{
task *ptask = (task*)malloc(sizeof (task));
//strcpy(ptask->ID,caract);
*(ptask->ID) = caract;
ptask->duree = duree;