Skip to content

Instantly share code, notes, and snippets.

@MCYBA
MCYBA / mirror.timtal.com.tr.html
Last active February 25, 2025 14:03
Arch Linux renk paleti kullanılarak mirror.timtal.com.tr için tasarlanmış CSS stil uygulaması
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Arch Linux Mirror - Teknopark Istanbul</title>
<style>
body {
font-family: 'Roboto', Arial, sans-serif;
line-height: 1.8;
@Osb0rn3
Osb0rn3 / secure-code-2.js
Created January 9, 2024 15:06
Is there any way to access [email protected] reset password token?
const express = require('express');
const { Sequelize, DataTypes } = require('sequelize');
const crypto = require('crypto');
const Joi = require('joi');
const bcrypt = require('bcrypt');
const sendResetEmail = require('./sendmail');
const app = express().use(express.json());
const sequelize = new Sequelize(process.env.DB_NAME, process.env.DB_USER, process.env.DB_PASS, { host: 'localhost', dialect: 'mysql' });
@StevenACoffman
StevenACoffman / Homoglyphs.md
Last active July 6, 2025 03:23
Unicode Look-alikes

Unicode Character Look-Alikes

Original Letter Look-Alike(s)
a а ạ ą ä à á ą
c с ƈ ċ
d ԁ ɗ
e е ẹ ė é è
g ġ
h һ
@sh4dowb
sh4dowb / turkey_city_county_list.json
Created July 6, 2019 18:50
Türkiye İl ve İlçe Listesi Plakalı JSON Güncel 2019 - Turkey City and County List with Plate Numbers JSON 2019
[
{
"city": "Adana",
"plate_code": 1,
"counties": [
"Aladağ",
"Ceyhan",
"Çukurova",
"Feke",
"İmamoğlu",
@chriscandy
chriscandy / install-arch-linux-using-efi-and-grub.md
Last active July 3, 2025 07:21
Install Arch Linux using EFI and GRUB

Installing Arch linux with EFI

  1. Change keyboard layout:

    • loadkeys no
  2. Verify boot mode:

    • ls /sys/firmware/efi/efivars (If the directory exist your computer supports EFI)
  3. Ping some site on the Internet to verify connection:

  • ping archlinux.org
@Ravenstine
Ravenstine / vbscript_wine.md
Last active May 29, 2025 23:32
Installing VBScript in Wine (Linux)

How to Run VBScripts in Wine

It's very easy but not straight-forward or documented anywhere.

First, install Wine 1.6.2. This version probably isn't required, but it's the version that currently ships with Debian Jessie and it works with VBScript.

Install Winetricks and use it to add the following libraries:

  • wsh57
@tedmiston
tedmiston / nodejs-tcp-example.js
Last active April 1, 2025 08:06
Node.js TCP client and server example
/*
In the node.js intro tutorial (http://nodejs.org/), they show a basic tcp
server, but for some reason omit a client connecting to it. I added an
example at the bottom.
Save the following server in example.js:
*/
var net = require('net');