Skip to content

Instantly share code, notes, and snippets.

🐈
stray

hisanori paulownia

Block or report user

Report or block paulownia

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 leftpad-test.js
'use strict';
function leftpad1(str, len, ch) {
str = String(str);
var i = -1;
if (!ch && ch !== 0) ch = ' ';
len = len - str.length;
View Main.java
/*
* https://gist.github.com/kazuho/3300555
*/
import java.util.Iterator;
public class Main {
public static void main(String[] args) {
FizzBuzz fb = new FizzBuzz(30);
for (String s: fb) {
System.out.println(s);
View Main.java
/*
* https://gist.github.com/kazuho/3300555
*/
import java.util.Iterator;
public class Main {
public static void main(String[] args) {
FizzBuzz fb = new FizzBuzz(30);
for (String s: fb) {
System.out.println(s);
You can’t perform that action at this time.