Skip to content

Instantly share code, notes, and snippets.

View irshadpc's full-sized avatar
🎯
Focusing

IRSHAD PC irshadpc

🎯
Focusing
  • Hatio Innovations Private Limited
  • Kochi, India
  • X @_irshadpc
View GitHub Profile
@irshadpc
irshadpc / eliza.swift
Created June 3, 2017 16:07 — forked from hollance/eliza.swift
The classic ELIZA chat bot in Swift.
/*
Joseph Weizenbaum's classic ELIZA chat bot in Swift.
Based on the IBM PC BASIC program from CREATIVE COMPUTING by Patricia
Danielson and Paul Hashfield, and the Java adaptation by Jesper Juul.
Run this script from Terminal:
$ swift eliza.swift
Press Ctrl-C or Ctrl-D to quit. (Or type "shut up".)
#!/usr/bin/ruby
require 'xcodeproj'
# ============================================
# !!! I've released a ruby gem that does the same thing, but better.
# You can install it by running `gem install xcprovisioner` or
# `sudo gem install xcprovisioner` if it asks for sudo rights.
#
# For more info: https://github.com/thelvis4/XCProvisioner
@irshadpc
irshadpc / test_basic
Created July 24, 2017 13:51
Test basics
/*! * @class XCTestCase
* XCTestCase is a concrete subclass of XCTest that should be the override point for
* most developers creating tests for their projects. A test case subclass can have
* multiple test methods and supports setup and tear down that executes for every test
* method as well as class level setup and tear down.
*
* To define a test case:
*
* • Create a subclass of XCTestCase.
* • Implement -test methods.
<?xml version="1.0"?>
<catalog>
<book id="bk101">
<author>Gambardella, Matthew</author>
<title>XML Developer's Guide</title>
<genre>Computer</genre>
<price>44.95</price>
<publish_date>2000-10-01</publish_date>
<description>An in-depth look at creating applications
with XML.</description>
@irshadpc
irshadpc / .Title
Created February 15, 2018 15:18 — forked from congjf/.Title
Using MongoDB in golang with mgo
Using MongoDB in golang with mgo
@irshadpc
irshadpc / postgres-brew.md
Created November 20, 2020 06:15 — forked from ibraheem4/postgres-brew.md
Installing Postgres via Brew (OSX)

Installing Postgres via Brew

Pre-Reqs

Brew Package Manager

In your command-line run the following commands:

  1. brew doctor
  2. brew update