Skip to content

Instantly share code, notes, and snippets.

View WildGenie's full-sized avatar
🤖
I ❤️ Machine Learning

Bilgehan Zeki ÖZAYTAÇ WildGenie

🤖
I ❤️ Machine Learning
View GitHub Profile
@WildGenie
WildGenie / main.cs
Last active November 7, 2019 15:08
using System;
using System.IO;
using System.Text;
/**
* Auto-generated code below aims at helping you parse
* the standard input according to the problem statement.
**/
class Solution
using System;
using System.Linq;
namespace FibonacciTest
{
public class Program
{
public static void Main()
{
// CODE CHANGES
@WildGenie
WildGenie / raspbian-nagios-install.sh
Last active February 10, 2019 23:03
Raspbian Nagios Install
#!/bin/bash
#
# Script Name: raspbian-nagios-install.sh
# Arguments: -r = restart, -c = clean
#
# Author: Ben Staker <[email protected]>
# Date: 08/Jan/2017
#
# Description: Installs Nagios.
# Notes: Ensure that apt-get update, upgrade, and dist-upgrade are executed
@WildGenie
WildGenie / KeyboardHook.cs
Created September 15, 2018 23:41 — forked from Lunchbox4K/KeyboardHook.cs
C# Global Keyboard Hooks
// MP Hooks © 2016 Mitchell Pell
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
using System.Windows.Forms;
namespace mp.hooks{
@WildGenie
WildGenie / browser-fingerprinting.md
Created August 8, 2018 16:12
browser fingerprinting
layout title permalink
default
Browser Fingerprinting
browser-fingerprinting

{% include blog_post.md %}

I spent the last 2 days customizing my privacy-conscious Firefox setup, and now I've decided to create a blog and write a blog post about it.

@WildGenie
WildGenie / timeout.php
Created August 2, 2018 04:38 — forked from avalanche123/timeout.php
timeouts in php
<?php
class TimeoutException extends RuntimeException {}
class Timeout
{
private $active;
public function set($seconds)
{
@WildGenie
WildGenie / SendKeyEventExample.cs
Created June 22, 2018 21:30 — forked from jankurianski/SendKeyEventExample.cs
Example of SendKeyEvent for CefSharp.OffScreen
[DllImport("user32.dll")]
public static extern int ToUnicode(uint virtualKeyCode, uint scanCode,
byte[] keyboardState,
[Out, MarshalAs(UnmanagedType.LPWStr, SizeConst = 64)]
StringBuilder receivingBuffer,
int bufferSize, uint flags);
/// <summary>
/// https://stackoverflow.com/a/6949520/450141
@WildGenie
WildGenie / altkategori.aspx
Created June 3, 2018 02:09
Asp.net İç İçe Repeater Örneği
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="altkategori.aspx.cs" Inherits="altkategori" %>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>
</head>
<body>
<form id="form1" runat="server">
@WildGenie
WildGenie / Global.asax
Created May 29, 2018 23:36
Web Form Routes Örnek
<%@ Application Language="C#" %>
<%@ Import Namespace="System.Web.Routing" %>
<script RunAt="server">
private void Application_Start(object sender, EventArgs e)
{
// Code that runs on application startup
RegisterRoutes(RouteTable.Routes);
}
#r "System.Xml"
#r "System.Xml.Linq"
using System.Xml;
using System.Xml.Linq;
string xmlData = @"<?xml version=""1.0"" encoding=""UTF-8""?>
<CATALOG>
<CD>
<TITLE>Empire Burlesque</TITLE>