Skip to content

Instantly share code, notes, and snippets.

View karellism's full-sized avatar
:electron:
Educating myself

Karel Vanhelden karellism

:electron:
Educating myself
  • Karellism
  • karelvanhelden@gmail.com
View GitHub Profile
@nalin-adh
nalin-adh / SwapCharacter.cpp
Created November 10, 2015 16:49
A C++ program to swap two character data using function.
#include<iostream>
#include<conio.h>
using namespace std;
void swap(char &,char &);
int main(){
char ch1,ch2;
cout<<"Enter first character = ";cin>>ch1;
@kyip-dev
kyip-dev / create-ip-to-location.sql
Created October 22, 2015 08:50
SQL-selectInsertMissingRangeRecord
CREATE TABLE IP_TO_LOCATION (
"IP_FROM" NUMBER NOT NULL,
"IP_TO" NUMBER NOT NULL,
"COUNTRY_CODE" VARCHAR2(3 CHAR) NOT NULL,
"COUNTRY_NAME" VARCHAR2(64 CHAR) NOT NULL,
"TYPE" VARCHAR2(2 CHAR),
"CHANGE_TS" TIMESTAMP (6) DEFAULT systimestamp,
CONSTRAINT IP_TO_LOCATION_PK PRIMARY KEY ("IP_FROM", "IP_TO", "TYPE")
)
@ihaveaproblem
ihaveaproblem / Git Cheat Sheet
Created October 22, 2015 08:25 — forked from ramesaliyev/Git Cheat Sheet
Git Cheat Sheet
- Create a repository
git init <repo-name>
git clone <url> <directory-name>
git clone -o <remote-name> <url>
- Commiting
git add <filename>
git commit -m "Commit Message"
git commit -am "Commit Message"
@btoone
btoone / curl.md
Last active May 14, 2024 19:32
A curl tutorial using GitHub's API

Introduction

An introduction to curl using GitHub's API.

The Basics

Makes a basic GET request to the specifed URI

curl https://api.github.com/users/caspyin