Skip to content

Instantly share code, notes, and snippets.

@SteveClement
SteveClement / macos-openssh-portable.sh
Last active October 4, 2023 09:59 — forked from surjikal/macos-openssh-portable.sh
Compile OpenSSH Portable on OSX / MacOS
#!/usr/bin/env bash
brew install openssl automake
git clone git://anongit.mindrot.org/openssh.git
cd openssh
# ./configure script does not exist, so we have to build it
autoreconf
@SteveClement
SteveClement / install_ffmpeg_libfdkaac.sh
Last active August 6, 2020 10:05 — forked from rafaelbiriba/install_ffmpeg_libfdkaac.sh
Install FFmpeg with libfdk_aac support (For Ubuntu)
# Criando um script .sh para executar todos os comandos
#user@servidor:~$ wget https://gist.githubusercontent.com/SteveClement/26d9c9035c635fb7bff05ff8eacd1a94/raw/d3a82be86039f72f25f8d2b8cbc6d5299be75cac/install_ffmpeg_libfdkaac.sh
#user@servidor:~$ chmod +x install_ffmpeg_libfdkaac.sh
#user@servidor:~$ ./install_ffmpeg_libfdkaac.sh
YOLO="true" # Living on the bleeding edge
x265="true" # Include libx265
mkdir -p ~/bin
@SteveClement
SteveClement / twotwo-wayland.sh
Last active February 28, 2024 10:08 — forked from bhundven/nineteen-wayland.sh
Enlightenment 22 build script for Ubuntu/Debian with Wayland support.
#!/bin/bash
# vi: ts=4:sw=4:et
#
# twotwo.sh
# This script allows you to install/update Enlightenment 22 git version on
# Ubuntu 18.04 or Debian buster (testing), or remove E22 git from your system.
# ********************************************************************
# * This version builds enlightenment with wayland. *
# * That means this requires a very recent Ubuntu or Debian version. *
# * This may not work properly! You've been warned! *
@SteveClement
SteveClement / twotwo.sh
Last active November 22, 2020 06:49 — forked from bhundven/nineteen.sh
Enlightenment 22 build script for Ubuntu/Debian
#!/bin/bash
# vi: ts=4:sw=4:et
#
# twotwo.sh
# This script allows you to install/update Enlightenment 22 git version on
# Ubuntu 18.04 LTS or Debian testing (buster), or remove E22 git from your system.
# Originally from: http://ubuntuforums.org/showthread.php?t=2203190
# By: Philippe J. Guillaumie (batden AT sfr DOT fr).
# Additional updates by: Bryan Hundven (bryanhundven AT gmail DOT com).
#
@SteveClement
SteveClement / convert_mysql_to_sqlite3.sh
Last active January 26, 2020 09:26 — forked from grfiv/convert_mysql_to_sqlite3.sh
convert a mysql database to sqlite3
#!/usr/bin/env bash
#
# convert a mysql database to sqlite3
#
#see https://stackoverflow.com/questions/5164033/
# export-a-mysql-database-to-sqlite-database
mysql_host=localhost
mysql_user=george
#mysql_passwd=****************
@SteveClement
SteveClement / ignore-thread-1.6.2.patch
Last active July 25, 2016 11:01 — forked from mistydemeo/ignore-thread-1.5.21.patch
mutt ignore thread patch for 1.6.2
diff -ru mutt-1.5.21.orig/OPS mutt-1.5.21/OPS
--- mutt-1.5.21.orig/OPS 2010-03-01 12:56:19.000000000 -0500
+++ mutt-1.5.21/OPS 2011-07-10 14:59:03.000000000 -0400
@@ -179,3 +179,4 @@
OP_MAIN_SHOW_LIMIT "show currently active limit pattern"
OP_MAIN_COLLAPSE_THREAD "collapse/uncollapse current thread"
OP_MAIN_COLLAPSE_ALL "collapse/uncollapse all threads"
+OP_MAIN_IGNORE_THREAD "toggle a message's 'ignore-thread' flag"
diff -ru mutt-1.5.21.orig/copy.c mutt-1.5.21/copy.c
--- mutt-1.5.21.orig/copy.c 2010-03-02 14:15:00.000000000 -0500

A joint work between Quinn Norton and Alexandre Dulaunoy on how to interact with journalists. The presentation was given at OHM2013.

Talking to the media

You've reached out, or they've reached out to you. It could be everything from a formal request to PR to someone who sat down beside you in a bar. It could be a 30 second breaking news piece, or a book 10 years in the making. Knowing a little bit about the media can make the whole exchange more fruitful and useful not only for you and the journalist, but a public that hasn't had a lot of good information about our world.

Inform yourself

@SteveClement
SteveClement / emoji.py
Last active August 29, 2015 14:01 — forked from lepture/emoji.py
#!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# Copyright (c) 2012, lepture.com
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
#
# * Redistributions of source code must retain the above copyright
#!/usr/bin/env python
#
# Initially based on sudoku-password card
#
# This software is in the public domain
#
# python password-card.py -c 100 -p 13 -n 10
#
# Alexandre Dulaunoy (a<AT>foo.be)