Skip to content

Instantly share code, notes, and snippets.

View SalihKARAHAN's full-sized avatar
🤓
🏗️ Something is building here

Salih KARAHAN SalihKARAHAN

🤓
🏗️ Something is building here
View GitHub Profile
@mustafat0k
mustafat0k / keyhook.cpp
Created March 16, 2019 17:00
Capslock keyboard hook
#include <windows.h>
void GenerateKey(int vk, BOOL bExtended);
int main()
{
GenerateKey('A', FALSE);
GenerateKey(VK_CAPITAL, TRUE);
GenerateKey('A', FALSE);
@mustafat0k
mustafat0k / firewall.cpp
Created March 9, 2019 15:47
Exercising the Firewall using C++
/*
Copyright (c) Microsoft Corporation
The following code example exercises the Windows Firewall profile; displays the current profile, turns off the firewall,
turns on the firewall, and adds an application.
*/
#include <windows.h>
#include <crtdbg.h>
#include <netfw.h>
@jewelsea
jewelsea / MyApplicationClass.java
Last active March 30, 2022 03:47
JavaFX TreeView item dynamic loading demo with FXML.
import javafx.animation.*;
import javafx.application.Application;
import javafx.event.*;
import javafx.fxml.FXMLLoader;
import javafx.scene.*;
import javafx.scene.image.Image;
import javafx.scene.input.MouseEvent;
import javafx.stage.*;
import javafx.util.Duration;
@lancejpollard
lancejpollard / meta-tags.md
Created March 5, 2012 13:54
Complete List of HTML Meta Tags

Copied from http://code.lancepollard.com/complete-list-of-html-meta-tags/

Basic HTML Meta Tags

<meta name="keywords" content="your, tags"/>
<meta name="description" content="150 words"/>
<meta name="subject" content="your website's subject">
<meta name="copyright"content="company name">
<meta name="language" content="ES">