Skip to content

Instantly share code, notes, and snippets.

@bwaidelich
bwaidelich / index.html
Last active March 23, 2023 14:44 — forked from mpj/index.html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Intro to XState</title>
<link rel="stylesheet" href="styles.css" />
</head>
<body>
<div id="box"></div>
@bastengao
bastengao / mini_magic_append_images.rb
Created June 25, 2016 09:43
Imagemagic append images vertically or horizontally.
# http://www.imagemagick.org/script/command-line-options.php#append
# append two images vertically
# conver -append first.png second.png result.png
MiniMagick::Tool::Convert.new do |convert|
convert.append.-
convert << "first.png"
convert << "second.png"
convert << "result.png"
end
@Spencer-Easton
Spencer-Easton / exportSpreadsheet.gs
Last active March 21, 2024 00:43
Example on how to export a Google sheet to various formats, includes most PDF options
function exportSpreadsheet() {
//All requests must include id in the path and a format parameter
//https://docs.google.com/spreadsheets/d/{SpreadsheetId}/export
//FORMATS WITH NO ADDITIONAL OPTIONS
//format=xlsx //excel
//format=ods //Open Document Spreadsheet
//format=zip //html zipped
@github0013
github0013 / README.md
Last active October 26, 2022 22:37
東京三菱UFJ銀行BizStation(法人用ネットバンク)をOSX(mac)で!Rubyで!Selenium WebDriverで使い倒す!
@Domon
Domon / openssl_certificate_verify_failed.md
Created November 30, 2012 14:02
How to fix the error: "SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed"

When seeing the following error:

SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed

First, check your RubyGems version is higher than 1.8.24:

gem update --system