Skip to content

Instantly share code, notes, and snippets.

View junaidehsan12's full-sized avatar
🎯
Focusing

Junaid Ehsan junaidehsan12

🎯
Focusing
View GitHub Profile
@norcal82
norcal82 / city_names.js
Last active November 7, 2023 23:55
javascript array of major us city names
// javascript, coffeescript, jquery...
var city_names = ["Aberdeen", "Abilene", "Akron", "Albany", "Albuquerque", "Alexandria", "Allentown", "Amarillo", "Anaheim", "Anchorage", "Ann Arbor", "Antioch", "Apple Valley", "Appleton", "Arlington", "Arvada", "Asheville", "Athens", "Atlanta", "Atlantic City", "Augusta", "Aurora", "Austin", "Bakersfield", "Baltimore", "Barnstable", "Baton Rouge", "Beaumont", "Bel Air", "Bellevue", "Berkeley", "Bethlehem", "Billings", "Birmingham", "Bloomington", "Boise", "Boise City", "Bonita Springs", "Boston", "Boulder", "Bradenton", "Bremerton", "Bridgeport", "Brighton", "Brownsville", "Bryan", "Buffalo", "Burbank", "Burlington", "Cambridge", "Canton", "Cape Coral", "Carrollton", "Cary", "Cathedral City", "Cedar Rapids", "Champaign", "Chandler", "Charleston", "Charlotte", "Chattanooga", "Chesapeake", "Chicago", "Chula Vista", "Cincinnati", "Clarke County", "Clarksville", "Clearwater", "Cleveland", "College Station", "Colorado Springs", "Columbia", "Columbus", "Concord", "Coral Spri
@linrock
linrock / stockfish.rb
Last active December 25, 2015 07:34
A simple ruby client for the Stockfish chess engine.
require 'open3'
module Stockfish
class InvalidCommand < StandardError; end
class InvalidOption < StandardError; end
class Engine
attr_reader :stdin, :stdout, :stderr, :wait_threads, :version, :pid