Skip to content

Instantly share code, notes, and snippets.

View oleg-nenashev's full-sized avatar
🦫
Available for Consulting!

Oleg Nenashev oleg-nenashev

🦫
Available for Consulting!
View GitHub Profile
@Nzen
Nzen / readme.md
Last active August 15, 2024 09:15
JavaDoc dark theme

What is this?

A css to replace the light version that Oracle serves. I like dark themes for the webpages that I read. All that must be done is change the stylesheet link in the pages you use or to nest the pages at the appropriate level.

/**
* Retrieves all the rows in the active spreadsheet that contain data and logs the
* values for each row.
* For more information on using the Spreadsheet API, see
* https://developers.google.com/apps-script/service_spreadsheet
*/
function readRows() {
var sheet = SpreadsheetApp.getActiveSheet();
var rows = sheet.getDataRange();
var numRows = rows.getNumRows();
@sindresorhus
sindresorhus / git-pulley.sh
Created May 7, 2012 20:01
Git merge squash author commit and push - cheatsheet
git checkout master
git checkout -b bug123
git pull http://repourl.git branch
git log | grep "Author" | head -1 # get the author
git checkout master
git merge --squash bug123
git commit -a --author="Author" --message="Close #1: Title. Fixes #666"
git push origin master