Skip to content

Instantly share code, notes, and snippets.

@nedrichards
nedrichards / org.nmap.Zenmap.json
Created May 14, 2018 15:00
flatpak manifest for nmap - still has a problem with zenmap congfig path but nmap works fine
{
"app-id": "org.nmap.Zenmap",
"branch": "stable",
"runtime": "org.gnome.Platform",
"runtime-version": "3.28",
"sdk": "org.gnome.Sdk",
"command": "zenmap",
"rename-icon": "zenmap",
"rename-desktop-file": "zenmap.desktop",
"finish-args": [
@nedrichards
nedrichards / com.teamviewer.TeamViewer.json
Last active January 31, 2018 16:18
sample teamviewer extra-data manifest
{
"app-id": "com.teamviewer.TeamViewer",
"runtime": "org.kde.Platform",
"runtime-version": "5.9",
"sdk": "org.kde.Sdk",
"command": "teamviewer",
"separate-locales": false,
"tags": ["proprietary"],
"finish-args": [
"--share=ipc", "--socket=x11",
@nedrichards
nedrichards / com.github.geigi.cozy.json
Created November 27, 2017 12:56
flatpak manifest for cozy
{
"app-id": "com.github.geigi.cozy",
"runtime": "org.gnome.Platform",
"runtime-version": "3.26",
"sdk": "org.gnome.Sdk",
"command": "com.github.geigi.cozy",
"finish-args": [
"--share=ipc", "--socket=x11",
"--socket=wayland",
"--device=dri",
@nedrichards
nedrichards / gist:83701e9b2ffc0599570f6255f2ff78de
Created November 22, 2017 12:16
rough android studio extra-data based flatpak
{
"app-id": "com.google.AndroidStudio",
"runtime": "org.freedesktop.Platform",
"runtime-version": "1.6",
"sdk": "org.freedesktop.Sdk",
"command": "android",
"finish-args": [
"--socket=x11",
"--socket=pulseaudio",
"--socket=system-bus",

Keybase proof

I hereby claim:

  • I am nedrichards on github.
  • I am nedrichards (https://keybase.io/nedrichards) on keybase.
  • I have a public key whose fingerprint is FCD6 93E9 3F67 664E E02F 710A 8CC5 0E3F B83A 02B8

To claim this, I am signing this object:

@nedrichards
nedrichards / high-dpi-media.css
Last active December 27, 2015 13:49 — forked from marcedwards/high-dpi-media.css
/* A media query that captures all currently shipping HiDPI devices To test: view http://bjango.com/articles/min-device-pixel-ratio/ on the offending device */
/* A media query that captures all currently shipping HiDPI devices
To test: view http://bjango.com/articles/min-device-pixel-ratio/ on the offending device */
@media only screen and (-webkit-min-device-pixel-ratio: 1.3),
only screen and (min-resolution: 1.3dppx)
{
/* Things you want to change in hidpi here */
}