Skip to content

Instantly share code, notes, and snippets.

Roger Pence rogerpence

Block or report user

Report or block rogerpence

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View gist:69254d6f6f65e1d102341776ed4c86ed
// Place your key bindings in this file to overwrite the defaults
[{
"key": "alt+1",
"command": "-workbench.action.openEditorAtIndex1"
},
{
"key": "alt+1",
"command": "workbench.action.toggleSidebarVisibility"
},
{
View .gitconfig
[user]
name=Roger Pence
email=roger.pence@gmail.com
[credential]
helper = wincred
[http]
postBuffer = 524288000
[alias]
undocommit = git reset --hard HEAD^
cm = !git add -A && git commit -m
View gist:8236f98619ec0cba1e46c85391cb3aa6
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Document</title>
<link rel="stylesheet" href="index.css">
</head>
<body>
View gist:189c2af069225bd8907e52551edb627c
Replaces lines 119 through 125
applyCrierAttributes(crierElement, crierInfo, options) {
crierElement.style.position = 'static';
crierElement.style.height = `${crierInfo.height}px`;
crierElement.setAttribute('data-height', `${crierInfo.height}px`);
@rogerpence
rogerpence / index.html
Last active Feb 15, 2019
Notifier skeleton
View index.html
<div class='container'>
<a id="clicker" href="#">Add a note</a>
</div>
<div class="notes-container">
<div class="note n1">Note 1</div>
<div class="note n2">Note 2</div>
<div class="note n3">Note 3
<a id="n3-click" href="#">Click</a>
</div>
@rogerpence
rogerpence / gist:41616ea91b1c32db5764a6d7361fa653
Created Feb 7, 2019
System 76 Bonobo NVidia Ubuntu installation problem
View gist:41616ea91b1c32db5764a6d7361fa653
For fresh install
To get to boot menu, press Shift during boot
During get to Ubuntu screen to be able to enter commands with
Add this line to avoid nVidia video card problem
nouveau.modeset=0
https://community.linuxmint.com/tutorial/view/842
After installing Ubuntu 16.04 but before adding System 76-specific stuff and nVidia drives, my mouse worked but the
mouse cursor wasn't visible. If this is the case, use Ctrl/Alt T to bring a terminal window to install the
System 76-specific stuff and the nVidia drivers.
@rogerpence
rogerpence / gist:749dbf915ab45796a47286c9e7a17d07
Created Feb 7, 2019
nVidia video card problem when reinstalling Ubuntu on Bonobo
View gist:749dbf915ab45796a47286c9e7a17d07
For fresh install
To get to boot menu, press Shift during boot
During get to Ubuntu screen to be able to enter commands with
Add this line to avoid nVidia video card problem
nouveau.modeset=0
https://community.linuxmint.com/tutorial/view/842
After installing Ubuntu 16.04 but before adding System 76-specific stuff and nVidia drives, my mouse worked but the
mouse cursor wasn't visible. If this is the case, use Ctrl/Alt T to bring a terminal window to install the
System 76-specific stuff and the nVidia drivers.
@rogerpence
rogerpence / gist:bbbb5bb87fc55da5dee654b2ec649f98
Created Jan 13, 2019
Emmet to generate a bunch of <li> tags
View gist:bbbb5bb87fc55da5dee654b2ec649f98
ul.section>(li.section-item{item$})*16
produces:
<ul class="section">
<li class="section-item">item1</li>
<li class="section-item">item2</li>
<li class="section-item">item3</li>
<li class="section-item">item4</li>
<li class="section-item">item5</li>
@rogerpence
rogerpence / firstrpg.rpg
Created Nov 10, 2016
MR free format HelloRPG
View firstrpg.rpg
Ctl-Opt Option(*srcstmt) Dftactgrp(*No) ActGrp('rpmobile');
Dcl-F First WORKSTN Handler('MOBILERPG');
ExFmt HOMEMENU;
Select;
When *In03;
*InLR = *On;
Return;
You can’t perform that action at this time.