Skip to content

Instantly share code, notes, and snippets.

@Pamblam
Pamblam / Initial Setup.md
Created June 24, 2018 11:05
Installing And Setting Up Arch Linux to Dual Boot Alongside Window 10

Newb's Guide to installing Arch Next to Pre-installed Windows 10

The steps I took to dual boot Arch Linux alongside the preinstalled Windows 10 that came with my new Lenovo Ideapad. I used Ubuntu exclusively for the last 6 years so I'm Window's illiterate. I don't know a whole lot about the inner workings of Linux either.

Pre-Instllation Steps

Prepare the preinstalled Windows to share the system.

Verify the boot mode...

@scriptdev
scriptdev / .php
Created August 14, 2023 02:18
TRANSFORMAÇÃO STATUS PEDIDO
<?php
$texto = '';
$classe = '';
switch ($value)
{
case 'ABERTA':
$texto = 'ABERTA';
$classe = 'primary';
@cupertinobr
cupertinobr / .php
Created September 12, 2023 18:22 — forked from scriptdev/.php
TRANSFORMAÇÃO STATUS PEDIDO
<?php
$texto = '';
$classe = '';
switch ($value)
{
case 'ABERTA':
$texto = 'ABERTA';
$classe = 'primary';
@veekaybee
veekaybee / normcore-llm.md
Last active April 19, 2024 02:49
Normcore LLM Reads

Anti-hype LLM reading list

Goals: Add links that are reasonable and good explanations of how stuff works. No hype and no vendor content if possible. Practical first-hand accounts of models in prod eagerly sought.

Foundational Concepts

Screenshot 2023-12-18 at 10 40 27 PM

Pre-Transformer Models

@scriptdev
scriptdev / .php
Created August 21, 2023 15:16
ABRIR URL DENTRO DE UMA "IFRAME" JANELA
<?php
class IFrameExemplo extends TWindow
{
public function __construct()
{
parent::__construct();
parent::setSize(950, null);
parent::setTitle("IFrameExemplo");
parent::setProperty('class', 'window_modal');
@scriptdev
scriptdev / .php
Created August 24, 2023 20:13
RELATÓRIO FPDF ( MultiCell )
<?php
require('fpdf.php');
class PDF extends FPDF
{
var $widths;
var $aligns;
function SetWidths($w)
@mrowrpurr
mrowrpurr / .clang-format
Last active April 19, 2024 02:48
My Clang Format
---
UseTab: Never
TabWidth: '4'
IndentWidth: '4'
BasedOnStyle: Google
AccessModifierOffset: -4
ColumnLimit: 100
NamespaceIndentation: All
IndentPPDirectives: BeforeHash
FixNamespaceComments: false
@scriptdev
scriptdev / .php
Created September 7, 2023 05:46
DEFINIR MÁSCARA
<?php
class Funcao
{
public static function Mascara($mascara, $valor)
{
$valor = str_replace(" ", "", $valor);
for ($i = 0; $i < strlen($valor); $i++) {
$mascara[strpos($mascara, "#")] = $valor[$i];
@bradtraversy
bradtraversy / mongodb_cheat_sheet.md
Last active April 19, 2024 02:47
MongoDB Cheat Sheet

MongoDB Cheat Sheet

Show All Databases

show dbs

Show Current Database

@tadija
tadija / FontNames-iOS-17.4.swift
Last active April 19, 2024 02:47
iOS - All Font Names
/*
*** Academy Engraved LET ***
AcademyEngravedLetPlain
---------------------
*** Al Nile ***
AlNile
AlNile-Bold
---------------------
*** American Typewriter ***
AmericanTypewriter