Skip to content

Instantly share code, notes, and snippets.

View furball514's full-sized avatar

Karthik Nallasivan furball514

View GitHub Profile
@furball514
furball514 / hangman.cpp
Created November 12, 2017 08:57
hangman unfinished
#include <iostream>
#include <string>
#include <ctime>
using namespace std;
const string words[7] = {
"China", "Russia", "Switzerland", "Liechtenstein",
"Thailand", "Japan", "Canada",
};
@furball514
furball514 / cloudSettings
Last active October 27, 2017 08:44
Visual Studio Code Settings Sync Gist
{"lastUpload":"2017-10-27T08:43:59.035Z","extensionVersion":"v2.8.3"}
@furball514
furball514 / cloudSettings
Created October 27, 2017 08:42
Visual Studio Code Settings Sync Gist
// Empty
import * as path from 'path';
import { generateTheme, IColorSet } from 'vscode-theme-generator';
const themeName = 'Moonero';
const colors = {
black: '#222222',
white: '#F4F4F4',
blue: '#ff7519',
red: '#0099ff',
green: '#5b9a6f',
@furball514
furball514 / LICENSE.md
Created September 13, 2017 11:28
social network

MIT License

Copyright (c) 2017 Karthik Nallasivan

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

@furball514
furball514 / customscript.scpt
Last active July 15, 2017 12:48
applescript to zoom and open chrome in incognito
tell application "System Events"
repeat 13 times
key code 24 using {command down, option down}
end repeat
end tell
delay 1
if application "Google Chrome" is running then
tell application "Google Chrome" to make new window with properties {mode:"incognito"}
else
do shell script "open -a /Applications/Google\\ Chrome.app --args --incognito"
@furball514
furball514 / github-flavoured-markdown.markdown
Created March 23, 2017 09:55
Github flavoured markdown
@furball514
furball514 / index.pug
Created March 23, 2017 09:53
Leaderboard
#freeCodeCamp
@furball514
furball514 / index.pug
Created March 23, 2017 09:51
Recipe Box
#app
@furball514
furball514 / index.pug
Last active April 3, 2024 13:02
John Conway's Game Of Life in React
head
link(href='https://fonts.googleapis.com/css?family=Baloo+Bhaina', rel='stylesheet')
body
.container
h1.text-center John Conway's Game of Life
ol Instructions
li Set grid size
li Create a random pattern and choose from speed options or draw your own pattern onto the grid and then play in 3 different speeds
li Remember to click stop before you play again
li Watch the video at the bottom to understand the rules of the game