Skip to content

Instantly share code, notes, and snippets.

using System;
using System.Collections.Generic;
namespace a
{
class Program
{
public static void Main(string[] args)
{
printResponse("Daniel");
using System;
using System.Collections.Generic;
namespace a
{
class Program
{
public static void Main(string[] args)
{
List<int> list = getList(1,2,3,4);
using System;
namespace a
{
class Program
{
public static void Main(string[] args)
{
UseParams(1,2,3,4);
@gempir
gempir / battleshipsWPFv2.cs
Last active June 25, 2016 08:02
battleships v2
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
@gempir
gempir / battleshipsWPF.cs
Last active May 10, 2016 12:48
C# part of my battleships wpf application
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
@gempir
gempir / battleshipsWPF.xaml
Last active June 25, 2016 08:02
Xaml file for my battleships wpf application
<Window x:Class="battleships.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Title="MainWindow" Height="625" Width="525" ResizeMode="NoResize">
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="1*" />
<ColumnDefinition Width="1*" />
<ColumnDefinition Width="1*" />
<ColumnDefinition Width="1*" />
@gempir
gempir / spam.js
Created November 27, 2015 19:12
Small twitch spam app for nodejs
var irc = require('tmi.js');
var options = {
options: {
debug: true
},
connection: {
random: 'chat',
reconnect: true
},