Skip to content

Instantly share code, notes, and snippets.

View dilan-dio4's full-sized avatar
🏠
Working from home

Dilan Ozkaynak dilan-dio4

🏠
Working from home
  • Nashville, TN
  • 12:20 (UTC -04:00)
View GitHub Profile
<html>
<head>
<script src="https://cdn.jsdelivr.net/gh/easybase/easybasejs-visual@1.0.8/dist/bundle.js"></script>
</head>
<body>
<h1>Hello, World!</h1>
</body>
</html>
var { cities } = require('./cities');
var fetch = require('node-fetch');
function arrayRandom(arr) {
return arr[Math.floor((Math.random() * arr.length))];
}
module.exports = async (event, context) => {
let cityToGetWeather = "";
This file has been truncated, but you can view the full file.
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><title></title><style>html{background:#222}body{background:#222;margin:0;padding:20px 20px 100px;overflow-x:hidden}#pdf-container{text-align:center;display:none}</style></head><body> <div id="pdf-container"></div> <script type="module">function $parcel$export(e,t,n,r){Object.defineProperty(e,t,{get:n,set:r,enumerable:!0,configurable:!0})}var $parcel$global="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{},$parcel$modules={},$parcel$inits={},parcelRequire=$parcel$global.parcelRequire94c2;null==parcelRequire&&(parcelRequire=function(e){if(e in $parcel$modules)return $parcel$modules[e].exports;if(e in $parcel$inits){var t=$parcel$inits[e];delete $parcel$inits[e];var n={id:e,exports:{}};return $parcel$modules[e]=n,t.call(n.exports,n,n.exports),n.exports}var r=new Error("Cannot find module '"+e+"'");throw r.code="MODULE_NOT_FOUND",r},parcelRequire.register=function
@dilan-dio4
dilan-dio4 / json_finder.py
Created December 13, 2022 15:22 — forked from fakuivan/json_finder.py
Finds valid JSON strings in a file. Useful for reconstructing broken files or reverse engineering data structures in protocols or embedded into binaries
#!/usr/bin/env python3.8
# different from the re module (https://pypi.org/project/regex/ )
from ast import parse
from json import dumps
from typing import Any, List, NoReturn, TextIO, Tuple
import regex
import json
import sys
import argparse
@dilan-dio4
dilan-dio4 / macos-app-icon.md
Created August 19, 2023 17:33 — forked from jamieweavis/macos-app-icon.md
How to create an .icns macOS app icon