Skip to content

Instantly share code, notes, and snippets.

🐒
Monkeying around

Robby O'Connor robbyoconnor

🐒
Monkeying around
Block or report user

Report or block robbyoconnor

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:14363ffaddfc04dd9fb105d48d9bf28d
Verifying my Blockstack ID is secured with the address 18obGnVjg7DFR97Ug5CfwtjSigwENwr4Nu https://explorer.blockstack.org/address/18obGnVjg7DFR97Ug5CfwtjSigwENwr4Nu
View nginx.conf
server {
listen 443 ssl http2 default_server;
listen [::]:443 ssl http2 default_server;
server_name chat.librehealth.io;
root /usr/share/nginx/html;
index index.html index.htm;
View gop.js
$('.q-item').each(function(index, entry){
var item = $(entry).find('.form-field-body').find('ul').children().get(1);
if($(item).text().includes("Disapprove")){
$(item).find('input').prop('checked', true);
}
});
View gop.js
$('.q-item').each(function(index, entry){
var item = $(entry).find('.form-field-body').find('ul').children().get(1);
if($(item).text().includes("Disapprove")){
$(item).find('input').prop('checked', true);
}
});
@robbyoconnor
robbyoconnor / blackfacebook.css
Created Jan 20, 2017 — forked from DanH42/blackfacebook.css
Changes Facebook from blue to black
View blackfacebook.css
/* Top bar */
#blueBarNAXAnchor, ._4f7n, ._2s1x ._2s1y{
background-image: none !important;
background-color: #333 !important;
border-bottom-color: #222 !important;
}#blueBarNAXAnchor:after, ._4f7n:after, ._2s1x ._2s1y:after{
background: none !important;
}
/* Notification Icon */
@robbyoconnor
robbyoconnor / Blackfacebook.css
Created Jan 20, 2017 — forked from anonymous/Blackfacebook.css
Various custom CSS to make Facebook less terrible
View Blackfacebook.css
@-moz-document url-prefix("https://www.facebook.com") {
body{
background-color: #e9e9e9 !important;
}
/* Top bar */
#blueBarNAXAnchor, ._4f7n, ._2s1x ._2s1y{
background-image: none !important;
background-color: #333 !important;
border-bottom-color: #222 !important;
View *scratch*.txt
image_checker.rb was created in the gci16.fossasia.org repo as a linter. This was useful for the gci16 website, but the script will be useful in gci17 and also to improve old gci websites. To be re-usable, it should be published as a ruby gem. As improvements will be desirable in the future, it should be placed into a separate repository with its own issue tracker.
This task is to convert that script into a reusable ruby gem.
The first stage is to create a new github repository with the accurate history of this file, which spans from creation, through to its current form after a rename.
This may be done manually by recreating each commit, with correct author and correct date. This involves using `git commit --date='...' --author='...'`.
The faster approach is to use [`git fast-export`](https://www.kernel.org/pub/software/scm/git/docs/git-fast-export.html) and `git fast-import`.
View Sample Makefile
CC=g++
FILES=RNATranscriber.cc RNATranslator.cc AminoAcid.cc main.cc
codons:
${CC} -g ${FILES} -o codons
./codons
clean:
rm -rf codons*
View gist:e8770674c4f07dfe9c6fd97c767d9d6a
### Keybase proof
I hereby claim:
* I am robbyoconnor on github.
* I am robbyoconnor (https://keybase.io/robbyoconnor) on keybase.
* I have a public key whose fingerprint is 5F37 8901 B433 739F 569A 1E00 1DB6 7AA1 26AF FA8D
To claim this, I am signing this object:
You can’t perform that action at this time.