This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#define PY_SSIZE_T_CLEAN | |
#include <Python.h> | |
#include <stdio.h> // For PySys_WriteStdout | |
// 1. Define the instance structure (must start with PyObject_HEAD) | |
typedef struct { | |
PyObject_HEAD | |
long value; // Our custom data member | |
} SimpleObject; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#define PY_SSIZE_T_CLEAN | |
#include <Python.h> | |
#include <stdio.h> // For PySys_WriteStdout | |
// Define a simple C function that creates a Python integer | |
// and prints its ob_refcnt and ob_type->tp_name | |
static PyObject* | |
inspect_int_object(PyObject *self, PyObject *args) { | |
PyObject *py_int_obj; | |
long value; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from abc import ABC, abstractmethod | |
from fractions import Fraction | |
from decimal import Decimal | |
""" | |
THIS IS A DIRECT IMPLEMENTATION OF THE MATHJS PARSER. | |
NOTE: THERE ARE SO MANY NOTABLE BUGS IN HERE. | |
IMPLEMENT PURELY FOR THE PURPOSE OF UNDERSTANDING THE MATHJS PARSER. | |
PLEASE TAKE A VISIT TO MATHJS FOR MORE INFORMATION: https://github.com/josdejong/mathjs |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
print("hello, world!") | |
# Keylogger didn't worked. :( | |
#UAC Bypass with FodHelper.exe | |
#save the below code as something.ps1 | |
#run it and then use something.ps1 -program cmd | |
""" | |
function FodhelperBypass(){ | |
Param ( |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<h1 class="title">Hover over the cards</h1> | |
<div id="app" class="container"> | |
<card data-image="https://images.unsplash.com/photo-1479660656269-197ebb83b540?dpr=2&auto=compress,format&fit=crop&w=1199&h=798&q=80&cs=tinysrgb&crop="> | |
<h1 slot="header">Canyons</h1> | |
<p slot="content">Lorem ipsum dolor sit amet, consectetur adipisicing elit.</p> | |
</card> | |
<card data-image="https://images.unsplash.com/photo-1479659929431-4342107adfc1?dpr=2&auto=compress,format&fit=crop&w=1199&h=799&q=80&cs=tinysrgb&crop="> | |
<h1 slot="header">Beaches</h1> | |
<p slot="content">Lorem ipsum dolor sit amet, consectetur adipisicing elit.</p> |
A fantastic credit card form with smooth and sweet micro-interactions. Includes number formatting, validation and automatic card type detection. Built with vuejs and also fully responsive.
See on Github: https://github.com/muhammederdem/credit-card-form
A Pen by Muhammed Erdem on CodePen.