Skip to content

Instantly share code, notes, and snippets.

@JoshSkrzypczak
JoshSkrzypczak / AndroidManifest.xml
Last active January 17, 2022 14:12
Android Settings Screen using the v7.preference library
<manifest package="com.yourpackage"
xmlns:android="http://schemas.android.com/apk/res/android">
<application
...
...
...
android:theme="@style/AppTheme">
...
@nathanchrs
nathanchrs / set-proxy
Created February 23, 2017 12:52
Bash script to set proxy on Linux
#!/usr/bin/env bash
# Sets proxy settings.
# Run using `source` command. apt-get proxy settings requires sudo privileges.
# By nathanchrs.
# Configuration
# PROXY_HOST=""
# PROXY_USER=""
# PROXY_PASSWORD=""
@xirixiz
xirixiz / Set up GitHub push with SSH keys.md
Last active July 22, 2024 10:35 — forked from developius/README.md
Set up GitHub push with SSH keys

SSH keypair setup for GitHub (or GitHub/GitLab/BitBucket, etc, etc)

Create a repo.

Make sure there is at least one file in it (even just the README.md)

Generate a SSH key pair (private/public):

ssh-keygen -t rsa -C "your_email@example.com"