Skip to content

Instantly share code, notes, and snippets.

View jq2's full-sized avatar
🌏
I may be slow to respond. #cyberwarfare

Dan Morris jq2

🌏
I may be slow to respond. #cyberwarfare
View GitHub Profile
@whitfin
whitfin / InlineBrowser.java
Last active March 9, 2022 18:03
Inline browser loading for Android. Just extend and load your URL.
package com.zackehh.example;
import android.annotation.SuppressLint;
import android.app.Activity;
import android.app.ProgressDialog;
import android.content.Context;
import android.net.ConnectivityManager;
import android.net.NetworkInfo;
import android.os.Bundle;
import android.view.ContextThemeWrapper;
@neu5ron
neu5ron / dynamic-dns.txt
Last active September 10, 2022 10:08
This list has moved to the repo https://github.com/neu5ron/dynamic_dns_lists
3d-game.com #dtdns.com
4irc.com #dtdns.com
b0ne.com #dtdns.com
bbsindex.com #dtdns.com
chatnook.com #dtdns.com
darktech.org #dtdns.com
deaftone.com #dtdns.com
dtdns.net #dtdns.com
effers.com #dtdns.com
etowns.net #dtdns.com
@sairion
sairion / fbmodules.js
Created August 24, 2015 17:28
Facebook Modules of 2015-08-25
var a= '';
for (var i in require.__debug.modules) {
a += (i + '\n');
}
console.log(a);
/*
module
exports
define
@foonathan
foonathan / borrow.cpp
Last active August 24, 2023 08:42
Quick'n'dirty implementation of Rust's borrow checker for a C++Now Lightning Talk - not supposed to be used
#include <iostream>
#include "borrow_checker.hpp"
int main()
{
auto i = 42;
// borrow `i` under name `ref`
borrow_var(ref, i)
@jq2
jq2 / gist:1c3771d581015648c807d2abebc989e6
Last active January 4, 2021 03:53
Lista de canais com cursos e/ou vídeo aulas sobre computação (Português pt_BR).
Code Shadow
https://www.youtube.com/c/CodeShadow
DevDojo
https://www.youtube.com/channel/UCjF0OccBT05WxsJb2zNkL4g/playlists
Tutorial Python - Abel Separovich
https://www.youtube.com/user/Oseparovich/playlists
@AlmuHS
AlmuHS / Debian_Hurd_Install.md
Last active January 11, 2024 04:03
Debian GNU Hurd installation in real hardware

How to install Debian GNU/Hurd in a real PC

Debian GNU/Hurd installation guide to real hardware

Requirements

  • An old PC
  • DVD-R or CD-R
  • Recommended hardware
    • Wired Network Connection
  • CPU with high clock speed
@brianredbeard
brianredbeard / arm64.md
Created September 26, 2018 00:58 — forked from george-hawkins/arm64.md
Running virtualized x86_64 and emulated arm64 Ubuntu cloud images using QEMU

QEMU arm64 cloud server emulation

This is basically a rehash of an original post on CNXSoft - all credit (particularly for the Virtio device arguments used below) belongs to the author of that piece.

Download the latest uefi1.img image. E.g. ubuntu-16.04-server-cloudimg-arm64-uefi1.img from https://cloud-images.ubuntu.com/releases/16.04/release/

Download the UEFI firmware image QEMU_EFI.fd from https://releases.linaro.org/components/kernel/uefi-linaro/latest/release/qemu64/

Determine your current username and get your current ssh public key:

@crok
crok / Bookmarks.md
Last active April 18, 2024 19:04
cat [google_chrome_exported_bookmarks].html | grep "<DT><A HREF=" | sed 's%.*DT.*HREF="%%g' | sed 's%".*ICON="">% -- %g' | sed 's%".*ADD_DATE="">% -- %g' | sed 's%</A>%%g' | sed 's%http%* [http%g' | sed 's% -- %] -- %g' > bookmarks.md
@KlausEverWalkingDev
KlausEverWalkingDev / Como fazer perguntas inteligentes.md
Last active November 28, 2023 00:29
Como fazer perguntas inteligentes

#Name: Como fazer perguntas inteligentes
#By Eric Raymond (Tradução: César A. K. Grossmann)
#Version: N/D
#Release Date: September 4th, 2019

Como fazer perguntas inteligentes

Por: Eric Raymond Tradução: César A. K. Grossmann

How To Use GitHub Gists For Publishing Articles

GitHub Gists may be used not only for code snippets sharing but as a publishing platform for your articles.

Features And Restrictions Of GitHub Gists

Each gist is a git repo with restrictions and features:

  • You can't create folders in any branch of the repo.
  • Each file in the master branch larger than 1MB risks to be truncated so you can't add zip archive to master. But you may keep additional large files at another branches which can't be viewed on the gist page.
  • If you want to use images in your article but wish non-embedded images to be hidden on the gist page then you may keep them in non-master branch and reference by .//raw//foobar.jpg.