Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@harinij
harinij / webflowapi.js
Created April 23, 2024 15:32
Displaying External API data in Webflow using BuildShip
<script>
// Function to fetch data from the API
function fetchData() {
const apiUrl = 'https://0dc3ke.buildship.run/webflowapi'; // Replace with your API URL
fetch(apiUrl)
.then(response => response.json())
.then(data => {
displayData(data);
@catalinmiron
catalinmiron / README.md
Created April 16, 2024 20:36
Expo app.json Apple Privacy Manifest

About

The privacy details that you may need to add for Apple Privacy Manifest.

This config plugin it's already available from expo >=50.0.17 (Part of this PR by aleqsio)

Tip

Read more about Privacy Manifest File from Apple docs

@l-0-l
l-0-l / disable.conf
Last active April 23, 2024 15:30
Set up a kernel development environment
CONFIG_USB
CONFIG_BT
CONFIG_DRM
CONFIG_WLAN
CONFIG_MAC80211
CONFIG_WIRELESS_EXT
CONFIG_AGP
CONFIG_VGA_ARB
CONFIG_SOUND
CONFIG_SND
@MohamedAlaa
MohamedAlaa / tmux-cheatsheet.markdown
Last active April 23, 2024 15:29
tmux shortcuts & cheatsheet

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname
@kalebo
kalebo / Instructions.md
Created October 4, 2017 17:35
Instructions on setting up a FlexLM daemon for SystemD

Setting up a FlexLM service for SystemD

Create directory structure

  1. Create the directory for the flexlm user to use, e.g., /opt/flexlm
  2. Place all the binaries for the licence manager and the licence in a vendor specific subdirectory

At this point you should have something similar to following directory structure:

/opt/flexlm/
└── VENDOR
#! /usr/bin/env bash
CONTROL_FILE="./bastion_control"
if [ -n "$1" ]; then CONTROL_FILE=$1; fi
ssh -S $CONTROL_FILE -O exit bastion
@ndeadly
ndeadly / sysmodules.txt
Last active April 23, 2024 15:27
switch sysmodules
/* Nintendo sysmodules */
0100000000000000 fs
0100000000000001 ldr
0100000000000002 ncm
0100000000000003 pm
0100000000000004 sm
0100000000000005 boot
0100000000000006 usb
0100000000000007 tma.stub/htc.stub
0100000000000008 boot2
@groue
groue / ObservableState.swift
Last active April 23, 2024 15:25
WithBindable
import SwiftUI
/// Supplies an observable object to a view’s hierarchy.
///
/// The purpose of `WithBindable` is to make it possible to instantiate
/// observable objects from environment values, while keeping the object
/// alive as long as the view is rendered.
///
/// For example:
///
@TheGreatSageEqualToHeaven
TheGreatSageEqualToHeaven / main.md
Last active April 23, 2024 15:25
bypassing blocked function protections using corescripts

bypassing blocked function protections using corescripts

author: James Napora.


roblox and exploit fundamentals

  • corescripts have RobloxScript permissions on Roblox.
  • exploit function protections do not run on any threads except exploit threads.
  • roblox has several permission levels: None, Plugin, LocalUser, RobloxScript and Roblox.
  • actors on Roblox run whenever a script under it has a client run context, e.g local scripts, scripts with RunContext.Client and corescripts.
  • scripts under actors share the same global state
@bloodearnest
bloodearnest / selfsigned.py
Last active April 23, 2024 15:23
Create a self-signed x509 certificate with python cryptography library
# Copyright 2018 Simon Davy
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included in