Skip to content

Instantly share code, notes, and snippets.

/**
* 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();
@sbcoba
sbcoba / bash_to_zsh_history.rb
Created June 5, 2017 07:27 — forked from goyalankit/bash_to_zsh_history.rb
Import bash history to zsh history.
#################################################################
# = This script transfers bash history to zsh history
# = Change bash and zsh history files, if you don't use defaults
#
# = Usage: ruby bash_to_zsh_history.rb
#
# = Author: Ankit Goyal
#################################################################
# change if you don't use default values
@sbcoba
sbcoba / 참고.sh
Created August 23, 2016 00:13 — forked from arahansa/참고.sh
ec2에 자바+톰캣 설치
# 아마존 자바8 설치. 아마존 리눅스
# http://blog.de-gouveia.eu/2014/05/21/java-8-jdk-linux-installation-in-ec2-linux-instance/
# http://tecadmin.net/install-java-8-on-centos-rhel-and-fedora/
# tomcat8http://tecadmin.net/install-tomcat-8-on-centos-rhel-and-ubuntu/
# http://tecadmin.net/install-tomcat-8-on-centos-rhel-and-ubuntu/
wget --no-cookies --no-check-certificate --header "Cookie: gpw_e24=http%3A%2F%2Fwww.oracle.com%2F; oraclelicense=accept-securebackup-cookie" "http://download.oracle.com/otn-pub/java/jdk/8u91-b14/jdk-8u91-linux-x64.tar.gz"
tar xzf jdk-8u91-linux-x64.tar.gz
@sbcoba
sbcoba / README.md
Created October 19, 2015 06:56 — forked from hofmannsven/README.md
My simply Git Cheatsheet