Skip to content

Instantly share code, notes, and snippets.

View georgewitteman's full-sized avatar

George Witteman georgewitteman

  • San Francisco, USA
View GitHub Profile
This file has been truncated, but you can view the full file.
Searching for "autoload/netrw.vim" in "/Users/georgewitteman/.config/nvim,/etc/xdg/nvim,/Users/georgewitteman/.local/share/nvim/site,/usr/local/share/nvim/site,/usr/share/nvim/site,/usr/local/share/nvim/runtime,/usr/local/share/nvim/runtime/pack/dist/opt/matchit,/usr/share/nvim/site/after,/usr/local/share/nvim/site/after,/Users/georgewitteman/.local/share/nvim/site/after,/etc/xdg/nvim/after,/Users/georgewitteman/.config/nvim/after"
Searching for "/Users/georgewitteman/.config/nvim/autoload/netrw.vim"
Searching for "/etc/xdg/nvim/autoload/netrw.vim"
Searching for "/Users/georgewitteman/.local/share/nvim/site/autoload/netrw.vim"
Searching for "/usr/local/share/nvim/site/autoload/netrw.vim"
Searching for "/usr/share/nvim/site/autoload/netrw.vim"
Searching for "/usr/local/share/nvim/runtime/autoload/netrw.vim"
chdir(/Users/georgewitteman/Code/neovim)
SCRIPT /usr/local/Cellar/neovim/0.4.2/share/nvim/runtime/syntax/netrw.vim
Sourced 11 times
Total time: 0.004285
Self time: 0.004285
count total (s) self (s)
" Language : Netrw Listing Syntax
" Maintainer : Charles E. Campbell
" Last change: Oct 31, 2016
var storeFrontAPI = "https://snake-game-example.myshopify.com/api/graphql";
var storeFrontAccessToken = "047892237e70a1995fec371cf7275f75";

, _ _ _ | s r
/#\ __ _ _ __ ___| |__ | (_)_ __ _ ___ __ |
/###\ / _` | '__/ __| '_ \| | | '_ \| | | \ \/ / | t
/#####\ | (_| | | | (__| | | | | | | | | |_| |> < | d
/##,-,##\ \__,_|_| \___|_| |_|_|_|_| |_|\__,_/_/\_\ |
/##( )##\ | U
/#.-- --.#\ simple, elegant and d*****a uses it. =) |
/` `\ | l on n 
import AsmtHelper
import MyTerm
import Data.Char
------------------------------------------
-- PROBLEM 1 (format, printf) {{{
------------------------------------------
-- format
----------------------------
public class FizzBuzz {
public static void main(String[] args) {
for (int i = 1; i < 100; i++) {
if (i % 3 == 0 && i % 5 == 0) {
System.out.println("FizzBuzz");
} else if (i % 5 == 0) {
System.out.println("Buzz");
} else if (i % 3 == 0) {
System.out.println("Fizz");
} else {
public class FizzBuzz {
public static void main(String[] args) {
for (int i = 1; i < 100; i++) {
if (i % 3 == 0 || i % 5 == 0) {
System.out.println("FizzBuzz");
} else if (i % 5 == 0) {
System.out.println("Buzz");
} else if (i % 3 == 0) {
System.out.println("Fizz");
} else {
@georgewitteman
georgewitteman / test-code.js
Created February 8, 2016 15:27
This is a sample gist to use for testing purposes. It's taken from https://gist.github.com/carolineschnapp/5397337
/* Sample JavaScript file added with ScriptTag resource.
This sample file is meant to teach best practices.
Your app will load jQuery if it's not defined.
Your app will load jQuery if jQuery is defined but is too old, e.g. < 1.7.
Your app does not change the definition of $ or jQuery outside the app.
Example: if a Shopify theme uses jQuery 1.4.2, both of these statements run in the console will still return '1.4.2'
once the app is installed, even if the app uses jQuery 1.9.1:
jQuery.fn.jquery => "1.4.2"
$.fn.jquery -> "1.4.2"
*/