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
import os | |
import clang.cindex | |
# install deps sudo apt install libclang-dev | |
# pip install clang | |
# Set path to libclang.so if neededimport os | |
import os | |
import clang.cindex | |
clang.cindex.Config.set_library_file('/usr/lib/llvm-15/lib/libclang.so') # adjust path if needed |
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
#include <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> | |
#include <unistd.h> | |
#include <fcntl.h> | |
#include <sys/socket.h> | |
#include <netinet/in.h> | |
#include <arpa/inet.h> | |
#include <sys/epoll.h> | |
#include <openssl/sha.h> |
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
#if 0 | |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> | |
#include <unistd.h> | |
#include <sys/socket.h> | |
#include <netinet/in.h> | |
#include <arpa/inet.h> | |
#include <openssl/sha.h> // For SHA-1 (link with -lcrypto) | |
#include <openssl/bio.h> // For Base64 encoding |
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
#include <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> | |
#include <unistd.h> | |
#include <sys/socket.h> | |
#include <netinet/in.h> | |
#include <arpa/inet.h> | |
#include <openssl/sha.h> // For SHA-1 (link with -lcrypto) | |
#include <openssl/bio.h> // For Base64 encoding | |
#include <openssl/evp.h> |
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
// ReverseByte.cpp | |
uint8_t reverse_byte(uint8_t b){ | |
unsigned int v = b; | |
unsigned int r = v; | |
int s = sizeof(b) * CHAR_BIT - 1; | |
for(v>>=1;v;v>>=1){ | |
r <<= 1; | |
r |= v&1; |
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
#include <wx/wx.h> | |
#include <wx/menu.h> | |
#include <stdio.h> | |
#include <vector> | |
#include <string> | |
#include <sstream> | |
#include <functional> | |
#include <sqlite3.h> | |
struct InternalSqliteResponse |
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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>Website Builder</title> | |
<!-- Bootstrap CSS --> | |
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet"> | |
<style> |
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
#include <iostream> | |
#include <fstream> | |
#include <vector> | |
#include <map> | |
#include <string> | |
#include <dlt/dlt.h> | |
#include "tinyxml2.h" | |
using namespace tinyxml2; |
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
import android.content.Context | |
import androidx.biometric.BiometricManager | |
import androidx.biometric.BiometricPrompt | |
import androidx.biometric.BiometricPrompt.PromptInfo | |
import androidx.fragment.app.FragmentActivity | |
import com.aneury1.jholisnutris.config.BiometricStatus | |
class BiometricAuthentication( | |
private val context: Context |
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
import sys | |
import random | |
import pygame | |
# FROM https://www.youtube.com/watch?v=o-6pADy5Mdg | |
pygame.init() | |
screen_width= 1280 | |
screen_height=900 |
NewerOlder