Skip to content

Instantly share code, notes, and snippets.

View findlogan's full-sized avatar

Logan Johnson findlogan

  • USA
  • 08:25 (UTC -06:00)
View GitHub Profile
@findlogan
findlogan / gist:e712096638a11927119dacbf4dfd760d
Created July 9, 2024 02:51 — forked from lionelyoung/gist:755145
Connecting to PDANet WiFi HotSpot with Linux
ifconfig wlan0 down
iwconfig wlan0 mode ad-hoc
iwconfig wlan0 essid <ESSID>
iwconfig wlan0 key <TENDIGITPASSWORD>
ifconfig wlan0 up
dhclient wlan0
@findlogan
findlogan / README.md
Created April 2, 2021 19:06 — forked from developius/README.md
Setup SSH keys for use with GitHub/GitLab/BitBucket etc

Create a new repository, or reuse an existing one.

Generate a new SSH key:

ssh-keygen -t rsa -C "[email protected]"

Copy the contents of the file ~/.ssh/id_rsa.pub to your SSH keys in your GitHub account settings (https://github.com/settings/keys).

Test SSH key:

@findlogan
findlogan / Inline-Block.html
Created January 10, 2020 16:17
Example of inline block paragraphs
<div style="display: inline-block">
<p>These are now inline-block display.</p>
<p> This is on the same line as the above paragraph.</p>
</div>
@findlogan
findlogan / BlockElement.html
Created January 10, 2020 14:41
Block Element Example
<div>
<p>Paragraphs are by default a block element.</p>
<p>This is on a new line because the above paragraph is a block element taking up all of the room</p>
</div>
@findlogan
findlogan / parallax.html
Created January 10, 2020 14:01
Creates a parallax effect
<style>
.parallax {
background-attachment: fixed;
background-position: center;
background-repeat: no-repeat;
background-size: cover;
height: 300px;
background-image: url('mountain.jpg');
}
</style>
@findlogan
findlogan / EmbeddedGist.js
Last active January 10, 2020 05:38 — forked from aVolpe/EmbeddedGist.js
EmbeddedGist allows a gist to be embedded in a React application
import React, { Component } from 'react';
class EmbeddedGist extends Component {
constructor(props) {
super(props);
this.gist = props.gist;
this.file = props.file;
this.stylesheetAdded = false;
this.state = {
@findlogan
findlogan / index.html
Last active January 10, 2020 05:39
Icon Example on how to add an icon to website.
<link rel="shortcut icon" href="icon.ico">