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 <sys/ioctl.h> | |
#include <sys/stat.h> | |
#include <linux/fs.h> | |
#include <fcntl.h> | |
#include <unistd.h> | |
#include <stdint.h> | |
#include <string.h> | |
#include <stdlib.h> | |
#include <time.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
/* | |
* Author: Scuro Guardiano | |
* License: MIT | |
* IPv4 address calculator | |
* Compilation: gcc addy.c -o addy -O3 -lm | |
* Usage: ./addy address/prefix | |
* | |
* NOTE: You must always provide IPv4 address and prefix, otherwise you will get segfault | |
* |
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
private void ConfigureEnumsAsStrings(ModelBuilder modelBuilder) | |
{ | |
foreach (var entity in modelBuilder.Model.GetEntityTypes()) | |
{ | |
var properties = entity.GetProperties() | |
.Where(p => p.ClrType.IsEnum); | |
foreach (var property in properties) | |
{ | |
modelBuilder.Entity(entity.ClrType) |
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 "drawing.h" | |
#include "GL/glew.h" | |
#include "SDL_log.h" | |
#include "cglm/struct/vec2.h" | |
#include "cglm/struct/vec3.h" | |
#include "sglx/shader.h" | |
#include "cglm/struct.h" | |
#include <stdlib.h> | |
#include <string.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
#version 330 core | |
out vec4 FragColor; | |
in vec3 barycentric; | |
void main() { | |
float lightThreshhold = 0.01; | |
float glowWidth = 0.04; | |
// float softness = 0.0; | |
vec3 color = vec3(0.98, 0, 0.66); |
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
const std = @import("std"); | |
const print = std.debug.print; | |
fn clear_input(in_reader: anytype) !void { | |
try in_reader.skipUntilDelimiterOrEof('\n'); | |
} | |
pub fn main() !void { | |
const stdin = std.io.getStdIn().reader(); | |
const stdout = std.io.getStdOut().writer(); |
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
local component = require("component"); | |
local shell = require("shell"); | |
local sides = require("sides"); | |
local args, ops = shell.parse(...); | |
local min_to_extract = tonumber(ops["min-to-extract"]); | |
local tank_name = ops["tank-name"]; | |
print("GAS TANK MINIMUM TO EXTRACT 2024 PRO\nBy ScuroGuardiano https://github.com/ScuroGuardiano\n\n"); |
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
use std::cell::RefCell; | |
use std::rc::Rc; | |
struct State { | |
value: u64 | |
} | |
impl State { | |
pub fn print_value(&self) { | |
println!("State: {}", self.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
/* eslint-disable */ | |
var c; | |
module.exports = function decodeCDAVideoUrl(a) { | |
String.fromCharCode(('Z' >= a ? 11 : 344) >= (c = a.charCodeAt(0) + 22) ? c : c - 11); | |
a = a.replace('_XDDD', ''); | |
a = a.replace('_CDA', ''); | |
a = a.replace('_ADC', ''); | |
a = a.replace('_CXD', ''); |
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
using System.Collections.Generic; | |
using System.Text.RegularExpressions; | |
namespace YOUTUBE.WATCH.V.KaAIfdbJSbY | |
{ | |
class ShellLikeArgumentParser | |
{ | |
private const string splitPattern = "(([^\"'\\s\\\\]|\\\\'|\\\\\")+)|(\\\\?[\"](\\\\\"|[^\"])+[\"])|(\\\\?['](\\\\'|[^'])+['])"; | |
private const string removeSlashesPatters = "(\\\\(?='))|(\\\\(?=\"))"; | |
// I made typo error: 'Patters' instead of 'Pattern', but I'll leave it here. |
NewerOlder